Bug#880556: parse upstream metadata files like package.json or .gemspec files

Dominique Dumont dod at debian.org
Sun Dec 13 14:43:14 GMT 2020


Hi

Sorry for the delay.

On Sat, 12 Dec 2020 19:38:14 +0100 Andrej Shadura 
<andrew.shadura at collabora.co.uk> wrote:
> > Have you had a chance to have a look at it? :)

That's a good start. At least, this patch tells me how to retrieve the 
relevant information from the toml file.

However, your patch implies that the information from toml file applies to all 
files that do not have a copyright header. This is often correct, except when a 
directory is a component from another author.

I think it would be better to treat toml data like the information contained 
in the main README file (if present). I.e as a hint for the top directory.

I'll change your patch to that effect.

Do you have an example of a rust package that I could add in my test suite ?

All the best

Dod



More information about the pkg-perl-maintainers mailing list