This PR used to have a merge conflict, but I have resolved and pushed an update to it. But still the PR cannot be merged. Not sure what's going on.
When do you need this? (YYYY/MM/DD)
When is this no longer needed or useful? (YYYY/MM/DD)
If we cannot complete your request, what is the impact?
Please check https://www.fedorastatus.org/ for any known outages before filing issues on an outage.
Metadata Update from @jnsamyak: - Issue tagged with: low-gain, low-trouble, ops
Metadata Update from @jnsamyak: - Issue assigned to jnsamyak
Hey @lecris!
Your fork was accidentally set to read-only. I have set it to false, so try rebasing it now. I think it will unblock you. Let me know if the fix worked out for you.
I have just rebased and pushed to the PR. Still the same?
https://src.fedoraproject.org/rpms/pybind11/pull-request/14 still cannot be merged
Consider opening a new PR from a new branch.
I'm on a train rn, if someone can take over that would appreciate it.
But worth noting that https://src.fedoraproject.org/rpms/pybind11/pull-request/15 is also failing similarly. I might have opened it when it was merge conflicting as well though.
https://src.fedoraproject.org/rpms/pybind11/pull-request/16 has the same problem. looks like it needs rebasing, but does not.
Yeah, I think there's something wrong with the base package or it's requests repo, but so far I have been unable to find it. ;(
maybe if we reviewed the PR and pushed directly?
yeah i think that can be a plan, and delete that fork and create a new one for later?
Is this part relevant?
The permissions on this repository are being updated. This may take a while. During this time, you or some of the project's contributors may not be able to push to this repository.
I did see it on my fork before, and I tried to delete and re-create the fork and it is stuck in that stage. When I re-created the fork there was an error message but it went by too fast to catch it.
Oh, this has been happening for a while actually: https://src.fedoraproject.org/rpms/pybind11/pull-request/13#comment-229213
Is it still the case? I referesed and unblocked as part of pagure-admin, this should have resulted unblocking it
Yes, it's still broken. Look at the pr(s) and all of them show a red merge button...
I am not sure how to get enough debugging to see whats wrong with the repo. It passes git fsck fine, everything looks normal. ;(
I saw that in the logs (with DEBUG logging level):
[Wed Aug 20 06:43:28.277025 2025] [wsgi:error] [pid 211712:tid 139891242067712] [remote 10.16.163.74:33948] 2025-08-20 06:43:28,275 [DEBUG] pagure.lib.repo: Command FA ILED: ['git', 'clone', '/srv/git/repositories/rpms/pybind11.git', '/srv/tmp/pagure-merge_pr-s_xog18g'] returned code 128 with the following output: b"Cloning into '/sr v/tmp/pagure-merge_pr-s_xog18g'...\\nwarning: error opening directory '/srv/git/repositories/rpms/pybind11.git/objects/tmp_objdir-incoming-kq3cjb/': Permission denied\ \nfatal: failed to iterate over '/srv/git/repositories/rpms/pybind11.git/objects/'\\n"
Indeed the permissions on this directory were weird:
# ls -l /srv/git/repositories/rpms/pybind11.git/objects [...] drwxrwsr-x. 2 jussilehtola xpackager 52 Jul 20 2024 fe drwxrwsr-x. 2 115616 xpackager 52 Oct 15 2019 ff drwxrwsr-x. 2 root xpackager 6 Feb 27 2017 info drwxrwsr-x. 2 root xpackager 8192 Aug 20 06:43 pack drwx--S---. 7 tchaikov xpackager 58 Jul 15 2024 tmp_objdir-incoming-kq3cjb
So I fixed them:
chmod 4775 /srv/git/repositories/rpms/pybind11.git/objects/tmp_objdir-incoming-kq3cjb
And now the button is still red but the command passes and the message is different, this time I think it's valid.
https://src.fedoraproject.org/rpms/pybind11/pull-request/16 is green now, thanks.
Metadata Update from @churchyard: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)
Mine is still stuck at
Probably the forks need to be deleted and re-created?
Metadata Update from @churchyard: - Issue status updated to: Open (was: Closed)
https://src.fedoraproject.org/rpms/pybind11/pull-request/14 is marked as Unknown source. Perhaps try opening a new PR? (I have successfully rebased your branch.)
Unknown source
The Unknown source was because I deleted the fork at some point. I did recreate it and it is working ok now: https://src.fedoraproject.org/rpms/pybind11/pull-request/18 (despite the warning mentioned above)
Nils will still check some things though, but can mark this closed.
Metadata Update from @lecris: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)