IQSS / IQSS/dataverse

Add an API endpoint to rebuild an existing OAI set from scratch

Open
#10,110 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Feature: Harvesting User Role: Superuser
Dominant language
Java
Stars
1.1k
Forks
564
Avg merge
2d 2h
Merged PRs (30d)
29

Description

This would be an equivalent of the reExport metadata api - it would delete the existing OAI records, before re-creating them; this would be one way to drop any existing "deleted" OAI records, if an admin desires to do so. At the moment this can be done for a created, "named" set - by deleting the set, then re-creating it with the same parameters. But not for the default, "all published and exported datasets" set.
This came up in response to #10040 (which I'm going to close now).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the existing reExport metadata API and the code that builds the default “all published and exported datasets” OAI set. Trace how named sets are deleted and recreated, then determine the endpoint behavior needed for the default set. Done means an API can remove existing OAI records and recreate the set, including previously deleted records.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.