From 23faae8487af277cde5532e72e6f0e794806fb50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Wed, 24 Apr 2013 22:03:18 +0200 Subject: [PATCH] document KojiReleaser and do not mark it as experimental any more --- releasers.conf.5.asciidoc | 17 +++++++++++++++-- tito.props.5.asciidoc | 16 +++++++--------- titorc.5.asciidoc | 3 ++- 3 files changed, 24 insertions(+), 12 deletions(-) diff --git a/releasers.conf.5.asciidoc b/releasers.conf.5.asciidoc index e414e30..010a469 100644 --- a/releasers.conf.5.asciidoc +++ b/releasers.conf.5.asciidoc @@ -55,8 +55,21 @@ Releaser which will submit builds through CVS build systems. (no longer useful f branches = BRANCH1 BRANCH2 tito.release.KojiReleaser:: -Highly experimental, ignore for now. - +Releaser which create src.rpm and submit them into Koji. Can submit more then one build at once. ++ +NOTE: This is targeted for private instances of Koji. You can not submit regular build into Fedora Koji using this releaser, because Fedora Koji do not allow builds from src.rpm - for building into Fedora see FedoraGitReleaser above. ++ + [koji] + releaser = tito.release.KojiReleaser + autobuild_tags = my-koji-tag-rhel6 my-koji-tag-fedora18 ++ +In this example, releaser will create src.rpm according the definition of [my-koji-tag-rhel6] in tito.props. You usually want to set up there at least disttag. See KOJI section in tito.props(5). ++ +If --scratch option or SCRATCH environment variable is set, package is build as scratch in Koji. ++ +You can specify KOJI_OPTIONS in titorc(5) and it is passed to koji command as option. Usually you want to specify at least --config option. ++ +Variable autobuild_tags is required for KojiReleaser. EXAMPLE diff --git a/tito.props.5.asciidoc b/tito.props.5.asciidoc index 5989568..909194d 100644 --- a/tito.props.5.asciidoc +++ b/tito.props.5.asciidoc @@ -74,21 +74,19 @@ An optional specification of a suffix to append to all tags created by tito for KOJI ---- -WARNING: very experimental, and not tested against Fedora's Koji. - -autobuild_tags:: -If you use --koji-relase it will try to build src.rpm package in specified tags -in koji. -Also see KOJI_OPTIONS in titorc(5). -You can specify section which is named as the tag and put there following -options: - disttag:: Dist tag variable, which is passed to rpmbuild for packages build in this tag. blacklist:: Space separated list of packages, which should not be built in this tag. +whitelist:: +If whitelist is present, only packages listed here can be built in this tag. +This also override blacklist. + +scl:: +Specify name of Software Collection into which package should be build. + CVS --- cvsroot:: diff --git a/titorc.5.asciidoc b/titorc.5.asciidoc index 1f91db8..d79da2e 100644 --- a/titorc.5.asciidoc +++ b/titorc.5.asciidoc @@ -24,8 +24,9 @@ OPTIONS ------- KOJI_OPTIONS:: Specify strings of options, which is passed to koji on commandline when you -execute --koji-release. For example: +use KojiReleaser. For example: + KOJI_OPTIONS=-c ~/.koji/katello-config --nowait NO_AUTO_INSTALL:: Specify list of packages (separated by space), which should NOT be installed,