Skip to content
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

How can one define remapping from one vocabulary version to another? #132

Open
ManonGros opened this issue Mar 21, 2024 · 5 comments
Open
Labels
enhancement New feature or request

Comments

@ManonGros
Copy link
Collaborator

For some of the GRSciColl vocabulary, I would like to have a first version that is close to (or identical to) the current enums we have. In the future, these might change a bit more. But is there a way to formerly describe things like: "what was mapped to concept X in the vocab version 1 should be mapped to concept Y in the vocab version 2"?

Right now all I can think of is writing a GitHub issue for Marcos. I was wondering if there was a better way.

@CecSve CecSve added the enhancement New feature or request label Mar 22, 2024
@CecSve
Copy link
Collaborator

CecSve commented Mar 22, 2024

An issue has to be created (or this can be the issue) - versioning is not implemented yet but will be eventually. I saw this version change documentation example for ABCD yesterday and perhaps we can do something similar with labels defining what the change is:
billede

The documentation should live on tech docs.

@marcos-lg
Copy link
Contributor

Besides the documentation, which is a good idea, we can also add a comment field in the deprecate action of the API.

@marcos-lg
Copy link
Contributor

I was reviewing this issue again. For deprecations of concepts we actually can specify the concept that replaces the deprecated one. What we are probably missing is to generate a report with all the changes when a new version of the vocabulary is released. Right now we only allow to add a comment to the release: https://api.gbif.org/v1/vocabularies/LifeStage/releases

@CecSve
Copy link
Collaborator

CecSve commented Jul 10, 2024

That's great for tracking concepts. Do we have anything in place for tracking what happens to the hidden values? It might be for another issue, but I could imagine concept changes would require mapping changes as well, in most cases.

@marcos-lg
Copy link
Contributor

No, it's only for concepts but not for labels. But the tracking of labels(hidden and the others) is doable since we store the release versions so we can just compare the current version with the previous one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants