[SCM] FFmpeg packaging branch, master, updated. upstream/0.svn20090204-81-g932751d

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Tue Mar 3 13:58:30 UTC 2009


The following commit has been merged in the master branch:
commit 932751dd7df335cd904e5f1b08ae7bc3fa2a8173
Author: Reinhard Tartler <siretart at tauware.de>
Date:   Tue Mar 3 14:57:30 2009 +0100

    further improvements to README.upstream-upgrade
    
    the checklist now contains all commands in a copy'n'paster compatible
    fashion. This makes it more trivial to test an upstream upgrade in a
    staging directory before doing this step in the 'production branch'.
    
    also the order was a bit changed. Now the 'master' branch is finalized
    before merging into the unstripped.master branch. This avoids
    unnecessary merges.

diff --git a/debian/README.upstream-upgrade b/debian/README.upstream-upgrade
index 2294a96..fcf9568 100644
--- a/debian/README.upstream-upgrade
+++ b/debian/README.upstream-upgrade
@@ -13,37 +13,52 @@ Stage in a tmp directory:
   branches="master.unstripped pristine-tar upstream upstream.unstripped"
   for b in $branches; do git checkout -b $b origin/$b ; done
 
-The following commands are intended to be copy&pastable.
+Prepare the environment:
 
- - run 'SVNDATE=`date +%Y%m%d`'
- - run 'git checkout master'
- - run 'debian/rules get-orig-source SVN_VERSION=${SVNDATE}'
- - run 'git-import-orig \
+  SVNDATE=`date +%Y%m%d`
+  git checkout master
+
+Fetch and commit the new upstream version:
+
+  debian/rules get-orig-source SVN_VERSION=${SVNDATE}
+  git-import-orig \
             --debian-branch=master \
             --upstream-branch=upstream \
             --pristine-tar \
+	    --no-dch \
             --upstream-tag=upstream/0.svn${SVNDATE} \
-            ../ffmpeg-debian_0.svn${SVNDATE}.orig.tar.gz'
- - check and note the svn revision numbers from ffmpeg/{libswscale,}.svnrevision
-   in debian/changelog
- - run 'git diff upstream^ Changelog libavcodec/allcodecs.c libavformat/allformats.c'
- - document new formats additions in debian/changelog
- - commit debian/changelog
- - run 'git checkout master.unstripped'
- - run 'git-import-orig \
+            ../ffmpeg-debian_0.svn${SVNDATE}.orig.tar.gz
+
+  git checkout master.unstripped
+  git-import-orig \
             --debian-branch=master.unstripped \
             --upstream-branch=upstream.unstripped \
             --pristine-tar \
+	    --no-dch \
             --upstream-tag=upstream.unstripped/0.svn${SVNDATE}-unstripped \
             --upstream-version=0.svn${SVNDATE}-unstripped \
-            ../ffmpeg_0.svn${SVNDATE}.orig.tar.gz'
- - run 'git checkout master.unstripped'
- - run 'git merge master'
- - resolve the conflicts, hopefully the only conflict is in debian/changelog
-   NB: libavcodec/allcodecs.c must match upstream.unstripped!
- - run 'git checkout master'
- - build the package, compare against the the version already in the archive
-   - headers in the -dev packages with 
-   - soname in the libraries
-   - formats.txt in the libavcodecs package
+            ../ffmpeg_0.svn${SVNDATE}.orig.tar.gz
+
+  git checkout master
+
+Check and note the svn revision numbers from
+ffmpeg/{libswscale,}.svnrevision in debian/changelog
+
+  git diff upstream^ Changelog libavcodec/allcodecs.c libavformat/allformats.c
 
+Document new formats additions in debian/changelog
+
+Build, test, and compare against the the version already in the archive:
+  - headers in the -dev packages with 
+  - soname in the libraries
+  - formats.txt in the libavcodecs package
+
+Finialize debian/changelog, package should be upload ready now
+
+Merge improvements and changes from master branch to master.unstripped:
+
+  git checkout master.unstripped
+  git merge master
+
+Resolve the conflicts, hopefully the only conflict is in debian/changelog
+   NB: libavcodec/allcodecs.c must match upstream.unstripped!

-- 
FFmpeg packaging



More information about the pkg-multimedia-commits mailing list