Commit graph

1122 commits

Author SHA1 Message Date
Devan Goodwin
9a17139724 Refactor release code out of the builder class. 2011-02-14 14:59:30 -04:00
Devan Goodwin
e0f050563f Configure tito for Fedora git builds. 2011-02-14 13:51:26 -04:00
Devan Goodwin
6228c763d0 Complete Fedora git build process. 2011-02-14 09:11:10 -04:00
Miroslav Suchý
5513427256 if remote.origin is not set, assume --offline and print warning, but proceed 2011-02-12 14:45:13 +01:00
Miroslav Suchý
0b345b2b6d Source can be tar.bz2 2011-02-12 14:10:22 +01:00
Miroslav Suchý
ebd04756ac Source can be without number
in case you do not use Source0, and only have Source:
builder will fail to insert Patch0.
2011-02-12 13:57:57 +01:00
Miroslav Suchý
d96d891bce add myself to list of authors 2011-02-11 16:58:26 +01:00
Miroslav Suchý
536cb4c8b0 add build.py.props(5) as alias to tito.props(5) 2011-02-11 16:58:20 +01:00
Miroslav Suchý
9def31a265 add man page for tito.props(5) 2011-02-11 16:58:13 +01:00
Miroslav Suchý
8dca0cdd07 document KOJI_OPTIONS options of titorc 2011-02-11 16:58:00 +01:00
Miroslav Suchý
bf9e4bfa59 add option HIDE_EMAIL to .titorc, which will hide your email in first line of changelog entry 2011-02-11 16:57:48 +01:00
Miroslav Suchý
f408b6008b pass user_config to tagger class 2011-02-11 16:57:44 +01:00
Miroslav Suchý
304a5e643c issue 18 - do not print TB if user.name, user.email is not set 2011-02-11 16:57:37 +01:00
Devan Goodwin
0174aae201 Merge branch 'export2' of https://github.com/xsuchy/tito into xsuchy-export2 2011-02-08 13:58:59 -04:00
Miroslav Suchý
430d08b3f5 typo: rhel use Resolves, not Resolved 2011-02-08 18:53:18 +01:00
Devan Goodwin
6d20f5b5f5 Upload sources and confirm commit during git release. 2011-02-04 16:26:35 -04:00
Devan Goodwin
2a7423614d First draft of Fedora Git releasing.
Currently checking the Fedora git project out, and syncing files over.
2011-02-04 16:26:34 -04:00
Devan Goodwin
d771607667 Add a --dry-run option for build --release. 2011-02-04 16:26:34 -04:00
Devan Goodwin
f93de1e9d2 Allow user config setting for sub-packages to skip during auto-install. 2011-02-04 16:26:34 -04:00
Devan Goodwin
4b48152fe1 Hookup bugzilla extraction during cvs release. 2011-02-04 16:26:34 -04:00
Lukas Zapletal
781addbd16 Plus and dot chars in git email handled correctly now 2011-01-27 08:52:13 -04:00
Devan Goodwin
c7be95791b Fix CVS release Bugzilla extraction.
Neglected that changelog entries start out with a -.
2011-01-24 17:32:11 -04:00
Devan Goodwin
199581481b Merge branch 'export1' of https://github.com/xsuchy/tito into xsuchy-export1 2011-01-14 23:01:22 -04:00
Devan Goodwin
d54101cbef Improved bugzilla ID extraction. 2011-01-14 16:58:03 -04:00
Miroslav Suchý
fddf343429 put emails in changelog only if changelog_with_email is set to 1 in [globalconfig] section of config
or if this entry is not present
2011-01-14 21:42:16 +01:00
Miroslav Suchý
1be2ab730e use _changelog_remove_cherrypick() for rheltagger 2011-01-14 21:42:16 +01:00
Miroslav Suchý
7597aa7a29 remove text "(cherry picked from ..." from commits
this can be overriden by settin option changelog_do_not_remove_cherrypick to 1 in [globalconfig] section
2011-01-14 21:42:14 +01:00
Devan Goodwin
e1ab44abfd Add code for extracting bugzilla IDs from CVS diff or git log. 2011-01-14 16:40:12 -04:00
Devan Goodwin
892e543779 Prompt user to edit CVS commit messages. 2011-01-14 16:40:12 -04:00
Devan Goodwin
86d051103c Fix no auto changelog option. 2011-01-14 16:40:12 -04:00
Miroslav Suchý
2e1b4dd850 add tagger for Red Hat Enterprise Linux 2011-01-14 21:36:48 +01:00
Devan Goodwin
f2d047d3bd Fix test builds in koji.
If multiple koji tags are configured, the srpm method was being called
several times, which would attempt to set the 'test' version in a copy
of the spec file on disk. That file was being re-used on each run of
srpm, so the test version kept growing and growing.
2011-01-12 16:37:54 -04:00
Devan Goodwin
7b80abfcbc Documentation update.
Start describing all tito.props options.
2011-01-07 16:44:43 -04:00
Devan Goodwin
27d8bc79ca Add missing dep on libxslt.
Only surfaces on some OSes but still.
2011-01-07 16:44:23 -04:00
Devan Goodwin
0f19fdd1d4 Automatic commit of package [tito] release [0.3.0-1]. 2011-01-05 14:33:28 -04:00
Miroslav Suchý
dd45b47eda implement --only-tags option for builder class
Build in koji only for specified tags. Can be specified multiple times.
2010-12-09 12:13:23 +01:00
Miroslav Suchý
b8a0e7dccf create functions __is_whitelisted() and __is_blacklisted()
merge common code
2010-12-09 11:42:52 +01:00
Miroslav Suchý
7834bf46d8 implement --list-tags option for builder
this should get plain list. One tag per each line. Eg.:
dist-5E-sw-1.3-candidate
dist-f13-sw-1.3-candidate

if run --list-tags --debug, it should list all tags with explanation
why it is included or not listed. E.g:
dist-5E-sw-1.3-candidate
dist-f13-sw-1.3-candidate whitelisted
dist-f14-sw-1.3-candidate blacklisted
2010-12-09 11:29:56 +01:00
Miroslav Suchý
6d5e38793a simplify builder __init__ params
current state of __init__ params is bloated, more params are on the way...
lets pass whole optparse object
2010-12-09 10:37:17 +01:00
Miroslav Suchý
807aaa45da add option --scratch to builder class 2010-12-07 16:35:06 +01:00
Miroslav Suchý
4555676e3b correct typo "bump-bump-release" 2010-12-06 13:15:59 +01:00
Miroslav Suchý
4c3e08e87e add missing parentheses
addressing:
  File "/usr/lib/python2.6/site-packages/tito/distributionbuilder.py", line 26, in patch_upstream
    % self.rpmbuild_gitcopy, self.project_name, self.upstream_version, self.build_version, self.git_commit_id)
TypeError: not enough arguments for format string
2010-12-06 11:44:41 +01:00
Miroslav Suchý
07d1aee4ff do not throw traceback if you hit Ctrl+C during Auto-instaling
addressing:
Auto-installing packages:
   sudo rpm -Uvh --force /tmp/spacewalk-build/x86_64/subscription-manager-0.93.2-1.el6.x86_64.rpm /tmp/spacewalk-build/noarch/python-rhsm-0.93.2-1.el6.noarch.rpm /tmp/spacewalk-build/x86_64/subscription-manager-gnome-0.93.2-1.el6.x86_64.rpm /tmp/spacewalk-build/x86_64/subscription-manager-debuginfo-0.93.2-1.el6.x86_64.rpm
[sudo] password for msuchy:
Traceback (most recent call last):
  File "/usr/bin/tito", line 22, in <module>
    CLI().main(sys.argv[1:])
  File "/usr/lib/python2.6/site-packages/tito/cli.py", line 98, in main
    return module.main(argv)
  File "/usr/lib/python2.6/site-packages/tito/cli.py", line 386, in main
    return builder.run(self.options)
  File "/usr/lib/python2.6/site-packages/tito/builder.py", line 168, in run
    self._rpm()
  File "/usr/lib/python2.6/site-packages/tito/builder.py", line 261, in _rpm
    run_command(cmd)
  File "/usr/lib/python2.6/site-packages/tito/common.py", line 106, in run_command
    (status, output) = commands.getstatusoutput(command)
  File "/usr/lib64/python2.6/commands.py", line 56, in getstatusoutput
    text = pipe.read()
KeyboardInterrupt
2010-11-29 14:58:00 +01:00
Miroslav Suchý
bc5b7bd7e6 allow child taggers to control commit message 2010-11-26 17:04:02 +01:00
Miroslav Suchý
f3a70190e3 this does not work for module.module.class 2010-11-26 16:55:53 +01:00
Miroslav Suchý
7c3c04f796 add new tagger: zStreamTagger - bump up release part after dist tag 2010-11-26 16:55:11 +01:00
Miroslav Suchý
64fdac6c79 add new build class distributionbuilder 2010-11-25 17:57:00 +01:00
Paul Morgan
8c812d0854 workaround old version of asciidoc
Old versions of asciidoc parse lines incorrectly
when two tildes appear on the same line. This
works around the issue by using HOME environment variable.
The error in the old version of asciidoc causes
xsltproc to fail on mismatched nesting of tags.
2010-11-05 15:41:20 -03:00
Devan Goodwin
a53a93fc0b Add dependency on GitPython.
Will slowly work to transition to this library rather than manage our
own git commands and output parsing.
2010-11-02 14:37:44 -03:00
Devan Goodwin
adb4e9d5e9 Merge branch 'master' into gitpy 2010-11-02 14:17:48 -03:00