Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jan 1999 17:43:39 -0800 (PST)
From:      John Polstra <jdp@polstra.com>
To:        attila <attila@hun.org>
Cc:        stable-freeBSD <stable@FreeBSD.ORG>
Subject:   RE: *default release=cvs tag=RELENG_3 ? affect on docs, etc.
Message-ID:  <XFMail.990123174339.jdp@polstra.com>
In-Reply-To: <199901240105.BAA21432@hun.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 24-Jan-99 attila wrote:
> 
>     after an RTFM session last week I modified my supfile of 10 Jan
>     which built CURRENT flawlessly (including updating all the man
>     pages and docs) from 2.2.6 and which is now diff'd 
> 
>       8c8
>       < *default release=cvs delete use-rel-suffix compress 
>       ---
>       > *default release=cvs tag=RELENG_3 delete use-rel-suffix compress
> 
>     to the new file below preparatory to moving out of the CURRENT track
>     to the STABLE track.
> 
>     however, in reading your reply to Doug Burks (below), it crossed my 
>     mind (or at least the space so designated) the 'tag=RELENG=3' in 
>     '*default release=...' may be applied to ports, etc. with results 
>     similar to doug's. or is it default release "if required" as I 
>     gleaned from RTFM?
...
> *default tag=.
> *default host=cvsup.FreeBSD.org
> *default prefix=/usr
> *default base=/usr/local/etc/cvsup
> *default release=cvs tag=RELENG_3 delete use-rel-suffix compress
> 
> cvs-all       # The main FreeBSD CVS repository, excluding crypto
> cvs-crypto    # The export-restricted cryptography code

Your worries are well-founded. :-) This would indeed blow away
everything except the "src" tree.  If you specify a "tag" (or anything
else) in a "*default" line, then it applies to all subsequent
collections that don't override the setting with something else.

Here's one solution:

        *default host=cvsup4.FreeBSD.org
        *default prefix=/usr
        *default base=/usr/local/etc/cvsup
        *default release=cvs delete use-rel-suffix compress

        src-all         tag=RELENG_3
        cvs-crypto      tag=RELENG_3
        doc-all         tag=.
        ports-all       tag=.

        # And, if you really want them ...
        distrib         tag=.
        www             tag=.

I deleted your initial "*default tag=.", which didn't do anything
since it was overridden by the later "*default ... tag=RELENG_3".

Also I changed the host, because cvsup.freebsd.org is badly overloaded
while the other three US mirrors are cruising.  They are all
equivalent in that they all update themselves hourly from the master
repository on freefall.

You could leave out the "base=/usr/local/etc/cvsup", since that's
the default.

Another way you could get what you want is like this:

        *default host=cvsup4.FreeBSD.org
        *default prefix=/usr
        *default base=/usr/local/etc/cvsup
        *default release=cvs tag=. delete use-rel-suffix compress

        src-all         tag=RELENG_3
        cvs-crypto      tag=RELENG_3
        doc-all
        ports-all

        # And, if you really want them ...
        distrib
        www

Here, I put "tag=." as a default since it's the most common case.
Then I overrode it in the two collections that need to be RELENG_3.

And as a third option, you could do this:

        *default host=cvsup4.FreeBSD.org
        *default prefix=/usr
        *default base=/usr/local/etc/cvsup
        *default release=cvs delete use-rel-suffix compress

        *default tag=RELENG_3
        src-all
        cvs-crypto

        *default tag=.
        doc-all
        ports-all

        # And, if you really want them ...
        distrib
        www

John
---
  John Polstra                                               jdp@polstra.com
  John D. Polstra & Co., Inc.                        Seattle, Washington USA
  "Nobody ever went broke underestimating the taste of the American public."
                                                            -- H. L. Mencken

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.990123174339.jdp>