Skip to content

Set up a cleanup cron job that checks all the entries in the database for existance #1467

Closed

Description

@another-rex

Checks the source field in the database to see if they still exist (does not return 404), if not, mark it as withdrawn.

Activity

  1. bitwizard25 commented on Aug 18, 2023

    @bitwizard25

    Can you assign me this issue i want to work on it

  2. added
    needs-gcp-infra-accessTo be able to adequately work on this issue will require access to GCP infrastructure
    on Dec 5, 2023
  3. another-rex commented on Dec 5, 2023

    @another-rex
    ContributorAuthor

    Hey @rajbhoyar729, sorry missed this comment for a long time. This is more of a internal task as you would need access to the database backend to be able to adequately work on it.

  4. another-rex commented on Dec 5, 2023

    @another-rex
    ContributorAuthor

    #1859 is another example of this being potentially useful.

  5. bitwizard25 commented on Dec 6, 2023

    @bitwizard25

    Can you guide me how can I do it

  6. andrewpollock commented on Jan 30, 2024

    @andrewpollock
    Contributor

    @rajbhoyar729 your enthusiasm for contributing to OSV has been noticed 🥇
    This particular issue is difficult for external contributors who don't have access to our GCP infrastructure (that's what we cooked up the needs-gcp-infra-access label for).

    Please take a look at the issues tagged with good first issue. These are more suitable for folks like yourself. You may also like to contribute to OSV Scanner

    Stay enthusiastic!

  7. andrewpollock commented on May 15, 2024

    @andrewpollock
    Contributor

    Manually ran this in Production:

    5220 Bugs in Datastore considered deleted from GCS for cve-osv
    23 Bugs in Datastore considered deleted from GCS for debian-dsa
    19 Bugs in Datastore considered deleted from GCS for go
    
  8. andrewpollock commented on May 16, 2024

    @andrewpollock
    Contributor

    I think we can call this done finally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

cleanupCode hygiene and cleanupdata qualityIssues with data qualityneeds-gcp-infra-accessTo be able to adequately work on this issue will require access to GCP infrastructure

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions