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

Bug#818890: qa.debian.org: provide a more explicit error when querying license of a directory



Package: qa.debian.org
Severity: normal
Tags: newcomer
User: qa.debian.org@packages.debian.org
Usertag: debsources

Hello,

When trying to query a license for a directory
http://sources.debian.net/copyright/file/gnubg/1.04.000-1/doc/gnubg/
instead of a file
http://sources.debian.net/copyright/file/gnubg/1.04.000-1/doc/gnubg/gnubg.html/
the error is not that explicit since it says that it couldn't find the
file whereas we requested a directory.

A solution would be to provide a better explanation and mention that we
landed on a directory, and provide a link to its sources.

Another solution would be to try and retrieve the license of the
directory. I am not sure how python-debian handles queries for
directories so there's some investigation included here.

Cheers,

Orestis



-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (1000, 'testing'), (750, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: