Re: [debian] where to document branch layout

2008-07-20 Thread Guido Günther
On Wed, Jul 16, 2008 at 12:04:38AM +0200, Stefano Zacchiroli wrote:
 On Tue, Jul 15, 2008 at 01:45:16PM -0700, Russ Allbery wrote:
[..snip..] 
  FWIW, I've been keeping notes on what I'm personally doing at:
  http://www.eyrie.org/~eagle/notes/debian/git.html
Very interesting reading!
 
 This is very interesting, thanks a lot for it! What others here do think
 of the workflow / branch layout you propose? Are there any other usual
 suspect as possible workflows / layouts?
Despite of filtering non dfsg things out onto upstream/ already I
usually import the verbatim upstream sources as is and create a
dfsg-clean branch instead:

git-branch dfsg-clean upstream
rm doc/rfc*

and in $REPO/.git.conf:

[git-buildpacakge]
upstream-branch = dfsg-clean

[git-import-orig]
debian-branch = dfsg-clean

This lets git-buildpackage build the orig.tar.gz form dfsg-clean 
while git-import-orig merges onto dfsg-clean instead of master (so if
you've removed the rfcs once, they'll stay gone forever).  This is has
the minimal advantage that co-maintainers don't have to worry about the
correct import line when importing new upstream versions.

Concerning backports I'm usually using bpo/release branches (e.g.
bpo/sarge, bpo/etch). This way you can handle backports for different
versions easily. I also keep the simple just add another changelog
entry changes there so that I have a history of what versions were
backported.
Cheers,
 -- Guido

___
vcs-pkg-discuss mailing list
vcs-pkg-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/vcs-pkg-discuss


Re: [debian] where to document branch layout

2008-07-15 Thread Russ Allbery
Stefano Zacchiroli [EMAIL PROTECTED] writes:

 My question is whether we have a guideline about *where* to document
 branch layout for a given package. Regarding Debian,
 debian/README.source comes to mind quickly, but its current description
 in policy does not make it clear that it is the suitable place where to
 document branch layout.

The intention is to use that file for anything that helps explain how to
make changes to a Debian source package.  I think this would qualify.

 A more general question is whether there is a fixed set of well known
 branch layouts that can be written down so that we can reference each
 layout with a clear name. If this is so, I believe this is the right
 place where to attempt defining such a set.

FWIW, I've been keeping notes on what I'm personally doing at:

http://www.eyrie.org/~eagle/notes/debian/git.html

-- 
Russ Allbery ([EMAIL PROTECTED]) http://www.eyrie.org/~eagle/

___
vcs-pkg-discuss mailing list
vcs-pkg-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/vcs-pkg-discuss