]> git.pld-linux.org Git - packages/closure-compiler.git/commitdiff
- script to make changelogs
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 29 Feb 2012 05:21:56 +0000 (05:21 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gen-changes.sh -> 1.1

gen-changes.sh [new file with mode: 0644]

diff --git a/gen-changes.sh b/gen-changes.sh
new file mode 100644 (file)
index 0000000..47b3804
--- /dev/null
@@ -0,0 +1,24 @@
+#!/bin/sh
+p=closure-compiler
+svn=http://$p.googlecode.com/svn/trunk
+
+set -x
+set -e
+x=$-
+
+# create svn diff and svn log based on revision ranges for each release
+svnlogs() {
+       set -$x
+       local date=$1 range=$2
+       test -e changes.$date.txt || {
+               svn diff $svn -r$range > svn.tmp && mv svn.tmp changes.$date.txt
+       }
+       test -e log.$date.txt || {
+               svn log $svn -r$range > svn.tmp && mv svn.tmp log.$date.txt
+       }
+}
+
+svnlogs 20111114 1459:1592
+svnlogs 20111003 1346:1459
+svnlogs 20110811 1314:1346
+svnlogs 20110804 1180:1314
This page took 0.041164 seconds and 4 git commands to generate.