#9976 Cannot push or merge to branch `master` on modules/ruby
Closed: Fixed 2 years ago by mohanboddu. Opened 2 years ago by jackorp.

Describe what you would like us to do:


I am attempting to retire the master branch of modules/ruby, I took inspiration from modules/nodejs on how it can be done and created a PR [0] to modules/ruby.

However the change cannot be merged or pushed, from web UI I get:

 Your task failed: Remote hook declined the push: 2021-05-25 10:07:45,518 [INFO] pagure.lib.git_auth: Looking for backend: distgit 2021-05-25 10:07:45,518 [INFO] pagure.lib.git_auth: Looking for backend: distgit 2021-05-25 10:07:45,526 [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-05-25 10:07:45,526 [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-05-25 10:07:45,590 [DEBUG] pagure.lib.git_auth: Returning helper <class 'dist_git_auth.DistGitAuth'> from backend key 'distgit' 2021-05-25 10:07:45,590 [DEBUG] pagure.lib.git_auth: Returning helper <class 'dist_git_auth.DistGitAuth'> from backend key 'distgit' 2021-05-25 10:07:45,616 [DEBUG] pagure.utils: User is a committer 2021-05-25 10:07:45,616 [DEBUG] pagure.utils: User is a committer 2021-05-25 10:07:45,616 [INFO] pagure_auth: Ref refs/heads/master is blocked Ref refs/heads/master is blocked Denied push for ref 'refs/heads/master' for user 'jackorp' All changes have been rejected

Executing git push from CLI returns more or less the same:

Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
remote: Ref refs/heads/master is blocked
remote: Denied push for ref 'refs/heads/master' for user 'jackorp'
remote: All changes have been rejected
To ssh://pkgs.fedoraproject.org/modules/ruby
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'ssh://pkgs.fedoraproject.org/modules/ruby'

Why is it being rejected?
Why is the master ref blocked?

[0] https://src.fedoraproject.org/modules/ruby/pull-request/7

When do you need this to be done by? (YYYY/MM/DD)


The sooner the better.


master branches of all repositories are blacklisted, pushing to them is not allowed. See ansible.git commit caa56c9

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

2 years ago

I see, thank you.

That answers my ticket, I think it can be closed now.

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

2 years ago

Login to comment on this ticket.

Metadata