Bug 1607861 - tito generates inconsistent version-release tag when building RPM
Summary: tito generates inconsistent version-release tag when building RPM
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: tito
Version: epel7
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Jakub Kadlčík
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-07-24 12:44 UTC by Mark Lamourine
Modified: 2024-07-09 02:30 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-07-09 02:30:09 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github 312 0 None None None 2018-07-24 12:44:18 UTC

Description Mark Lamourine 2018-07-24 12:44:18 UTC
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

Comment 1 Fedora Admin user for bugzilla script actions 2022-11-28 13:08:11 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 2 Fedora Admin user for bugzilla script actions 2022-12-20 12:22:37 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 3 Troy Dawson 2024-07-09 02:30:09 UTC
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.


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