#10094 Push to repo in modules namespace blocked, due to leftover master branch?
Closed: Upstream by kevin. Opened by lcts.

I have problems pushing to the default branch of src.fedoraproject.org/modules/nextcloud. Any push is blocked with the following error:

ce@rawhide ~/src/fedora/modules/nextcloud (git)-[master] % git push
...
remote: Ref refs/heads/master is blocked
remote: Denied push for ref 'refs/heads/master' for user 'lcts'
remote: All changes have been rejected
To ssh://pkgs.fedoraproject.org/modules/nextcloud
 ! [remote rejected] master -> master (pre-receive hook declined)

Same happens when I try to edit something via the web interface:

Your task failed: Remote hook declined the push: 2021-07-12 19:38:41,876 [INFO] pagure.lib.git_auth: Looking for backend: distgit 2021-07-12 19:38:41,876 [INFO] pagure.lib.git_auth: Looking for backend: distgit 2021-07-12 19:38:41,885 [DEBUG] pagure.lib.git_auth: Found the following installed helpers {'test_auth': EntryPoint.parse('test_auth = pagure.lib.git_auth:GitAuthTestHelper'), 'gitolite2': EntryPoint.parse('gitolite2 = pagure.lib.git_auth:Gitolite2Auth'), 'gitolite3': EntryPoint.parse('gitolite3 = pagure.lib.git_auth:Gitolite3Auth'), 'pagure': EntryPoint.parse('pagure = pagure.lib.git_auth:PagureGitAuth'), 'pagure_authorized_keys': EntryPoint.parse('pagure_authorized_keys = pagure.lib.git_auth:PagureGitAuth'), 'distgit': EntryPoint.parse('distgit = dist_git_auth:DistGitAuth')} 2021-07-12 19:38:41,885 [DEBUG] pagure.lib.git_auth: Found the following installed helpers {'test_auth': EntryPoint.parse('test_auth = pagure.lib.git_auth:GitAuthTestHelper'), 'gitolite2': EntryPoint.parse('gitolite2 = pagure.lib.git_auth:Gitolite2Auth'), 'gitolite3': EntryPoint.parse('gitolite3 = pagure.lib.git_auth:Gitolite3Auth'), 'pagure': EntryPoint.parse('pagure = pagure.lib.git_auth:PagureGitAuth'), 'pagure_authorized_keys': EntryPoint.parse('pagure_authorized_keys = pagure.lib.git_auth:PagureGitAuth'), 'distgit': EntryPoint.parse('distgit = dist_git_auth:DistGitAuth')} 2021-07-12 19:38:41,949 [DEBUG] pagure.lib.git_auth: Returning helper <class 'dist_git_auth.DistGitAuth'> from backend key 'distgit' 2021-07-12 19:38:41,949 [DEBUG] pagure.lib.git_auth: Returning helper <class 'dist_git_auth.DistGitAuth'> from backend key 'distgit' 2021-07-12 19:38:41,975 [DEBUG] pagure.utils: User is a committer 2021-07-12 19:38:41,975 [DEBUG] pagure.utils: User is a committer 2021-07-12 19:38:41,975 [INFO] pagure_auth: Ref refs/heads/master is blocked Ref refs/heads/master is blocked Denied push for ref 'refs/heads/master' for user 'lcts' All changes have been rejected

It seems likely that this has something to do with the master -> main move, which for some reason didn't happen for this repo (it still has only a master branch + the module branches).

Pushing to any other branch works fine, so I can still update & build modules without issues, I'd just like to update the repo readme at some point ...


This is already tracked in https://pagure.io/releng/issue/10139 can you add your info there?

Metadata Update from @kevin:
- Issue close_status updated to: Upstream
- Issue status updated to: Closed (was: Open)

Metadata