File: fetchlog

package info (click to toggle)
spl 1.0~pre4-3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 2,300 kB
  • ctags: 2,057
  • sloc: ansic: 16,076; yacc: 3,184; sh: 296; makefile: 180; xml: 156
file content (15 lines) | stat: -rw-r--r-- 561 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
# script to fetch upstream log - does require subversion-tools installed
# (c) 2008 by Gerfried Fuchs <rhonda@debian.at>
# Licenced the same way as spl itself

export LC_ALL=C

# extract upstream version
release=$(dpkg-parsechangelog | grep "^Version:" | cut -d" " -f2 | rev | cut -d- -f2 | rev | tr -d \~ )

# extract relevant svn revision
svn_rev=$(svn info http://svn.clifford.at/spl/tags/spl-$release/ | grep '^Last Changed Rev:' | awk '{print $4}')

# display upstream changelog
svn2cl -r $svn_rev:1 -i --stdout http://svn.clifford.at/spl/trunk/