Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1890701
Summary: | fedpkg chain-build does not recognize --skip-nvr-check | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> |
Component: | fedpkg | Assignee: | Ondřej Nosek <onosek> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 33 | CC: | cqi, dennis, fedoraproject, jkeating, lsedlar, onosek, s |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | fedpkg-1.40-1.fc33 fedpkg-1.40-1.fc32 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-12-07 01:20:02 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Miro Hrončok
2020-10-22 18:18:49 UTC
I looked at this issue. I found, that when chain-build is run with multiple packages (last package is always the one from active repo), only the last package is checked (nvr, unpushed changes). For other packages, only URL is sent to koji. To check all of them would require cloning them and would make this change complex and would make build operation longer as well. I think that chain build is not so widely used. What is your typical usage for it? Does nvr_checking has its purpose? 1) I can add the skip option to the chain-build parser to disable checking for the LAST package. 2) I can keep it as it is, just modify the message suggesting --skip-nvr-check option not to confuse user. 3) I can disable check by default for chain-build. Maybe it is better not to perform checking as chain-build is probably used by more advanced users and they know what they do. @Miro, do you have some suggestion? > I think that chain build is not so widely used. What is your typical usage for it? Does nvr_checking has its purpose? I use it when I need to, well... chain build things. E.g. in side tags. The typical usage is like shown in the example above, except without eln. nvr_checking is good to let me know I need to do git pull when I forget to do it. > 1) I can add the skip option to the chain-build parser to disable checking for the LAST package. That seems like the proper fix to me. 2) I can keep it as it is, just modify the message suggesting --skip-nvr-check option not to confuse user. That doesn't really work. Especially with eln, disabling nvr check is often the only way to build. 3) I can disable check by default for chain-build. Maybe it is better not to perform checking as chain-build is probably used by more advanced users and they know what they do. That would fix the problem at hand, but I think 1) is better. OK, 1) can be seen here: https://pagure.io/rpkg/pull-request/528 Going to be released in rpkg-1.62-1 FEDORA-2020-3c9702ca4d has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-3c9702ca4d FEDORA-2020-36f82ae84e has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-36f82ae84e FEDORA-2020-3c9702ca4d has been pushed to the Fedora 33 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-3c9702ca4d` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-3c9702ca4d See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2020-36f82ae84e has been pushed to the Fedora 32 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-36f82ae84e` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-36f82ae84e See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2020-3c9702ca4d has been pushed to the Fedora 33 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2020-36f82ae84e has been pushed to the Fedora 32 stable repository. If problem still persists, please make note of it in this bug report. |