/[smeserver]/builds_bin/update_repos
ViewVC logotype

Diff of /builds_bin/update_repos

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.90 by jpp, Fri Feb 8 06:26:29 2019 UTC Revision 1.91 by jpp, Fri Feb 8 06:26:53 2019 UTC
# Line 84  my $repos = { "${repotag}os" Line 84  my $repos = { "${repotag}os"
84                'epel'                      => { prio => 10, inc => 0, ver => 0, rel => 0, orig => 1, base => 1 },                'epel'                      => { prio => 10, inc => 0, ver => 0, rel => 0, orig => 1, base => 1 },
85                'epeltesting'               => { prio =>  9, inc => 0, ver => 0, rel => 0, orig => 1, base => 1 },                'epeltesting'               => { prio =>  9, inc => 0, ver => 0, rel => 0, orig => 1, base => 1 },
86                'rpmfusion'                 => { prio =>  8, inc => 0, ver => 0, rel => 0, orig => 1, base => 1 },                'rpmfusion'                 => { prio =>  8, inc => 0, ver => 0, rel => 0, orig => 1, base => 1 },
87                  'openfusion'                => { prio =>  7, inc => 0, ver => 0, rel => 0, orig => 1, base => 1 },
88                'rpmforge'                  => { prio =>  6, inc => 0, ver => 0, rel => 0, orig => 1, base => 1 },                'rpmforge'                  => { prio =>  6, inc => 0, ver => 0, rel => 0, orig => 1, base => 1 },
89                'atrpms'                    => { prio =>  5, inc => 0, ver => 0, rel => 0, orig => 1, base => 1 },                'atrpms'                    => { prio =>  5, inc => 0, ver => 0, rel => 0, orig => 1, base => 1 },
90                'builds'                    => { prio =>  4, inc => 0, ver => 0, rel => 0, orig => 1 },                'builds'                    => { prio =>  4, inc => 0, ver => 0, rel => 0, orig => 1 },
# Line 124  my $baserepo = { "~S${repotag}os/~A/" => Line 125  my $baserepo = { "~S${repotag}os/~A/" =>
125                   '/mirrors/atrpms/el~C-~A/atrpms/testing/' => 'atrpms',                   '/mirrors/atrpms/el~C-~A/atrpms/testing/' => 'atrpms',
126                   '/mirrors/atrpms/src/el~C-~A/atrpms/stable/' => 'atrpms',                   '/mirrors/atrpms/src/el~C-~A/atrpms/stable/' => 'atrpms',
127                   '/mirrors/atrpms/src/el~C-~A/atrpms/testing/' => 'atrpms',                   '/mirrors/atrpms/src/el~C-~A/atrpms/testing/' => 'atrpms',
128                     '/mirrors/openfusion/centos~C-~A/' => 'openfusion',
129                     '/mirrors/openfusion/srpms-el~C/' => 'openfusion',
130                 };                 };
131    
132  # add here packages to exclude  # add here packages to exclude
# Line 149  my $skippkg = { '8'  => { 'atrpms' Line 152  my $skippkg = { '8'  => { 'atrpms'
152  # add here include only conditions  # add here include only conditions
153  # for each version if a repo is listed here, only listed rpm will be considered  # for each version if a repo is listed here, only listed rpm will be considered
154  my $onlypkg = { '8' => {  my $onlypkg = { '8' => {
155                              'openfusion' => { },
156                            'remi' => { },                            'remi' => { },
157                            'remisafe' => { },                            'remisafe' => { },
158                          },                          },
159                  '9'  => {                  '9'  => {
160                              'openfusion' => { map { $_ => 1 } ( 'perl-Carp', 'perl-Scalar-List-Utils', 'perl-Class-Method-Modifiers', 'perl-B-Hooks-OP-Check', 'perl-Sub-Exporter-Progressive', 'perl-Devel-GlobalDestruction', 'perl-Socket', 'perl-Data-Validate-IP', 'perl-Eval-Closure', 'perl-Params-Classify', 'perl-Module-Runtime', 'perl-Module-Implementation', 'perl-Class-Load-XS', 'perl-MooX-Types-MooseLike', 'perl-Hash-FieldHash', 'perl-Algorithm-C3', 'perl-Class-C3', 'perl-MRO-Compat', 'perl-Class-XSAccessor', 'perl-ExtUtils-Manifest', 'perl-IPC-Cmd', 'perl-Module-Build', 'perl-ExtUtils-CBuilder', 'perl-Perl-OSType', 'perl-ExtUtils-Install', 'perl-Params-Validate', 'perl-Sub-Name', 'perl-Sub-Quote', 'perl-Sub-Identify', 'perl-Role-Tiny', 'perl-File-HomeDir', 'perl-Data-Dumper-Concise', 'perl-multidimensional', 'perl-Test-Warnings', 'perl-Term-ANSIColor', 'perl-Task-Weaken', 'perl-Clone-PP', 'perl-Data-IEEE754', 'perl-DateTime-TimeZone', 'perl-Exporter-Tiny', 'perl-List-AllUtils', 'perl-Dist-CheckConflicts', 'perl-Moose', 'perl-DateTime-Locale', 'perl-DateTime', 'perl-Variable-Magic', 'perl-B-Hooks-EndOfScope', 'perl-namespace-clean', 'perl-namespace-autoclean', 'perl-Lexical-SealRequireHints', 'perl-bareword-filehandles', 'perl-indirect', 'perl-strictures', 'perl-Moo', 'perl-MooX-StrictConstructor', 'perl-Throwable', 'perl-Math-Int64', 'perl-Math-Int128', 'perl-MaxMind-DB-Common', 'perl-Net-Works', 'perl-Sort-Naturally', 'perl-Data-Printer', 'perl-MaxMind-DB-Reader', 'perl-GeoIP2', 'perl-Data-OptList','perl-Class-Load', 'perl-App-cpanminus' )}, # not for moment : perl-Devel-StackTrace perl-parent perl-ExtUtils-MakeMaker perl-List-MoreUtils
161                            'remi' => { },                            'remi' => { },
162                          },                          },
163                  '10' => {                  '10' => {
164                              'openfusion' => { },
165                            'remi' => { map { $_ => 1 } ( 'php-pear' )},                            'remi' => { map { $_ => 1 } ( 'php-pear' )},
166                          },                          },
167  };  };
# Line 179  foreach my $ver ( sort { $a <=> $b } key Line 185  foreach my $ver ( sort { $a <=> $b } key
185      }      }
186    
187      foreach my $dir  ( sort { $repos->{$baserepo->{$b}}->{prio} <=> $repos->{$baserepo->{$a}}->{prio} || $a cmp $b } keys %$baserepo ) {      foreach my $dir  ( sort { $repos->{$baserepo->{$b}}->{prio} <=> $repos->{$baserepo->{$a}}->{prio} || $a cmp $b } keys %$baserepo ) {
188          my $bdir = $dir;          my $bdir = $dir;
189          $bdir =~ s/~S/$distrepo->{$ver}->{repo}/;          $bdir =~ s/~S/$distrepo->{$ver}->{repo}/;
190          $bdir =~ s/~s/$ver/;          $bdir =~ s/~s/$ver/;
191          $bdir =~ s/~C/$distrepo->{$ver}->{centos}/;          $bdir =~ s/~C/$distrepo->{$ver}->{centos}/;


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed