On Sun, 17 Sep 2023, Alexander Neuwirth wrote:
Thanks. Instead of using the lang entry I can imagine these other
approaches:
1. doi/arxiv/... links could also easily be plugged in custom upstream
remote ids, but that also feels a bit wrong since all other [upstream
remote ids](https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Upstream_remote-id_types)
are repos/source code providers.
GLEP 68 rather abstractly says that the remote-id elements should point
to "package identification trackers", and its predecessor GLEP 46
explains that this means the upstream source. So this doesn't look like
a good fit.
2. Adding something specific to GLEP 68, like `<upstream><reference type="doi"> https...`. However that seems like a bit too much work for
adding something that only a small subset of users (science) cares
about. Also integration of parsing with existing tools is an extra
overhead.
This would require maintenance of another list of types. Looks like the semantic is implicit in the URL, so is a type really needed?
A simpler change would be to lift the uniqueness restriction for the
doc element, i.e. allow it multiple times for the same language.
3. Put them also into `HOMEPAGE` of the ebuilds. Again bit of a wrong
place, but with the (minor) advantage of having possibly different/new references per version.
This wouldn't require any changes.
Is any of these three superior/preferable?
It depends on how many packages in the Gentoo repository are expected to
use the feature.
If the answer is less than ten, then IMHO using HOMEPAGE is a reasonable choice. If it would be at least an order of magnitude more, then we could
think about updating GLEP 68 (e.g. lift uniqueness of doc).
Ulrich
-----BEGIN PGP SIGNATURE-----
iQFDBAEBCAAtFiEEtDnZ1O9xIP68rzDbUYgzUIhBXi4FAmUHGLMPHHVsbUBnZW50 b28ub3JnAAoJEFGIM1CIQV4uZBIH/jglEvi2hg5vwIOhi25u9zZJJWDmFXHq+lf7 Ql62ZjEh1XAKDOUZp8hc6HdBbz5zWYcrWKM5NswYIirnZYD8mDpaNIkzbLVvbM2o vFge8RYLKxxWmRd3rrZA6BqtdJNROVwzPypXftgZi/uR7ORJFng+hcdLUKoHxc0M Co65LN3x/01CW+tbikr/MRpfhXvepRoyqt+b60TNYI3WKLaFYIgHLT3KFfUGUbtY izgry0J1mrGuCWRqkIkf1OhTLcSqQSUR3sOCFZV2cy4VqdTMKDRAibycu02LX32p SbjQazTW7DRWXYXQKBIUMJwDhLwfWABPP5B9onMAd5wO3eqXi9o=
=zx99
-----END PGP SIGNATURE-----
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)