Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 May 2002 05:40:44 +0200
From:      Jean-Yves Lefort <jylefort@brutele.be>
To:        Matthew Hunt <mph@astro.caltech.edu>
Cc:        freebsd-ports@FreeBSD.ORG
Subject:   Re: Proposal: CVS as a fetch method for ports
Message-ID:  <20020517054044.6ffd97d1.jylefort@brutele.be>
In-Reply-To: <20020516160539.B46782@wopr.caltech.edu>
References:  <20020517005544.63ae12dd.jylefort@brutele.be> <20020516160539.B46782@wopr.caltech.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 16 May 2002 16:05:39 -0700
Matthew Hunt <mph@astro.caltech.edu> wrote:

> On Fri, May 17, 2002 at 12:55:44AM +0200, Jean-Yves Lefort wrote:
> 
> > 	"use cvs files as distfiles is not good idea."
> > 
> > Could some committer tell me why it is not a good idea?
> 
> Probably because, unless you "cvs co" with a -r or -D option that
> always results in the same code coming through, the port could stop
> building due to changes in the code.

It could, but experience shows that it rarely does. I maintain a CVS
port since a few months already, and I had to touch it three times
during that period: two fixes were a change in the packing list, and
only the last fix was needed in order to build the port again.

I have already experienced many build failures with 'normal' ports; what
is wrong in risking a build failure with a CVS port, if the different
nature of the port is clearly explained to the user?

When an user wants to build a project which is fetched using CVS, is it
easier for him to manually checkout, build, note down the packing list,
install, etc or to use a CVS port, downgrading to manual operation if
the build fails?

Not to mention that some projects even require the user to fetch the
sources using CVS. See the following examples:

- Uoti Urpala's XPilot (http://xpilot.sourceforge.net)
- xirssi (http://irssi.org/?page=cvs)

> Plus, I don't know how you would
> assign a version to the port (for packaging and the database of
> installed packages).

I would just assign the version choosed by the program's author. There
is absolutely no difference between a CVS port and a 'normal' port.

I would like to start working on the patch I have in mind; further
feedback will be highly appreciated.

Best regards,
Jean-Yves Lefort

-- 
Jean-Yves Lefort

jylefort@brutele.be
http://lefort.homeunix.org/

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




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