New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New field for external ID #189
Comments
|
As a general statement: I would rather not want to add any "official" method to provide another ID for a software component, because doing so would undermine the usage of the AppStream component-ID as the single unique identifier across distributions and package managers. People should query for the component ID instead of other IDs. However, using the provides method to make components provide "registry names" does make sense to me and might be valuable to add. So, if we add something like this, it would definitely be in a By the way, you can store arbitrary data in AppStream metainfo files using a appstream/tests/test-xmldata.c Lines 719 to 726 in 1a17013
That is useful for experimenting with new things. So, tl;dr, I think we could have something like this as By the way, I remember there was a request for having citable references in AppStream a while back. I think having this would be neat, although we would not add the amount of tags that Debian's metadata has to AppStream. Instead, it would likely be a simple |
|
Hi, I understand your point of view for Thanks for pointing me the It was my plan to open a bug for citable references ;-) but step by step, I didn't want to spam your bug tracker :-). But as you just suggested it to me, I will open a bug for this. Best, |
|
@Dybian That won't work ^^ The custom tag is basically a key-value store. For some reason appstreamcli validates your file, while it really should not do that (I'll fix that today). I would probably like to go with something like EDIT: The custom field is also not a child of the For more details on the custom tag, see also https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-custom |
|
I think it's fine to include, but I don't think custom is the right way to do this kind of thing. It's kinda like an SPDX license, it's a standardized reference of a known type. You could even have something simple like |
|
@hughsie I do not want any ID other than the component-ID on the top level for a component (yeah, it is at least in part a psychological thing) and we already created a precedent for having a component provide a specific ID in a From a purely idealistic point of view, I think all the other registries should list the AppStream component ID to reference applications, instead of creating yet another identifier for software. However, having it in AppStream has two benefits:
I avoided calling this Btw, @hughsie my comments on "custom" were more to address the "we want to add in AppStream" part in the initial request. |
Hi,
Bioinformatics programs can have several ID from different registries. These ID are used in scientific publications to identify software using a persistent identifier. For example, bedtools software have these ID: bedtools (from bio.tools), OMICS_01159 (from OMICtools), SCR_006646 (from SciCrunch). We are currently adding them into Debian packages in the debian/upstream/metadata file [1,2]. I wonder if it could be possible to do something more general and reusable by other Linux distributions by moving them from d/upstream/data to the AppStream file.
For bioinformatics pipeline development or deployment, it could be useful to know which software is already installed or not on the system. Moreover, it could be great to be able to install bioinformatics programs from software centers using these ID instead their names that could have sometimes name clash with other unrelated free software (ex.: snap, plink, eagle, ...).
So, can we specify these different ID in the AppStream metadata file of these software? Maybe with something like that:
Or something more general (not specific to bioinformatics) could be better with the definition of external ID into the AppStream metadata file?
Best regards,
Dylan
[1] https://wiki.debian.org/UpstreamMetadata
[2] https://salsa.debian.org/med-team/bedtools/blob/master/debian/upstream/metadata
The text was updated successfully, but these errors were encountered: