Re: Summary: Git Packaging: Native source formats
On Tue, 2019-11-05 at 02:34:13 +0100, Guillem Jover wrote:
> I'm planning to add warnings for 1.0 formats when using a version that
> does not match the type of tarball found. Ideally 1.0 formats would
> error out in the same way 3.0 do, but this is impractical, and I guess
> we'll just have to wait it out until 1.0 formats die off. :(
Actually, this involves a very tiny set of packages in the archive:
,--- grep-deb-sources ---
#!/bin/sh
Sources=$(apt-get indextargets --format '$(FILENAME)' 'Identifier: Sources')
/usr/lib/apt/apt-helper cat-file $Sources | grep-dctrl "$@"
`---
- Native 1.0 source + non-native version = 1
$ grep-deb-sources -sPackage -FFormat '1.0' -a \
-FVersion '-' -a --not -FFiles '.diff.' | wc -l
- Non-native 1.0 source + native version = 36
$ grep-deb-sources -sPackage -FFormat '1.0' -a \
-FVersion '-' -a --not -FFiles '.diff.' | wc -l
Which matches exactly the lintian tag:
<https://lintian.debian.org/tags/malformed-debian-changelog-version.html>
So this has now an even more fringe usage than I recalled, most of which
I'm pretty confident are due to packaging errors, and where I'd say less
than around 10 might be actually done on purpose.
Thanks,
Guillem
Reply to: