#6989 Cannot push fNN branches to a fork on src.fpo
Closed: Fixed 5 years ago Opened 5 years ago by tmz.

I forked the git package some time ago (prior to f24 branching). Attempting to push an f28 branch to that fork now results in the following error:

$ git push fork-tmz
Total 0 (delta 0), reused 0 (delta 0)
remote: FATAL: C refs/heads/f28 forks/tmz/rpms/git tmz DENIED by refs/heads/f[0-9][0-9]
remote: error: hook declined to update refs/heads/f28
To ssh://pkgs.fedoraproject.org/forks/tmz/rpms/git.git
 ! [remote rejected] f28 -> f28 (hook declined)
error: failed to push some refs to 'ssh://pkgs.fedoraproject.org/forks/tmz/rpms/git.git'

This seems like an unintended restriction in the hook script or the ACLS generated by distgit/gitolite. I didn't see where this was done in ansible or I'd have tried to submit a patch.


It looks like your fork had gotten a the ACL template for a main project, so I just refreshed the gitolite config and it has gotten the right template this time.

Not sure how it got in that situation, I suspect either something during a mass-branching but it's a little odd, or a bug that since got fixed.
Anyway, it's fixed for you now, sorry for the bother :(

Metadata Update from @pingou:
- Issue assigned to pingou
- Issue close_status updated to: Fixed
- Issue priority set to: None (was: Needs Review)
- Issue tagged with: src.fp.o

5 years ago

Login to comment on this ticket.

Metadata