Summary: | sys-apps/portage: desktop-file-validation should ignore any warnings with word 'Pantheon' | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Samuli Suominen (RETIRED) <ssuominen> |
Component: | Unclassified | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | minor | Keywords: | InVCS |
Priority: | Low | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
URL: | https://bugs.freedesktop.org/show_bug.cgi?id=51258 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 472632 |
Description
Samuli Suominen (RETIRED)
2013-08-11 08:10:23 UTC
as in, Pantheon will almost certainly be added to the specification later in the development process, and we shouldn't kill their efforts of better support right from the start just because desktop-file-validate complains This should fix it: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=f98127d2569048c5d29d1734f2f7f8ba64c85242 This is fixed in 2.2.0. (In reply to Zac Medico from comment #2) > This should fix it: > > http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit; > h=f98127d2569048c5d29d1734f2f7f8ba64c85242 As I'm reading this, this would only supress NotShowIn, right? What about OnlyShowIn? There might be more I can't think of now, that's why I said "should ignore any desktop-file-validate errors with word 'Pantheon'" Ignoring anything containing 'Pantheon' is too loose, since it might allow some genuine problems through. My policy with portage's desktop-file-validate filtering has always been to filter very specific patterns that we actually know about. So, I'd like us to collect a very specific list of known messages that need to be filtered. (In reply to Zac Medico from comment #5) > Ignoring anything containing 'Pantheon' is too loose, since it might allow > some genuine problems through. My policy with portage's > desktop-file-validate filtering has always been to filter very specific > patterns that we actually know about. So, I'd like us to collect a very > specific list of known messages that need to be filtered. OK, that's fine. Just add OnlyShowIn then, which uses same syntax as NotShowIn, and I'll just open a new bug if there are more later. This should fix it: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=4e0c84bf0fd50dcaf88f09b21ab32b13841648ff Thanks, I think I've covered most of the Pantheon ebuilds in the elementary overlay. I'll try to check if there are any cases not covered by this fix. This is fixed in 2.2.1. |