#25095 [Opn->Csd]: rsynch description is inaccurate (or lacking)
| From: | goba@php.net | Date: | Thu, 14 Aug 2003 16:39:08 +0000 |
| Subject: | #25095 [Opn->Csd]: rsynch description is inaccurate (or lacking) | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-20305@lists.php.net to get a copy of this message | ||
ID: 25095
Updated by: goba@php.net
Reported By: chro at sokrates dot uio dot no
-Status: Open
+Status: Closed
Bug Type: Website problem
Operating System: all
PHP Version: Irrelevant
New Comment:
Thanks for the suggestion. I have included the distributions/manual
exclude into the suggested rsync line in CVS. It will show up in a few
minutes / hours on mirrors, depending on their setup.
Previous Comments:
------------------------------------------------------------------------
[2003-08-14 10:34:31] chro at sokrates dot uio dot no
Description:
------------
When adding the lines needed to exclude documentation from rsync except
the language of your choice it will not exclude all languages.
--include='manual/en/' --include='manual/en/**' --exclude='manual/**
Excludes the manual itself, but seeing the manual is accessible in
different formats under distributions/manual/* you will download all
the manual for all languages anyway.
Description on how to exclude the d/l-able manual distributions should
be added to the website.
Reproduce code:
---------------
rsync -avzC --timeout=600 --delete --delete-after \
rsync.php.net::phpweb /your/local/path --include='manual/en/'
--include='manual/en/**' --exclude='manual/**'
URL : http://www.php.net/mirroring.php
Expected result:
----------------
Getting the manual on only one language. Ie: saving the bandwidth for
php.net
Actual result:
--------------
Exclusion of manual pages but no exclusion of the downloadable versions
of the manual (for all languages). Which means I spend way to much of
the bandwidth from php.net than what I intended to do.
Possible solution is excluding the distributions dir or
distributions/manual/
rsync -avzC --timeout=600 --delete --delete-after
--include='manual/en/' --include='manual/en/**' --exclude='manual/**'
--exclude='distributions/manual/' rsync.php.net::phpweb
/path/to/phpweb
Granted it could be done better by d/l the manual in the formats you
wanted, in the language you wanted.
But for me this works fine (seeing that if I want to d/l the manual in
any format I wouldnt be mirroring it in the first place. Saving
bandwidth :)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=25095&edit=1