-
Notifications
You must be signed in to change notification settings - Fork 1
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
'In use', 'deprecated', 'testing' labels or indications on vocabularies #155
Comments
We can add tags to vocabularies(right now they are for concepts only). The tags also allow to choose a color if that helps. |
Thanks that might be a good option. But should we then have a vocabulary for vocabulary status? |
If we want to have a more controlled way to handle the status maybe it's not a good idea to use tags. For the https://api.gbif.org/v1/vocabularies?deprecated=true And we have these fields to give info about the deprecation:
We have an example in dev although it wasn't replaced by any other vocab(therefore the https://api.gbif-dev.org/v1/vocabularies?deprecated=true Also, for the Another important thing is that in the pipelines data interpretation we use the latest released version of a vocabulary, which means that if there are changes in the vocabulary but haven't been released they aren't being used(even though the vocabulary will be in https://api.gbif.org/v1/vocabularies?hasUnreleasedChanges=true it also allows to query the latest release of a vocabulary: https://api.gbif.org/v1/vocabularies/LifeStage/concepts/latestRelease So instead of tags we can add these fields to the vocabulary to be more explicit about the status:
We can also add this read-only fields if it helps:
An improvement to that would be to also show the changes that are unreleased for the vocabularies that have unreleased changes. We talked briefly about this here: #132 We'll also have to show this properly in the UI. What do you think @CecSve ? EDIT: |
Thanks, that makes sense. So would the values would be controlled and documented for all the fields ( |
Because we already have a field for deprecated, therefore it's only 2 possible status. |
Ok, so |
Nope, I imagined it like this (renaming When it's first released but not used in production yet:
when it's used in production:
if at some point after the first release someone does changes to the vocab but it didn't release it the
if we deprecate the vocab:
|
Thank you. That makes sense! |
I'm gonna leave this issue on pause because since we'd have to update some of the fields manually(the |
We occasionally received feedback from people on vocabularies that are not yet used in pipelines. Could we add a feature (maybe a stop signal; green, yellow, red) for the different vocabularies to indicate whether it is
in use
,deprecated
ornot active
, andtesting
so it is more clear to users whether the vocabularies are in use?The text was updated successfully, but these errors were encountered: