Describe the issue I can't push to sourcextractor++ branches, other than master. I am the main admin.
If we cannot complete your request, what is the impact? I will not be able to maintain the package. I am the only maintainer.
I should have added the full error:
Total 0 (delta 0), reused 0 (delta 0), pack-reused 0 remote: Unspecified ref refs/heads/f32 is blocked remote: Denied push for ref 'refs/heads/f32' for user 'aalvarez' remote: All changes have been rejected To ssh://pkgs.fedoraproject.org/rpms/sourcextractor++ ! [remote rejected] f32 -> f32 (pre-receive hook declined) error: failed to push some refs to 'ssh://aalvarez@pkgs.fedoraproject.org/rpms/sourcextractor++' Could not execute push: Failed to execute command.
I think its a problem with pdc, I will check it and fix it.
Metadata Update from @mohanboddu: - Issue tagged with: groomed, medium-gain, medium-trouble
@pingou Any idea here? I checked pdc and it seems to have the correct values.
https://pdc.fedoraproject.org/rest_api/v1/component-branches/472202/
Would you by any chances be available to debug this on IRC? I am looking at the logs and not finding much at the moment but I'd love to try to debug this live
Could it be some urlencode/urldecode mismatch somewhere? I have had glitches with this project that I never had with any other, so my guess is the '++' gives troubles.
So @mobrien and I have finally tracked this down. It was a combination of two things:
dist-git has been reinstalled on RHEL8 during the colo move and with this we migrated to python3. Turns out, as you suspected, that with python3 we apparently need to encode the name as otherwise PDC does not return us the appropriate data. So the hook was not finding the branch as existing in PDC and as it is not allowed to create an f[0-9]+ branch in git without having it in PDC first, it was refusing the push. That explains the failure here.
f[0-9]+
Then a question we did not understand was: why did it not block the push to master? Turns out for this one that if we query PDC, PDC returns a 200 (all good) but no data, we treat it if the branch is not defined in PDC and since we do not block the creation of the master branch that push went through. One way to address this is simply to add master to the list of branches that cannot be created if they do not exist in PDC first.
master
@melmorabity Your issue with nicotine+ should also be solved now :)
nicotine+
It works now, thanks a lot!
Closing the ticket as the work seems to be done. Please reopen if you find any issues.
Thanks.
Metadata Update from @mohanboddu: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)
Log in to comment on this ticket.