Commit graph

479 commits

Author SHA1 Message Date
John Eckersberg
63abc26b0f Add support for customizable changelog formats
This adds a new option, changelog_format, which allows specifying the
full format of generated changelog entries.  This also deprecates use
of changelog_with_email, since it is a subset of a fully-customizable
changelog format.
2012-01-31 16:14:59 -05:00
Devan Goodwin
1c500dbefc Automatic commit of package [tito] release [0.4.5-1]. 2012-01-24 11:26:51 -04:00
Devan Goodwin
38f8597a46 Extract bz's and prompt to modify commit message in git releasers. 2012-01-24 11:26:23 -04:00
Devan Goodwin
2f913cb9e1 Automatic commit of package [tito] release [0.4.4-1]. 2012-01-23 18:08:26 -04:00
jesus m. rodriguez
061727dd48 Merge pull request #36 from jeckersb/issue35
#35 - EDITOR with arguments produces backtrace
2012-01-23 13:06:14 -08:00
John Eckersberg
96bf575ca8 Issue #35: EDITOR with arguments produces backtrace
Currently EDITOR is assumed to be a single word (e.g. 'vi') and does
not handle and editor with arguments (e.g. 'emacs --quick -nw') due to
the way subprocess.call is invoked.  This patch allows either to work
in both VersionTagger._make_changelog and
CvsReleaser._cvs_user_confirm_commit_msg.
2012-01-23 15:17:49 -05:00
jesus m. rodriguez
1bd37365e9 pep8: E251 no spaces around keyword / parameter equals 2012-01-23 15:13:42 -05:00
jesus m. rodriguez
1a9d4c7daa pep8: E251 no spaces around keyword / parameter equals 2012-01-23 15:01:26 -05:00
jesus m. rodriguez
7c1e8384c1 pep8: E303 too many blank lines (2) 2012-01-23 15:01:09 -05:00
jesus m. rodriguez
be32a9c29c remove unused fedora_cert reading 2012-01-23 14:41:31 -05:00
Devan Goodwin
5a168a2aa9 Drop to shell when dist-git merge errors encountered.
This will make releases to Fedora much more fault tolerant, if the
merges into release branches conflict you can resolve manually and tito
will pick up where you left off.
2011-12-22 16:19:41 -04:00
Devan Goodwin
193d05794e Use proper temp dirs for releasing. 2011-12-22 15:03:51 -04:00
Devan Goodwin
4f7287d60b Fix git release diff command.
Something has changed, I guess in git? Diff --cached used to return the
results from this, but no longer. Attempt both methods of diffing if one
doesn't turn up a hit.
2011-12-22 14:39:28 -04:00
Devan Goodwin
9a3e0b3e86 Add Fedora release target. 2011-12-22 13:51:46 -04:00
Devan Goodwin
3ea5a0ebe0 Automatic commit of package [tito] release [0.4.3-1]. 2011-12-15 11:39:40 -04:00
Miroslav Suchý
2c5b1e7c93 #5 - escape percent character in changelog 2011-12-13 09:20:37 -04:00
Devan Goodwin
3cd8d5a16d Revert unused args to releasers. 2011-12-09 14:26:24 -04:00
Miroslav Suchý
20e66d5c6d #28 - add args parameter to __init__() of releasers classess 2011-12-09 14:26:24 -04:00
jesus m. rodriguez
9dc276a7dd add release to usage, alphabetize list 2011-12-07 10:01:47 -05:00
jesus m. rodriguez
c1df0a1a81 PEP8 cleanup 2011-12-05 14:37:07 -05:00
jesus m. rodriguez
abf23e0778 no need to maintain timestamps: remove -t and -O from rsync command 2011-12-05 11:53:21 -05:00
jesus m. rodriguez
b0070e7a2d chdir to yum_temp_dir after creating, avoids rsync's getcwd error 2011-12-05 11:18:21 -05:00
Devan Goodwin
4f9ba03aaa Use -O during rsync commands to fix time setting errors. 2011-12-02 16:45:50 -04:00
Devan Goodwin
9112f14dfc Automatic commit of package [tito] release [0.4.2-1]. 2011-11-28 11:17:42 -04:00
Devan Goodwin
b64579ea40 Clean out old versions of RPMs when generating yum repos.
Only will remove packages whose name matches something we just build,
and has a lesser EVR.
2011-11-28 10:24:23 -04:00
Devan Goodwin
ecd9df22dc Update manpage to show multiple rsync paths. 2011-11-25 16:31:37 -04:00
Devan Goodwin
7e5496381a Publish packages to i386 dev repo as well. 2011-11-25 16:26:05 -04:00
Devan Goodwin
ac3161c43e Automatic commit of package [tito] release [0.4.1-1]. 2011-11-25 16:06:55 -04:00
Devan Goodwin
00ab8ed301 Allow one build to go to multiple yum repo URLs.
Can save time for noarch packages.
2011-11-25 15:59:32 -04:00
Devan Goodwin
3335c2f3ff Rename to BrewDownloadBuilder. 2011-11-25 15:02:48 -04:00
Devan Goodwin
ef5e850e30 Fix --no-cleanup for release module. 2011-11-25 13:47:15 -04:00
Devan Goodwin
13fa8d03e5 Add a BrewPreBuiltBuilder.
Allows you to use pre-submitted brew builds as if they were generated
locally. Build *must* have been submitted to brew beforehand, otherwise
this will fail.
2011-11-25 12:06:40 -04:00
Devan Goodwin
2703e77cac Use proper temp directories to build. 2011-11-25 11:31:21 -04:00
Devan Goodwin
8246ec2b79 Functional test fix. 2011-11-25 11:30:51 -04:00
Devan Goodwin
2fb1dfcb97 Fix permissions when rsync'ing yum repositories.
Needed --no-p and --no-g.
2011-11-22 13:24:21 -04:00
Devan Goodwin
a38c18c465 Switch to CLI fedpkg command instead of module.
fedpkg doesn't appear to be very stable API, switch to using CLI
commands instead.
2011-11-16 16:27:26 -04:00
Devan Goodwin
dc19166bfc Automatic commit of package [tito] release [0.4.0-1]. 2011-11-09 12:37:23 -04:00
Devan Goodwin
de072d8761 Update releasers.conf. 2011-11-09 12:35:37 -04:00
Devan Goodwin
805cb491ba Fix import error with new fedpkg version.
Fedpkg library has changed location and name, support both for now,
we'll adjust later if necessary.
2011-11-09 12:34:50 -04:00
Devan Goodwin
ffe976cf14 Fix default builder/tagger. 2011-10-25 11:32:54 -03:00
Devan Goodwin
3f692f132a Add a KojiGitReleaser.
Originating from the Spacewalk project, this will allow you to build
through koji but by specifying a URL to git and a tag, rather than
submitting an srpm directly.
2011-10-25 11:27:08 -03:00
Devan Goodwin
60ce1c79e9 Merge branch 'master' of https://github.com/awood/tito
Conflicts:
	src/tito/cli.py
2011-10-24 12:26:31 -03:00
Devan Goodwin
1062426b19 Fix koji tito.props release hack. 2011-10-24 11:38:35 -03:00
Alex Wood
3a621a9cc2 Adding --use-version to allow Tito to force a version to use. 2011-10-21 16:23:01 -04:00
Devan Goodwin
b5ef1cf8ad Allow mock builder to override the config dir. 2011-10-18 16:48:07 -03:00
Devan Goodwin
90f5774ae8 Koji release target config fixes. 2011-10-18 10:07:09 -03:00
Devan Goodwin
dd4688d8a2 squash 2011-10-18 10:01:54 -03:00
Devan Goodwin
93f2ab12e0 Support SCRATCH=1 env variable for koji releaser. 2011-10-18 09:57:11 -03:00
Devan Goodwin
6a35225ad7 Support ONLY_TAGS env variable for koji releaser. 2011-10-18 09:55:53 -03:00
Devan Goodwin
41ce73a5ae Cleanup, add TODO. 2011-10-17 23:26:06 -03:00