[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#705835: lintian: Definition of canonical URI



On 2013-04-20 20:59, Torquil Macdonald Sørensen wrote:
> Package: lintian
> Version: 2.5.12
> Severity: minor
> 
> The extended info about the tag vcs-field-not-canonical does not
> define or link to a definition of "canonical Debian URI".
> 
> It would be useful if the extended info contained a link to some
> information about this.
> 
> Best regards
> Torquil Sørensen
> 
> [...]

Fair enough.  For reference, canonical in this case is because alitoh is
sending "301" for "non-canonical" URIs to the "canonical" one.

Example with wget:

 $ wget 'http://git.debian.org/?p=collab-maint/6tunnel.git'
 --2013-04-20 21:05:27--  http://git.debian.org/?p=[...]
 Resolving git.debian.org (git.debian.org)... 217.196.43.140
 Connecting to git.debian.org (git.debian.org)|[...]
 HTTP request sent, awaiting response... 301 Moved Permanently
 Location: http://anonscm.debian.org/gitweb/?p=[...]
 [...]

The last (shown) line contains the "canonical" URI.

~Niels


Reply to: