From a944be1b4478d1da4cd5e68200a0eb4e32b89258 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 7 Jun 2018 14:56:40 -0700 Subject: [PATCH] everything is finally purged I think --- MANIFEST | 3 +++ update.pl | 24 +++++++++++++----------- 2 files changed, 16 insertions(+), 11 deletions(-) diff --git a/MANIFEST b/MANIFEST index d328e8d..530415e 100755 --- a/MANIFEST +++ b/MANIFEST @@ -16,6 +16,8 @@ git@git.wit.com:wit/ping.wit.com.git ping.wit.com git@git.wit.com:wit/resumes.git resumes git@git.wit.com:wit/witcoin.git witcoin git@git.wit.com:wit/witchain witchain +git@git.wit.com:wit/org-docs org-docs +git@git.wit.com:wit/wit-inventory wit-inventory git@git.wit.com:kieran/witPhoneAndroid.git witPhoneAndroid @@ -36,3 +38,4 @@ git@git.wit.com:jcarr/bind9dnssec.git bind9dnssec git@git.wit.com:jcarr/witcoredns.git witcoredns git@git.wit.com:jcarr/old.db.wit.com old.db.wit.com git@git.wit.com:jcarr/benchmarks benchmarks +git@git.wit.com:jcarr/jcarrbox jcarrbox diff --git a/update.pl b/update.pl index b5f8041..74f6826 100755 --- a/update.pl +++ b/update.pl @@ -74,16 +74,18 @@ foreach $line (@lines) { } -foreach $dir (`ls mirrored-gogs/git/gogs-repositories/`) { - chomp $dir; - # print "$dir\n"; - if (! -d "cloned-gogs/$dir") { - my_system "mkdir -p cloned-gogs/$dir\n"; - } - foreach $name (`ls mirrored-gogs/git/gogs-repositories/$dir`) { - chomp $name; - next if ".git" ne substr $name, -4; - $name = substr $name, 0, -4; - gitrepo ("cloned-gogs/$dir", $name, "git\@git.wit.com:$dir/$name"); +if ($ARGV[0] eq "gogs") { + foreach $dir (`ls mirrored-gogs/git/gogs-repositories/`) { + chomp $dir; + # print "$dir\n"; + if (! -d "cloned-gogs/$dir") { + my_system "mkdir -p cloned-gogs/$dir\n"; + } + foreach $name (`ls mirrored-gogs/git/gogs-repositories/$dir`) { + chomp $name; + next if ".git" ne substr $name, -4; + $name = substr $name, 0, -4; + gitrepo ("cloned-gogs/$dir", $name, "git\@git.wit.com:$dir/$name"); + } } }