Commit graph

361 commits

Author SHA1 Message Date
Devan Goodwin
4698dff21f Restructure release CLI. 2011-10-15 13:10:32 -03:00
Devan Goodwin
7b449a2d7b Prototype mock builder and yum releaser.
Still with configuration hard coded, but demonstrates building via mock,
and then assembling built packages into a yum repository.
2011-10-15 13:10:32 -03:00
Alex Wood
fd4af9ef85 Parsing spec files and bumping their versions or releases is now in Python. 2011-10-13 13:38:42 -04:00
Devan Goodwin
df594445e3 Update for new fedpkg/Fedora git branch names... again... 2011-10-05 16:46:37 -03:00
Devan Goodwin
34c2a7dda0 Automatic commit of package [tito] release [0.3.3-1]. 2011-10-05 15:52:33 -03:00
Devan Goodwin
cc609621a6 Clarify some initial project layout documentation. 2011-09-13 10:26:16 -03:00
Devan Goodwin
76ec2ef844 Merge remote-tracking branch 'jumanjiman/master' 2011-08-02 11:27:45 -03:00
Mike McCune
8a436f47a3 match based on the tag for the package we are building
If you just find the most recent tag during a --test build
you run into git finding recent tags for *other* packages that are also
in the same git repo.  For example, if you have a git repo with 2
packages:

package-a
package-b

and you make a tag on package-a and have:

package-a-0.1.1-1

then you make a few commits and someone does a tag on package-b:

package-b-0.1.1-1

then a few more commits are done on code in package-a but nobody retags.
Now git describe will look back for the most recent tag and find
package-b-0.1.1-1 and have a commit count of the number of commits from
the package-b tag and not from the package-a tag.  By passing in the
--match option on 'git describe' we force git to only look for the tag
for the current package, not the most recent in the repo.
2011-08-02 11:18:09 -03:00
Miroslav Suchý
d70b061095 learn tito how to checkout EUS branches 2011-08-02 11:11:44 -03:00
Miroslav Suchý
e7b355b316 _update_package_metadata() does not allwo release parameter no more
this is left over after commit 7c3c04f7
Release type is now handled by overriden release_type() method.

addressing:
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 98, in main
    return module.main(argv)
  File "/usr/lib/python2.7/site-packages/tito/cli.py", line 515, in main
    return tagger.run(self.options)
  File "/usr/lib/python2.7/site-packages/tito/tagger.py", line 96, in run
    self._tag_release()
  File "/usr/lib/python2.7/site-packages/tito/zstreamtagger.py", line 20, in _tag_release
    self._update_package_metadata(new_version, release=True)
TypeError: _update_package_metadata() got an unexpected keyword argument 'release'
2011-08-02 10:25:54 -03:00
Paul Morgan
7f96c673f1 resolve issue 25: avoid TB if rpmbuild fails
This also avoids TB if user CTRL-C's while rpmbuild is in progress.
2011-08-01 16:40:54 -04:00
Paul Morgan
2a801f1629 resolve "[FIXME: manual]" in manpages
For consistency across manpages, just include a single file
providing refmiscinfo attributes as described at
http://www.methods.co.nz/asciidoc/chunked/ch21.html
2011-07-22 11:55:25 -04:00
Devan Goodwin
c413cc5776 Make Fedora git builds a little more tolerant if you need to re-run. 2011-07-13 15:48:28 -03:00
Devan Goodwin
5e5623c276 Fix the binary spew in SOURCES on some weird tags. 2011-07-12 12:00:39 -03:00
Devan Goodwin
9cb426d130 Merge branch 'master' of github.com:dgoodwin/tito 2011-07-12 12:00:13 -03:00
Devan Goodwin
c624648e2f Merge pull request #22 from jumanjiman/master
provide helpful error message if user lacks write permission (issue 21)
2011-07-12 05:02:41 -07:00
Paul Morgan
4b62574d0d do not print TB when user lacks write permission 2011-07-11 14:11:50 -04:00
Devan Goodwin
d04e2adcb7 Merge branch 'master' of github.com:dgoodwin/tito 2011-06-28 13:32:39 -03:00
Devan Goodwin
33d6dc45bb Re-add build --release, just to inform users of the new command. 2011-06-28 13:32:05 -03:00
Devan Goodwin
e4bd16eba1 Fix Fedora git releaser to use more reliable commands. 2011-06-24 11:42:10 -03:00
jesus m. rodriguez
fbebe5649d it's Fedora not Feodra :D 2011-06-14 10:02:47 -04:00
Devan Goodwin
aae0b304de Remove the old tito build --release code.
Use "tito release" now.
2011-06-02 14:44:22 -03:00
Devan Goodwin
737f4e4fbe Allow custom releasers to be loaded and used. 2011-06-02 14:38:33 -03:00
Devan Goodwin
9cf6dc7713 Introduce new CLI module for releases. 2011-06-02 14:07:07 -03:00
Devan Goodwin
a33a901369 Use fedpkg switch branch for git releases.
The branch names have changed on us, this should be less likely to break
than using git branch switching.
2011-05-11 13:43:25 -03:00
Miroslav Suchý
4ac2994e41 do not print TB when user hit Ctrl+C 2011-05-04 21:42:15 -03:00
Miroslav Suchý
62e85178c2 '0' is True, we want it as false
if you put in tito.props:
changelog_do_not_remove_cherrypick = 0
then it is passed as string, and '0' is taken as True
2011-04-29 09:18:08 -03:00
Devan Goodwin
04df98805a Automatic commit of package [tito] release [0.3.2-1]. 2011-04-26 21:58:44 -03:00
Devan Goodwin
72ec712faf Merge branch 'master' of github.com:dgoodwin/tito 2011-04-26 21:58:28 -03:00
Devan Goodwin
6cb5be1acb Automatic commit of package [tito] release [0.3.1-1]. 2011-04-26 21:57:58 -03:00
jesus m. rodriguez
e956c7d886 add debug logging 2011-03-22 12:48:31 -04:00
Devan Goodwin
1b43c1ec52 Merge branch 'export4' of https://github.com/xsuchy/tito into xsuchy-export4 2011-03-02 15:11:04 -04:00
Devan Goodwin
51989367dd Merge branch 'export3' of https://github.com/xsuchy/tito into xsuchy-export5 2011-03-02 15:07:39 -04:00
Miroslav Suchý
a1d178e283 flip condition so new files are added and existing files are copied 2011-03-02 15:01:28 -04:00
Miroslav Suchy
3f5dedb83d fix traceback if git_email is not specified
addressing:
Warning: user.email in ~/.gitconfig not set.Traceback (most recent call last):
File "/usr/bin/tito", line 22, in
CLI().main(sys.argv[1:])
File "/home/dev/src/tito/src/tito/cli.py", line 98, in main
return module.main(argv)
File "/home/dev/src/tito/src/tito/cli.py", line 512, in main
offline=self.options.offline)
File "/home/dev/src/tito/src/tito/tagger.py", line 65, in init
self.git_user, self.git_email.replace("+", "\+").replace(".", "\.")))
AttributeError: 'NoneType' object has no attribute 'replace'
2011-02-28 09:27:18 +01:00
Devan Goodwin
ed02340409 Fix bugs from releaser refactor. 2011-02-16 13:52:53 -04:00
Devan Goodwin
0e97277791 Fix errors with Koji releaser. 2011-02-14 15:17:04 -04:00
Devan Goodwin
bdc9e02419 Fix refactor issues with CVS releaser. 2011-02-14 15:12:18 -04:00
Devan Goodwin
05b7576860 Add missing release module. 2011-02-14 15:03:06 -04:00
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