Skip to content

Don't mark deleted git entries as invalid.#829

Merged
oliverchang merged 1 commit into
masterfrom
deleted
Nov 16, 2022
Merged

Don't mark deleted git entries as invalid.#829
oliverchang merged 1 commit into
masterfrom
deleted

Conversation

@oliverchang
Copy link
Copy Markdown
Collaborator

@oliverchang oliverchang commented Nov 16, 2022

The supported way to handle making entries as invalid is to mark them as "withdrawn" and
leave the entry intact.

This also guards against availability issues from source feeds, such as when a bug in their
system causes their entries to be deleted (e.g. github/advisory-database@06071dd)

@andrewpollock
Copy link
Copy Markdown
Contributor

Could you please add a bit more of the "why" to the description?

@oliverchang
Copy link
Copy Markdown
Collaborator Author

Could you please add a bit more of the "why" to the description?

done.

@andrewpollock
Copy link
Copy Markdown
Contributor

The supported way to handle these is to mark entries as "withdrawn" and leave the entry intact.

Is it correct that this behaviour is not currently implemented?

@oliverchang
Copy link
Copy Markdown
Collaborator Author

The supported way to handle these is to mark entries as "withdrawn" and leave the entry intact.

Is it correct that this behaviour is not currently implemented?

This is already implemented per

bug.status = osv.BugStatus.INVALID

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