aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2016-01-27 12:02:37 -0800
committerRobin H. Johnson <robbat2@gentoo.org>2016-01-27 12:02:37 -0800
commit5d7a17cd87b4c02698fb502e27b7031b94f33aa8 (patch)
tree44b59c251b1c23b52854ec56d4df8ba817383b3b /mastermirror-staging.sh
parentsnapshots: support parallel bzip2 for speed. (diff)
downloadmastermirror-scripts-5d7a17cd87b4c02698fb502e27b7031b94f33aa8.tar.gz
mastermirror-scripts-5d7a17cd87b4c02698fb502e27b7031b94f33aa8.tar.bz2
mastermirror-scripts-5d7a17cd87b4c02698fb502e27b7031b94f33aa8.zip
mastermirror-staging: remove CVS cruft.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'mastermirror-staging.sh')
-rwxr-xr-xmastermirror-staging.sh9
1 files changed, 1 insertions, 8 deletions
diff --git a/mastermirror-staging.sh b/mastermirror-staging.sh
index 3952c4f..fb5c33e 100755
--- a/mastermirror-staging.sh
+++ b/mastermirror-staging.sh
@@ -1,5 +1,5 @@
#!/bin/bash
-# CVS/Git export script
+# Git export script
# distributed by puppet
# this takes about 1.5mins to run the first time. <45s thereafter
@@ -7,20 +7,13 @@
# if the lv is really small (2G), the default inode ratio is too large.
# eg. mkfs.ext2 -i 4096 /dev/vg/var_mastermirror-staging
-# WARNING: Do NOT use CVS -D without resolving bug 183926 first, or bug 401633 happens.
-
# Notes 2015/12/14 by robbat2
# This entire script was run on the CVS server directly, as it was MUCH faster
# than remote checkouts. In the era of Git, this script can probably be merged
# with rsync-gen.sh instead.
-export CVSROOT="/var/cvsroot"
export GITROOT="/var/gitroot"
-CVS="/usr/bin/cvs -Q -T /mnt/cvstmp"
-CVS_UP="${CVS} up -A -P -C -d"
-CVS_CO="${CVS} -d ${CVSROOT} co -A -P"
-
GIT="/usr/bin/git"
GIT_CL="${GIT} clone -q"
GIT_PL="${GIT} pull -q --ff-only --no-stat --no-rebase"