Changeset 12132
- Timestamp:
- Mar 1, 2007, 12:09:41 AM (19 years ago)
- Location:
- trunk/psconfig
- Files:
-
- 5 deleted
- 4 edited
-
cpan.setup.sh (deleted)
-
getperlmods (deleted)
-
mkbuild (modified) (5 diffs)
-
mkdist (modified) (4 diffs)
-
notes.txt (modified) (2 diffs)
-
perl.install.sh (deleted)
-
perl.modules.sh (deleted)
-
perl.tarballs (deleted)
-
tagsets/ipp-1.0.dst (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psconfig/mkbuild
r11953 r12132 9 9 $start = ""; 10 10 $stop = ""; 11 $verbose = 0; 11 12 12 13 @tARGV = (); … … 15 16 $version = $ARGV[1]; 16 17 shift; shift; next; 18 } 19 if ($ARGV[0] eq "-verbose") { 20 $verbose = 1; 21 shift; next; 17 22 } 18 23 if ($ARGV[0] eq "-clean") { … … 163 168 sub vsystem { 164 169 print STDERR "@_\n"; 165 $status = system ("@_");166 $status;170 #$status = system ("@_"); 171 #$status; 167 172 } 168 173 169 174 sub list_distributions { 170 vsystem ("ls $tagsets/*.dst"); 175 @list = <$tagsets/*.dst>; 176 foreach $line (@list) { 177 chomp $line; 178 ($dist) = $line =~ m|$tagsets/(\S*).dst|; 179 print STDERR "$dist\n"; 180 } 171 181 exit 2; 172 182 } … … 200 210 if (($do_update ne "Y") && ($do_update ne "N")) { die "invalid tag option $do_update\n"; } 201 211 202 print "tag: $do_tag, build: $do_build, package: $do_package, update: $do_update ";203 print "module: $cvsname, branchtag: $branchtag, branchver: $branchver \n";212 if ($verbose) { print "tag: $do_tag, build: $do_build, package: $do_package, update: $do_update "; } 213 if ($verbose) { print "module: $cvsname, branchtag: $branchtag, branchver: $branchver \n"; } 204 214 205 215 push @mode, $mode; … … 215 225 216 226 sub usage { 217 print STDERR "USAGE: mkdist -list\n"; 218 print STDERR " : list valid distributions \n\n"; 219 print STDERR "USAGE: mkdist (distribution) [-cvs]\n"; 220 print STDERR " : make a distribution tarball\n"; 221 print STDERR " : -cvs : only check out the cvs tree, don't make a tarball\n\n"; 222 print STDERR "USAGE: mkdist -diff (group) (version)\n"; 223 print STDERR " : show the difference between the distribution and current tree\n\n"; 227 print STDERR "USAGE: psbuild [options] (distribution)\n"; 228 print STDERR " : -version (version) : specify alternate psconfig installation version\n"; 229 print STDERR " : -clean : clean the source directories before building\n"; 230 print STDERR " : -rebuild : run 'autogen' (C code)\n"; 231 print STDERR " : -optimize : set flags for optimized code\n"; 232 print STDERR " : -only (module) : only build the specified module\n"; 233 print STDERR " : -start (module) : begin build at specified module\n"; 234 print STDERR " : -stop (module) : stop build after specified module\n\n"; 235 print STDERR " : psbuild -list : list the available distributions\n"; 236 print STDERR " : psbuild -h : this help listing\n"; 237 print STDERR " : psbuild -help : this help listing\n"; 238 print STDERR " : psbuild --help : this help listing\n"; 224 239 exit 2; 225 240 } -
trunk/psconfig/mkdist
r11730 r12132 26 26 if ($ARGV[0] eq "-devtag") { 27 27 $setdevtag = 1; 28 shift; next;29 }30 if ($ARGV[0] eq "-deltag") {31 $deltag = 1;32 28 shift; next; 33 29 } … … 74 70 print STDERR "--- $cvsname[$i] ---\n"; 75 71 if ($cvsname[$i] eq "base") { next; } 76 if ($tag[$i] eq "") { 77 &vsystem ("cvs -q rdiff -s -r HEAD $cvsname[$i]"); 78 } else { 79 &vsystem ("cvs -q rdiff -s -r $tag[$i] $cvsname[$i]"); 80 } 72 if ($tag[$i] eq "") { next; } 73 &vsystem ("cvs -q rdiff -s -r $tag[$i] $cvsname[$i]"); 81 74 print STDERR "\n\n"; 82 75 } … … 139 132 140 133 sub list_distributions { 141 142 vsystem ("ls $tagsets/*.dst"); 134 @list = <$tagsets/*.dst>; 135 foreach $line (@list) { 136 chomp $line; 137 ($dist) = $line =~ m|$tagsets/(\S*).dst|; 138 print STDERR "$dist\n"; 139 } 143 140 exit 2; 144 141 } … … 183 180 184 181 sub usage { 185 print STDERR "USAGE: mkdist -list\n"; 186 print STDERR " : list valid distributions \n\n"; 187 print STDERR "USAGE: mkdist (distribution) [-cvs]\n"; 188 print STDERR " : make a distribution tarball\n"; 189 print STDERR " : -cvs : only check out the cvs tree, don't make a tarball\n\n"; 190 print STDERR "USAGE: mkdist -diff (group) (version)\n"; 191 print STDERR " : show the difference between the distribution and current tree\n\n"; 182 print STDERR "USAGE: mkdist [options] (distribution]\n"; 183 print STDERR " : -tag : set tags on branch based on distribution table\n"; 184 print STDERR " : -branch : set branch tags based on distribution table (requires -tag)\n"; 185 print STDERR " : -devtag : set tags on cvs HEAD based on distribution table (requires -tag)\n\n"; 186 187 print STDERR " : -tarball : make a distribution tarball\n"; 188 print STDERR " : -cvs : check out tree and leave CVS elements behind\n"; 189 print STDERR " : -module : perform action only on the specified module\n\n"; 190 print STDERR " : -list : list valid distributions \n\n"; 191 print STDERR " : -diff : show the difference between the distribution and current cvs HEAD\n"; 192 192 exit 2; 193 193 } -
trunk/psconfig/notes.txt
r11940 r12132 1 2 2007.02.28 : cleanup configuration tools 3 4 operations we would like to perform with these tools: 5 6 tag CVS tree 7 build tarball from tagged tree 8 build tarball from head 9 build and install software in tree 10 check for needed external software 11 build and install external software 12 13 1 14 2 15 YAML : asks for installation confirmation. … … 7 20 Template : asks about XS and additional files. we can skip both of these 8 21 22 #!/bin/csh -f 23 24 grep use `find .. -name "*.pm"` |\ 25 sed "s|::|@@|g" |\ 26 awk -F: '{print $2}' |\ 27 sed "s|@@|::|g" |\ 28 awk -F\; '{print $1}' |\ 29 grep -v "\#" |\ 30 sed "s|qw(|@|" |\ 31 awk -F@ '{print $1}' |\ 32 sort | uniq |\ 33 grep "^use" > perl.modules.list -
trunk/psconfig/tagsets/ipp-1.0.dst
r11730 r12132 8 8 # |||| 9 9 NYNY Ohana 10 NNYN ohana.base base-1-5 -011 NNYN libohana libohana-1-9 -012 NNYN libfits libfits-1-7 -013 NNYN libautocode libautocode-1-6 -014 NNYN libdvo libdvo-1-4 -015 NNYN libkapa libkapa-1-3 -016 NNYN addstar addstar-1-8 -017 NNYN delstar delstar-1-7 -018 NNYN getstar getstar-1-3 -019 NNYN kapa kapa-1-7 -020 NNYN kii kii-1-7 -021 NNYN relphot relphot-1-5 -022 NNYN uniphot uniphot-1-5 -023 NNYN opihi.base opihi-2-9 -024 NNYN mana mana-1-7 -025 NNYN dvo dvo-1-0 -026 NNYN pantasks pantasks-1-0 -027 NNYN pcontrol pcontrol-1-0 -028 NNYN pclient pclient-1-0 -029 NYYY psLib rel-1-0 -030 NYYY psModules rel-1-0 -031 YYYY psphot rel-0-8 -032 YYYY psastro rel-0-8 -033 YYYY ppStats rel-1-0 -034 YYYY ppImage rel-1-0 -035 YYYY ppNorm rel-1-0 -036 YYYY ppMerge rel-1-0 -037 YNYY pois rel-0-1 -038 YNYY pswarp rel-0-1 -039 YNYY ppStac rel-0-1 -040 YYYY PS-IPP-Metadata-Config rel-1-0 -041 YYYY PS-IPP-Config rel-1-0-042 YYYY ippScripts rel-1-0 -043 YYYY glueforge rel-1-0 -044 YYYY dbconfig rel-1-0 -045 NYNN ippdb.src 46 YYYY ippconfig rel-1-0 -047 YYYY ippTools rel-1-0 -048 YYYY ippTasks rel-1-0 -049 YYYY simtest rel-0-8 -050 YNYY psconfig rel-1-0 -051 YNYY ippMonitor rel-1-0 -010 NNYN ohana.base base-1-5 -0 11 NNYN libohana libohana-1-9 -0 12 NNYN libfits libfits-1-7 -0 13 NNYN libautocode libautocode-1-6 -0 14 NNYN libdvo libdvo-1-4 -0 15 NNYN libkapa libkapa-1-3 -0 16 NNYN addstar addstar-1-8 -0 17 NNYN delstar delstar-1-7 -0 18 NNYN getstar getstar-1-3 -0 19 NNYN kapa kapa-1-7 -0 20 NNYN kii kii-1-7 -0 21 NNYN relphot relphot-1-5 -0 22 NNYN uniphot uniphot-1-5 -0 23 NNYN opihi.base opihi-2-9 -0 24 NNYN mana mana-1-7 -0 25 NNYN dvo dvo-1-0 -0 26 NNYN pantasks pantasks-1-0 -0 27 NNYN pcontrol pcontrol-1-0 -0 28 NNYN pclient pclient-1-0 -0 29 NYYY psLib rel-1-0 -0 30 NYYY psModules rel-1-0 -0 31 YYYY psphot rel-0-8 -0 32 YYYY psastro rel-0-8 -0 33 YYYY ppStats rel-1-0 -0 34 YYYY ppImage rel-1-0 -0 35 YYYY ppNorm rel-1-0 -0 36 YYYY ppMerge rel-1-0 -0 37 YNYY pois rel-0-1 -0 38 YNYY pswarp rel-0-1 -0 39 YNYY ppStac rel-0-1 -0 40 YYYY PS-IPP-Metadata-Config rel-1-0 -0 41 YYYY PS-IPP-Config rel-1-0 -0 42 YYYY ippScripts rel-1-0 -0 43 YYYY glueforge rel-1-0 -0 44 YYYY dbconfig rel-1-0 -0 45 NYNN ippdb.src 46 YYYY ippconfig rel-1-0 -0 47 YYYY ippTools rel-1-0 -0 48 YYYY ippTasks rel-1-0 -0 49 YYYY simtest rel-0-8 -0 50 YNYY psconfig rel-1-0 -0 51 YNYY ippMonitor rel-1-0 -0 52 52 53 53 # there are externally required perl modules (see README?)
Note:
See TracChangeset
for help on using the changeset viewer.
