From: chro at sokrates dot uio dot no Operating system: all PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: rsynch description is inaccurate (or lacking)
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 bug report at http://bugs.php.net/?id=25095&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25095&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25095&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=25095&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=25095&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=25095&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=25095&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=25095&r=support Expected behavior: http://bugs.php.net/fix.php?id=25095&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=25095&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=25095&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=25095&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25095&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=25095&r=dst IIS Stability: http://bugs.php.net/fix.php?id=25095&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=25095&r=gnused -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php