diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/apache/templates/vhost_fcgid.conf | 10 | ||||
-rw-r--r-- | modules/buildsystem/manifests/binrepo.pp | 7 | ||||
-rw-r--r-- | modules/buildsystem/manifests/distros.rb | 12 | ||||
-rw-r--r-- | modules/buildsystem/manifests/iurt/config.pp | 5 | ||||
-rw-r--r-- | modules/buildsystem/manifests/maintdb.pp | 7 | ||||
-rw-r--r-- | modules/buildsystem/templates/iurt.conf | 2 | ||||
-rw-r--r-- | modules/buildsystem/templates/media.cfg | 12 | ||||
-rw-r--r-- | modules/viewvc/files/robots.txt | 4 | ||||
-rw-r--r-- | modules/youri-check/templates/4.conf | 241 | ||||
-rw-r--r-- | modules/youri-check/templates/5.conf | 241 | ||||
-rw-r--r-- | modules/youri-check/templates/6.conf | 241 | ||||
-rw-r--r-- | modules/youri-check/templates/7.conf | 241 | ||||
-rw-r--r-- | modules/youri-check/templates/8.conf | 241 |
13 files changed, 53 insertions, 1211 deletions
diff --git a/modules/apache/templates/vhost_fcgid.conf b/modules/apache/templates/vhost_fcgid.conf index 2dd2c043..17b2bb06 100644 --- a/modules/apache/templates/vhost_fcgid.conf +++ b/modules/apache/templates/vhost_fcgid.conf @@ -4,3 +4,13 @@ AddHandler fcgid-script .pl <%- end -%> FcgidMinProcessesPerClass <%= process %> FcgidIdleTimeout 30 + +# These robots were scraping the whole of svnweb in 2024-04, causing severe +# load, so they are banned. It's not clear whether they obey robots.txt or +# not (we didn't give them enough of a chance to find out), so we could +# consider giving them a chance to redeem themselves at some point in the +# future. +RewriteEngine on +RewriteCond %{HTTP_USER_AGENT} ClaudeBot|Amazonbot +RewriteRule . - [R=403,L] +ErrorDocument 403 "<html><body>Impolite robots are not allowed</body></html>" diff --git a/modules/buildsystem/manifests/binrepo.pp b/modules/buildsystem/manifests/binrepo.pp index 7803e385..f2f529c0 100644 --- a/modules/buildsystem/manifests/binrepo.pp +++ b/modules/buildsystem/manifests/binrepo.pp @@ -32,4 +32,11 @@ class buildsystem::binrepo { location => $buildsystem::var::binrepo::repodir, content => template('buildsystem/binrepo/vhost_binrepo.conf'), } + + apache::vhost::base { "ssl_${buildsystem::var::binrepo::hostname}": + use_ssl => true, + vhost => $buildsystem::var::binrepo::hostname, + location => $buildsystem::var::binrepo::repodir, + content => template('buildsystem/binrepo/vhost_binrepo.conf'), + } } diff --git a/modules/buildsystem/manifests/distros.rb b/modules/buildsystem/manifests/distros.rb index 5301944d..a298c0a8 100644 --- a/modules/buildsystem/manifests/distros.rb +++ b/modules/buildsystem/manifests/distros.rb @@ -30,7 +30,7 @@ hostclass "buildsystem::distros" do file [ mediadir, 'media_info' ].join('/'), :ensure => 'directory', :owner => schedbot_user, :group => schedbot_user file [ mediadir, 'debug' ].join('/'), :ensure => 'directory', - :owner => mirror_user, :group => mirror_user + :owner => schedbot_user, :group => schedbot_user distro['medias'].each{|media, m| file [ mediadir, media ].join('/'), :ensure => 'directory', :owner => schedbot_user, :group => schedbot_user @@ -44,12 +44,18 @@ hostclass "buildsystem::distros" do file [ mediadir, media, repo, 'media_info' ].join('/'), :ensure => 'directory', :owner => schedbot_user, :group => schedbot_user + file [ mediadir, media, repo, 'repodata' ].join('/'), + :ensure => 'directory', :owner => schedbot_user, + :group => schedbot_user file [ mediadir, 'debug', media, repo ].join('/'), :ensure => 'directory', :owner => schedbot_user, :group => schedbot_user file [ mediadir, 'debug', media, repo, 'media_info' ].join('/'), :ensure => 'directory', :owner => schedbot_user, :group => schedbot_user + file [ mediadir, 'debug', media, repo, 'repodata' ].join('/'), + :ensure => 'directory', :owner => schedbot_user, + :group => schedbot_user end } if distro['based_on'] != nil @@ -76,8 +82,8 @@ hostclass "buildsystem::distros" do # SRPMS srpmsdir = [ bootstrap_reporoot, rel, 'SRPMS' ].join('/') file srpmsdir, - :ensure => 'directory', :owner => mirror_user, - :group => mirror_user + :ensure => 'directory', :owner => schedbot_user, + :group => schedbot_user distro['medias'].each{|media, m| file [ srpmsdir, media ].join('/'), :ensure => 'directory', :owner => schedbot_user, :group => schedbot_user diff --git a/modules/buildsystem/manifests/iurt/config.pp b/modules/buildsystem/manifests/iurt/config.pp index ad9f3172..3334df76 100644 --- a/modules/buildsystem/manifests/iurt/config.pp +++ b/modules/buildsystem/manifests/iurt/config.pp @@ -15,6 +15,9 @@ define buildsystem::iurt::config() { 'gcc' => 115200, 'itk' => 115200, 'java-1.8.0-openjdk' => 172800, + 'java-17-openjdk' => 172800, + 'java-21-openjdk' => 172800, + 'java-latest-openjdk' => 172800, 'kernel' => 115200, 'libreoffice' => 432000, 'llvm' => 57600, @@ -28,7 +31,7 @@ define buildsystem::iurt::config() { 'salome' => 57600, 'vtk' => 57600, 'webkit' => 57600, - 'webkit2' => 57600, + 'webkit2' => 115200, 'wrapitk' => 115200, 'rocm-llvm' => 70000, } diff --git a/modules/buildsystem/manifests/maintdb.pp b/modules/buildsystem/manifests/maintdb.pp index 74f8e28c..5a961b63 100644 --- a/modules/buildsystem/manifests/maintdb.pp +++ b/modules/buildsystem/manifests/maintdb.pp @@ -48,4 +48,11 @@ class buildsystem::maintdb { location => $buildsystem::var::maintdb::dbdir, content => template('buildsystem/maintdb/vhost_maintdb.conf'), } + + apache::vhost::base { "ssl_${buildsystem::var::maintdb::hostname}": + use_ssl => true, + vhost => $buildsystem::var::maintdb::hostname, + location => $buildsystem::var::maintdb::dbdir, + content => template('buildsystem/maintdb/vhost_maintdb.conf'), + } } diff --git a/modules/buildsystem/templates/iurt.conf b/modules/buildsystem/templates/iurt.conf index c08088ae..2dd8bf0e 100644 --- a/modules/buildsystem/templates/iurt.conf +++ b/modules/buildsystem/templates/iurt.conf @@ -19,7 +19,7 @@ admin => 'mageia-sysadm@mageia.org', packager => 'Iurt the rebuild bot <mageia-sysadm@mageia.org>', sendmail => 0, - log_size_limit => '400M', + log_size_limit => '600M', build_timeout => { <%- build_timeout.keys.sort.each{|package| -%> '<%= package %>' => <%= (build_timeout[package].to_f * scope.lookupvar('buildsystem::var::iurt::timeout_multiplier').to_f).to_i %>, diff --git a/modules/buildsystem/templates/media.cfg b/modules/buildsystem/templates/media.cfg index ba01fde5..64757a2b 100644 --- a/modules/buildsystem/templates/media.cfg +++ b/modules/buildsystem/templates/media.cfg @@ -106,6 +106,18 @@ distro['medias'].keys.sort { |x,y| distro['medias'][x]['order'] <=> distro['medi %> <%- end + if @arch == 'x86_64' and distro['arch'].include?('i686') + medianame32 = [ medianame, '32' ].join('') + -%><%= + media_out [ '../../i686/media', medianame, reponame ].join('/'), + :hdlist => [ 'hdlist', medianame32, reponame ].join('_') + '.src.cz', + :name => media_name(medianame, reponame, nil, '32bit'), + :media_type => media_type.join(':'), + :noauto => noauto + + %> + <%- + end } } if distro['based_on'] != nil diff --git a/modules/viewvc/files/robots.txt b/modules/viewvc/files/robots.txt index 1c08ba9e..3e0fc5c5 100644 --- a/modules/viewvc/files/robots.txt +++ b/modules/viewvc/files/robots.txt @@ -4,6 +4,8 @@ User-agent: bingbot User-agent: YandexBot User-agent: Mail.RU_Bot User-agent: MJ12bot +User-agent: ClaudeBot +User-agent: Amazonbot Disallow: /*/tags/ Disallow: *?view=annotate* Disallow: *?annotate=* @@ -12,7 +14,7 @@ Disallow: *?r1=* Disallow: *sortby=* Disallow: *sortdir=* Disallow: *?revision=*&view=markup&* -Disallow: *?pathrev=* +Disallow: *pathrev=* Disallow: *?*&view=log* Disallow: *view=log&* Disallow: *diff_format=* diff --git a/modules/youri-check/templates/4.conf b/modules/youri-check/templates/4.conf deleted file mode 100644 index aa7e5d4e..00000000 --- a/modules/youri-check/templates/4.conf +++ /dev/null @@ -1,241 +0,0 @@ -# vim:ft=yaml:et:sw=4 - -# helper variables -mirror: http://repository.mageia.org/distrib/4 -mirror_i586: ${mirror}/i586/media -mirror_x86_64: ${mirror}/x86_64/media - -# resultset definition -resultset: - class: Youri::Check::Resultset::DBI - options: - driver: Pg - host: <%= pgsql_server %>;sslmode=require - base: <%= pgsql_db %> - user: <%= pgsql_user %> - pass: <%= pgsql_password %> - -resolver: - class: Youri::Check::Maintainer::Resolver::CGI - options: - url: https://pkgsubmit.<%= domain %>/data/maintdb.txt - exceptions: - - nobody - - -# checks definitions -tests: - dependencies: - class: Youri::Check::Test::Dependencies - - missing: - class: Youri::Check::Test::Missing - -# reports definitions -reports: - file: - class: Youri::Check::Report::File - options: - to: <%= outdir %> - global: 1 - individual: 1 - formats: - html: - class: Youri::Check::Report::Format::HTML - text: - class: Youri::Check::Report::Format::Text - rss: - class: Youri::Check::Report::Format::RSS - -# media definitions -medias: - core.i586: - class: Youri::Media::URPM - options: - name: core - type: binary - hdlist: ${mirror_i586}/media_info/hdlist_core.cz - options: - dependencies: - allowed: - - core.i586 - missing: - allowed: - - core.sources - - core_updates.i586: - class: Youri::Media::URPM - options: - name: core_updates - type: binary - hdlist: ${mirror_i586}/media_info/hdlist_core_updates.cz - options: - dependencies: - allowed: - - core.i586 - - core_updates.i586 - missing: - allowed: - - core.sources - - core_updates.sources - - core_updates_testing.i586: - class: Youri::Media::URPM - options: - name: core_updates_testing - type: binary - hdlist: ${mirror_i586}/media_info/hdlist_core_updates_testing.cz - options: - dependencies: - allowed: - - core.i586 - - core_updates.i586 - - core_updates_testing.i586 - missing: - allowed: - - core.sources - - core_updates.sources - - core_updates_testing.sources - - core.x86_64: - class: Youri::Media::URPM - options: - name: core - type: binary - hdlist: ${mirror_x86_64}/media_info/hdlist_core.cz - options: - dependencies: - allowed: - - core.x86_64 - - core.i586 - missing: - allowed: - - core.sources - - core_updates.x86_64: - class: Youri::Media::URPM - options: - name: core_updates - type: binary - hdlist: ${mirror_x86_64}/media_info/hdlist_core_updates.cz - options: - dependencies: - allowed: - - core.i586 - - core_updates.i586 - - core.x86_64 - - core_updates.x86_64 - missing: - allowed: - - core.sources - - core_updates.sources - - core_updates_testing.x86_64: - class: Youri::Media::URPM - options: - name: core_updates_testing - type: binary - hdlist: ${mirror_x86_64}/media_info/hdlist_core_updates_testing.cz - options: - dependencies: - allowed: - - core.x86_64 - - core_updates.x86_64 - - core_updates_testing.x86_64 - - core.i586 - - core_updates.i586 - - core_updates_testing.i586 - missing: - allowed: - - core.sources - - core_updates.sources - - core_updates_testing.sources - - core.sources: - class: Youri::Media::URPM - options: - name: core - type: source - hdlist: ${mirror_i586}/media_info/hdlist_core.src.cz - options: - dependencies: - allowed: - - core.x86_64 - - core.i586 - - core_updates.sources: - class: Youri::Media::URPM - options: - name: core_updates - type: source - hdlist: ${mirror_i586}/media_info/hdlist_core_updates.src.cz - options: - dependencies: - allowed: - - core.x86_64 - - core_updates.x86_64 - - core.i586 - - core_updates.i586 - - core_updates_testing.sources: - class: Youri::Media::URPM - options: - name: core_updates_testing - type: source - hdlist: ${mirror_i586}/media_info/hdlist_core_updates_testing.src.cz - options: - dependencies: - allowed: - - core.x86_64 - - core_updates.x86_64 - - core_updates_testing.x86_64 - - core.i586 - - core_updates.i586 - - core_updates_testing.i586 - - nonfree.i586: - class: Youri::Media::URPM - options: - name: nonfree - type: binary - hdlist: ${mirror_i586}/media_info/hdlist_nonfree_release.cz - options: - dependencies: - allowed: - - core.i586 - - nonfree.i586 - missing: - allowed: - - nonfree.sources - - nonfree.x86_64: - class: Youri::Media::URPM - options: - name: nonfree - type: binary - hdlist: ${mirror_x86_64}/media_info/hdlist_nonfree_release.cz - options: - dependencies: - allowed: - - core.x86_64 - - core.i586 - - nonfree.x86_64 - - nonfree.i586 - missing: - allowed: - - nonfree.sources - - - nonfree.sources: - class: Youri::Media::URPM - options: - name: nonfree - type: source - hdlist: ${mirror_i586}/media_info/hdlist_nonfree_release.src.cz - options: - dependencies: - allowed: - - core.x86_64 - - nonfree.x86_64 - - core.i586 - - nonfree.i586 diff --git a/modules/youri-check/templates/5.conf b/modules/youri-check/templates/5.conf deleted file mode 100644 index 4e9a9217..00000000 --- a/modules/youri-check/templates/5.conf +++ /dev/null @@ -1,241 +0,0 @@ -# vim:ft=yaml:et:sw=4 - -# helper variables -mirror: http://repository.mageia.org/distrib/5 -mirror_i586: ${mirror}/i586/media -mirror_x86_64: ${mirror}/x86_64/media - -# resultset definition -resultset: - class: Youri::Check::Resultset::DBI - options: - driver: Pg - host: <%= pgsql_server %>;sslmode=require - base: <%= pgsql_db %> - user: <%= pgsql_user %> - pass: <%= pgsql_password %> - -resolver: - class: Youri::Check::Maintainer::Resolver::CGI - options: - url: https://pkgsubmit.<%= domain %>/data/maintdb.txt - exceptions: - - nobody - - -# checks definitions -tests: - dependencies: - class: Youri::Check::Test::Dependencies - - missing: - class: Youri::Check::Test::Missing - -# reports definitions -reports: - file: - class: Youri::Check::Report::File - options: - to: <%= outdir %> - global: 1 - individual: 1 - formats: - html: - class: Youri::Check::Report::Format::HTML - text: - class: Youri::Check::Report::Format::Text - rss: - class: Youri::Check::Report::Format::RSS - -# media definitions -medias: - core.i586: - class: Youri::Media::URPM - options: - name: core - type: binary - hdlist: ${mirror_i586}/media_info/hdlist_core.cz - options: - dependencies: - allowed: - - core.i586 - missing: - allowed: - - core.sources - - core_updates.i586: - class: Youri::Media::URPM - options: - name: core_updates - type: binary - hdlist: ${mirror_i586}/media_info/hdlist_core_updates.cz - options: - dependencies: - allowed: - - core.i586 - - core_updates.i586 - missing: - allowed: - - core.sources - - core_updates.sources - - core_updates_testing.i586: - class: Youri::Media::URPM - options: - name: core_updates_testing - type: binary - hdlist: ${mirror_i586}/media_info/hdlist_core_updates_testing.cz - options: - dependencies: - allowed: - - core.i586 - - core_updates.i586 - - core_updates_testing.i586 - missing: - allowed: - - core.sources - - core_updates.sources - - core_updates_testing.sources - - core.x86_64: - class: Youri::Media::URPM - options: - name: core - type: binary - hdlist: ${mirror_x86_64}/media_info/hdlist_core.cz - options: - dependencies: - allowed: - - core.x86_64 - - core.i586 - missing: - allowed: - - core.sources - - core_updates.x86_64: - class: Youri::Media::URPM - options: - name: core_updates - type: binary - hdlist: ${mirror_x86_64}/media_info/hdlist_core_updates.cz - options: - dependencies: - allowed: - - core.i586 - - core_updates.i586 - - core.x86_64 - - core_updates.x86_64 - missing: - allowed: - - core.sources - - core_updates.sources - - core_updates_testing.x86_64: - class: Youri::Media::URPM - options: - name: core_updates_testing - type: binary - hdlist: ${mirror_x86_64}/media_info/hdlist_core_updates_testing.cz - options: - dependencies: - allowed: - - core.x86_64 - - core_updates.x86_64 - - core_updates_testing.x86_64 - - core.i586 - - core_updates.i586 - - core_updates_testing.i586 - missing: - allowed: - - core.sources - - core_updates.sources - - core_updates_testing.sources - - core.sources: - class: Youri::Media::URPM - options: - name: core - type: source - hdlist: ${mirror_i586}/media_info/hdlist_core.src.cz - options: - dependencies: - allowed: - - core.x86_64 - - core.i586 - - core_updates.sources: - class: Youri::Media::URPM - options: - name: core_updates - type: source - hdlist: ${mirror_i586}/media_info/hdlist_core_updates.src.cz - options: - dependencies: - allowed: - - core.x86_64 - - core_updates.x86_64 - - core.i586 - - core_updates.i586 - - core_updates_testing.sources: - class: Youri::Media::URPM - options: - name: core_updates_testing - type: source - hdlist: ${mirror_i586}/media_info/hdlist_core_updates_testing.src.cz - options: - dependencies: - allowed: - - core.x86_64 - - core_updates.x86_64 - - core_updates_testing.x86_64 - - core.i586 - - core_updates.i586 - - core_updates_testing.i586 - - nonfree.i586: - class: Youri::Media::URPM - options: - name: nonfree - type: binary - hdlist: ${mirror_i586}/media_info/hdlist_nonfree_release.cz - options: - dependencies: - allowed: - - core.i586 - - nonfree.i586 - missing: - allowed: - - nonfree.sources - - nonfree.x86_64: - class: Youri::Media::URPM - options: - name: nonfree - type: binary - hdlist: ${mirror_x86_64}/media_info/hdlist_nonfree_release.cz - options: - dependencies: - allowed: - - core.x86_64 - - core.i586 - - nonfree.x86_64 - - nonfree.i586 - missing: - allowed: - - nonfree.sources - - - nonfree.sources: - class: Youri::Media::URPM - options: - name: nonfree - type: source - hdlist: ${mirror_i586}/media_info/hdlist_nonfree_release.src.cz - options: - dependencies: - allowed: - - core.x86_64 - - nonfree.x86_64 - - core.i586 - - nonfree.i586 diff --git a/modules/youri-check/templates/6.conf b/modules/youri-check/templates/6.conf deleted file mode 100644 index 9b2fdae2..00000000 --- a/modules/youri-check/templates/6.conf +++ /dev/null @@ -1,241 +0,0 @@ -# vim:ft=yaml:et:sw=4 - -# helper variables -mirror: http://repository.mageia.org/distrib/6 -mirror_i586: ${mirror}/i586/media -mirror_x86_64: ${mirror}/x86_64/media - -# resultset definition -resultset: - class: Youri::Check::Resultset::DBI - options: - driver: Pg - host: <%= pgsql_server %>;sslmode=require - base: <%= pgsql_db %> - user: <%= pgsql_user %> - pass: <%= pgsql_password %> - -resolver: - class: Youri::Check::Maintainer::Resolver::CGI - options: - url: https://pkgsubmit.<%= domain %>/data/maintdb.txt - exceptions: - - nobody - - -# checks definitions -tests: - dependencies: - class: Youri::Check::Test::Dependencies - - missing: - class: Youri::Check::Test::Missing - -# reports definitions -reports: - file: - class: Youri::Check::Report::File - options: - to: <%= outdir %> - global: 1 - individual: 1 - formats: - html: - class: Youri::Check::Report::Format::HTML - text: - class: Youri::Check::Report::Format::Text - rss: - class: Youri::Check::Report::Format::RSS - -# media definitions -medias: - core.i586: - class: Youri::Media::URPM - options: - name: core - type: binary - hdlist: ${mirror_i586}/media_info/hdlist_core.cz - options: - dependencies: - allowed: - - core.i586 - missing: - allowed: - - core.sources - - core_updates.i586: - class: Youri::Media::URPM - options: - name: core_updates - type: binary - hdlist: ${mirror_i586}/media_info/hdlist_core_updates.cz - options: - dependencies: - allowed: - - core.i586 - - core_updates.i586 - missing: - allowed: - - core.sources - - core_updates.sources - - core_updates_testing.i586: - class: Youri::Media::URPM - options: - name: core_updates_testing - type: binary - hdlist: ${mirror_i586}/media_info/hdlist_core_updates_testing.cz - options: - dependencies: - allowed: - - core.i586 - - core_updates.i586 - - core_updates_testing.i586 - missing: - allowed: - - core.sources - - core_updates.sources - - core_updates_testing.sources - - core.x86_64: - class: Youri::Media::URPM - options: - name: core - type: binary - hdlist: ${mirror_x86_64}/media_info/hdlist_core.cz - options: - dependencies: - allowed: - - core.x86_64 - - core.i586 - missing: - allowed: - - core.sources - - core_updates.x86_64: - class: Youri::Media::URPM - options: - name: core_updates - type: binary - hdlist: ${mirror_x86_64}/media_info/hdlist_core_updates.cz - options: - dependencies: - allowed: - - core.i586 - - core_updates.i586 - - core.x86_64 - - core_updates.x86_64 - missing: - allowed: - - core.sources - - core_updates.sources - - core_updates_testing.x86_64: - class: Youri::Media::URPM - options: - name: core_updates_testing - type: binary - hdlist: ${mirror_x86_64}/media_info/hdlist_core_updates_testing.cz - options: - dependencies: - allowed: - - core.x86_64 - - core_updates.x86_64 - - core_updates_testing.x86_64 - - core.i586 - - core_updates.i586 - - core_updates_testing.i586 - missing: - allowed: - - core.sources - - core_updates.sources - - core_updates_testing.sources - - core.sources: - class: Youri::Media::URPM - options: - name: core - type: source - hdlist: ${mirror_i586}/media_info/hdlist_core.src.cz - options: - dependencies: - allowed: - - core.x86_64 - - core.i586 - - core_updates.sources: - class: Youri::Media::URPM - options: - name: core_updates - type: source - hdlist: ${mirror_i586}/media_info/hdlist_core_updates.src.cz - options: - dependencies: - allowed: - - core.x86_64 - - core_updates.x86_64 - - core.i586 - - core_updates.i586 - - core_updates_testing.sources: - class: Youri::Media::URPM - options: - name: core_updates_testing - type: source - hdlist: ${mirror_i586}/media_info/hdlist_core_updates_testing.src.cz - options: - dependencies: - allowed: - - core.x86_64 - - core_updates.x86_64 - - core_updates_testing.x86_64 - - core.i586 - - core_updates.i586 - - core_updates_testing.i586 - - nonfree.i586: - class: Youri::Media::URPM - options: - name: nonfree - type: binary - hdlist: ${mirror_i586}/media_info/hdlist_nonfree_release.cz - options: - dependencies: - allowed: - - core.i586 - - nonfree.i586 - missing: - allowed: - - nonfree.sources - - nonfree.x86_64: - class: Youri::Media::URPM - options: - name: nonfree - type: binary - hdlist: ${mirror_x86_64}/media_info/hdlist_nonfree_release.cz - options: - dependencies: - allowed: - - core.x86_64 - - core.i586 - - nonfree.x86_64 - - nonfree.i586 - missing: - allowed: - - nonfree.sources - - - nonfree.sources: - class: Youri::Media::URPM - options: - name: nonfree - type: source - hdlist: ${mirror_i586}/media_info/hdlist_nonfree_release.src.cz - options: - dependencies: - allowed: - - core.x86_64 - - nonfree.x86_64 - - core.i586 - - nonfree.i586 diff --git a/modules/youri-check/templates/7.conf b/modules/youri-check/templates/7.conf deleted file mode 100644 index 5054f2de..00000000 --- a/modules/youri-check/templates/7.conf +++ /dev/null @@ -1,241 +0,0 @@ -# vim:ft=yaml:et:sw=4 - -# helper variables -mirror: http://repository.mageia.org/distrib/7 -mirror_i586: ${mirror}/i586/media -mirror_x86_64: ${mirror}/x86_64/media - -# resultset definition -resultset: - class: Youri::Check::Resultset::DBI - options: - driver: Pg - host: <%= pgsql_server %>;sslmode=require - base: <%= pgsql_db %> - user: <%= pgsql_user %> - pass: <%= pgsql_password %> - -resolver: - class: Youri::Check::Maintainer::Resolver::CGI - options: - url: https://pkgsubmit.<%= domain %>/data/maintdb.txt - exceptions: - - nobody - - -# checks definitions -tests: - dependencies: - class: Youri::Check::Test::Dependencies - - missing: - class: Youri::Check::Test::Missing - -# reports definitions -reports: - file: - class: Youri::Check::Report::File - options: - to: <%= outdir %> - global: 1 - individual: 1 - formats: - html: - class: Youri::Check::Report::Format::HTML - text: - class: Youri::Check::Report::Format::Text - rss: - class: Youri::Check::Report::Format::RSS - -# media definitions -medias: - core.i586: - class: Youri::Media::URPM - options: - name: core - type: binary - hdlist: ${mirror_i586}/media_info/hdlist_core.cz - options: - dependencies: - allowed: - - core.i586 - missing: - allowed: - - core.sources - - core_updates.i586: - class: Youri::Media::URPM - options: - name: core_updates - type: binary - hdlist: ${mirror_i586}/media_info/hdlist_core_updates.cz - options: - dependencies: - allowed: - - core.i586 - - core_updates.i586 - missing: - allowed: - - core.sources - - core_updates.sources - - core_updates_testing.i586: - class: Youri::Media::URPM - options: - name: core_updates_testing - type: binary - hdlist: ${mirror_i586}/media_info/hdlist_core_updates_testing.cz - options: - dependencies: - allowed: - - core.i586 - - core_updates.i586 - - core_updates_testing.i586 - missing: - allowed: - - core.sources - - core_updates.sources - - core_updates_testing.sources - - core.x86_64: - class: Youri::Media::URPM - options: - name: core - type: binary - hdlist: ${mirror_x86_64}/media_info/hdlist_core.cz - options: - dependencies: - allowed: - - core.x86_64 - - core.i586 - missing: - allowed: - - core.sources - - core_updates.x86_64: - class: Youri::Media::URPM - options: - name: core_updates - type: binary - hdlist: ${mirror_x86_64}/media_info/hdlist_core_updates.cz - options: - dependencies: - allowed: - - core.i586 - - core_updates.i586 - - core.x86_64 - - core_updates.x86_64 - missing: - allowed: - - core.sources - - core_updates.sources - - core_updates_testing.x86_64: - class: Youri::Media::URPM - options: - name: core_updates_testing - type: binary - hdlist: ${mirror_x86_64}/media_info/hdlist_core_updates_testing.cz - options: - dependencies: - allowed: - - core.x86_64 - - core_updates.x86_64 - - core_updates_testing.x86_64 - - core.i586 - - core_updates.i586 - - core_updates_testing.i586 - missing: - allowed: - - core.sources - - core_updates.sources - - core_updates_testing.sources - - core.sources: - class: Youri::Media::URPM - options: - name: core - type: source - hdlist: ${mirror_i586}/media_info/hdlist_core.src.cz - options: - dependencies: - allowed: - - core.x86_64 - - core.i586 - - core_updates.sources: - class: Youri::Media::URPM - options: - name: core_updates - type: source - hdlist: ${mirror_i586}/media_info/hdlist_core_updates.src.cz - options: - dependencies: - allowed: - - core.x86_64 - - core_updates.x86_64 - - core.i586 - - core_updates.i586 - - core_updates_testing.sources: - class: Youri::Media::URPM - options: - name: core_updates_testing - type: source - hdlist: ${mirror_i586}/media_info/hdlist_core_updates_testing.src.cz - options: - dependencies: - allowed: - - core.x86_64 - - core_updates.x86_64 - - core_updates_testing.x86_64 - - core.i586 - - core_updates.i586 - - core_updates_testing.i586 - - nonfree.i586: - class: Youri::Media::URPM - options: - name: nonfree - type: binary - hdlist: ${mirror_i586}/media_info/hdlist_nonfree_release.cz - options: - dependencies: - allowed: - - core.i586 - - nonfree.i586 - missing: - allowed: - - nonfree.sources - - nonfree.x86_64: - class: Youri::Media::URPM - options: - name: nonfree - type: binary - hdlist: ${mirror_x86_64}/media_info/hdlist_nonfree_release.cz - options: - dependencies: - allowed: - - core.x86_64 - - core.i586 - - nonfree.x86_64 - - nonfree.i586 - missing: - allowed: - - nonfree.sources - - - nonfree.sources: - class: Youri::Media::URPM - options: - name: nonfree - type: source - hdlist: ${mirror_i586}/media_info/hdlist_nonfree_release.src.cz - options: - dependencies: - allowed: - - core.x86_64 - - nonfree.x86_64 - - core.i586 - - nonfree.i586 diff --git a/modules/youri-check/templates/8.conf b/modules/youri-check/templates/8.conf deleted file mode 100644 index c6ba6881..00000000 --- a/modules/youri-check/templates/8.conf +++ /dev/null @@ -1,241 +0,0 @@ -# vim:ft=yaml:et:sw=4 - -# helper variables -mirror: http://repository.mageia.org/distrib/8 -mirror_i586: ${mirror}/i586/media -mirror_x86_64: ${mirror}/x86_64/media - -# resultset definition -resultset: - class: Youri::Check::Resultset::DBI - options: - driver: Pg - host: <%= pgsql_server %>;sslmode=require - base: <%= pgsql_db %> - user: <%= pgsql_user %> - pass: <%= pgsql_password %> - -resolver: - class: Youri::Check::Maintainer::Resolver::CGI - options: - url: https://pkgsubmit.<%= domain %>/data/maintdb.txt - exceptions: - - nobody - - -# checks definitions -tests: - dependencies: - class: Youri::Check::Test::Dependencies - - missing: - class: Youri::Check::Test::Missing - -# reports definitions -reports: - file: - class: Youri::Check::Report::File - options: - to: <%= outdir %> - global: 1 - individual: 1 - formats: - html: - class: Youri::Check::Report::Format::HTML - text: - class: Youri::Check::Report::Format::Text - rss: - class: Youri::Check::Report::Format::RSS - -# media definitions -medias: - core.i586: - class: Youri::Media::URPM - options: - name: core - type: binary - hdlist: ${mirror_i586}/media_info/hdlist_core.cz - options: - dependencies: - allowed: - - core.i586 - missing: - allowed: - - core.sources - - core_updates.i586: - class: Youri::Media::URPM - options: - name: core_updates - type: binary - hdlist: ${mirror_i586}/media_info/hdlist_core_updates.cz - options: - dependencies: - allowed: - - core.i586 - - core_updates.i586 - missing: - allowed: - - core.sources - - core_updates.sources - - core_updates_testing.i586: - class: Youri::Media::URPM - options: - name: core_updates_testing - type: binary - hdlist: ${mirror_i586}/media_info/hdlist_core_updates_testing.cz - options: - dependencies: - allowed: - - core.i586 - - core_updates.i586 - - core_updates_testing.i586 - missing: - allowed: - - core.sources - - core_updates.sources - - core_updates_testing.sources - - core.x86_64: - class: Youri::Media::URPM - options: - name: core - type: binary - hdlist: ${mirror_x86_64}/media_info/hdlist_core.cz - options: - dependencies: - allowed: - - core.x86_64 - - core.i586 - missing: - allowed: - - core.sources - - core_updates.x86_64: - class: Youri::Media::URPM - options: - name: core_updates - type: binary - hdlist: ${mirror_x86_64}/media_info/hdlist_core_updates.cz - options: - dependencies: - allowed: - - core.i586 - - core_updates.i586 - - core.x86_64 - - core_updates.x86_64 - missing: - allowed: - - core.sources - - core_updates.sources - - core_updates_testing.x86_64: - class: Youri::Media::URPM - options: - name: core_updates_testing - type: binary - hdlist: ${mirror_x86_64}/media_info/hdlist_core_updates_testing.cz - options: - dependencies: - allowed: - - core.x86_64 - - core_updates.x86_64 - - core_updates_testing.x86_64 - - core.i586 - - core_updates.i586 - - core_updates_testing.i586 - missing: - allowed: - - core.sources - - core_updates.sources - - core_updates_testing.sources - - core.sources: - class: Youri::Media::URPM - options: - name: core - type: source - hdlist: ${mirror_i586}/media_info/hdlist_core.src.cz - options: - dependencies: - allowed: - - core.x86_64 - - core.i586 - - core_updates.sources: - class: Youri::Media::URPM - options: - name: core_updates - type: source - hdlist: ${mirror_i586}/media_info/hdlist_core_updates.src.cz - options: - dependencies: - allowed: - - core.x86_64 - - core_updates.x86_64 - - core.i586 - - core_updates.i586 - - core_updates_testing.sources: - class: Youri::Media::URPM - options: - name: core_updates_testing - type: source - hdlist: ${mirror_i586}/media_info/hdlist_core_updates_testing.src.cz - options: - dependencies: - allowed: - - core.x86_64 - - core_updates.x86_64 - - core_updates_testing.x86_64 - - core.i586 - - core_updates.i586 - - core_updates_testing.i586 - - nonfree.i586: - class: Youri::Media::URPM - options: - name: nonfree - type: binary - hdlist: ${mirror_i586}/media_info/hdlist_nonfree_release.cz - options: - dependencies: - allowed: - - core.i586 - - nonfree.i586 - missing: - allowed: - - nonfree.sources - - nonfree.x86_64: - class: Youri::Media::URPM - options: - name: nonfree - type: binary - hdlist: ${mirror_x86_64}/media_info/hdlist_nonfree_release.cz - options: - dependencies: - allowed: - - core.x86_64 - - core.i586 - - nonfree.x86_64 - - nonfree.i586 - missing: - allowed: - - nonfree.sources - - - nonfree.sources: - class: Youri::Media::URPM - options: - name: nonfree - type: source - hdlist: ${mirror_i586}/media_info/hdlist_nonfree_release.src.cz - options: - dependencies: - allowed: - - core.x86_64 - - nonfree.x86_64 - - core.i586 - - nonfree.i586 |