[csw-devel] SF.net SVN: opencsw:[358] buildfarm/bin
dmichelsen at users.sourceforge.net
dmichelsen at users.sourceforge.net
Fri Mar 11 11:35:05 CET 2011
Revision: 358
http://opencsw.svn.sourceforge.net/opencsw/?rev=358&view=rev
Author: dmichelsen
Date: 2011-03-11 10:35:05 +0000 (Fri, 11 Mar 2011)
Log Message:
-----------
Separate out unstable
Modified Paths:
--------------
buildfarm/bin/make-snapshot-README
buildfarm/bin/sync-opencsw-future
Modified: buildfarm/bin/make-snapshot-README
===================================================================
--- buildfarm/bin/make-snapshot-README 2011-03-11 10:33:27 UTC (rev 357)
+++ buildfarm/bin/make-snapshot-README 2011-03-11 10:35:05 UTC (rev 358)
@@ -18,12 +18,12 @@
foreach my $A (qw(sparc i386)) {
foreach my $R (qw(5.8 5.9 5.10)) {
system( '/opt/csw/bin/figlet -w 120 "Snapshot ' . $pair->[1] . "\" > $base/snapshots/" . $pair->[1] . "/$A/$R/HEADER.txt" );
- system( "/home/web/bin/cswrepo" .
- " \"Snapshot " . $pair->[0] . "\"" .
- " $base/snapshots/" . $pair->[0] . "/$A/$R/catalog" .
- " $base/snapshots/" . $pair->[1] . "/$A/$R/catalog" .
- " >> $base/snapshots//" . $pair->[1] . "/$A/$R/HEADER.txt"
- );
+# system( "/home/web/bin/cswrepo" .
+# " \"Snapshot " . $pair->[0] . "\"" .
+# " $base/snapshots/" . $pair->[0] . "/$A/$R/catalog" .
+# " $base/snapshots/" . $pair->[1] . "/$A/$R/catalog" .
+# " >> $base/snapshots//" . $pair->[1] . "/$A/$R/HEADER.txt"
+# );
}
}
}
@@ -34,12 +34,12 @@
foreach my $A (qw(sparc i386)) {
foreach my $R (qw(5.8 5.9 5.10)) {
system( "/opt/csw/bin/figlet -w 120 Unstable > $base/unstable/$A/$R/HEADER.txt" );
- system( "/home/web/bin/cswrepo" .
- " \"Snapshot $lastsnap\"" .
- " $base/snapshots/$lastsnap/$A/$R/catalog" .
- " $base/unstable/$A/$R/catalog" .
- " >> $base/unstable/$A/$R/HEADER.txt"
- );
+# system( "/home/web/bin/cswrepo" .
+# " \"Snapshot $lastsnap\"" .
+# " $base/snapshots/$lastsnap/$A/$R/catalog" .
+# " $base/unstable/$A/$R/catalog" .
+# " >> $base/unstable/$A/$R/HEADER.txt"
+# );
}
}
@@ -47,11 +47,11 @@
foreach my $A (qw(sparc i386)) {
foreach my $R (qw(5.8 5.9 5.10)) {
system( "/opt/csw/bin/figlet -w 120 Experimental > $base/experimental/$A/$R/HEADER.txt" );
- system( "/home/web/bin/cswrepo" .
- " Unstable" .
- " $base/unstable/$A/$R/catalog" .
- " $base/experimental/$A/$R/catalog" .
- " >> $base/experimental/$A/$R/HEADER.txt"
- );
+# system( "/home/web/bin/cswrepo" .
+# " Unstable" .
+# " $base/unstable/$A/$R/catalog" .
+# " $base/experimental/$A/$R/catalog" .
+# " >> $base/experimental/$A/$R/HEADER.txt"
+# );
}
}
Modified: buildfarm/bin/sync-opencsw-future
===================================================================
--- buildfarm/bin/sync-opencsw-future 2011-03-11 10:33:27 UTC (rev 357)
+++ buildfarm/bin/sync-opencsw-future 2011-03-11 10:35:05 UTC (rev 358)
@@ -6,10 +6,10 @@
system( "/opt/csw/bin/rsync", "-Hrav", "--delete",
"/export/mirror/opencsw/official/current/",
- "/export/mirror/opencsw-future/unstable" );
+ "/export/mirror/opencsw-future/current" );
# Make sure all packages are properly archived to allpkgs
-foreach my $T (qw(unstable)) {
+foreach my $T (qw(current)) {
foreach my $A (qw(sparc i386)) {
foreach my $V (qw(5.8 5.9 5.10)) {
opendir D, "$BASE/$T/$A/$V" or die "Cannot open $BASE/$T/$A/$V";
@@ -18,6 +18,7 @@
foreach my $p (@pkgs) {
if( ! -e "$BASE/allpkgs/$p" ) {
+ print "Linking $p\n";
link( "$BASE/$T/$A/$V/$p", "$BASE/allpkgs/$p" );
}
}
@@ -25,8 +26,13 @@
}
}
+exit 0;
+
# Analyze all packages in the catalogs
+
+# This bit needs a rewrite, because checkpkg works now differently.
+
my @snapshots = map { s,^$BASE/,, } glob("$BASE/snapshots/*");
foreach my $T (qw(experimental unstable), @snapshots) {
foreach my $A (qw(sparc i386)) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list