addresing:
Traceback (most recent call last):
File "/home/msuchy/rhn/git-for-nightly-buils/rel-eng/bin/tito", line 26, in <module>
CLI().main()
File "/home/msuchy/rhn/git-for-nightly-buils/rel-eng/bin/../lib/spacewalk/releng/cli.py", line 123, in main
module.main()
File "/home/msuchy/rhn/git-for-nightly-buils/rel-eng/bin/../lib/spacewalk/releng/cli.py", line 355, in main
build_dir)
File "/home/msuchy/rhn/git-for-nightly-buils/rel-eng/bin/../lib/spacewalk/releng/cli.py", line 385, in _create_builder
offline=options.offline)
File "/home/msuchy/rhn/git-for-nightly-buils/rel-eng/bin/../lib/spacewalk/releng/builder.py", line 633, in __init__
test=test, offline=offline)
File "/home/msuchy/rhn/git-for-nightly-buils/rel-eng/bin/../lib/spacewalk/releng/builder.py", line 60, in __init__
self.config.set(section, options, pkg_config.get(section, options))
File "/usr/lib64/python2.6/ConfigParser.py", line 377, in set
raise NoSectionError(section)
ConfigParser.NoSectionError: No section: "buildconfig"
Add bin/ to the end of your PATH and tito-dev will run everything from
source checkout rather than what may/may not be installed on the system.
This includes the perl script in bin/ which land in /usr/bin normally.
Will undo the most recent tag for the current package. The tag must not
have been pushed to the remote repo, and must be the most recent commit
in your branch.
Most everyone uses auto-changelog now so this was just causing problems
for anyone tagging twice in one day. If you use --no-auto-changelog,
we'll assume you know what you're doing.
This change fixes the problem with rpms which use macros as part of the
Name definition. For example, 'Name: rubygem-%{gemname}' would normally
result in a tag called 'rubygem-%{gemname}-1.0.0-1' which is clearly
not what the developer intended.
I switched the get_project_name method to use rpm instead of a
cat | grep | awk combo.
This wonderful rpm command takes care of expanding the macros for us.
rpm -q --qf '%%{name}\n' --specfile %s 2> /dev/null |
head -1" % spec_file_path)
Reworked InitModule to create a readme file under the
rel-eng/packages directory so that we can commit the directory to
git, since empty dirs are ignored. Plus the readme helps explain
what the directory is for.