Zac Medico wrote:
Ciaran McCreesh wrote:
except that it moves it deeper down into the "how
do I determine whether this news item is relevant?" area. And the only
way to get around that would be to move even more code into Portage
than you're already proposing.
Are the currently specified Display-If-* headers insufficient for some
reason?
Looking into this a little further, it seems that Display-If-Installed can be
implemented with `portageq match / <atom>` and Display-If-Keyword can be
implemented with `portageq envvar ARCH`. That leaves Display-If-Profile which may
require a new portageq query in order to cleanly retrieve the profile. Perhaps
something like profile=$(portageq profile) would be sufficient?
Zac
--
gentoo-dev@gentoo.org mailing list