Bug 2210459

Summary: fedpkg pre-push hook refuses a multi-branch push
Product: [Fedora] Fedora Reporter: Zbigniew Jędrzejewski-Szmek <zbyszek>
Component: fedpkgAssignee: Ondřej Nosek <onosek>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 39CC: cqi, lsedlar, onosek, philip.wyett
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Zbigniew Jędrzejewski-Szmek 2023-05-27 16:53:52 UTC
$ git push origin --atomic rawhide f38 f37
Source file 'scikit-build-0.16.7.tar.gz' was neither listed in the 'sources' file nor tracked in git. Push operation was cancelled
Hint: this check (.git/hooks/pre-push script) can be bypassed by adding the argument '--no-verify' argument to the push command.
Source file 'scikit-build-0.16.7.tar.gz' was neither listed in the 'sources' file nor tracked in git. Push operation was cancelled
Hint: this check (.git/hooks/pre-push script) can be bypassed by adding the argument '--no-verify' argument to the push command.
error: failed to push some refs to 'ssh://pkgs.fedoraproject.org/rpms/python-scikit-build'

scikit-build-0.16.7.tar.gz is for branches f37 and f38 and is correctly listed in the sources file there.
If I switch to f37 branch, git push complains about scikit-build-0.17.0.tar.gz used by the rawhide branch.

Reproducible: Always

Steps to Reproduce:
1. E.g. 'git push :'

Comment 1 Fedora Release Engineering 2023-08-16 08:09:52 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle.
Changing version to 39.