New issue
Advanced search Search tips

Issue 890374 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Oct 3
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Feature



Sign in to add a comment

chromiumos-uboot-owners gerrit group: fix Simon's membership

Project Member Reported by sjg@chromium.org, Sep 28

Issue description

This group is referenced here:

https://chromium-review.googlesource.com/admin/repos/chromiumos/third_party/u-boot,access

but does not appear to exist.

Please can you create it and add me to it? I want to push a new branch so that I can get this running on Grunt.

 

Comment 1 Deleted

Cc: akes...@chromium.org vapier@chromium.org
+ a few people who might know how to route this
you can see the group already exists, and you're already in it.  so i don't know what this request is about.


Name	Email Address
 Anton Staaf	robotboy@chromium.org
 Anush Elangovan	anush@google.com
 Simon Glass	sjg@google.com
When I click the link on that page I get:

An error occurred
Server error: Not found: 672bf3aced7c63c5a341de4d6994fd66df54c924


Also when I try to push:

git push cros HEAD:chromeos-v2018.09
error: unable to push to unqualified destination: chromeos-v2018.09
The destination refspec neither matches an existing ref on the remote nor
begins with refs/, and we are unable to guess a prefix based on the source ref.
error: failed to push some refs to 'https://chromium.googlesource.com/chromiumos/third_party/u-boot'


So I suppose I am missing some instructions?

the error message from your push already explained things: the remote ref you tried to use is invalid. if you want to create a ref, you need to fully qualify it like refs/heads/XXX and not just XXX.

fairly certain this is how git works everywhere.
OK great, that worked, thanks. For some reason I don't have to qualify things when I push to other projects, but that's fine.

Now I get:

git push cros HEAD:refs/heads/chromeos-v2018.09
Enumerating objects: 146861, done.
Counting objects: 100% (120436/120436), done.
Delta compression using up to 56 threads
Compressing objects: 100% (19817/19817), done.
Writing objects: 100% (110431/110431), 18.15 MiB | 3.58 MiB/s, done.
Total 110431 (delta 95104), reused 104438 (delta 89663)
remote: Resolving deltas: 100% (95104/95104)
remote: Counting objects: 111791, done
remote: Replicating objects... done
remote: Processing changes: refs: 1, done    
To https://chromium.googlesource.com/chromiumos/third_party/u-boot
 ! [remote rejected]         HEAD -> chromeos-v2018.09 (prohibited by Gerrit: not permitted: create)
error: failed to push some refs to 'https://chromium.googlesource.com/chromiumos/third_party/u-boot'


Also, any idea why I cannot view the group? I can't even check my permissions. Also I'd like to remove the two people no-longer on the project and add someone else.
you only have to fully qualify the ref the first time you create the branch.  if you're updating an existing branch, the tools will usually be able to guess the answer.

chromiumos-uboot-owners already has create access for refs/heads/*.  are you trying to push this from a personal system that doesn't have GoB access configured ?  or are you pushing this from your existing CrOS checkout on your corp system ?

GoB ACL management is not great.  you can often see the names of groups but not actually view their details (you get a 404 error) or manage them, and i don't think that's access that Gerrit makes easy to delegate (or i don't know how to do it).  i've deleted those ex-Googlers from the group.
OK, well at least I know.

I am trying to push from my normal corp workstation, after doing 'glogin'. I am able to repo sync, etc.
do you maintain two accounts, or are your @google.com & @chromium.org accounts linked ?  i've added your @chromium.org account now to the group too.
I believe they are linked, but perhaps I am mistaken. Anyway, it works now, thank you!
Owner: vapier@chromium.org
Status: Fixed (was: Untriaged)
Summary: chromiumos-uboot-owners gerrit group: fix Simon's membership (was: Please create chromiumos-uboot-owners gerrit group)

Sign in to add a comment