|
From: <ma...@us...> - 2015-11-16 13:55:53
|
Revision: 738
http://sourceforge.net/p/pywbem/code/738
Author: maiera
Date: 2015-11-16 13:55:50 +0000 (Mon, 16 Nov 2015)
Log Message:
-----------
Described new publish script in HOWTO.md; Minor changes in publish script.
Modified Paths:
--------------
web/HOWTO.md
web/publish
Modified: web/HOWTO.md
===================================================================
--- web/HOWTO.md 2015-11-16 13:47:44 UTC (rev 737)
+++ web/HOWTO.md 2015-11-16 13:55:50 UTC (rev 738)
@@ -1,13 +1,17 @@
-How to update the PyWBEM project web site on SourceForge
-========================================================
+How to publish to the PyWBEM project web site on SourceForge
+============================================================
-That web site is not automatically updated when files are committed to the
-`web` subdirectory of the code repository. They need to be manually
-updated, by transferring the files to
+That web site (http://pywbem.sourceforge.net) is not automatically updated when
+files are committed to the `web` subdirectory of the code repository. They need
+to be updated separately, by transferring the files to
`US...@we.../home/project-web/pywbem/htdocs`
where `USERID` is the userid of a PyWBEM admin.
You can use any of these protocols: SFTP, SCP, or rsync (for example,
FileZilla).
-For details, see
+For convenience, there is the `publish` script in this directory that publishes
+the entire subtree using rsync. Invoke the script without parameters or with
+--help to get a help text.
+
+For further details about web publishing on SourceForge, see
[SourceForge web hosting](https://sourceforge.net/p/forge/documentation/Project%20Web%20Services/).
Modified: web/publish
===================================================================
--- web/publish 2015-11-16 13:47:44 UTC (rev 737)
+++ web/publish 2015-11-16 13:55:50 UTC (rev 738)
@@ -8,8 +8,9 @@
if [[ -z $userid || $userid == --help ]]
then
echo ""
- echo "Publish the current directory and any subdirectories to the PyWBEM"
- echo "web presence at http:/pywbem.sourceforge.net."
+ echo "Publish the current directory and its subdirectories to the PyWBEM"
+ echo "web presence at http:/pywbem.sourceforge.net. Deletions of files will"
+ echo "also be propagated to the web site."
echo ""
echo "Usage:"
echo " $0 {userid} [{dir}]"
@@ -27,6 +28,6 @@
echo "Publishing directory $dir"
echo "Use the password for SourceForge userid $userid, below:"
-rsync -v -r -l -t --delete $dir $us...@we...:/home/project-web/pywbem/htdocs/
+rsync -v -r -l -t --delete --exclude=HOWTO.md --exclude=publish $dir $us...@we...:/home/project-web/pywbem/htdocs/
rc=$?
exit $rc
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|