Bug 921012
| Summary: | DistGitReleaser ignores blacklist | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora EPEL | Reporter: | Michael Mráka <mmraka> | ||||
| Component: | tito | Assignee: | Devan Goodwin <dgoodwin> | ||||
| Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | el6 | CC: | admiller, dgoodwin | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2020-11-30 14:58:26 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: | |||||||
| Attachments: |
|
||||||
Created attachment 709460 [details]
blacklist.patch
This patch filters out branches/tags which package is blacklisted in.
This message is a reminder that EPEL 6 is nearing its end of life. Fedora will stop maintaining and issuing updates for EPEL 6 on 2020-11-30. It is our policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of 'el6'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later EPEL version. Thank you for reporting this issue and we are sorry that we were not able to fix it before EPEL 6 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. EPEL el6 changed to end-of-life (EOL) status on 2020-11-30. EPEL el6 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of EPEL please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. |
Description of problem: tito release --all tries to build to dist-git branch which the packages is blacklisted in Version-Release number of selected component (if applicable): tito-0.4.11-1.el6.noarch (EPEL6) How reproducible: always Steps to Reproduce: $ more rel-eng/releasers.conf [git] releaser = tito.release.DistGitReleaser branches = satellite-5.6-rhel-5 satellite-5.6-rhel-6 $ more rel-eng/tito.props [satellite-5.6-rhel-5] blacklist=spacewalk-pylint $ cd spacewalk/pylint Actual results: $ tito release --all Will release to the following targets: git Checking for tag [spacewalk-pylint-0.11-1] in git repo [...] Releasing to target: git Working in: /var/tmp/release-spacewalk-pylint-21a3fe120e5c6774faf7d6e6899054ff48315fcdShoDEQ ########## ERROR ############ Error running command: rhpkg switch-branch satellite-5.6-rhel-5 Status code: 256 Command output: Could not execute switch_branch: Unknown remote branch satellite-5.6-rhel-5 Traceback (most recent call last): File "/usr/bin/tito", line 23, in <module> CLI().main(sys.argv[1:]) File "/usr/lib/python2.6/site-packages/tito/cli.py", line 94, in main return module.main(argv) File "/usr/lib/python2.6/site-packages/tito/cli.py", line 628, in main scratch=self.options.scratch) File "/usr/lib/python2.6/site-packages/tito/release.py", line 461, in release self._git_release() File "/usr/lib/python2.6/site-packages/tito/release.py", line 483, in _git_release run_command("%s switch-branch %s" % (self.cli_tool, self.git_branches[0])) File "/usr/lib/python2.6/site-packages/tito/common.py", line 217, in run_command raise Exception("Error running command") Exception: Error running command Expected results: $ tito release --all Will release to the following targets: git Checking for tag [spacewalk-pylint-0.11-1] in git repo [...] Releasing to target: git Working in: /var/tmp/release-spacewalk-pylint-21a3fe120e5c6774faf7d6e6899054ff48315fcd6dqtkg Building upstream tgz for tag [spacewalk-pylint-0.11-1] Creating spacewalk-pylint-0.11.tar.gz from git tag: 21a3fe120e5c6774faf7d6e6899054ff48315fcd... copying: spacewalk-pylint.spec Uploading sources to lookaside: [...] Proceeding with commit. rhpkg push Submitting build: rhpkg build --nowait Additional info: