Skip to content

Cleaning data from deleted competitions #2059

@the1mag

Description

@the1mag

Hi, we are looking to clean up our local instance of codabench. I see that if I delete a competition and then delete all orphan files, the submissions related files are successfully removed from the django admin as well as from s3, but the competition bundle, reference_data.zip, input_data.zip, scoring_program.zip, ingestion_program.zip still remain in django and in s3. Additionally in the django admin as well the Columns, Leaderboards, Submission scores, and Tasks created from that deleted competition still remain. I also noticed that logos from deleted competitions are still stored in s3. Are there existing methods to prune these associated items from the deleted competition so they aren’t in the django database and s3 anymore?
Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    DiscussionNeeds to be discussed before we can come up with specifications and begin the issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions