CenterForOpenScience / SHARE

SHARE is building a free, open, data set about research and scholarly activities across their life cycle.
http://share-research.readthedocs.io/en/latest/index.html
Apache License 2.0
101 stars 58 forks source link

[SHARE-989][Feature] Add command to enforce set white/blacklists #716

Closed aaxelb closed 6 years ago

aaxelb commented 6 years ago

Usage: python manage.py enforce_set_lists <source_config> [--dry] [--commit] [--whitelist]

Will delete works that should not have been let in according to a source config's approved_sets and blocked_sets. If a work also has other sources, just remove the source instead of deleting the work.

laurenbarker commented 6 years ago

Once there are tests, this look good to merge ⚡️