#6290 No proper Git permissions for new packages
Closed: Fixed 6 years ago Opened 6 years ago by robert.

It seems that newly created packages requested and processed via fedrepo-req are not getting proper Git permissions, mainly EPEL 6 and 7, e.g.:

$ git push -u origin el6
Total 0 (delta 0), reused 0 (delta 0)
remote: FATAL: C refs/heads/el6 rpms/libburn1 robert DENIED by refs/heads/el[0-9]
remote: error: hook declined to update refs/heads/el6
$ 

The branch was created about a day ago: https://pagure.io/releng/fedora-scm-requests/issue/282

@mprahl suggested to move this from https://pagure.io/fedrepo_req/issue/82 to this issue.


Taken from previous thread:
It seems that this ticket was processed shortly after the epel7 branch request ticket. Looking at the source code in Pagure over dist-git, it seems like it caches the query to PDC when generating the ACLs on which branches can be written to. I think what happened is that since it cached the query where you only had master and epel7 in PDC, it omitted el6. I will submit a PR remove this cache and hopes it solves the problem in the future.

@pingou can you please manually regenerate the ACLs on this project?

I filed a PR for this at:
https://pagure.io/pagure-dist-git/pull-request/27

I hope this fixes the issue in the future.

This PR has been merged upstream and hotfixed in production.

Let's close this ticket as fixed for now and fingers crossed no need to re-open it :)

Metadata Update from @pingou:
- Issue close_status updated to: Fixed
- Issue tagged with: src.fp.o

6 years ago

Login to comment on this ticket.

Metadata