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

Spike: Feature Request/Idea: Deprecating metadata fields #10431

Open
jggautier opened this issue Mar 26, 2024 · 1 comment
Open

Spike: Feature Request/Idea: Deprecating metadata fields #10431

jggautier opened this issue Mar 26, 2024 · 1 comment
Labels
GREI Year 3 Year 3 GREI task GREI Year 4 Year 4 GREI task GREI 2 Consistent Metadata Size: 80 A percentage of a sprint. 56 hours. Type: Feature a feature request

Comments

@jggautier
Copy link
Contributor

jggautier commented Mar 26, 2024

Overview of the Feature Request
Dataverse installation administrators can deprecate metadata fields that are removed during a redesign of the deposit metadata model, such as re-designs of metadata blocks that Dataverse installations are using.

What kind of user is the feature intended for?
(Example users roles: API User, Curator, Depositor, Guest, Superuser, Sysadmin)
Superuser, Sysadmin

What inspired the request?

What existing behavior do you want changed?
In an issue about making changes to the Citation metadata block to improve how Dataverse repositories collect funding metadata, @scolapasta wrote:

We discussed this at tech hours and decided that the approach we would prefer (as it would generally be more flexible and it would maintain the concept of not changing old versions) would be to add an attribute to metadata fields so they can be marked as deprecated.

A deprecated dataset field would still allow old values to be viewed, but if you tried to edit you would be forced to no longer use that field (we would want some sort of instructions in the error message to advise you what you should use instead).

In this way, we won't have to write any scripts to change old values in the database. Rather we would break out this current issue into 3:

  • one for the infrastructure component adding the new deprecated attribute and the logic for how to handle for create and edit
  • a new API that would allow you to look up if a dataset's latest published version uses any deprecated fields (and possibly an API to get you a list of all such datasets)
  • a script that could be used to change some of the old values we know to the new values we would like to use - these would be written in a way that they could be reusable for multiple datasets

Any open or closed issues related to this feature request?
#4859

@jggautier jggautier added the Type: Feature a feature request label Mar 26, 2024
@cmbz cmbz added GREI 2 Consistent Metadata Size: 80 A percentage of a sprint. 56 hours. labels Apr 4, 2024
@cmbz cmbz changed the title Feature Request/Idea: Deprecating metadata fields Spike: Feature Request/Idea: Deprecating metadata fields Apr 10, 2024
@cmbz
Copy link

cmbz commented Apr 10, 2024

2024/04/10

  • Changed to spike issue due to large size. Requires analysis to scope work and create related technical issues of size 33 or smaller.

@cmbz cmbz added GREI Year 3 Year 3 GREI task GREI Year 4 Year 4 GREI task labels May 9, 2024
@gwendoux gwendoux moved this to Interested in Cirad Dataverse Jul 10, 2024
@DS-INRAE DS-INRAE moved this to 🔍 Interest in Recherche Data Gouv Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GREI Year 3 Year 3 GREI task GREI Year 4 Year 4 GREI task GREI 2 Consistent Metadata Size: 80 A percentage of a sprint. 56 hours. Type: Feature a feature request
Projects
Status: Interested
Status: No status
Status: 🔍 Interest
Development

No branches or pull requests

2 participants