View | Details | Raw Unified | Return to bug 176435
Collapse All | Expand All

(-)article.xml (-21 / +9 lines)
Lines 2299-2331 Link Here
2299
      </listitem>
2299
      </listitem>
2300
    </itemizedlist>
2300
    </itemizedlist>
2301
2301
2302
    <para>You can run a local copy of GNATS, and then integrate the FreeBSD
2302
    <para>You may run a local copy of GNATS, and then integrate the FreeBSD
2303
      GNATS tree in to it using CVSup.  Then you can run GNATS commands
2303
      GNATS tree by creating an <application>rsync</application> mirror.
2304
      locally.
2304
      Then you can run GNATS commands locally, allowing you to query the PR
2305
      This lets you query the PR database without needing to be connected to
2305
      database without an Internet connection.</para>
2306
      the Internet.</para>
2307
2306
2308
    <sect2>
2307
    <sect2>
2309
      <title>Mirroring the GNATS Tree</title>
2308
      <title>Mirroring the GNATS Tree</title>
2310
2309
2311
      <para>It is possible to mirror the GNATS database by adding this line
2310
      <para>It is possible to mirror the GNATS database by installing
2312
	to your <filename>supfile</filename>. Note that since
2311
	<application>rsync</application> found under <filename
2313
	GNATS is not under CVS control it has no tag, so if you are adding
2312
	 role="package">net/rsync</filename> in the portstree, and
2314
	it to your existing <filename>supfile</filename> it should appear
2313
	 executing the following:</para>
2315
	before any <quote>tag=</quote> entry as these remain active once set.</para>
2316
2314
2317
	<programlisting>gnats release=current prefix=/usr</programlisting>
2315
	<screen>&prompt.user; <userinput>rsync -va rsync://bit0.us-west.freebsd.org/FreeBSD-bit/gnats .</userinput></screen>
2318
2316
2319
	<para>This will place the FreeBSD GNATS tree in
2320
	  <filename>/usr/gnats</filename>.  You can use a
2321
	  <emphasis>refuse</emphasis> file to control which categories to
2322
	  receive.  For example, to only receive <literal>docs</literal> PRs,
2323
	  put this line in
2324
	  <filename>/usr/local/etc/cvsup/sup/refuse</filename><footnote>
2325
	    <para>The precise path depends on the <literal>*default
2326
		base</literal> setting in your
2327
	      <filename>supfile</filename>.</para>
2328
	  </footnote>.</para>
2329
    </sect2>
2317
    </sect2>
2330
2318
2331
    <sect2 id="gnatstools">
2319
    <sect2 id="gnatstools">

Return to bug 176435