[PATCH 1 of 2 logilab-mtconverter] Update Debian packaging

Jérémy Bobbio jeremy.bobbio at irq7.fr
Mon Jun 10 10:39:25 CEST 2019


Glad to see we agree on the last bits. :)

On 07/06/2019 09:04, Denis Laxalde wrote:
>> The last bit that might worth explaining then is switching from “1.0” to
>> “3.0 (quilt)”. There are two reasons to prefer the latter:
> The "quilt" part is a bit misleading to me because it seems to indicate
> that we'd eventually ship things in debian/patches whereas I tend to
> believe this would not happen since the Debian packaging is versioned
> along with the source package.

I think there might still be rare but reasonable cases to add Debian
specific patches.

One example I can think of:
A package needs to handle currencies so it needs to access a list as
defined by ISO 4217. For the package in PyPI, it's more convenient to
just put a full list in the source. But in Debian, the `iso-codes`
package already provides these data with nice and up-to-date
translations. In that case, it feels better to put `Depends: iso-codes`
and hardcode the path to the relevant files.

Some might disagree as it might give a slightly different experience
depending on the platform, making debugging harder in some cases.

The line is hard to draw, but it's useful to have the option. :)


More information about the cubicweb-devel mailing list