Commit graph

949 commits

Author SHA1 Message Date
Elan Ruusamäe
2b6fdd02a7 fix mock link 2015-09-16 08:02:56 +03:00
Jakub Kadlčík
3a03bd0c81 Set non-zero exit code when copr-cli fails 2015-09-14 13:03:32 +02:00
Jakub Kadlčík
5d015a8679 Document possibility to upload SRPM directly to Copr 2015-09-11 09:39:45 +02:00
Jakub Kadlčík
fa945d5875 Change asserted behavior after fe4c0bf 2015-09-10 13:28:21 +02:00
Jakub Kadlčík
fe4c0bff40 Add possibility to upload SRPM directly to Copr 2015-09-10 13:22:30 +02:00
Jakub Kadlčík
8cc5ab7043 Return only .spec basename; Fix dgoodwin/tito#196 2015-09-09 10:20:44 +02:00
Devan Goodwin
a087b432dc Merge pull request #190 from awood/master
Allow a user specific Copr remote SRPM URL.
2015-09-08 08:50:21 -03:00
Devan Goodwin
9dee6bc192 Merge pull request #195 from FrostyX/patch-1
Ask user to run DNF instead of YUM
2015-09-08 08:48:31 -03:00
Jakub Kadlčík
00f1d5a72c Determine correct package manager
DNF is now prefered on Fedora, but it is not installed on EL6 or EL7
2015-09-08 11:24:01 +02:00
Jakub Kadlčík
6a719cd7f0 Ask user to run DNF instead of YUM
To get rid of:
    Yum-utils package has been deprecated, use dnf instead.
    See 'man yum2dnf' for more information.
2015-09-04 10:12:45 +02:00
Devan Goodwin
430e1c2d18 Merge pull request #192 from domcleal/191-tag-use-version-man
Add tito tag --use-version argument to man page
2015-07-28 10:48:39 -03:00
Dominic Cleal
905162172b Add tito tag --use-version argument to man page
Fixes #191
2015-07-28 14:36:30 +01:00
Devan Goodwin
9cafa469b0 Fix upstream/distribution builder failure to copy spec.
Fixes an error copying the spec file to sources dir claiming the source/dest
file are the same. Caused by recent changes to the spec file name, where it was
mistakenly flipped from being a base filename to a full file path.
2015-07-27 16:09:37 -03:00
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