Skip to content
This repository has been archived by the owner on Sep 20, 2021. It is now read-only.

Garbage collector for stale RIPE Handle links #131

Open
ghost opened this issue Jun 22, 2020 · 4 comments
Open

Garbage collector for stale RIPE Handle links #131

ghost opened this issue Jun 22, 2020 · 4 comments

Comments

@ghost
Copy link

ghost commented Jun 22, 2020

if the handle is gone from the database an empty resposnse with status 204 is now returned

BUT we should consinder running a garbage collector after importing the ripe data which deletes the "stale" handles (and maybe inform the user about it)

Originally posted by @MarkHofstetter in #83 (comment)

@ghost
Copy link
Author

ghost commented Jun 22, 2020

BUT we should consinder running a garbage collector after importing the ripe data which deletes the "stale" handles (and maybe inform the user about it)

Yes, makes sense for me.

@MarkHofstetter
Copy link

I'll write a script that needs to be run after each import

do we have to inform user (which one?) and how?

@certrik
Copy link

certrik commented Jun 23, 2020

All orga admins up the the hierarchy should be informed via email.

MarkHofstetter pushed a commit that referenced this issue Jun 25, 2020
@MarkHofstetter
Copy link

f335722

to only list "stale" handles
python manage.py delete_stale_ripe_handles
3 ORG-TEST-RIPE 5
4 ORG-TEST2-RIPE 11

to actually delete stale handles
python manage.py delete_stale_ripe_handles --delete
3 ORG-TEST-RIPE 5
deleting
4 ORG-TEST2-RIPE 11
deleting

working on notification through the hierarchy

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants