Commit graph

36 commits

Author SHA1 Message Date
Brian C. Lane
8387e57608 Enable GnuPG signed tags
Add 'sign_tag = 1' to the [buildconfig] section of tito.props to enable
it.
2019-07-30 11:51:41 -07:00
Neal Gompa
9494cc13b7 Tagger: Add SUSETagger to support SUSE-style detached changelogs
SUSE-style RPM packaging generally prefers having the RPM changelog
detached from the main RPM spec file as a changes file. This file is
typically named <pkg>.changes (corresponding to <pkg>.spec).

At package build time in the Open Build Service, the content of the
changes file is reformatted to the RPM changelog structure and
appended to the spec file by the build system before rpmbuild
processes it.

This change adds support for this particular workflow, which is
common in communities using an instance of the Open Build Service,
such as (open)SUSE.

This was originally authored by Michael Calmer. The code was ported
to work on Python 3 and adapted for the current tito codebase
by Neal Gompa.

Co-authored-by: Michael Calmer <mc@suse.de>
Co-authored-by: Neal Gompa <ngompa13@gmail.com>
2018-09-16 18:34:35 -04:00
Adam Haile
8c92f424fc Fixing remote_git_name 2017-12-04 13:43:43 -05:00
Vadim Rutkovsky
3a08af27ce VersionTagger should support custom tag format
It allows projects to format their own tags
2017-04-28 17:03:35 +02:00
Lubomír Sedlář
d774afec78 Fix typos in man pages 2017-01-02 13:11:36 +01:00
Lubomír Sedlář
f6bbbac4f9 Fix errors in documentation
The documentation for taggers should not mention builders.
2016-11-28 15:35:47 +01:00
Lubomír Sedlář
a86501c1b5 Allow customizing git commit message 2016-05-27 09:46:19 +02:00
Miroslav Suchý
843dd2cc51 substitute /releng for /.tito #161
if /releng is present it will be used. Otherwise /.tito will be used.
2015-04-26 14:56:26 +02:00
Devan Goodwin
8d5361861b Merge branch 'git-annex' of https://github.com/domcleal/tito into domcleal-git-annex
Conflicts:
	src/tito/builder/__init__.py
	src/tito/builder/main.py
2014-03-11 10:02:41 -03:00
Dominic Cleal
491eb0094f Add GitAnnexBuilder, using git-annex to store blobs
This is an extension of NoTgzBuilder, which instead of storing blobs in source
control directly, allows the use of git-annex to reference blobs in an external
source (e.g. a web URL remote).  When preparing sources, it uses git-annex's
unlock command to temporarily restore the original file.
2014-03-07 23:48:44 +00:00
Devan Goodwin
a49649ce3e Fix some missed references to deprecated config names. 2014-03-07 14:29:10 -04:00
Devan Goodwin
11b58b62ae Remove legacy CvsBuilder and CvsReleaser.
These build systems no longer exist to the best of my knowledge.
2014-03-07 14:18:43 -04:00
Chris St. Pierre
a5d9bcc3ab Improved docs for [version_template] section of tito.props 2014-02-28 16:42:14 -05:00
Devan Goodwin
2ad5b03cc4 Add markdown docs for FetchBuilder instead of manpage. 2014-02-27 12:26:17 -04:00
Devan Goodwin
49d7d20de9 Add some documentation for FetchBuilder. 2014-02-27 12:02:50 -04:00
Devan Goodwin
3790f183f4 Merge pull request #97 from xsuchy/pull-req-copr-releaser2
add Copr Releaser
2013-11-12 10:49:30 -08:00
Devan Goodwin
a3363cb93f Merge the FiledVersionTagger into the base VersionTagger.
This allows the behaviour to be used in just about any tagger sub-class.

Behaviour will be triggered on the presence of the 'version_template'
section in tito.props.

Renamed config:
  version -> version_template (section)
  file -> destination_file

Separated the replacement of version and release, as caller may just
want one or the other. (it works fine if only one of the variables is
present in your template file) Release is more of an rpm concept so may
not always be wanted in this context.

Removed the notion of default template files, if you want to use this
you need to specify the configuration for it.

Added a functional test to make sure I keep it working.
2013-11-12 13:28:32 -04:00
Miroslav Suchý
b8f8372572 add Copr releaser
based on KojiReleaser, with few minor changes in KojiReleaser to prevent
duplication of code.
To learn more about Copr see:
https://fedorahosted.org/copr/
2013-11-04 16:03:00 +01:00
Adam Miller
90ecad1b2e docs clean up and additions for build_targets 2013-06-19 13:19:12 -05:00
Miroslav Suchý
8f641894ec add example for remote_git_name 2013-05-09 17:11:24 +02:00
Miroslav Suchý
ca72ea19f6 allow to override name of remote dist-git repo 2013-05-09 16:37:51 +02:00
Devan Goodwin
b98995264e Merge pull request #76 from xsuchy/pull-req-man1
various enhancement to documentation
2013-04-26 11:20:17 -07:00
Miroslav Suchý
69b4e9d008 mark spacewalk.releng namespace as obsolete
I done s/spacewalk.releng./tito./ in spacewalk.git, but it may reside in some (private) branches.
So let keep it for little bit more releases, but print warnings.
2013-04-25 00:04:24 +02:00
Miroslav Suchý
25d8e44339 various enhancement to man pages 2013-04-24 22:57:55 +02:00
Miroslav Suchý
23faae8487 document KojiReleaser and do not mark it as experimental any more 2013-04-24 22:57:55 +02:00
Miroslav Suchý
1c08f3595e Allow user to define which package need to be installed before tagging.
This is for supporting tagging software collections (SC), if you have
installed meta package of SC then then name of package is different.
I.e. if you are tagging rubygem-foo package and you have ruby193-build
installed then the name of package is ruby193-rubygem-foo.
2013-02-20 16:21:40 +01:00
Adam Miller
c1182875b6 added gembuilder, cleaned up pep8 2012-11-21 13:34:18 -06:00
Devan Goodwin
7b14e00568 Revert "Revert "Add support for customizable changelog formats""
This reverts commit 7147e4a050.
2012-02-01 14:36:47 -04:00
Devan Goodwin
7147e4a050 Revert "Add support for customizable changelog formats"
This reverts commit 63abc26b0f.

Merged this prematurely, seems to be something wrong if you have no
changelog format specified.
2012-02-01 12:49:53 -04:00
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
f5fd187352 Add --all option for release. 2011-10-17 12:18:23 -03:00
Devan Goodwin
d2c7fdf042 Documentation update.
More to come...
2011-10-16 14:34:23 -03:00
Devan Goodwin
76ec2ef844 Merge remote-tracking branch 'jumanjiman/master' 2011-08-02 11:27:45 -03:00
Miroslav Suchý
d70b061095 learn tito how to checkout EUS branches 2011-08-02 11:11:44 -03: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
Miroslav Suchý
9def31a265 add man page for tito.props(5) 2011-02-11 16:58:13 +01:00