public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] metadata.xml upstream docs as reference to scientific publications/papers
@ 2023-09-15  9:31 Alexander Neuwirth
  2023-09-15 10:15 ` Ulrich Mueller
  0 siblings, 1 reply; 7+ messages in thread
From: Alexander Neuwirth @ 2023-09-15  9:31 UTC (permalink / raw
  To: gentoo-dev


[-- Attachment #1.1.1.1: Type: text/plain, Size: 818 bytes --]

Dear Larry,

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).

You can inspect a detailed example here 
https://github.com/gentoo/sci/pull/1216.

The more sophisticated way, instead of abusing the |lang| attribute, 
would be another attribute, perhaps |reference|, or a new element in 
|upstream| instead of |doc|. Before I move forward with this idea, I 
would be curious to hear your thoughts on it.

Best,
APN


[-- Attachment #1.1.1.2: Type: text/html, Size: 1663 bytes --]

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 8923 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-09-17 20:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-15  9:31 [gentoo-dev] metadata.xml upstream docs as reference to scientific publications/papers Alexander Neuwirth
2023-09-15 10:15 ` Ulrich Mueller
2023-09-17 12:18   ` Alexander Neuwirth
2023-09-17 15:18     ` Ulrich Mueller
2023-09-17 18:28     ` Florian Schmaus
2023-09-17 19:06       ` Alexander Neuwirth
2023-09-17 20:55       ` Ulrich Mueller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox