/[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.2 by slords, Fri Apr 27 21:30:49 2007 UTC Revision 1.5 by slords, Fri May 4 15:05:25 2007 UTC
# Line 19  my $stagedir = '/builds'; Line 19  my $stagedir = '/builds';
19    
20  my @repos = (  my @repos = (
21                "$releasedir/$smerel/smeos/$arch/CentOS/RPMS",                "$releasedir/$smerel/smeos/$arch/CentOS/RPMS",
22                  "$releasedir/$smerel/smeos/$arch/SME/RPMS",
23                  "$releasedir/$smerel/smeos/$arch/RPMS",
24                  "$releasedir/$smerel/smeos/$arch/SME",
25                "$releasedir/$smerel/smeupdates/$arch/RPMS",                "$releasedir/$smerel/smeupdates/$arch/RPMS",
26                "$releasedir/$smerel/smeupdates-testing/$arch/RPMS",                "$releasedir/$smerel/smeupdates-testing/$arch/RPMS",
27                "$releasedir/$smerel/smeextras/$arch/RPMS",                "$releasedir/$smerel/smeextras/$arch/RPMS",
# Line 39  my @srcrepos = ( Line 42  my @srcrepos = (
42                   "/mirrors/centos/$centosrel/extras/SRPMS",                   "/mirrors/centos/$centosrel/extras/SRPMS",
43                   "/mirrors/rpmforge/dag/source",                   "/mirrors/rpmforge/dag/source",
44                   "/mirrors/atrpms/src/el$centosrel-$arch/atrpms/stable",                   "/mirrors/atrpms/src/el$centosrel-$arch/atrpms/stable",
45                     "/mirrors/fedora/epel/$centosrel/SRPMS",
46                   "/mirrors/fedora/core/updates/$fedorarel/SRPMS",                   "/mirrors/fedora/core/updates/$fedorarel/SRPMS",
47                   "/mirrors/fedora/core/$fedorarel/source/SRPMS",                   "/mirrors/fedora/core/$fedorarel/source/SRPMS",
48                   "/mirrors/fedora/extras/$fedorarel/SRPMS",                   "/mirrors/fedora/extras/$fedorarel/SRPMS",
# Line 236  print "\n"; Line 240  print "\n";
240  foreach my $repo ( sort keys %changed ) {  foreach my $repo ( sort keys %changed ) {
241          next if $repo =~ m{^$stagedir};          next if $repo =~ m{^$stagedir};
242    
243          print "rebuilding $repo/i386...\n";          print "rebuilding $repo/$arch...\n";
244          system(qw(createrepo), "$repo/i386");          system(qw(createrepo), "$repo/$arch");
245          system(qw(repoview), "$repo/i386");          system(qw(repoview), "$repo/$arch");
246  }  }
247    


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