[Rt-commit] rt branch, 4.0/third-party-source, updated. rt-4.0.0-188-ga117e9d

Thomas Sibley trs at bestpractical.com
Fri May 6 14:22:12 EDT 2011


The branch, 4.0/third-party-source has been updated
       via  a117e9d99855427cbe95d3c97e43c39f6370639d (commit)
       via  b378af0e13c7d327ff27553b47c1fc7c68e2fa53 (commit)
      from  b3e3f1d268e014184b37faa884dcf764e10acaef (commit)

Summary of changes:
 .gitattributes |    1 +
 Makefile.in    |   15 +++++++++++++--
 2 files changed, 14 insertions(+), 2 deletions(-)

- Log -----------------------------------------------------------------
commit b378af0e13c7d327ff27553b47c1fc7c68e2fa53
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Fri May 6 13:50:53 2011 -0400

    Ignore third-party sources when exporting

diff --git a/.gitattributes b/.gitattributes
index c40ba2a..74feacb 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,2 +1,3 @@
 .gitignore export-ignore 
 .gitattributes export-ignore 
+devel/third-party export-ignore

commit a117e9d99855427cbe95d3c97e43c39f6370639d
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Fri May 6 14:21:20 2011 -0400

    Build and sign the third-party source tarball during make snapshot
    
    I broke the sha1sums into a separate target so that they all get printed
    in a lump at the end.

diff --git a/Makefile.in b/Makefile.in
index 115b032..65a2484 100755
--- a/Makefile.in
+++ b/Makefile.in
@@ -479,7 +479,8 @@ apachectl:
 	sleep 5
 
 SNAPSHOT=$(shell git describe --tags)
-snapshot: build-snapshot clearsign-snapshot
+THIRD_PARTY=devel/third-party/
+snapshot: build-snapshot build-third-party clearsign-snapshot clearsign-third-party snapshot-shasums
 
 build-snapshot:
 	git archive --prefix "$(SNAPSHOT)/"  HEAD | tar -xf -
@@ -494,7 +495,17 @@ build-snapshot:
 
 clearsign-snapshot:
 	gpg --detach-sign "$(SNAPSHOT).tar.gz"
-	sha1sum $(SNAPSHOT).tar.gz*
+
+build-third-party:
+	git archive --prefix "$(SNAPSHOT)/$(THIRD_PARTY)" HEAD:$(THIRD_PARTY) \
+		| gzip > "$(SNAPSHOT)-third-party-source.tar.gz"
+	rm -rf "$(SNAPSHOT)/$(THIRD_PARTY)"
+
+clearsign-third-party:
+	gpg --detach-sign "$(SNAPSHOT)-third-party-source.tar.gz"
+
+snapshot-shasums:
+	sha1sum $(SNAPSHOT)*.tar.gz*
 
 vessel-import: build-snapshot
 	[ -d $(VESSEL) ] || (echo "VESSEL isn't a path to your shipwright vessel" && exit -1)

-----------------------------------------------------------------------


More information about the Rt-commit mailing list