/[smeserver]/builds_bin/update_dev_repo
ViewVC logotype

Diff of /builds_bin/update_dev_repo

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

Revision 1.4 by slords, Mon Jan 22 16:37:25 2007 UTC Revision 1.5 by slords, Sat Apr 14 21:21:23 2007 UTC
# Line 16  my @repositories = qw( Line 16  my @repositories = qw(
16                  /releases/7/smeupdates/i386/RPMS/                  /releases/7/smeupdates/i386/RPMS/
17                  /releases/7/smeupdates-testing/i386/RPMS/                  /releases/7/smeupdates-testing/i386/RPMS/
18                  /releases/7/smeextras/i386/RPMS/                  /releases/7/smeextras/i386/RPMS/
19                    /releases/7/smetest/i386/RPMS/
20                  /builds/rpms/RPMS/i386/                  /builds/rpms/RPMS/i386/
21                  /builds/rpms/RPMS/i586/                  /builds/rpms/RPMS/i586/
22                  /builds/rpms/RPMS/i686/                  /builds/rpms/RPMS/i686/
# Line 77  foreach my $rpm (sort compare @testing) Line 78  foreach my $rpm (sort compare @testing)
78          unless (grep { ! compare($_,$rpm) } @pushed) {          unless (grep { ! compare($_,$rpm) } @pushed) {
79                  print "removing ".$rpm->filename."\n";                  print "removing ".$rpm->filename."\n";
80                  unlink $rpm->filename;                  unlink $rpm->filename;
81                    $changed++;
82          }          }
83  }  }
84    
# Line 84  if ($changed) { Line 86  if ($changed) {
86          system(qw(/builds/bin/linksource -s), "$test_repo/i386/RPMS", '-d', "$test_repo/SRPMS");          system(qw(/builds/bin/linksource -s), "$test_repo/i386/RPMS", '-d', "$test_repo/SRPMS");
87          system(qw(createrepo), "$test_repo/i386");          system(qw(createrepo), "$test_repo/i386");
88          system(qw(repoview), "$test_repo/i386");          system(qw(repoview), "$test_repo/i386");
         system(qw(yum-arch), "$test_repo/i386");  
89  }  }
90    
91  sub compare($$) {  sub compare($$) {


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