How to submit meta subfolder

Jeff9 Chan(陳松儉_ASRockRack) Jeff9_Chan at asrockrack.com
Tue Jun 8 12:26:07 AEST 2021


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 <jeff9_chan at asrockrack.com>
Date:   Tue Jun 8 09:15:44 2021 +0800

    add meta-asrockrack layer
    Signed-off-by: Jeff Chan <Jeff9_Chan at asrockrack.com>
    
    Change-Id: I1686133e0093e4e00adeadc068972396c8dc4fab


best regards

Jeff Chan
ASRock Inc. 
Tel: +886-2-55599600 ext.38670


-----Original Message-----
From: Ed Tanous [mailto:edtanous at google.com] 
Sent: Wednesday, June 2, 2021 11:19 PM
To: outlook_60A7133428934D5F at outlook.com
Cc: Patrick Williams; openbmc at lists.ozlabs.org; Jeff9 Chan(陳松儉_ASRockRack)
Subject: Re: How to submit meta subfolder

On Thu, May 27, 2021 at 5:49 PM outlook_60A7133428934D5F at outlook.com
<ckimchan17 at gmail.com> wrote:
>
> 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
>
>
>
>
>
> https://github.com/openbmc/docs/blob/master/CONTRIBUTING.md#submitting-changes-via-gerrit-server-to-openbmc
>
>
>
> 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

>
>
>
> Jeff
>
>
>
> 寄件者: Patrick Williams
> 傳送時間: 2021年5月27日 下午 08:36
> 收件者: Jeff
> 副本: openbmc at lists.ozlabs.org; jeff9_chan at asrockrack.com
> 主旨: Re: How to submit meta subfolder
>
>
>
> On Thu, May 27, 2021 at 01:04:37PM +0800, Jeff wrote:
>
> > 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.
>
>
>
> > 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
>
>


More information about the openbmc mailing list