On 5/26/19 10:35 PM, James Harvey via arch-projects wrote:
Filenames in source() are required to be unique. A common violation of this is from commonly named files (i.e. LICENSE) that aren't part of an upstream tarball.
Warn if a source file doesn't have an overriding name, and has a commonly used name, ignoring extension and case.
Signed-off-by: James P. Harvey <jamespharvey20 at gmail dot com>
Namcap/rules/nonuniquesources.py | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-)
I expect the common case of files named "LICENSE", to be distributed with the PKGBUILD rather than downloaded, in which case it will *always* be unique (for the same reason "PKGBUILD" is unique). The check would need to first make sure that there is a positively existing download protocol.a -- Eli Schwartz Bug Wrangler and Trusted User