Proposal: Handling of changelog bug closures in Debian derived distros
  Home FAQ Contact Sign in
linux.debian.project only
 
Advanced search
POPULAR GROUPS

more...

linux.debian.project Profile…
 Up
Proposal: Handling of changelog bug closures in Debian derived distros         


Author: Guillem Jover
Date: Nov 13, 2006 22:20

Hi,

Right now there's no clean way for a Debian derivative to close bugs
specific to their distro in a changelog entry and then distinguish
those from Debian bugs.

I'd like that developers from derivatives would get involved in this
discussion so that we can get a general solution for everyone, as I
think Debian should be responsible for providing the infrastructure
to do that.

As an example, say package foo_1.0-2 is in Debian, then distro Naibed
takes it and modifies some stuff and gets versions foo_1.0-2naibed1
and foo_1.0-2naibed2. If this distro wants to automatically parse
the changelog for version tracking or when including a mix of changelog
entries from Debian and Naibed at upload time, then it needs a way to
distinguish the bugs from versions <= 1.0-2 (Debian specific) to the
ones from versions >= 1.0-2naibed1 (Naibed specific). We cannot assume
that Naibed will not use 'unstable' as the target suite, though.
Show full article (3.85Kb)
14 Comments
Re: Proposal: Handling of changelog bug closures in Debian derived distros         


Author: Bart Martens
Date: Nov 14, 2006 03:10

Hi Guillem,

On Tue, 2006-11-14 at 08:11 +0200, Guillem Jover wrote:
> Right now there's no clean way for a Debian derivative to close bugs
> specific to their distro in a changelog entry and then distinguish
> those from Debian bugs.

Yes, "for a Debian derivative".
> I'd like that developers from derivatives would get involved in this
> discussion

Absolutely. It's in the interest of the derivatives.

I don't think that the Debian project should lead this discussion.

How many derivatives currently automatically parse the changelogs to
update their bug tracking systems? Maybe only Ubuntu, I'm not sure.
> so that we can get a general solution for everyone,

A solution for the derivative. Or for multiple derivatives if they
agree on using the same solution. I don't think it's a solution for
Debian.
> as I
> think Debian should be responsible for providing the infrastructure
> to do that.
Show full article (1.64Kb)
1 Comment
Re: Proposal: Handling of changelog bug closures in Debian derived distros         


Author: Henrique de Moraes Holschuh
Date: Nov 14, 2006 07:10

On Tue, 14 Nov 2006, Bart Martens wrote:
> I don't think that the Debian project should lead this discussion.

We are the origin of the tools, and we are the "upstream" for them, so
*yes*, we are to be part of, and maybe even lead this discussion.
> No, I don't think that Debian is responsible for helping derivatives to
> automate the updating of the derivatives' bug tracking systems.
>
> Don't get me wrong, there's nothing wrong with cooperating with Ubuntu
> or other derivatives. But I think that joint efforts should make Debian
> better. If not then I wonder if Debian should do the efforts.

It will make my life as a DD easier when maintaining my Debian packages
where I want to merge from other debian-based distros, or if we have a
cross-distro co-maintenance of a package...

This is, as usual, something we better join in so that a good-for-everyone
solution is found and implemented before it results in too many work for all
involved.
Show full article (1.32Kb)
no comments
Re: Proposal: Handling of changelog bug closures in Debian derived distros         


Author: Anthony Towns
Date: Nov 14, 2006 08:40

On Tue, Nov 14, 2006 at 08:11:01AM +0200, Guillem Jover wrote:
> foo (1.0-2naibed2) quux; urgency=low, origin=naibed
> foo (1.0-2naibed1) quux; urgency=low, origin=naibed
> foo (1.0-2) unstable; urgency=high

Neat.

Presumably Debian should REJECT uploads with an Origin: field other than
"debian", no?

Would it be more pleasant to have something like:
> foo (1.0-2naibed1) naibed/quux; urgency=low

instead?

Would it be worth requiring:
> foo (1.0-2) debian/unstable; urgency=high

or
> foo (1.0-2) unstable; urgency=high, origin=debian

for Debian uploads?

Cheers,
aj

-----BEGIN PGP SIGNATURE-----
Show full article (0.75Kb)
4 Comments
Re: Proposal: Handling of changelog bug closures in Debian derived distros         


Author: Thomas Viehmann
Date: Nov 14, 2006 09:20

Anthony Towns wrote:
> Presumably Debian should REJECT uploads with an Origin: field other than
> "debian", no?
Might be nice, on the other hand...
> Would it be more pleasant to have something like:
>> foo (1.0-2naibed1) naibed/quux; urgency=low
> instead?

...wouldn't something like this amount to having
> Distribution: naibed/quux
in .changes. This might actually be desirable and would be already
implemented in dak?
> Would it be worth requiring:
>> foo (1.0-2) debian/unstable; urgency=high
> or
>> foo (1.0-2) unstable; urgency=high, origin=debian
> for Debian uploads?

Wouldn't the benefit be deminished by dch et al. producing changelog
entries suited for upload to Debian by default?
If derivatives change this, their packages woudln't go into Debian anyways.
Show full article (0.99Kb)
no comments
Re: Proposal: Handling of changelog bug closures in Debian derived distros         


Author: Manoj Srivastava
Date: Nov 14, 2006 10:00

On Wed, 15 Nov 2006 01:59:52 +1000, Anthony Towns
azure.humbug.org.au> said:
> On Tue, Nov 14, 2006 at 08:11:01AM +0200, Guillem Jover wrote:
>> foo (1.0-2naibed2) quux; urgency=low, origin=naibed foo
>> (1.0-2naibed1) quux; urgency=low, origin=naibed foo (1.0-2)
>> unstable; urgency=high
> Neat.
> Presumably Debian should REJECT uploads with an Origin: field other
> than "debian", no?
> Would it be more pleasant to have something like:
>> foo (1.0-2naibed1) naibed/quux; urgency=low
> instead?
> Would it be worth requiring:
>> foo (1.0-2) debian/unstable; urgency=high
> or
>> foo (1.0-2) unstable; urgency=high, origin=debian
> for Debian uploads?
Show full article (1.38Kb)
1 Comment
Re: Proposal: Handling of changelog bug closures in Debian derived distros         


Author: Martin Schulze
Date: Nov 14, 2006 10:20

Manoj Srivastava wrote:
> No, please don't/ It is one thing to patch dpkg to make things
> easier for the derivatives (on the other hand, they can patch their
> own version of dpkg), it is another to change how uplaods work in
> Debian, or to reject uploads to Debian because one forgot add the
> debian origin.

Another thing: Whatever you do, don't do it on stable or security builds
will end up in the void.

Regards,

Joey

--
Still can't talk about what I can't talk about. Sorry. -- Bruce Schneier

--
To UNSUBSCRIBE, email to debian-project-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
no comments
Re: Proposal: Handling of changelog bug closures in Debian derived distros         


Author: Matt Zimmerman
Date: Nov 14, 2006 14:00

On Tue, Nov 14, 2006 at 08:11:01AM +0200, Guillem Jover wrote:
> * Using a different "Closes:" name, which just sidetracks the issue
> if every derivative have to use a different name, this does not
> scale. (Example: Maemo uses "Fixes:" instead of "Closes:" [1],
> and there's a proposal in Ubuntu to do something similar with
> a different name[3]).

FTR, the syntax agreed upon for Launchpad (and thus Ubuntu) is:

LP: #xxx

which is not arbitrary or ambiguous like fixes vs. closes.
> [...]
> which are wrong, ugly or may need a central registration place to avoid
> collisions either in the mnemonic or the "alternative" closure syntax.
> Probably the cleanest one is the "Closes Ubuntu:" approach.

I don't see a problem with the approach we've chosen for Launchpad (which
will also cover several Ubuntu derivatives).

Likewise, I think that qualifying it with the distribution name is perfectly
OK; that's already unique enough.
Show full article (1.93Kb)
1 Comment
Re: Proposal: Handling of changelog bug closures in Debian derived distros         


Author: Tollef Fog Heen
Date: Nov 16, 2006 17:10

Guillem Jover skrev:

[...]
> which are wrong, ugly or may need a central registration place to avoid
> collisions either in the mnemonic or the "alternative" closure syntax.
> Probably the cleanest one is the "Closes Ubuntu:" approach.

(With my Ubuntu, not my Debian hat on)

While closing bugs will the by far most usual action, we do also want to
have the ability to relate an upload to a specification or similar in
Launchpad, which is why we don't think a "Closes:" syntax alone is enough.

What are your thoughts on this matter?

- tfheen

--
To UNSUBSCRIBE, email to debian-project-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
4 Comments
Re: Proposal: Handling of changelog bug closures in Debian derived distros         


Author: Tollef Fog Heen
Date: Nov 17, 2006 12:50

Guillem Jover skrev:
> For "specs" I would add a new syntax, which could be used by everyone
> equally, even Debian could start using it if desired. Do launchpad specs
> have a numeric value or are just strings?

They are just strings. But, as I wrote, they are just one example; we
would probably want to associate uploads and bzr branches as well. The
LP syntax could be LP: #123 for closing bugs, LP: spec $specname for
associating with a spec, and LP: bzr $product/$branchname (or something
similar) for associating bzr branches with an upload.
> What about "Implements: foo" (or similar), a proper regex would have
> to be defined, but you get the idea.

Specs generally aren't implemented by a single upload, so it would be
Spec-related or something like that.

I would rather just have a namespace allocation and derivatives can do
whatever they want within their namespace, but to a certain degree I see
why this is problematic and it seems you are unhappy with that?

- tfheen
Show full article (1.14Kb)
2 Comments
1 2