回复:回复:I just want to join the openbmc developer community

杨勇兵(末岩) moyan.yyb at alibaba-inc.com
Wed Nov 18 18:13:36 AEDT 2020


Hi Brad & SunChen,
    while i communicated with others, i just  understood that i have  the authority  to push  code to repository named meta-alibaba directly.And after reading the document I found  it's wrong,  now i success to pust it.   Thank you so much  (*^__^*)  !!!!
Best grads.






------------------------------------------------------------------
发件人:Sui Chen <suichen6 at gmail.com>
发送时间:2020年11月18日(星期三) 02:43
收件人:Patrick Williams <patrick at stwcx.xyz>
抄 送:杨勇兵(末岩) <moyan.yyb at alibaba-inc.com>; 常琳(特睿) <terui.cl at alibaba-inc.com>; openbmc <openbmc at lists.ozlabs.org>; Brad Bishop <bradleyb at fuzziesquirrel.com>; 李志兵(边荒) <zhibing.lzb at alibaba-inc.com>; 李羿(义天) <yitian.ly at alibaba-inc.com>
主 题:Re: 回复:I just want to join the openbmc developer community

Hello Moyan,

If I understand correctly what you can do is to commit to the review
branch, and as described you need to complete all the setup steps
described in the link (
https://github.com/openbmc/docs/blob/master/development/gerrit-setup.md
)

After you complete the setup steps you should able to run the command
to commit a change to review:
"git push gerrit HEAD:refs/for/master"
Note that it's not just "git push" as is shown in your screenshot.

If the command is successful, you will be given an URL like the following:
https://gerrit.openbmc-project.xyz/c/openbmc/meta-alibaba/+/XXXXX
In this URL, "XXXXX" is the change number.

One example successful output is as follows (I'm using a different
repo but it should be similar for meta-alibaba):

suichen at suichen:~/Downloads/openbmc-tools/suichen/hwmon-bmk$ git push
gerrit HEAD:refs/for/master
Enumerating objects: 7, done.
Counting objects: 100% (7/7), done.
Delta compression using up to 12 threads
Compressing objects: 100% (5/5), done.
Writing objects: 100% (6/6), 10.69 KiB | 10.69 MiB/s, done.
Total 6 (delta 1), reused 0 (delta 0), pack-reused 0
remote: Resolving deltas: 100% (1/1)
remote: Processing changes: refs: 1, updated: 1, done
remote: commit 94600f6: warning: subject >50 characters; use shorter
first paragraph
remote:
remote: SUCCESS
remote:
remote: Updated Changes:
remote:   https://gerrit.openbmc-project.xyz/c/openbmc/openbmc-tools/+/35387
hwmon-bmk: microbenchmark for file-based sensor-reading
remote:
To ssh://openbmc.gerrit/openbmc/openbmc-tools
 * [new reference]   HEAD -> refs/for/master
suichen at suichen:~/Downloads/openbmc-tools/suichen/hwmon-bmk$


Hope this might be useful.

Thanks!
suichen


On Tue, Nov 17, 2020 at 5:22 AM Patrick Williams <patrick at stwcx.xyz> wrote:
>
> On Mon, Nov 16, 2020 at 03:46:09PM +0800, 杨勇兵(末岩) wrote:
> > Hi Brad,
> >     I see the meta-alibaba has been create, that's greats, thank you. But while i send the file to the Repository,it has some question as below. If am i have no Authority?
> > Thank.
>
> Hello.
>
> Your issue is that you're trying to push directly to the branch and
> bypassing review rather than pushing to a gerrit review branch.
>
> Please see this document and especially the "push code change to Gerrit"
> section:
>
>     https://github.com/openbmc/docs/blob/master/development/gerrit-setup.md#push-code-change-to-gerrit
>
>
> --
> Patrick Williams

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20201118/96b9a129/attachment-0001.htm>


More information about the openbmc mailing list