[Pkg-zsh-commits] [zsh] 08/26: Workflow: Rework Changes

Axel Beckert abe at deuxchevaux.org
Wed Oct 8 21:14:37 UTC 2014


This is an automated email from the git hooks/post-receive script.

abe pushed a commit to branch debian
in repository zsh.

commit 1d1b8e1156a663ea95b4623c7359ffb39dcdc93d
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Wed Oct 8 21:20:33 2014 +0200

    Workflow: Rework Changes
---
 debian/pkg-zsh-workflow.md | 50 ++++++++++++++++++++++++++--------------------
 1 file changed, 28 insertions(+), 22 deletions(-)

diff --git a/debian/pkg-zsh-workflow.md b/debian/pkg-zsh-workflow.md
index 8bd474a..5b00197 100644
--- a/debian/pkg-zsh-workflow.md
+++ b/debian/pkg-zsh-workflow.md
@@ -48,28 +48,34 @@ Working on the package
 
 ### Changes
 
-Every change to the source (non-debian-dir) should be done by adding
-quilt patches. Permanent patches (patches that would be kept
-in 4.3.12-1) should be named specially (`deb_*` comes to mind).
-
-To keep order for cases in which a vast number of patches are
-required, any quilt patch needs to be numbered according to the order
-in which "quilt series" would list them. The format looks like this:
-
-* NNNN_<name>.diff
-* deb_NNNN_<name>.diff
-
-Where 'N' is a digit from 0 to 9. Counting starts at '0000'.
-
-Debian-specific (i.e. deb_NNNN_<name>.diff) patches should be applied
-after patches targeted towards upstream since the patches targeted for
-upstream should not be against debian-specific code.
-
-Every patch should have a short annotation above the actual unified
-diff content, outlining the status of the patch. It is especially
-important to know whether a change is already applied upstream because
-if so, the patch in question must be dropped before merging a new
-upstream release into the 'debian' branch.
+Every change to the source (outside the `debian` directory) must be
+done by adding quilt patches.
+
+#### Patch naming conventions
+
+* File names of patches which are not meant for upstream should be
+  prefixed with `debian-`.
+* File names of patches which are cherry-picked from upstream should be prefixed
+  with `cherry-pick-$shortcommitid` where `$shortcommitid` are the
+  first 8 characters of the upstream git commit id.
+
+In case a vast number of patches are required, quilt patches should be
+prefixed by ascending numbers according to the order in which "quilt
+series" would list them.
+
+#### Patch format
+
+Every patch should have
+[DEP3 conforming patch headers](http://dep.debian.net/deps/dep3/)
+above the actual unified diff content, outlining the status of the
+patch.
+
+Except for the obvious case of a cherry-picked patch from upstream
+(which should contain an `Origin: commit $commitid` header), it is
+important that the fields `Forwarded` and `Applied-Upstream` are kept
+uptodate to know whether a change is already applied upstream.  This
+helps to drop the right patches before merging a new upstream release
+into the 'debian' branch.
 
 
 #### Example of adding a fix via a quilt patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/zsh.git



More information about the Pkg-zsh-commits mailing list