How to submit meta subfolder
Hi,
We would like to submit meta-asrockrack as a sub folder of openbmc.
I followed the steps describe in the document to add remote server:
git remote add gerrit ssh://openbmc.gerrit/openbmc/meta-asrockrack
when I tried to push it I got below error:
fatal: project openbmc/mata-asrockrack not found
fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
Could you help?
Jeff
Quoted 6 lines · Jeff
Hi,
We would like to submit meta-asrockrack as a sub folder of openbmc.
I followed the steps describe in the document to add remote server:
git remote add gerrit ssh://openbmc.gerrit/openbmc/meta-asrockrack
Which document is this?
Previously you had to request a meta-layer repository be created but about 4-6 months ago we moved to a model where all layer code is in the single openbmc/openbmc repository. We may have missed a documentation update somewhere.
Quoted 6 lines
when I tried to push it I got below error:
fatal: project openbmc/mata-asrockrack not found
fatal: Could not read from remote repository.Please make sure you have the correct access rights and the repository exists.
You'll want to set your remote to ssh://openbmc.gerrit/openbmc/openbmc and push there. Ideally you would have originally cloned from there and done your work on that repository.
Signature · 1 line
Patrick Williams
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 15 lines · On Thu, May 27, 2021 at 5:49 PM [email protected]…
Hi Patrick,
Thanks for helping, I checked below document and it said:
From your OpenBMC git repository, add a remote to the Gerrit server, where '
openbmc_repo' is the current git repository you're working on, such as phosphor-state-manager, and 'openbmc.gerrit' is the name of the Host previously added:git remote add gerrit ssh://openbmc.gerrit/openbmc/openbmc_repo
Quoted 7 lines
should I use below command to create meta layer?
git remote add gerrit ssh://openbmc.gerrit/openbmc/openbmc/meta-asrockrack
There is no git repo called meta-asrockrack. To do this you need to submit this as a new folder to ssh://gerrit.openbmc-project.xyz:29418/openbmc/openbmc
Quoted 72 lines
Jeff
寄件者: Patrick Williams
傳送時間: 2021年5月27日 下午 08:36
收件者: Jeff
副本: [email protected]; [email protected] 主旨: Re: How to submit meta subfolderQuoted 11 lines · Jeff
Hi,
We would like to submit meta-asrockrack as a sub folder of openbmc.
I followed the steps describe in the document to add remote server:
git remote add gerrit ssh://openbmc.gerrit/openbmc/meta-asrockrack
Which document is this?
Previously you had to request a meta-layer repository be created but
about 4-6 months ago we moved to a model where all layer code is in the
single openbmc/openbmc repository. We may have missed a documentation
update somewhere.
Quoted 11 lines
when I tried to push it I got below error:
fatal: project openbmc/mata-asrockrack not found
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
You'll want to set your remote to ssh://openbmc.gerrit/openbmc/openbmc
and push there. Ideally you would have originally cloned from there and
done your work on that repository.
--
Patrick Williams
Hi,
Thanks for helping.
I got below error when I try to push meta-asrockrack layer to gerrit. Is that means my email is not listed in the list?
To ssh://openbmc.gerrit/openbmc/openbmc
! [remote rejected] HEAD -> refs/for/master (commit 1d9951c: not Signed-off-by author/committer/uploader in message footer)
error: failed to push some refs to 'ssh://openbmc.gerrit/openbmc/openbmc'
My procedure is:
1. Git clone openbmc
2. Add meta-asrockrack layer
3. git remote add gerrit ssh://openbmc.gerrit/openbmc/openbmc
4. git commit
5. git push gerrit
My git log:
commit 1d9951c5518a7bdf88a5de16a41ae2f337e1b2ed (HEAD -> master)
Author: Jeff9Chan <[email protected]> Date: Tue Jun 8 09:15:44 2021 +0800
add meta-asrockrack layer
Change-Id: I1686133e0093e4e00adeadc068972396c8dc4fab
best regards
Jeff Chan
ASRock Inc.
Tel: +886-2-55599600 ext.38670
-----Original Message-----
From: Ed Tanous [mailto:[email protected]]
Sent: Wednesday, June 2, 2021 11:19 PM
To: [email protected]
Cc: Patrick Williams; [email protected]; Jeff9 Chan(陳松儉_ASRockRack)
Subject: Re: How to submit meta subfolder
Quoted 15 lines · On Thu, May 27, 2021 at 5:49 PM [email protected]…
Hi Patrick,
Thanks for helping, I checked below document and it said:
From your OpenBMC git repository, add a remote to the Gerrit server, where '
openbmc_repo' is the current git repository you're working on, such as phosphor-state-manager, and 'openbmc.gerrit' is the name of the Host previously added:git remote add gerrit ssh://openbmc.gerrit/openbmc/openbmc_repo
Quoted 7 lines
should I use below command to create meta layer?
git remote add gerrit ssh://openbmc.gerrit/openbmc/openbmc/meta-asrockrack
There is no git repo called meta-asrockrack. To do this you need to submit this as a new folder to ssh://gerrit.openbmc-project.xyz:29418/openbmc/openbmc
Quoted 72 lines
Jeff
寄件者: Patrick Williams
傳送時間: 2021年5月27日 下午 08:36
收件者: Jeff
副本: [email protected]; [email protected] 主旨: Re: How to submit meta subfolderQuoted 11 lines · Jeff
Hi,
We would like to submit meta-asrockrack as a sub folder of openbmc.
I followed the steps describe in the document to add remote server:
git remote add gerrit ssh://openbmc.gerrit/openbmc/meta-asrockrack
Which document is this?
Previously you had to request a meta-layer repository be created but
about 4-6 months ago we moved to a model where all layer code is in the
single openbmc/openbmc repository. We may have missed a documentation
update somewhere.
Quoted 11 lines
when I tried to push it I got below error:
fatal: project openbmc/mata-asrockrack not found
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
You'll want to set your remote to ssh://openbmc.gerrit/openbmc/openbmc
and push there. Ideally you would have originally cloned from there and
done your work on that repository.
--
Patrick Williams