aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmastermirror-staging.sh8
-rwxr-xr-xrsync-gen.sh1
2 files changed, 8 insertions, 1 deletions
diff --git a/mastermirror-staging.sh b/mastermirror-staging.sh
index a7b286a..28f00d7 100755
--- a/mastermirror-staging.sh
+++ b/mastermirror-staging.sh
@@ -1,5 +1,6 @@
#!/bin/bash
-# distributed by cfengine
+# CVS/Git export script
+# distributed by puppet
# this takes about 1.5mins to run the first time. <45s thereafter
@@ -8,6 +9,11 @@
# 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"
diff --git a/rsync-gen.sh b/rsync-gen.sh
index 3cd9ee5..72668c1 100755
--- a/rsync-gen.sh
+++ b/rsync-gen.sh
@@ -4,6 +4,7 @@
# 0) Make a backup incase there is something wrong with server side
# 1) Update rsync checkouts or exports from cvs.g.o::mastermirror-staging
+# - cvs.g.o::mastermirror-staging is populated by script mastermirror-staging.sh
# 1b) rsync EXPORTS/gentoo-x86 to STAGEDIR
# 1c) source (bash -n) eclasses to check for syntax errors
# 2) generate metadata (egencache)