summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2013-12-18 20:01:01 (GMT)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2014-01-06 12:22:46 (GMT)
commite98ba27f95a2c137fe836bf342de427916df9f5a (patch)
tree0ef3115789fecf3668c55f856a26c2f2f26c0146
parentc59be3deddd70f6a99eb803112aeb86b45396461 (diff)
downloadopen-build-service-e98ba27f95a2c137fe836bf342de427916df9f5a.tar.gz
open-build-service-e98ba27f95a2c137fe836bf342de427916df9f5a.tar.xz
BSConfig.pm.template: include a skeleton reprepro setup
Bug: Collabora #397 Reviewed-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
-rw-r--r--src/backend/BSConfig.pm.template19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/backend/BSConfig.pm.template b/src/backend/BSConfig.pm.template
index aa6dcae..77ebb97 100644
--- a/src/backend/BSConfig.pm.template
+++ b/src/backend/BSConfig.pm.template
@@ -180,6 +180,25 @@ our $relsync_pool = {
# Use old style source service handling
# our $old_style_services = 1;
+# Manage these projects' repositories with reprepro instead of using
+# dpkg-scanpackages/dpkg-scansources. Before enabling this, you will
+# need to create /srv/obs/repos/shared/exampledistro/
+# with a paragraph in its conf/distributions file containing
+# "Codename: examplesuite" and "Components: examplecomponent othercomponent"
+#
+#our $reprepository = {
+# "exampledistro:examplesuite:examplecomponent/debian_wheezy_main_main" => {
+# "repository" => "shared/exampledistro",
+# "codename" => "examplesuite",
+# "component" => "examplecomponent",
+# },
+# "exampledistro:examplesuite:othercomponent/debian_wheezy_main_main" => {
+# "repository" => "shared/exampledistro",
+# "codename" => "examplesuite",
+# "component" => "othercomponent",
+# },
+#};
+
# host specific configs
my $hostconfig = "bsconfig." . Net::Domain::hostname();
if(-r $hostconfig) {