Hi, 2018-05-23 15:39 GMT+02:00 Andreas Tille <andr...@an3as.eu>: > These data are gathered in UDD[2]. When I inspected the log of the UDD > importer I noticed that there are a lot of redundant fields like > "Homepage" or "Watch" where we agreed that these fields should not be > duplicated in upstream/metadata. There are also typos and freely > invented Fields which are not specified on Wiki[1] (like Distributor', > 'CRAN', 'Wiki'). I think it makes sense to have some lintian check for > this undefined fields. I think I'll file a wishlist bug about this > soon.
There is already an open bug #731340 for this [1], so it should be better to make noise in this one. The bug report contains a patch to check valid fields but it needs to be modified before to be merged into lintian (currently, I don't have time to do it). > > However, before I do I'd like to discuss the fields Name and Contact. > DEP8 defines[3] the fields Upstream-Name and Upstream-Contact which are > the same values in a file that has a high probability to be properly > maintained. In the case of r-* packages from CRAN or Bioconductor it > can be even automatically updated (via dh-update-R ... its actually not > really done but I think this could be implemented easily - dh-make-R at > least generates the fields at the time of initial package creation). > > I wonder whether we should maintaining duplicated information and thus > would like to hear your opinion about orphaning these fields in > debian/upstream/metadata. > Pretty off topic, but more generally, should we transfer some information (i.e. registry references, publications, etc) from the d/upstream/metadata to the AppStream cross-distro file [2]? Charles suggested last year to push registry references into the AppStream file [3]. I opened a bug to add a field for this in the AppStream spec [4] two weeks ago but no response yet (CCing Matthias as AppStream upstream to get his opinion). Best, Dylan [1] https://bugs.debian.org/731340 [2] https://appstream.debian.org/ [3] https://lists.debian.org/debian-med/2017/08/msg00022.html [4] https://github.com/ximion/appstream/issues/189