-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add durable support for overriding the bucket
This is a more durable solution to the edge case we were trying to correct from, where the Bug in Datastore was from a GIT source (with a different path to the source file) than what we wanted to trigger reimporting for, and so various sanity checks and assumptions fail. This adds support for overriding the bucket name (and optionally, the path within the bucket), which is normally self-determined from the existing record. ``` pipenv run python tools/datafix/reimport_gcs_record.py --verbose --no-dry-run --project oss-vdb --bucket cve-osv-conversion:osv-output CVE-2022-2816 ```
- Loading branch information
1 parent
baa360d
commit f8bb23a
Showing
1 changed file
with
31 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters