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

Remove dataset duplicates #1879

Merged
merged 4 commits into from
Nov 14, 2024
Merged

Remove dataset duplicates #1879

merged 4 commits into from
Nov 14, 2024

Conversation

kentsanggds
Copy link
Contributor

The script will find all datasets which have more than 100 active datasets from the same publisher with the same title.

These duplicate datasets come from 2 publishers so limit the deletions to the datasets from these publishers and reindex the latest dataset as it might have failed reindexing before due to a bug in the spatial extension which has been fixed.

The dataset deletion is handled within CKAN as it will set the dataset state and reindex it rather than removing the datasets in case we need to change the dataset state back to active.

@kentsanggds kentsanggds requested a review from a team November 14, 2024 12:01
@kentsanggds kentsanggds merged commit 65ad16f into main Nov 14, 2024
13 checks passed
@kentsanggds kentsanggds deleted the remove-dataset-duplicates branch November 14, 2024 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants