From e811fbc3d227fc704004e94d0cb70f7575f21e65 Mon Sep 17 00:00:00 2001 From: ranke Date: Fri, 15 Dec 2006 21:05:02 +0000 Subject: Initial import git-svn-id: svn+ssh://stiller/home/schatz/reps/r-backports@1 f247ebf9-aa24-0410-a698-f940e971ad2b --- add_changelog_entry.sh | 6 ++++++ changelog_entry | 6 ++++++ clean.sh | 5 +++++ edit_changelogs.py | 22 ++++++++++++++++++++++ get_sources.sh | 9 +++++++++ 5 files changed, 48 insertions(+) create mode 100644 add_changelog_entry.sh create mode 100644 changelog_entry create mode 100644 clean.sh create mode 100644 edit_changelogs.py create mode 100644 get_sources.sh 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 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 ' + +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 -- cgit v1.2.1