- update the 'doc' tree in the SpamAssassin website (WARNING: if you're
moving to a new major release, x.y.0, you need to edit
'build/update_website_docs' beforehand and set the "vers" line):
cd /var/www/buildbot.spamassassin.org/staging/website
svn up
svn delete --force full/3.3.x
svn commit -m "removing old doc tree from website" full
Not sure what this did...
cd [checkedoutdir]
build/update_website_docs
Has anyone other than jm ever run this? It isn't clear what host this
is supposed to be run upon. zones like the previous step?
I made two modifications in an attempt to make it work as documented:
* ln -s /export/home/wtogami/sabuildtools/bin/perl
/export/home/wtogami/spamassassin-3.3/perl
* Added /var to the beginning of the path...
bash-3.00$ pwd
/export/home/wtogami/spamassassin-3.3
bash-3.00$ hostname
spamassassin.zones.apache.org
bash-3.00$ pwd
/export/home/wtogami/spamassassin-3.3
bash-3.00$ svn up
At revision 1136754.
bash-3.00$ ls -l perl
lrwxrwxrwx 1 wtogami other 42 Jun 17 01:58 perl ->
/export/home/wtogami/sabuildtools/bin/perl
bash-3.00$ svn diff
Index: build/update_website_docs
===================================================================
--- build/update_website_docs (revision 1136754)
+++ build/update_website_docs (working copy)
@@ -1,6 +1,6 @@
#!/bin/sh
-WEBDIR=/www/spamassassin.apache.org
+WEBDIR=/var/www/spamassassin.apache.org
vers=3.3.x
if [ -z "$PERL" ]; then
Then the script completes but with error messages like the following
because /var/www/spamassassin.apache.org is entirely absent on this host.
mkdir: Failed to make directory
"/var/www/spamassassin.apache.org/full/3.3.x"; No such file or directory
build/update_website_docs: /var/www/spamassassin.apache.org/full/3.3.x:
does not exist
tar: --exclude=.#*chmod: : No such file or directory
WARNING: can't access /var/www/spamassassin.apache.org/full/3.3.x
cd /var/www/buildbot.spamassassin.org/staging/website
svn add full/3.3.x
svn commit -m "updating new doc tree on website" full
Didn't get this far...
Warren