#6220 Unable to create a branch in fork on src.fp.o
Closed: Fixed 6 years ago Opened 6 years ago by ignatenkobrain.

[brain@ignatenko-w541 libassuan]$ git push brain pth -u
Counting objects: 3, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 617 bytes | 617.00 KiB/s, done.
Total 3 (delta 2), reused 0 (delta 0)
remote: FATAL: C refs/heads/pth forks/ignatenkobrain/rpms/libassuan ignatenkobrain DENIED by fallthru
remote: error: hook declined to update refs/heads/pth
To ssh://pkgs.fedoraproject.org/forks/ignatenkobrain/rpms/libassuan.git
 ! [remote rejected] pth -> pth (hook declined)
error: failed to push some refs to 'ssh://pkgs.fedoraproject.org/forks/ignatenkobrain/rpms/libassuan.git'

Ah, I see what's going on. This is a bug (c) @puiterwijk

Filing this bug here just for the record and tracking.


Metadata Update from @pingou:
- Issue tagged with: src.fp.o

6 years ago

This is caused by the fact that we do "RWC" for non-fork repos (which I think we shouldn't do anymore).
Basically, as soon as gitolite sees any "C" flag, the "+" flag no longer implies C, and C must be explicitly granted.

A fix, that would also fix some other issues, is at https://pagure.io/pagure-dist-git/pull-request/16 .

This should be fixed now in stg, could you test it?

I believe this is fixed

Metadata Update from @pingou:
- Issue close_status updated to: Fixed

6 years ago

Login to comment on this ticket.

Metadata