[packages/phantomjs/dev-2.1] upload produced diff to distfiles
glen
glen at pld-linux.org
Wed Mar 23 07:39:57 CET 2016
commit 4051aca4c6e1fcc505fe4eab9632d6d800c03203
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed Mar 23 08:33:27 2016 +0200
upload produced diff to distfiles
get-source.sh | 10 ++++++++++
1 file changed, 10 insertions(+)
---
diff --git a/get-source.sh b/get-source.sh
index 54fd5ce..0956397 100755
--- a/get-source.sh
+++ b/get-source.sh
@@ -54,14 +54,24 @@ filter() {
| sed -re '/^(diff --git|index|(new|old) |Binary files)/d'
}
+dropin() {
+ local dropin=./dropin
+ test -x $dropin || dropin=../dropin
+ test -x $dropin || return
+ $dropin "$@"
+}
+
get_package() {
local package=$1 ref=$2
+ echo >&2 ">> $package $tag..$ref"
export GIT_DIR=$package.git
fetch_package $package
git diff $tag..$ref --diff-filter=MA > diff.tmp
filter < diff.tmp > filtered.tmp
mv filtered.tmp $package.diff
xz -9f $package.diff
+ dropin $package.diff.xz
+ echo >&2 "<<"
}
get_package qtbase $phantom_qtbase
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/phantomjs.git/commitdiff/69dd6773d624915098a8723d30258340def5817a
More information about the pld-cvs-commit
mailing list