From 0557f5eb663471cbd21df1bcf710537569bf4bdf Mon Sep 17 00:00:00 2001 From: Eitan Adler Date: Mon, 4 Mar 2013 19:16:04 +0000 Subject: [PATCH] Modernize the GNATS mirroring section PR: docs/176435 Submitted by: jgh Approved by: bcr (mentor) --- .../articles/committers-guide/article.xml | 33 ++++++------------- 1 file changed, 10 insertions(+), 23 deletions(-) diff --git a/en_US.ISO8859-1/articles/committers-guide/article.xml b/en_US.ISO8859-1/articles/committers-guide/article.xml index 9240993c9e..eda60a870c 100644 --- a/en_US.ISO8859-1/articles/committers-guide/article.xml +++ b/en_US.ISO8859-1/articles/committers-guide/article.xml @@ -444,11 +444,11 @@ Checkout from a Mirror - You can check out a working copy from a mirror by simply + Check out a working copy from a mirror by substituting the mirror's URL for svn+ssh://svn.freebsd.org/base. This can - be an official mirror or a mirror you maintain yourself - using svnsync or similar. + be an official mirror or a mirror maintained by + using svnsync. There is a serious disadvantage to this method: every time something is to be committed, a svn switch @@ -2300,32 +2300,19 @@ ControlPersist yes You can run a local copy of GNATS, and then integrate the FreeBSD - GNATS tree in to it using CVSup. Then you can run GNATS commands - locally. - This lets you query the PR database without needing to be connected to - the Internet. + GNATS tree by creating an rsync mirror. + Then you can run GNATS commands locally, allowing you to query the PR + database without an Internet connection. Mirroring the GNATS Tree - It is possible to mirror the GNATS database by adding this line - to your supfile. Note that since - GNATS is not under CVS control it has no tag, so if you are adding - it to your existing supfile it should appear - before any tag= entry as these remain active once set. + It is possible to mirror the GNATS database by installing + net/rsync, and + executing: - gnats release=current prefix=/usr + &prompt.user; rsync -va rsync://bit0.us-west.freebsd.org/FreeBSD-bit/gnats . - This will place the FreeBSD GNATS tree in - /usr/gnats. You can use a - refuse file to control which categories to - receive. For example, to only receive docs PRs, - put this line in - /usr/local/etc/cvsup/sup/refuse - The precise path depends on the *default - base setting in your - supfile. - .