Hi, I’m updating a debian/copyright file in DEP5 format, but I’m finding myself unable to pick an acceptable value for the Format: field.
The previous value, from an earlier version of the package, is
http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135
lintian correctly warns me (out-of-date-copyright-format-uri tag) that a
new version of the specification is available, and points me
to http://dep.debian.net/deps/dep5/ for details.
Trying to use that unversioned URI results in another lintian warning
(unversioned-copyright-format-uri tag), suggesting that the correct format
for the field is something along the lines of
http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?revision=<revision>
but that URI is broken, since the file has been moved. Fiddling a bit with
the Web interface I came up with the following URI:
http://anonscm.debian.org/viewvc/dep/web/deps/dep5/copyright-format.xml?revision=240&view=markup
which seems to do the trick as far as fetching the full source of DEP5 at
the intended revision, but is not recognized by lintian
(unknown-copyright-format-uri tag). As a last source of confusion, the
document located at http://dep.debian.net/deps/dep5/ seems to suggest that
the canonical source is
http://anonscm.debian.org/loggerhead/dep/dep5/trunk/annotate/head:/dep5/copyright-format.xml
That URI does indeed work, but it contains no explicit revision number, and
as far as I can tell it’s not possible to convince Loggerhead to both
consider a specific revision *and* display the whole file.
I think the ViewWC URI above is the most sensible choice. Any ideas?
--
Andrea Bolognani <[email protected]>
Resistance is futile, you will be garbage collected.
signature.asc
Description: Digital signature

