=================================================================== RCS file: /cvsrepo/anoncvs/cvs/www/anoncvs.html,v retrieving revision 1.496 retrieving revision 1.497 diff -u -r1.496 -r1.497 --- www/anoncvs.html 2019/10/17 02:27:37 1.496 +++ www/anoncvs.html 2019/11/08 14:51:07 1.497 @@ -102,7 +102,7 @@ The current tree has all of the up to the minute changes, whereas the -stable branch contains the sources for the release plus the patches from the errata and lesser issues already applied. -For more information on the flavors of OpenBSD, see +For more information on the flavors of OpenBSD, see here.

@@ -275,6 +275,61 @@ [shows the changes between revisions 1.1 and rev 1.5] +

Mirroring the Repository

+ +

+As noted in the list below, some repository mirrors also allow fetching +the entire repository via rsync. +Please use the reposync wrapper script which checks for updates to +CVSROOT/ChangeLog and avoids a full directory scan in some cases where no update +was detected. +It also handles SSH port-forwarding for mirrors where this is available, +allowing to connect to an "rsync --daemon" server over an +authenticated and encrypted channel. + +

+Install reposync from packages, create a user and directory to +hold the repository, and a directory for reposync's own use: + +

+# pkg_add reposync
+# useradd cvs
+# install -d -o cvs /home/cvs /var/db/reposync
+
+ +

+Now the following command might be used to mirror or update the repository; +remove "-l anoncvs" if using a mirror which does not support SSH port-forwarding. + +

+# su -m cvs -c "reposync -l anoncvs rsync://mirror.example.org/cvs /home/cvs"
+
+ +

+After mirroring, you can use the local directory as your cvsroot, for example: + +

+$ cd /usr/src
+$ cvs -d /home/cvs -q up -Pd
+
+ +As of November 2019, repository sizes are as follows: + +
+$ du -shc *
+175M    CVSROOT
+1.1G    ports
+2.9G    src
+787M    www
+1.7G    xenocara
+6.6G    total
+
+ +

+The overall repository size currently increases at a rate +of about 400MB per annum. The src repository increases by about +150MB. +

Available Anonymous CVS servers