Bug#889991: lintian: Please warn if versions differ only in the epoch

2018-05-08 Thread Chris Lamb
tags 889991 + pending
thanks

Dear Raphael,

Okaley, implemented in Git based on your patch and description. I
also updated all existing tests and added a bunch more for most of
the corner cases:

  
https://salsa.debian.org/lintian/lintian/commit/dba3e5fb07997d4c3c18926b6c38f2bc31f7ecf1


Best wishes,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#889991: lintian: Please warn if versions differ only in the epoch

2018-02-09 Thread Ian Campbell
Package: lintian
Version: 2.5.65
Severity: wishlist

Dear Maintainer,

The recent "Debian part of a version number when epoch is bumped" has
highlighted the fact that the epoch is not included in the names of the various
package files (source and binary) and that this can potentially cause problems
in various situations (both within Debian and for our downstreams).

Due to the filenames we are already implicitly requiring that all versions used
in a source package name's history are unique even once the epochs are stripped
off (e.g. a given $upstream-$debianrev must be unique and not differ only in
the epoch).

Perhaps lintian could check for this by comparing the current version with the
historical ones in debian/changelog.

Raphael notes in [1]:

> Note however that such a lintian check should not consider changelog
> entries indicating another source package name.

Which seems wise.

Thanks,
Ian.

[0] https://lists.debian.org/debian-devel/2018/02/msg00102.html
[1] https://lists.debian.org/debian-devel/2018/02/msg00144.html


-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf, armel, arm64

Kernel: Linux 4.13.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages lintian depends on:
ii  binutils  2.29.1-12
ii  bzip2 1.0.6-8.1
ii  diffstat  1.61-1+b1
ii  dpkg  1.19.0.4
ii  file  1:5.32-1
ii  gettext   0.19.8.1-4
ii  intltool-debian   0.35.0+20060710.4
ii  libapt-pkg-perl   0.1.33
ii  libarchive-zip-perl   1.60-1
ii  libclass-accessor-perl0.51-1
ii  libclone-perl 0.39-1
ii  libdpkg-perl  1.19.0.4
ii  libemail-valid-perl   1.202-1
ii  libfile-basedir-perl  0.07-1
ii  libipc-run-perl   0.96-1
ii  liblist-moreutils-perl0.416-1+b3
ii  libparse-debianchangelog-perl 1.2.0-12
ii  libperl5.26 [libdigest-sha-perl]  5.26.1-3
ii  libtext-levenshtein-perl  0.13-1
ii  libtimedate-perl  2.3000-2
ii  liburi-perl   1.72-2
ii  libxml-simple-perl2.24-1
ii  libyaml-libyaml-perl  0.63-2+b2
ii  man-db2.7.6.1-4
ii  patchutils0.3.4-2
ii  perl  5.26.1-3
ii  t1utils   1.41-2
ii  xz-utils  5.2.2-1.3

Versions of packages lintian recommends:
ii  libperlio-gzip-perl  0.19-1+b4

Versions of packages lintian suggests:
ii  binutils-multiarch 2.29.1-12
ii  dpkg-dev   1.19.0.4
ii  libhtml-parser-perl3.72-3+b2
ii  libtext-template-perl  1.47-1

-- no debconf information