GraphicsMagick: Add rsync of web to SourceForge
GraphicsMagick Commits <[email protected]>
| Newsgroups | gmane.comp.video.graphicsmagick.cvs |
|---|---|
| Message-ID | <mailman.32492.1640912224.1995.graphicsmagick-commit@lists.sourceforge.net> |
changeset 216c7dabe522 in /hg/GraphicsMagick
details: http://hg.GraphicsMagick.org/hg/GraphicsMagick?cmd=changeset;node=216c7dabe522
summary: Add rsync of web to SourceForge
diffstat:
scripts/graphicsmagick_snapshot_copy-local | 7 +++++++
scripts/graphicsmagick_snapshot_copy-ssh | 7 +++++++
2 files changed, 14 insertions(+), 0 deletions(-)
diffs (28 lines):
diff -r 7897c73c4d47 -r 216c7dabe522 scripts/graphicsmagick_snapshot_copy-local
--- a/scripts/graphicsmagick_snapshot_copy-local Thu Dec 30 18:45:41 2021 -0600
+++ b/scripts/graphicsmagick_snapshot_copy-local Thu Dec 30 18:56:48 2021 -0600
@@ -65,3 +65,10 @@
# -vrtc
# --bwlimit is in bytes rather than bits! Requests are rounded up to units of 1024 bytes.
time rsync -vrtzc --delete --delete-after --bwlimit=34k --stats ${SNAPSHOT_DIRECTORY}/ bfriesen,[email protected]:/home/pfs/project/g/gr/graphicsmagick/graphicsmagick-snapshots
+
+# Update web pages at SourceForge
+if [ -d "${SRCDIR}/www" ] ; then
+ rsync --delete-after -rlptv --exclude={'*.rst','*.am','*.fig','*.dot','*~','*.tmp'} "${SRCDIR}/www/" [email protected]:/home/project-web/graphicsmagick/htdocs
+else
+ printf "SRCDIR not defined!\n"
+fi
diff -r 7897c73c4d47 -r 216c7dabe522 scripts/graphicsmagick_snapshot_copy-ssh
--- a/scripts/graphicsmagick_snapshot_copy-ssh Thu Dec 30 18:45:41 2021 -0600
+++ b/scripts/graphicsmagick_snapshot_copy-ssh Thu Dec 30 18:56:48 2021 -0600
@@ -66,3 +66,10 @@
# -vrtc
# --bwlimit is in bytes rather than bits! Requests are rounded up to units of 1024 bytes.
${SSH} ${SNAPSHOT_HOST} time rsync -vrtzc --delete --delete-after --bwlimit=34k --stats ${SNAPSHOT_DIRECTORY}/ bfriesen,[email protected]:/home/pfs/project/g/gr/graphicsmagick/graphicsmagick-snapshots
+
+# Update web pages at SourceForge
+if [ -d "${SRCDIR}/www" ] ; then
+ rsync --delete-after -rlptv --exclude={'*.rst','*.am','*.fig','*.dot','*~','*.tmp'} "${SRCDIR}/www/" [email protected]:/home/project-web/graphicsmagick/htdocs
+else
+ printf "SRCDIR not defined!\n"
+fi