On Fri, 15 Sep 2023, Alexander Neuwirth wrote:
I am looking for a way to link scientific publications to
ebuilds/packages. The easiest, but hacky way right now is to use the
|<doc lang="doi">https://doi.org/...</doc>|. Integration with |epkginfo|/|equery meta| works nicely out of the box. However,
currently |pkgcheck| and/or the XML format complains about repeated
|lang| entries and does not allow long |lang| attributes (i.e. |lang="inspirehep"| fails understandably).
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.
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.
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.
Is any of these three superior/preferable?
On Sun, 17 Sep 2023, Florian Schmaus wrote:
<upstream>
<reference uri='doi:10.17487/rfc6120'/>
</upstream>
sounds perfectly fine.
It would require (minor) adjustments to the schema and DTD.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 399 |
Nodes: | 16 (2 / 14) |
Uptime: | 101:40:49 |
Calls: | 8,363 |
Calls today: | 2 |
Files: | 13,165 |
Messages: | 5,898,006 |