Bug 2210459 - fedpkg pre-push hook refuses a multi-branch push
Summary: fedpkg pre-push hook refuses a multi-branch push
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: fedpkg
Version: 39
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Ondřej Nosek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-05-27 16:53 UTC by Zbigniew Jędrzejewski-Szmek
Modified: 2023-08-16 08:09 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.