From ad7fb7807ceaee96521d779993a5e1b28650723f Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Tue, 11 Jan 2011 00:35:59 +0000 Subject: rename repsys to mgarepo, RepSys to MgaRepo, and update docs and examples for Mageia --- mgarepo-example.conf | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 mgarepo-example.conf (limited to 'mgarepo-example.conf') diff --git a/mgarepo-example.conf b/mgarepo-example.conf new file mode 100644 index 0000000..0a84e6a --- /dev/null +++ b/mgarepo-example.conf @@ -0,0 +1,74 @@ +[global] +verbose = no +repository = svn+ssh://svn.mageia.org/svn/packages/ +url-map = svn\+ssh://svn\.mageia\.org/(.*) file:///\1 +#tempdir = /tmp +## the command used to download files when using mgarepo sync -d +#download-command = wget -c -O '$dest' $url +svn-env = SVN_SSH=/home/me/my-ssh-wrapper + SVN_FOO=bar + +[log] +oldurl = svn+ssh://svn.mageia.org/svn/packages/misc +sort = yes +merge-spec = no +# controls up to which revision the rpm changelog +# will be constructed (default zero, i.e., oldest +# commit) +revision-offset = 0 +# commit lines containing this string won't be shown in the changelog: +ignore-string = SILENT +# and in case of only allowing a few lines to be visible, use this: +#unignore-string = CLOG + +[template] +# set the cheetah template used to generate the spec changelog from svn +path = /usr/share/mgarepo/default.chlog + +[helper] +# create-srpm is called by mgarepo on the server-side when submitting a +# package +create-srpm = /usr/share/mgarepo/create-srpm +# upload-srpm is called by create-srpm to copy the generated .src.rpm to +# the proper build queue +upload-srpm = /usr/local/bin/youri.devel + +# this section maps usernames found in svn commits to the ones that must be +# shown in the changelog +# users can be retrieved from LDAP through the use of the mgarepo-ldap +# plugin +[users] +# jsmith = John Smith +# + +[srpm] +# runs "make -C current/ srpm-prep" on the package before creating the +# srpm file +run-prep = yes + +[submit] +host = pkgsubmit.mageia.org +default = Cauldron + +[submit Cauldron] +target = /export/home/mgarepo +allowed = svn+ssh://svn.mageia.org/svn/packages/cauldron +scripts = /usr/share/mgarepo/rebrand-mdk +## +## rpm-macros refers to the sections containing the macros used for this +## target. The values will be used to build the rpmbuild command line. For +## example: +## +## [macros cauldron] +## a = b +## c = %a +## +## will render in the command line: --define "a b" --define "c %a". +## +#rpm-macros = global cooker + +#[macros global] +#distsuffix = mga + +#[macros cauldron] +#mageia_release = 2 -- cgit v1.2.1