Richard Schilling
2003-Jun-13 11:11 UTC
cvsup with tag=. on src and upgrading (in general)
I'm just getting into regular use with cvsup (way over do on that one), and I tried to specify a tag=. in the cvsup file. Here's the file: # This file specifies src files are to be uploaded. *default host=cvsup2.FreeBSD.org # *default tag=RELENG_5_1_0_RELEASE *default tag=. *default prefix=/usr *default release=cvs delete use-rel-suffix compress *default base=/usr/local/etc/cvsup src-all The documentation says tag=. will download the actual CVS directories so I can review changes/diffs, but I don't see them present in the code. Just the top level directory has it and it looks like it's for 4.X. Did I do something wrong with the cvsup file? Next question has to do with upgrading. I have 4.6 src installed, but I cvsup'd RELENG_5_1_0_RELEASE. Does jumping several releases/sub-releases like that cause problems? Or, in other words, is it wiser to do incremental upgrades? --Richard Schilling
I don't think you can do a 4.x -> 5.1 upgrade right now, it won't compile world. You can do a binary in-place upgrade, but I would recommend doing a clean install somewhere and then copying the data over, as 5.x is fairly different and an in-place upgrade will leave you with some old files lying around. - Mike H. X-Original-To: mvh@localhost Date: Fri, 13 Jun 2003 11:08:49 -0700 From: Richard Schilling <rschi@rsmba.biz> Content-Disposition: inline Sender: owner-freebsd-stable@freebsd.org X-Spam-Status: No, hits=-5.4 required=5.0 tests=BAYES_01 version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) I'm just getting into regular use with cvsup (way over do on that one), and I tried to specify a tag=. in the cvsup file. Here's the file: # This file specifies src files are to be uploaded. *default host=cvsup2.FreeBSD.org # *default tag=RELENG_5_1_0_RELEASE *default tag=. *default prefix=/usr *default release=cvs delete use-rel-suffix compress *default base=/usr/local/etc/cvsup src-all The documentation says tag=. will download the actual CVS directories so I can review changes/diffs, but I don't see them present in the code. Just the top level directory has it and it looks like it's for 4.X. Did I do something wrong with the cvsup file? Next question has to do with upgrading. I have 4.6 src installed, but I cvsup'd RELENG_5_1_0_RELEASE. Does jumping several releases/sub-releases like that cause problems? Or, in other words, is it wiser to do incremental upgrades? --Richard Schilling _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
> Date: Fri, 13 Jun 2003 11:08:49 -0700 > From: Richard Schilling <rschi@rsmba.biz> > Sender: owner-freebsd-stable@freebsd.org > > I'm just getting into regular use with cvsup (way over do on that one), > and I tried to specify a tag=. in the cvsup file. Here's the file: > > > # This file specifies src files are to be uploaded. > *default host=cvsup2.FreeBSD.org > # *default tag=RELENG_5_1_0_RELEASE > *default tag=. > *default prefix=/usr > *default release=cvs delete use-rel-suffix compress > *default base=/usr/local/etc/cvsup > src-all > > > > > The documentation says tag=. will download the actual CVS directories > so I can review changes/diffs, but I don't see them present in the > code. Just the top level directory has it and it looks like it's for > 4.X. > > Did I do something wrong with the cvsup file? > > Next question has to do with upgrading. I have 4.6 src installed, but > I cvsup'd RELENG_5_1_0_RELEASE. Does jumping several > releases/sub-releases like that cause problems? Or, in other words, is > it wiser to do incremental upgrades?A tag of "." should give you the source tree for CURRENT. '.' is HEAD in cvs terms. I see a couple of odd things in your supfile: Does /usr/local/etc/cvsup exist? Normally base and prefix are the same thing, but I don't see why this would not work. The example files use a base of /usr (same as the value of prefix). I would tend to suggest updating to at least 4.7 (and, in that case, why not 4.8 or STABLE) before jumping to 5. The jump to v5 is huge and I'd want to do it from as close a point as possible. Read the release notes and UPDATING carefully, especially the section near the end on moving from V4 to V5. There are two special things that must be done here to accommodate the new loader and the new compiler. Failure to do the first will cause your old kernel to boot. Failure to do the second will leave your header files hosed with unpredictable results. If you run cvsup with the -L2 option, you will get a log of all files that are transferred. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634
On Friday 13 June 2003 7:08 pm, Richard Schilling wrote:> I'm just getting into regular use with cvsup (way over do on that one), > and I tried to specify a tag=. in the cvsup file. Here's the file: > > > # This file specifies src files are to be uploaded. > *default host=cvsup2.FreeBSD.org > # *default tag=RELENG_5_1_0_RELEASE > *default tag=. > *default prefix=/usr > *default release=cvs delete use-rel-suffix compress > *default base=/usr/local/etc/cvsup > src-all > > > > > The documentation says tag=. will download the actual CVS directories > so I can review changes/diffs, but I don't see them present in the > code. Just the top level directory has it and it looks like it's for > 4.X.Take a look at these example files alpha# ls /usr/share/examples/cvsup README ports-supfile standard-supfile cvs-supfile refuse www-supfile doc-supfile refuse.README gnats-supfile stable-supfile If you want a "local copy of the repository" you want cvs-supfile. [clue: tag is never set] This puts the files in /home/ncvs. *Then* you can use cvs to checkout the source, review changes/diffs WHY. Re-read the docs. If you still think is says use tag=. post a quote: That's a bug in the documentation.> > Did I do something wrong with the cvsup file? > > Next question has to do with upgrading. I have 4.6 src installed, but > I cvsup'd RELENG_5_1_0_RELEASE. Does jumping several > releases/sub-releases like that cause problems? Or, in other words, is > it wiser to do incremental upgrades? > > --Richard Schilling > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"-- ian j hart Quoth the raven, bite me! Salem Saberhagen (Episode LXXXI: The Phantom Menace)
Garance A Drosihn
2003-Jun-13 16:06 UTC
cvsup with tag=. on src and upgrading (in general)
At 11:08 AM -0700 6/13/03, Richard Schilling wrote:> >The documentation says tag=. will download the actual CVS >directories so I can review changes/diffs, but I don't see >them present in the code. Just the top level directory has >it and it looks like it's for 4.X. > >Did I do something wrong with the cvsup file?If you want the CVS directories, then you should not specify any tag. A tag of '.' means "the head branch". What were you looking at that recommended a tag of '.' for the CVS repositories? Also note that if you use no-tag, you get the CVS repository. That means you'll see filenames like lpr.1,v lpr.c,v and not: lpr.1 lpr.c As someone else suggested, look at the sample cvs-config files that are in /usr/share/examples/cvsup -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu
You seem to want to cvsup in cvs mode, but not in checkout mode, in man cvsup terminology. If my guess is correct, remove "tag=." reference, and don't add "date=". No tag, no date is the default cvs mode. You wil get the cvs repository. HTH, horio shoichi On Fri, 13 Jun 2003 11:08:49 -0700 Richard Schilling <rschi@rsmba.biz> wrote:> I'm just getting into regular use with cvsup (way over do on that one), > and I tried to specify a tag=. in the cvsup file. Here's the file: > > > # This file specifies src files are to be uploaded. > *default host=cvsup2.FreeBSD.org > # *default tag=RELENG_5_1_0_RELEASE > *default tag=. > *default prefix=/usr > *default release=cvs delete use-rel-suffix compress > *default base=/usr/local/etc/cvsup > src-all > > > > > The documentation says tag=. will download the actual CVS directories > so I can review changes/diffs, but I don't see them present in the > code. Just the top level directory has it and it looks like it's for > 4.X. > > Did I do something wrong with the cvsup file? > > Next question has to do with upgrading. I have 4.6 src installed, but > I cvsup'd RELENG_5_1_0_RELEASE. Does jumping several > releases/sub-releases like that cause problems? Or, in other words, is > it wiser to do incremental upgrades? > > --Richard Schilling > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >