Bug 921012 - DistGitReleaser ignores blacklist
Summary: DistGitReleaser ignores blacklist
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: tito
Version: el6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Devan Goodwin
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-13 10:11 UTC by Michael Mráka
Modified: 2020-11-30 14:58 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-11-30 14:58:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
blacklist.patch (1.19 KB, patch)
2013-03-13 10:13 UTC, Michael Mráka
no flags Details | Diff

Description Michael Mráka 2013-03-13 10:11:25 UTC
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:

Comment 1 Michael Mráka 2013-03-13 10:13:48 UTC
Created attachment 709460 [details]
blacklist.patch

This patch filters out branches/tags which package is blacklisted in.

Comment 2 Ben Cotton 2020-11-05 16:47:12 UTC
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.

Comment 3 Ben Cotton 2020-11-30 14:58:26 UTC
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.


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