aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2016-04-15 16:12:46 +0200
committerMichał Górny <mgorny@gentoo.org>2016-04-15 16:12:46 +0200
commitd0bb47a1a77dadeb9d0cba2cb9be27a51aef410e (patch)
treebb754086d123d90a9ad16b2f8c694ba45b56b468 /rsync-gen.sh
parentFix changelog times. (diff)
downloadmastermirror-scripts-d0bb47a1a77dadeb9d0cba2cb9be27a51aef410e.tar.gz
mastermirror-scripts-d0bb47a1a77dadeb9d0cba2cb9be27a51aef410e.tar.bz2
mastermirror-scripts-d0bb47a1a77dadeb9d0cba2cb9be27a51aef410e.zip
Include XML Schemas in rsync checkout
Diffstat (limited to 'rsync-gen.sh')
-rwxr-xr-xrsync-gen.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/rsync-gen.sh b/rsync-gen.sh
index 010447d..d01af8d 100755
--- a/rsync-gen.sh
+++ b/rsync-gen.sh
@@ -8,7 +8,7 @@
# 1b) rsync EXPORTS/gentoo-x86 to STAGEDIR
# 1c) source (bash -n) eclasses to check for syntax errors
# 2) generate metadata (egencache)
-# 3) place dtd info in STAGEDIR
+# 3) place dtd info & xml schemas in STAGEDIR
# 4) place glsa's in STAGEDIR
# 5) place news in STAGEDIR
# 6) place projects.xml in STAGEDIR
@@ -236,6 +236,13 @@ date -R -u > ${STAGEDIR}/metadata/dtd/timestamp.chk
timelog___end "DTD" | timelogger
# end 3)
+# 3b) place xml schemas in STAGEDIR
+timelog_start "XML-SCHEMA" | timelogger
+rsync -Wqa --checksum --exclude=CVS --exclude=.git --delete ${EXPORTS}/xml-schema ${STAGEDIR}/metadata/
+date -R -u > ${STAGEDIR}/metadata/xml-schema/timestamp.chk
+timelog___end "XML-SCHEMA" | timelogger
+# end 3b)
+
# 4) place glsa's in STAGEDIR
timelog_start "GLSA" | timelogger
rsync -Wqa --checksum --exclude=CVS --exclude=.git --delete ${EXPORTS}/glsa ${STAGEDIR}/metadata/