#6178 Error occurs when mirroring pagure repo to github
Closed: Will Not/Can Not fix Opened by lslebodn.

SSSd repository on pagure https://pagure.io/SSSD/sssd/ is mirrored to github https://github.com/SSSD/sssd/ to increase potential contributors. We have enabled pull reguests in pagure.

And mirroring refs for pagure PRs to github cause issues.

sh [~/projects/sssd]$git push upstream HEAD:master
Counting objects: 6, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (6/6), done.
Writing objects: 100% (6/6), 1.16 KiB | 0 bytes/s, done.
Total 6 (delta 5), reused 0 (delta 0)
remote: Sending to redis to log activity and send commit notification emails
remote: Sending notification emails to: gitsssd-members@fedoraproject.org
remote: Pushing to github...
remote: To git@github.com:SSSD/sssd.git
remote:    a6f6061..865cbab  master -> master
remote:    f3a306c..a6f6061  github/master -> github/master
remote:  ! [remote rejected] refs/pull/3320/head -> refs/pull/3320/head (deny updating a hidden ref)
remote: error: failed to push some refs to 'git@github.com:SSSD/sssd.git'
remote: Push to github finished
To ssh://140.211.169.204/SSSD/sssd.git
   a6f606117..865cbab7d  HEAD -> master

@pingou asked me to file this ticket.

This error is harmless and somewhat hard to fix for now, given the way that git mirroring works.
It should still be pushing all refs that aren't getting denied because they're pull requests.
Unless you're seeing any refs getting not pushed, I'm inclined to just leave it for now.

Metadata Update from @puiterwijk:
- Issue close_status updated to: Will Not/Can Not fix
- Issue status updated to: Closed (was: Open)

Metadata