On 03/19/11 18:10, Garrett Cooper wrote:
On Sat, Mar 19, 2011 at 4:06 PM, Nathan Whitehorn
<nwhiteh...@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
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"