Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Jan 2002 15:07:55 -0700
From:      Nate Williams <nate@yogotech.com>
To:        Garance A Drosihn <drosih@rpi.edu>
Cc:        nate@yogotech.com (Nate Williams), "Matthew D. Fuller" <fullermd@over-yonder.net>, arch@FreeBSD.ORG
Subject:   Re: Adding support for a global src tree serial number
Message-ID:  <15449.49211.508201.314013@caddis.yogotech.com>
In-Reply-To: <p05101401b87f6aaa81ab@[128.113.24.47]>
References:  <3C5944A4.4927F812@mindspring.com> <80628.1012484102@axl.seasidesoftware.co.za> <15449.30438.698921.182380@caddis.yogotech.com> <20020131173702.J77899@genius.tao.org.uk> <20020131183321.GA59544@gattaca.yadt.co.uk> <20020131184230.D84715@genius.tao.org.uk> <20020131150720.A33201@over-yonder.net> <15449.45750.572076.480900@caddis.yogotech.com> <p05101401b87f6aaa81ab@[128.113.24.47]>

next in thread | previous in thread | raw e-mail | index | archive | help
> >  > > The problem is where to put the serial number, and how to
> >  > > distribute it.  It needs to be maintained in a ,v file for cvs
> >  > > to be able to check it out.  That adds additional complexity.
> >  >
> >  > Note also the additional trouble of underhandedly hand-crafting a
> >  > ,v-alike file will break checking out a revision other than the
> >  > absolute latest on the branch, since you'll end up with either no
> >  > serial, or still the latest serial, depending on how the file is
> >  > crafted.
> >
> >In general, that would only be a problem with folks that have the
> >CVS tree who have updated their CVS tree but have not updated their
> >/usr/src tree.
> 
> Would it work for me?  I have a local cvs tree which I update using
> cvsup.  It exists in a separate partition, /usr/cvs

My proposal would work for you, since the 'file' would have at least one
revision in it for every branch.

> The machine is a dual-boot machine (-stable and -current).  Both systems
> mount the same /usr/cvs partition, and use it to update their respective
> /usr/src's.  How does each /usr/src get the correct serial-number, if the
> serial-number file is not in cvs?

That's my point.  I think it *has* to be in CVS.

> I agree that having the serial-number file in CVS is distasteful, due to
> how often it will be changed, but it seems to me that is the only way to
> have things work right for people who are using a local cvs
> repository.

We're in violent agreement here. :)



Nate

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




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