diff options
Diffstat (limited to 'modules/buildsystem/templates/mgarepo.conf')
-rw-r--r-- | modules/buildsystem/templates/mgarepo.conf | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/modules/buildsystem/templates/mgarepo.conf b/modules/buildsystem/templates/mgarepo.conf index fbe5109c..80675cce 100644 --- a/modules/buildsystem/templates/mgarepo.conf +++ b/modules/buildsystem/templates/mgarepo.conf @@ -4,16 +4,16 @@ -%> [global] verbose = no -default_parent = <%= scope.lookupvar('buildsystem::var::mgarepo::svn_root_packages') %>/<%= default_distro %> +default_parent = <%= scope.lookupvar('buildsystem::var::mgarepo::svn_root_packages') %>/<%= @default_distro %> #url-map = svn\+ssh://svn\.mageia\.org/(.*) file:///\1 -tempdir = <%= sched_home_dir %>/repsys/tmp -trunk-dir = <%= default_distro %> +tempdir = <%= @sched_home_dir %>/repsys/tmp +trunk-dir = <%= @default_distro %> <%- conf = scope.lookupvar('buildsystem::var::mgarepo::conf') if conf['global'] != nil conf['global'].keys.sort.each{|key| value = conf['global'][key] - -%><%= key %> = <%= value %> + -%><%= @key %> = <%= @value %> <%- } end @@ -33,20 +33,20 @@ ignore-string = SILENT path = /usr/share/mgarepo/default.chlog [users] -iurt = Mageia build bot <mageia-sysadm@<%= domain %>> +iurt = Mageia build bot <mageia-sysadm@<%= @domain %>> [submit] -default = <%= default_distro %> +default = <%= @default_distro %> host = <%= scope.lookupvar('buildsystem::var::mgarepo::submit_host') %> <%- distros.keys.sort.each{|d| distro = distros[d] -%> -[submit <%= d %>] -target = <%= sched_home_dir %>/repsys/srpms -allowed = <%= distro['submit_allowed'] %> <%= distro['backports_allowed'] %> -rpm-macros = global <%= d %> +[submit <%= @d %>] +target = <%= @sched_home_dir %>/repsys/srpms +allowed = <%= @distro['submit_allowed'] %> <%= @distro['backports_allowed'] %> +rpm-macros = global <%= @d %> <%- } @@ -61,12 +61,12 @@ dist = %{?distsuffix:%distsuffix}%{?!distsuffix:.mga}%{?distro_release:%distro_r distros.keys.sort.each{|d| distro = distros[d] -%> -[macros <%= d %>] -distro_release = <%= distro['version'] %> +[macros <%= @d %>] +distro_release = <%= @distro['version'] %> <%- distro['macros'].keys.sort.each{|macro| value = distro['macros'][macro] - -%><%= macro %> = <%= value %> + -%><%= @macro %> = <%= @value %> <%- } %> <%- } %> @@ -83,6 +83,6 @@ run-prep = yes [binrepo] <%- binrepo_hostname = scope.lookupvar('buildsystem::var::binrepo::hostname') -%> -download_url = http://<%= binrepo_hostname %>/ -upload_host = <%= binrepo_hostname %> +download_url = http://<%= @binrepo_hostname %>/ +upload_host = <%= @binrepo_hostname %> |