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

Sui Chen suichen6 at gmail.com
Wed Nov 18 05:43:37 AEDT 2020


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


More information about the openbmc mailing list