From: Guido Günther Date: Thu, 22 Aug 2013 08:47:15 +0000 (+0200) Subject: docs: Add recommended branch layout X-Git-Tag: debian/0.6.3~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=388cfb8fa9912f63168e6150a940e3a0f4cd71ed;p=tools%2Fgit-buildpackage.git docs: Add recommended branch layout It'd be nice to have similar branch layouts among packages so recommend one that worked well so far. --- diff --git a/docs/chapters/import.sgml b/docs/chapters/import.sgml index ddb38715..231e36c3 100644 --- a/docs/chapters/import.sgml +++ b/docs/chapters/import.sgml @@ -232,6 +232,76 @@ upstream-tag = v%(version)s + + Branch layout + + By default &gbp; uses one branch to keep the Debian packaging called master + and a branch to keep the upstream packaging called upstream. + + + This layout is simple to get started but fails short if one needs to maintain several versions of + the package at the same time. Therefore the following layout is recommended: + + + + + + debian/<release> + + + + the Debian packaging for a release jessie, + wheezy or sid, experimental. + + + + + + upstream/<release> + + + + the upstream sources for a release matching one of the above + + + + + + security/<release> + + + + security updates for a certain release + + + + + + backports/<release> + + + + security updates for a certain release + + + + + + dfsg/<release> + + + + the dfsg clean upstream sources in case the cleanup is done via a &git; + merge from upstream to this branch. + + + + + + In case &pristine-tar; is being used there will be a single pristine-tar + branch that keeps all binary deltas. + +