Commit graph

736 commits

Author SHA1 Message Date
Alex Wood
3b99185216 Allow a user specific Copr remote SRPM URL.
By using a user specific URL, multiple members of the same team can
submit Copr releases without having to share credentials to the SRPM
remote location.  For example, each member of the team can set
COPR_REMOTE_LOCATION in .titorc to their <username>.fedorapeople.org
space.
2015-07-24 14:05:53 -04:00
Devan Goodwin
4138dbe33c Releasers update. 2015-07-24 14:41:46 -03:00
Devan Goodwin
f61a04c36d Automatic commit of package [tito] release [0.6.2-1]. 2015-07-24 14:40:50 -03:00
Devan Goodwin
3677c7611e Merge pull request #189 from ehelms/fixes-188
fixes(188): Run builder cleanup if SCL for KojiReleaser
2015-07-24 14:33:16 -03:00
Eric D. Helms
c5c3368495 fixes(188) Run git-annex lock after building annexed file set. 2015-07-24 13:17:36 -04:00
Devan Goodwin
a455666d12 Automatic commit of package [tito] release [0.6.1-1]. 2015-07-20 11:20:34 -03:00
Devan Goodwin
c3ffa6b62d Merge pull request #185 from domcleal/rpmbuildopts-array
Fix rpmbuild_options array handling from builder args
2015-06-25 10:50:03 -03:00
Dominic Cleal
8d66889981 Fix rpmbuild_options array handling from builder args
3892359 changed builder args to always be arrays, so concatenation of
rpmbuild options with other strings then failed.

    File "/usr/lib/python2.7/site-packages/tito/release/main.py", line 530, in _koji_release
      builder.srpm(dist=disttag)
    File "/usr/lib/python2.7/site-packages/tito/builder/main.py", line 210, in srpm
      rpmbuild_options = self.rpmbuild_options + self._scl_to_rpmbuild_option()
    TypeError: can only concatenate list (not "str") to list

Change builder args to be joined by a single space, allowing multiple
arguments to be passed in.
2015-06-24 14:19:42 +01:00
Devan Goodwin
5bb736996a Merge pull request #181 from awood/master
Filter lines beginning with "Merge" from the changelog.
2015-06-15 12:51:48 -03:00
Devan Goodwin
c6bebfcead Merge pull request #183 from awood/no-color-option
Provide ability to turn off colored output.  Fixes #182.
2015-06-15 12:50:14 -03:00
Alex Wood
db1db5c8bb Filter lines beginning with "Merge" from the changelog.
Merge commits rarely add value to the RPM changelog.  This patch removes
lines from the changelog that begin with "Merge pull request" or "Merge
remote-tracking" or "Merge branch".  The old behavior can be restored
by setting "keep_merge_commits" to 1 or true.
2015-06-15 11:48:12 -04:00
Alex Wood
593f702372 Provide ability to turn off colored output. Fixes #182. 2015-06-15 11:02:18 -04:00
Devan Goodwin
2c33922df9 Automatic commit of package [tito] release [0.6.0-1]. 2015-06-12 15:46:31 -03:00
Devan Goodwin
77bfe39f57 Eliminate duplicate user config read for dist git releaser. 2015-06-12 15:36:45 -03:00
Devan Goodwin
477ded4f0e Update specfile for new README location in doc/. 2015-06-12 15:31:50 -03:00
Devan Goodwin
f5a54a4231 Merge branch 'master' of https://github.com/eLobato/tito into eLobato-master 2015-06-12 15:17:40 -03:00
Devan Goodwin
72133058c6 Merge pull request #177 from awood/master
Add Maven support to Tito
2015-06-12 15:09:57 -03:00
Alex Wood
19c86b0a71 Enable mkdocs and add documentation on Mead.
`pip install mkdocs` and `mkdocs serve` to view rendered docs.
2015-06-12 13:36:25 -04:00
Alex Wood
356184c428 Correct style errors and use all caps for user_config option. 2015-06-12 13:36:25 -04:00
Daniel Lobato
e688486b84 Add RHPKG/FEDPKG_USER to be passed to rh/fedpkg 2015-06-11 04:13:49 -04:00
Alex Wood
d73ab2d661 Replace old Perl script for munging RPM release number. 2015-06-10 18:31:36 -04:00
Alex Wood
c8371dc368 Run MEAD builds via Maven chains. 2015-06-10 12:06:42 -04:00
Alex Wood
edcfaf8649 PEP8 fix. 2015-06-09 11:26:38 -04:00
Alex Wood
01c5170c29 Add python-blessings to Dockerfiles. 2015-06-09 10:52:07 -04:00
Alex Wood
c2cf9c6263 Use Python APIs for clean-up. 2015-06-08 11:00:06 -04:00
Alex Wood
9b1d1c6988 Silence spurious test output. 2015-06-04 17:50:33 -04:00
Alex Wood
53144dc63e Add colors to output and make output consistent.
- Run all error and warning messages through one standard function
- Use one standard function to abort Tito
- Consistently print errors to stderr
2015-06-04 16:58:54 -04:00
Alex Wood
d489dd9c3f Give Tito some color! 2015-06-04 15:51:09 -04:00
Alex Wood
4541f2960d Default to user ID for MEAD_SCM_USERNAME if none is defined. 2015-06-04 15:50:13 -04:00
Alex Wood
d7546fc3d9 Set the MEAD starting point to the actual subproject.
This patch fixes an issue where all builds for any given subproject were
appearing in MEAD as builds for the top-level POM.  Consequently, trying
to build and tag different subprojects did not work because Brew/Koji
saw the build as redundant since the version was populated from the
parent POM.
2015-06-03 14:10:00 -04:00
Alex Wood
a5bbde240e Merge branch 'dgoodwin-mead-scm-username' 2015-06-03 14:08:40 -04:00
Alex Wood
9ae09c6327 Avoid hardlink issues by not using --local on git clone.
The --local flag on a git clone creates hardlinks to the files under
.git/objects.  In theory this is nice, but in practice it creates the
potential for errors in environments where hardlinking isn't a
possibility (e.g. across filesystems).
2015-06-03 10:13:23 -04:00
Devan Goodwin
d7f17a7f49 Fix cheetah usage with Python 3. 2015-06-02 15:10:54 -03:00
Devan Goodwin
cae7eea46b Change mead_target to generic target.
This is a generic argument to rhpkg build commands. Eventually
should probably move to parent class.
2015-06-02 09:19:11 -03:00
Devan Goodwin
0ace2c7863 Add support for mead_target override. 2015-06-02 09:16:31 -03:00
Devan Goodwin
6878b60b3b Add support for string replacing MEAD_SCM_USERNAME in push URL. 2015-05-26 12:51:08 -03:00
Devan Goodwin
0588b096ec Remove support for very old spacewalk user config file. 2015-05-21 13:03:55 -03:00
Devan Goodwin
9bae3fb9a8 Don't use --local when cloning repo for mead builds.
This fails if /tmp is on another filesystem.
2015-05-20 15:59:22 -03:00
Alex Wood
48d0b1c489 Enable scratch builds for dist-git. 2015-05-19 14:01:55 -04:00
Alex Wood
c85f060489 Mark tito-mead-url file as protected build file. 2015-05-19 14:00:32 -04:00
Alex Wood
a7d7938fb4 Handle issue with file mode for gzip file objects. 2015-05-19 13:21:13 -04:00
Alex Wood
8427184cba Do not push to remote Mead repo on a dry run. 2015-05-19 11:33:39 -04:00
Alex Wood
2895bcf27c Set a default for the Mead push URL. 2015-05-19 11:29:35 -04:00
Alex Wood
a5b43b6b96 Fix Python 3 issues with binary versus string types.
Python 3 is very picky about not mixing binary and string data.  This
patch gets TarFixer running on both Python 2.6+ and Python 3.x.
2015-05-18 14:01:43 -04:00
Alex Wood
07d62cf24e Tell the developer which PEP8 failures were detected. 2015-05-18 14:01:43 -04:00
Alex Wood
a8514c4dda Correct Python version incompatibilities. 2015-05-18 14:01:43 -04:00
Alex Wood
06d82db0e4 Use common function to print warnings. 2015-05-18 14:01:43 -04:00
Alex Wood
6898d1157b Fix issue with TarFixer reading one too many chunks. 2015-05-18 14:01:43 -04:00
Alex Wood
3892359fa4 Allow builder arguments to be given multiple times. 2015-05-18 14:01:43 -04:00
Alex Wood
3c396c501b Correct arguments and git URL sent to rhpkg. 2015-05-18 14:01:43 -04:00