- should a package debian/control list bundled dependencies to make
sure to avoid duplications ?
- when a bundled package dependency is already available in debian,
and is the same (unpatched), should the upstream source tarball be
repacked without that dependency, or kept inside the source tarball ?
First of all, thanks for compiling the list of reasonings.
I get the impression that you are framing current state of embedding as
a generally good thing to do, and if I understand that correctly then I disagree with it.
I suspect that it helps if separating reasons for _encouraging_
embedding (tiny upstream projects and deeply integrated sets of
upstreams, I guess) from reasons for _discouraging_ embdding (all other cases, I guess).
Quoting Phil Morrell (2021-09-03 00:38:35)
5. Where only a small number of unrelated projects are bundled, they
SHOULD be uploaded as separate source packages.
Concretely I think not I but ftpmaster objects to the above: Node.js packages embed unrelated packages to meet ftpmaster requirement of a
minimum size source package.
On Fri, Sep 03, 2021 at 01:03:35AM +0200, Jérémy Lal wrote:
- should a package debian/control list bundled dependencies to make
sure to avoid duplications ?
Maybe? I noted in my final paragraph that Fedora has a mechanism for
this that we don't, but perhaps Provides is sufficient.
I omitted this from the policy side, because it seems like this is
already answered in ftp-master practice. Provided the vendored copy is
not used during the build and unless there is a *different* reason for repacking with Files-Excluded, then I see no reason to remove it.
I am very worried about how complex node-* packages in Debian have
become since ftpmasters explicitly stated a not-too-small rule and we
began more aggressively embedding. E.g. version of each embedded
project is hidden by default, and those packages manually adding virtual >packages has no mechanism to ensure that versions don't jump backwards
or disappear due to a typos.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 295 |
Nodes: | 16 (3 / 13) |
Uptime: | 09:22:52 |
Calls: | 6,644 |
Calls today: | 4 |
Files: | 12,190 |
Messages: | 5,326,327 |