Re: Bug#437392: debhelper: subroutine isnative in Dh_Lib.pm is confused by NMU of native package

2007-08-14 Thread Julian Andres Klode
Am Montag, den 13.08.2007, 22:26 +0200 schrieb Julian Andres Klode: Am Montag, den 13.08.2007, 15:50 -0400 schrieb Joey Hess: Policy is actually careful to set up the invarient that - anywhere in a version number means the package is not native. I don't know why the developers reference

Re: Bug#437392: debhelper: subroutine isnative in Dh_Lib.pm is confused by NMU of native package

2007-08-14 Thread Joey Hess
(Please keep debian-devel in the CC. This issue is a project-wide isssue.) Bart Martens wrote: How do other tools this? Other well-respected tools in debhelper's situation, such as? yada It introduces a completely nonstandard Upstream-Source field in debian/control which it

Re: Bug#437392: debhelper: subroutine isnative in Dh_Lib.pm is confused by NMU of native package

2007-08-14 Thread Julien Cristau
On Tue, Aug 14, 2007 at 13:38:04 -0400, Joey Hess wrote: Bart Martens wrote: Policy states that if there is no debian_revision then hyphens - are not allowed in the upstream_version. http://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Version Policy also states that native

Re: Bug#437392: debhelper: subroutine isnative in Dh_Lib.pm is confused by NMU of native package

2007-08-14 Thread Julien Cristau
On Tue, Aug 14, 2007 at 19:45:11 +0200, Julien Cristau wrote: It also implies that if there is no debian_revision, upstream_version can contain a hyphen. No it doesn't. Sorry about that... Cheers, Julien -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe.

Re: Bug#437392: debhelper: subroutine isnative in Dh_Lib.pm is confused by NMU of native package

2007-08-14 Thread luk
On Tue, Aug 14, 2007 at 01:38:04PM -0400, Joey Hess wrote: Bart Martens wrote: Policy does not explicitly state that the presence/absence of a debian_revision or that the presence/absence of hyphen(s) - indicate whether or not the package is a native Debian package. debian_revision

Re: Bug#437392: debhelper: subroutine isnative in Dh_Lib.pm is confused by NMU of native package

2007-08-14 Thread Joey Hess
(For the second time, please preserve my CC.) Bart Martens wrote: Yes, lintian. Two examples where lintian seems to follow/accept the numbering described in developer's reference: Example one: Try doing an NMU of dh-make-php with adding .0.1. Then lintian produces this warning: W:

Re: Bug#437392: debhelper: subroutine isnative in Dh_Lib.pm is confused by NMU of native package

2007-08-14 Thread Joey Hess
Julien Cristau wrote: It also implies that if there is no debian_revision, upstream_version can contain a hyphen. Utterly false: The upstream_version may contain only alphanumerics[1] and the characters `.' `+' `-' `:' (full stop, plus, hyphen, colon) and should

Bug#437392: Info received and FILED only (was Bug#437392: debhelper: subroutine isnative in Dh_Lib.pm is confused by NMU of native package)

2007-08-14 Thread Debian Bug Tracking System
Thank you for the additional information you have supplied regarding this problem report. It has NOT been forwarded to the package maintainers, but will accompany the original report in the Bug tracking system. Please ensure that you yourself have sent a copy of the additional information to any

Re: Bug#437392: debhelper: subroutine isnative in Dh_Lib.pm is confused by NMU of native package

2007-08-14 Thread Joey Hess
[EMAIL PROTECTED] wrote: Because it may be more important to be able to identify an NMU from the version number than to be able to identify a native package from the version number... I don't see why it's important to be able to tell that from a version number at all. It's also not the

Re: Bug#437392: debhelper: subroutine isnative in Dh_Lib.pm is confused by NMU of native package

2007-08-14 Thread Russ Allbery
Joey Hess [EMAIL PROTECTED] writes: (For the second time, please preserve my CC.) Bart Martens wrote: Yes, lintian. Two examples where lintian seems to follow/accept the numbering described in developer's reference: Example one: Try doing an NMU of dh-make-php with adding .0.1. Then

Re: Bug#437392: debhelper: subroutine isnative in Dh_Lib.pm is confused by NMU of native package

2007-08-13 Thread Joey Hess
Bart Martens wrote: Now imagine that someone would do an NMU of dh-make-php. The right version would be 0.2.3-0.1 according to Debian Policy. Actually, policy doesn't say any such thing. That syntax was invented by the developer's reference. And it's IMHO dubious. Consider two packages: foo

Re: Bug#437392: debhelper: subroutine isnative in Dh_Lib.pm is confused by NMU of native package

2007-08-13 Thread Julian Andres Klode
Am Montag, den 13.08.2007, 15:50 -0400 schrieb Joey Hess: Policy is actually careful to set up the invarient that - anywhere in a version number means the package is not native. I don't know why the developers reference choses to ignore that. Is there something wrong with using a version