Discussion:
[gentoo-user] Move HOMEPAGE, DESCRIPTION, etc. to metadata.xml?
(too old to reply)
Alexander Kurakin
2023-01-04 11:50:01 UTC
Permalink
Good day!
 
Was there an idea to move HOMEPAGE, DESCRIPTION, etc. to metadata.xml?
 
Are the properties common for package, aren’t they?
 
Thanks!
 
Sincerely,
Alexander Kurakin.
Ionen Wolkens
2023-01-05 17:40:01 UTC
Permalink
Post by Alexander Kurakin
Good day!
 
Was there an idea to move HOMEPAGE, DESCRIPTION, etc. to metadata.xml?
There is[1] (since 2007), but it never went anywhere.
Post by Alexander Kurakin
Are the properties common for package, aren’t they?
Usually anyway. For what it's worth, among what I maintain, there is
one package (nvidia-drivers) where the 0/vulkan slot (525.47.x) has
a different HOMEPAGE pointing to the vulkan page. Not that "most" tools
really consider differences for these when displaying so it's mostly
useful for someone opening the ebuild and wanting something to click.

Having these readily viewable in the ebuild rather than buried in
the metadata is often an argument to keep these, i.e. without
description can't even see what the package is about if only looking
at the ebuild. Not that I need that myself given I use repo-cd[2]
that displays metadata when I work on ebuilds.

[1] https://bugs.gentoo.org/186454
[2] https://github.com/ionenwks/iwdevtools#repo-cd
--
ionen
Alexander Kurakin
2023-01-07 21:50:01 UTC
Permalink
Thanks!
 
Sincerely,
Alexander Kurakin.
 
 
Alexander Kurakin
2023-01-21 22:40:01 UTC
Permalink
 For what it's worth, among what I maintain, there is
 one package (nvidia-drivers) where the 0/vulkan slot (525.47.x) has
 a different HOMEPAGE pointing to the vulkan page.
 
BTW, as I understand, there is `restrict` attribute for this option [1].
But as for now, its syntax is poor as it’s EAPI 0-compatible.
 
[1]  https://devmanual.gentoo.org/ebuild-writing/misc-files/metadata/index.html
 
Sincerely,
Alexander Kurakin.
 
 

Loading...