[SCM] LibreOffice packaging repository branch, ubuntu-natty-3.3, updated. libreoffice_3.3.3-1-124-gd8108cd
The following commit has been merged in the ubuntu-natty-3.3 branch:
commit 5ea98eaca0b95c9b590f85efbb2599784ff8e102
Author: Bjoern Michaelsen <bjoern.michaelsen@canonical.com>
Date: Fri Sep 9 18:32:37 2011 +0200
added create-lo-update-patch.sh for creating small incremental updates
diff --git a/scripts/create-lo-update-patch.sh b/scripts/create-lo-update-patch.sh
new file mode 100755
index 0000000..b2d64b6
--- /dev/null
+++ b/scripts/create-lo-update-patch.sh
@@ -0,0 +1,52 @@
+#!/bin/sh
+
+REPOBASE=`readlink -f $1`
+FROMTAG=$2
+TOTAG=$3
+
+TMPDIR=`mktemp -d`
+PATCHFILE=$TMPDIR/libreoffice/libreoffice-build/patches/hotfixes/update-from-$FROMTAG-to-$TOTAG.diff
+mkdir -p `dirname $PATCHFILE`
+
+echo "commits from $FROMTAG to $TOTAG" > $PATCHFILE
+for repo in \
+ artwork \
+ base \
+ binfilter \
+ bootstrap \
+ calc \
+ components \
+ extensions \
+ extras \
+ filters \
+ help \
+ impress \
+ libs-core \
+ libs-extern \
+ libs-extern-sys \
+ libs-gui \
+ postprocess \
+ sdk \
+ testing \
+ translations \
+ ure \
+ writer
+do
+ if [ -d $REPOBASE/$repo.git ]
+ then
+ repodir=$REPOBASE/$repo.git
+ elif [ -d $REPOBASE/$repo ]
+ then
+ repodir=$REPOBASE/$repo
+ else
+ exit 1
+ fi
+ #echo "commits on repository $repo from $FROMTAG to $TOTAG"
+ git --git-dir=$repodir format-patch --stdout --subject-prefix="$repo" $FROMTAG..$TOTAG
+done | sed \
+ -e 's|^--- a/|--- |' \
+ -e 's|^+++ b/|+++ |' \
+>> $PATCHFILE
+
+cd $TMPDIR && diff -u /dev/null libreoffice/libreoffice-build/patches/hotfixes/update-from-$FROMTAG-to-$TOTAG.diff
+rm -rf $TMPDIR
--
LibreOffice packaging repository
Reply to: