diff options
-rw-r--r-- | add_changelog_entry.sh | 6 | ||||
-rw-r--r-- | changelog_entry | 6 | ||||
-rw-r--r-- | clean.sh | 5 | ||||
-rw-r--r-- | edit_changelogs.py | 22 | ||||
-rw-r--r-- | get_sources.sh | 9 |
5 files changed, 48 insertions, 0 deletions
diff --git a/add_changelog_entry.sh b/add_changelog_entry.sh new file mode 100644 index 0000000..03f6710 --- /dev/null +++ b/add_changelog_entry.sh @@ -0,0 +1,6 @@ +#!/bin/bash +rbasedir=`ls -d r-base/r-base-*` +echo Adding changelog entry in $rbasedir +cat changelog_entry > changelog_tmp +cat $rbasedir/debian/changelog >> changelog_tmp +mv changelog_tmp $rbasedir/debian/changelog diff --git a/changelog_entry b/changelog_entry new file mode 100644 index 0000000..caa4776 --- /dev/null +++ b/changelog_entry @@ -0,0 +1,6 @@ +r-base (2.4.1-1~cran.1) etch-backports; urgency=low + + * Backport to etch for CRAN repository + + -- Johannes Ranke <jranke@uni-bremen.de> Fri, 15 Dec 2006 16:18:19 +0100 + diff --git a/clean.sh b/clean.sh new file mode 100644 index 0000000..7b3ccfa --- /dev/null +++ b/clean.sh @@ -0,0 +1,5 @@ +#!/bin/bash +rm -rf r-base/* +for i in boot cluster foreign kernsmooth lattice mgcv nlme rpart survival vr; do + rm -rf $i/* +done diff --git a/edit_changelogs.py b/edit_changelogs.py new file mode 100644 index 0000000..15b85fc --- /dev/null +++ b/edit_changelogs.py @@ -0,0 +1,22 @@ +#!/usr/bin/python +# edit_changelogs.py + +from debian_bundle.changelog import Changelog, Version + +author = 'Johannes Ranke <jranke@uni-bremen.de>' + +changelog = Changelog(r-base/r-base-) + +changelog.new_block(package='python-debian', + version=Version('0.1'), + distributions='unstable', + urgency='low', + author=author, + date='Thu, 3 Aug 2006 19:16:22 +0100', + ) + +changelog.add_change(''); +changelog.add_change(' * Welcome to changelog.py'); +changelog.add_change(''); + +print changelog diff --git a/get_sources.sh b/get_sources.sh new file mode 100644 index 0000000..59acbaf --- /dev/null +++ b/get_sources.sh @@ -0,0 +1,9 @@ +#!/bin/bash +cd r-base; +apt-get source -t unstable r-base +cd .. +for i in boot cluster foreign kernsmooth lattice mgcv nlme rpart survival vr; do + cd $i + apt-get source -t unstable r-cran-$i + cd .. +done |