aboutsummaryrefslogtreecommitdiffstats
path: root/mgarepo-example.conf
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-01-11 00:35:59 +0000
committerNicolas Vigier <boklm@mageia.org>2011-01-11 00:35:59 +0000
commitad7fb7807ceaee96521d779993a5e1b28650723f (patch)
tree2ece42aa7e83b7fdb51702b298aa3eec95da3573 /mgarepo-example.conf
parent715e125cc8d0b3fc4a79752e28a8b76a4ce97d5a (diff)
downloadmgarepo-ad7fb7807ceaee96521d779993a5e1b28650723f.tar
mgarepo-ad7fb7807ceaee96521d779993a5e1b28650723f.tar.gz
mgarepo-ad7fb7807ceaee96521d779993a5e1b28650723f.tar.bz2
mgarepo-ad7fb7807ceaee96521d779993a5e1b28650723f.tar.xz
mgarepo-ad7fb7807ceaee96521d779993a5e1b28650723f.zip
rename repsys to mgarepo, RepSys to MgaRepo, and update docs and examples for Mageia
Diffstat (limited to 'mgarepo-example.conf')
-rw-r--r--mgarepo-example.conf74
1 files changed, 74 insertions, 0 deletions
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 <jsmith26@example.com>
+#
+
+[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