[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Remove tools/buildbot from tarballs?

From: Stefan Sperling <stsp_at_elego.de>
Date: Wed, 19 Mar 2014 08:43:34 +0100

On Wed, Mar 19, 2014 at 12:51:40AM +0000, Philip Martin wrote:
> Ben Reser <ben_at_reser.org> writes:
>
> > The 1.9.0-alpha2 release artifacts are now available for testing/signing.
>
> Is it worth stripping tools/buildbot from the tarball?

+1 I don't think anyone compiling from a tarball needs these files.

Index: tools/dist/dist.sh
===================================================================
--- tools/dist/dist.sh (revision 1578108)
+++ tools/dist/dist.sh (working copy)
@@ -228,6 +228,12 @@ ver_major=`echo $VERSION | cut -d '.' -f 1`
 ver_minor=`echo $VERSION | cut -d '.' -f 2`
 ver_patch=`echo $VERSION | cut -d '.' -f 3`
 
+# Remove tools/dev/buildbot from our distribution tarball.
+# End users cannot really do anything with these files.
+if [ "$ver_major" -eq "1" -a "$ver_minor" -ge "9" ]; then
+ rm -rf "$DISTPATH/tools/buildbot"
+fi
+
 # Remove contrib/ from our distribution tarball. Some of it is of
 # unknown license, and usefulness.
 # (See http://svn.haxx.se/dev/archive-2009-04/0166.shtml for discussion.)
Received on 2014-03-19 08:44:17 CET

This is an archived mail posted to the Subversion Dev mailing list.