I forked from https://src.fedoraproject.org/modules/ruby to https://src.fedoraproject.org/fork/jaruga/modules/ruby
And my local environment is like this.
$ pwd /home/jaruga/fed/modules/ruby $ git remote -v jaruga ssh://pkgs.fedoraproject.org/forks/jaruga/modules/ruby.git (fetch) jaruga ssh://pkgs.fedoraproject.org/forks/jaruga/modules/ruby.git (push) origin ssh://pkgs.fedoraproject.org/modules/ruby.git (fetch) origin ssh://pkgs.fedoraproject.org/modules/ruby.git (push)
But why was my push to my repository denied? (Kerberos auth is enabled.)
$ git branch * feature/mbs-build master $ git push jaruga feature/mbs-build Counting objects: 3, done. Delta compression using up to 4 threads. Compressing objects: 100% (3/3), done. Writing objects: 100% (3/3), 1.38 KiB | 0 bytes/s, done. Total 3 (delta 1), reused 0 (delta 0) remote: FATAL: C refs/heads/feature/mbs-build forks/jaruga/modules/ruby jaruga DENIED by fallthru remote: error: hook declined to update refs/heads/feature/mbs-build To ssh://pkgs.fedoraproject.org/forks/jaruga/modules/ruby.git ! [remote rejected] feature/mbs-build -> feature/mbs-build (hook declined) error: failed to push some refs to 'ssh://pkgs.fedoraproject.org/forks/jaruga/modules/ruby.git'
How long has it been between the fork in the UI and your attempt to push?
It can take a while to update gitolite's configuration and most often for these errors, waiting is the simplest solution :)
Thanks for the answer.
Maybe it is less than 10 minutes. How long do I have to wait to push?
I'll let wait a little more and if it persists in like half a hour we'll look further into it :)
ok, I will check it tomorrow again. Thanks.
It still doesn't work? Could you drop by #fedora-apps when you can today or tomorrow so we can check it together?
What is #fedora-apps ? IRC channel? Yes, we can check it together.
Now I tried again, and I still got error.
$ date Tue Aug 8 15:52:52 CEST 2017 $ git push jaruga feature/mbs-build Counting objects: 3, done. Delta compression using up to 4 threads. Compressing objects: 100% (3/3), done. Writing objects: 100% (3/3), 1.38 KiB | 0 bytes/s, done. Total 3 (delta 1), reused 0 (delta 0) remote: FATAL: C refs/heads/feature/mbs-build forks/jaruga/modules/ruby jaruga DENIED by fallthru remote: error: hook declined to update refs/heads/feature/mbs-build To ssh://pkgs.fedoraproject.org/forks/jaruga/modules/ruby.git ! [remote rejected] feature/mbs-build -> feature/mbs-build (hook declined) error: failed to push some refs to 'ssh://pkgs.fedoraproject.org/forks/jaruga/modules/ruby.git'
Now it looks working. Thanks you. Feel free to close this ticket.
$ git push jaruga feature/mbs-build Counting objects: 3, done. Delta compression using up to 4 threads. Compressing objects: 100% (3/3), done. Writing objects: 100% (3/3), 1.38 KiB | 0 bytes/s, done. Total 3 (delta 1), reused 0 (delta 0) To ssh://pkgs.fedoraproject.org/forks/jaruga/modules/ruby.git * [new branch] feature/mbs-build -> feature/mbs-build
Thanks for confirming, so the fix is part of: https://pagure.io/pagure-dist-git/pull-request/14
Metadata Update from @pingou: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)