Date: Sat, 19 Mar 2011 18:17:30 -0500 From: Nathan Whitehorn <nwhitehorn@freebsd.org> To: Garrett Cooper <gcooper@FreeBSD.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r219788 - head/release Message-ID: <4D85398A.7020008@freebsd.org> In-Reply-To: <AANLkTim92LpSA%2BZuy3WQjUTEDK=3Y7kmtMO_B0na=kLu@mail.gmail.com> References: <201103192306.p2JN6Inv037425@svn.freebsd.org> <AANLkTim92LpSA%2BZuy3WQjUTEDK=3Y7kmtMO_B0na=kLu@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 03/19/11 18:10, Garrett Cooper wrote: > On Sat, Mar 19, 2011 at 4:06 PM, Nathan Whitehorn > <nwhitehorn@freebsd.org> wrote: >> Author: nwhitehorn >> Date: Sat Mar 19 23:06:17 2011 >> New Revision: 219788 >> URL: http://svn.freebsd.org/changeset/base/219788 >> >> Log: >> Add support for checking out ports and doc trees from a CVS repository, >> in addition to CVSUP, and add support for alternate SVN roots for src. >> >> Requested by: jhb > > Although this seems good and all, wouldn't it make sense to split off > the pulling infrastructure into separate scripts so that someone could > have hooks to do: > > - pre-pull (create paths, whatever) > - pull > - post-pull (patch?) > > That way someone could choose any arbitrary SCM (git, hg, etc), > specify necessary configuration files, and apply local patches as > necessary. > Thanks, > -Garrett That's pretty much the point of having generate-release.sh be a different thing from 'make release'. You'll note that the script is very short (36 lines of code, a good chunk of which are an inline supfile), and could easily be adapted to suit any SCM. All it does is: 1. Check out source code 2. Build and install world into a chroot 3. Optionally check out doc/ports and install docproj ports 4. Run make release in the chroot The regular make release stuff only cares that src(/doc/ports) have shown up somehow on the host system and is well suited to the local patches or nonstandard SCM case. -Nathan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D85398A.7020008>