On Wed, Jan 04, 2012 at 04:53:51PM +0100, Daniel Dehennin wrote:
> Guido Günther <a...@sigxcpu.org> writes:
> 
> 
> [...]
> 
> > We generate the changelog from the information on the branch you're on
> > anyway so this should be the source of information assuming you're
> > maintaining at least on branch per debian release. topic branches are
> > fine since we need to pick the distribution from a pattern anyway not a
> > specific branch name.
> 
> I think I miss understand something, I apologize if I'm turning in
> round, the "branch name" is not directly related to the distribution
> name, isn't it?

It should be related so people tend to do things like:

topic/sid/switch-to-dh
topic/sid/add-gir
sid
bpo/etch
bpo/lenny
bpo/squeeze

Most of the branch layouts code the distribution in one way or the
other.

> The debian/changelog distribution field is UNRELEASED or unstable and
> the user can change it by editing the file[1].

Yes but we're also talking about autogenerating the changelog via
git-dch right?

> The branch name can be whatever use want, like ebo for etch-backports
> for example.

Yes, that's fine as long as he is able to specify this mapping.

> I think having on base-DIST-ARCH per distribution I maintain is more
> useful than per branch name.

What do we do in the UNRELEASED case? Fall back to the last changelog
line that sets a distribution?

> I can have many branches for on distribution (aka topic branches), their
> debian/changelog seems more relevant to me than the branch name.

Yes, that's fine as long as he is able to specify this mapping.

We have several places where we're repeating the same information:

        git-buildpackage --git-dist=sid --git-debian-branch=sid 
        git-dch --debian-branch=sid --dist=sid

So it'd be nicer to have something like:

        git-buildpackage --git-guess-by-branch
        git-dch --guess-by-branch

do the right thing. That said we can have both. I certainly wouldn't
object to a patch that sets the distribution based on the changelog in
case of --git-dist=changelog.
Cheers,
 -- Guido




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to