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

Bug#652380: missing-license-text-in-dep5-copyright when missing Files:



* Julian Taylor <jtaylor.debian@googlemail.com>, 2011-12-16, 22:47:
this copyright emits the missing-license-text-in-dep5-copyright warning which is a bit confusing as the actual issue is the missing Files: tag.

Format: http://dep.debian.net/deps/dep5
Upstream-Name: python-gd
Source: http://newcenturycomputers.net/projects/gdmodule.html

Copyright: 1995, Richard Jones <richard@bofh.asn.au>
License: BSD

License: BSD
etc


W: python-gd source: missing-license-text-in-dep5-copyright paragraph 2 bsd

Agreed, missing-license-text-in-dep5-copyright doesn't make much sense. We should probably remove the tag and emit unknown-paragraph-in-dep5-copyright instead.

However, we have a bigger problem with paragraphs like this:
| Copyright: 2042, J. Random Hacker
| License: BSD-6-clauses
|  Redistribution and use in source and binary forms, with or without
|  modification, are permitted provided that the following conditions
|  are met: blah, blah, blah, blah, blah and blah.

It's ambiguous: it could be a files paragraph with the "Files" field accidentally omitted[0], or it could be a stand-alone license paragraph with an extra "Copyright" field.


[0] If I recall correctly, if was perfectly legal in older DEP-5 versions to do skip it; "Files: *" was implicit in such case.

--
Jakub Wilk



Reply to: