Bug 1607861
| Summary: | tito generates inconsistent version-release tag when building RPM | ||
|---|---|---|---|
| Product: | [Fedora] Fedora EPEL | Reporter: | Mark Lamourine <mlamouri> |
| Component: | tito | Assignee: | Jakub Kadlčík <jkadlcik> |
| Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | epel7 | CC: | dgoodwin |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2024-07-09 02:30:09 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: | |||
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component. This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component. EPEL 7 entered end-of-life (EOL) status on 2024-06-30.\n\nEPEL 7 is no longer maintained, which means that it\nwill not receive any further security or bug fix updates.\n As a result we are closing this bug. |
Description of problem: When building a package, tito generates inconsistent tag names, resulting in build failure Version-Release number of selected component (if applicable): tito-0.6.11-1 How reproducible: Steps to Reproduce: 1. tito tag --accept-auto-changelog --keep-version --debug Actual results: ... Getting latest package info from: /home/bos/mlamouri/sample/ose/.tito/packages/ atomic-openshift Command: awk '{ print $1 ; exit }' /home/bos/mlamouri/sample/ose/.tito/packages /atomic-openshift Status code: 0 Command output: 3.9.37-1 Traceback (most recent call last): File "/usr/bin/tito", line 23, in <module> CLI().main(sys.argv[1:]) File "/usr/lib/python2.7/site-packages/tito/cli.py", line 203, in main return module.main(argv) File "/usr/lib/python2.7/site-packages/tito/cli.py", line 671, in main return tagger.run(self.options) File "/usr/lib/python2.7/site-packages/tito/tagger/main.py", line 114, in run self._tag_release() File "/home/bos/mlamouri/sample/ose/.tito/lib/origin/tagger/__init__.py", lin e 40, in _tag_release super(OriginTagger, self)._tag_release() File "/usr/lib/python2.7/site-packages/tito/tagger/main.py", line 134, in _ta g_release self._make_changelog() File "/usr/lib/python2.7/site-packages/tito/tagger/main.py", line 261, in _ma ke_changelog output = self._generate_default_changelog(last_tag) File "/usr/lib/python2.7/site-packages/tito/tagger/main.py", line 213, in _ge nerate_default_changelog output = run_command(patch_command) File "/usr/lib/python2.7/site-packages/tito/common.py", line 426, in run_comm and raise RunCommandException(command, status, output) tito.exception.RunCommandException: Error running command: git log --no-merges --pretty='format:%s (%ae)' --relative v3.9.37..HEAD -- . Expected results: ... Command: git tag -m "Tagging package [atomic-openshift] version [3.9.38-1] in d irectory [./]." v3.9.38-1 Status code: 0 Command output: Created tag: v3.9.38-1 View: git show HEAD Undo: tito tag -u Push: git push origin && git push origin v3.9.38-1 Additional info: Github Issue: https://github.com/dgoodwin/tito/issues/312 Github patch PR pending: https://github.com/dgoodwin/tito/pull/314 Confirmed that this patch passes tests and works for my example