[RFC] Tools/ script for automatically making a tar out of svn sources

Brooks Davis brooks at freebsd.org
Thu Dec 10 21:23:57 UTC 2009


On Wed, Dec 09, 2009 at 10:27:58PM +0200, Eitan Adler wrote:
> The attached script is designed to work with the 20+ ports that
> currently have to resort to hacks to automatically figure out the head
> version, checkout from svn, make a tar file, and then upload the file
> to freefall.
> 
> It is based on some my earlier work/proposals
> (http://wiki.freebsd.org/EitanAdler/ports-svn) to put this directly
> into ports.*.mk. While that proposal was rejected by a large part of
> the community making a simple standard script to put into Tools was
> suggested by a few people as a better solution and one more likely to
> get accepted by the community and portmgr.
> 
> This port requires that three values be defined in the ports Makefile.
> Of these two are already defined for most of the ports that use the
> hacks mentioned above.
> USE_SCM="svn" is required as I plan on including support for other
> common SCMs that might be used in the ports collection already (git
> and cvs come to mind)
> SVN_REV=12345 is required unless you use the "-h" option which gets
> the version from head
> SVN_URL=svn://goo.com/svn_repo - this is where the source is fetched from.
> 
> If I could get any comments (1) on the script in particular and (2) if
> the approach I'm taking now is better than the one I tried a few weeks
> ago (see wiki page) it would be really good.

I don't see the script.

-- Brooks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20091210/1e67a126/attachment.pgp


More information about the freebsd-ports mailing list