File tree Expand file tree Collapse file tree 3 files changed +11
-9
lines changed
tools/apitester/__snapshots__ Expand file tree Collapse file tree 3 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -514,7 +514,7 @@ def _convert_blob_to_vuln(
514514 ndb_ctx = ndb .context .get_context (False )
515515 if ndb_ctx is None :
516516 # Production. Use the NDB client passed in.
517- ndb_ctx = ndb_client .context ()
517+ ndb_ctx = ndb_client .context (cache_policy = False )
518518 else :
519519 # Unit testing. Reuse the unit test's existing NDB client to avoid
520520 # "RuntimeError: Context is already created for this thread."
@@ -1306,5 +1306,5 @@ def main():
13061306 atexit .register (log_run_duration , time .time ())
13071307 osv .logs .setup_gcp_logging ('importer' )
13081308 _ndb_client = ndb .Client ()
1309- with _ndb_client .context ():
1309+ with _ndb_client .context (cache_policy = False ):
13101310 main ()
Original file line number Diff line number Diff line change 2828from .pypi import PyPI
2929from .redhat import RPM
3030from .rubygems import RubyGems
31- from .semver_ecosystem_helper import SemverEcosystem
31+ from .semver_ecosystem_helper import SemverEcosystem , SemverLike
3232from .ubuntu import Ubuntu
3333
3434_ecosystems = {
6464 'SUSE' : RPM ,
6565 'SwiftURL' : SemverEcosystem ,
6666 'Ubuntu' : Ubuntu ,
67+ 'VSCode' : SemverLike ,
6768 'Wolfi' : APK ,
6869
6970 # Ecosystems known in the schema, but without implementations.
7273 'ConanCenter' : None ,
7374 'GIT' : None ,
7475 'GitHub Actions' : None ,
76+ 'Kubernetes' : None ,
7577 'Linux' : None ,
7678 'OSS-Fuzz' : None ,
7779 'Photon OS' : None ,
Original file line number Diff line number Diff line change 4242 " ranges" : [
4343 {
4444 " type" : " GIT" ,
45- " repo" : " https://github.com/behdad /harfbuzz" ,
45+ " repo" : " https://github.com/harfbuzz /harfbuzz" ,
4646 " events" : [
4747 {
4848 " introduced" : " 0"
49+ },
50+ {
51+ " fixed" : " d3e09bf4654fe5478b6dbf2b26ebab6271317d81"
4952 }
5053 ]
5154 }
5255 ],
56+ " versions" : 138 ,
5357 " database_specific" : " <Any value>"
5458 },
5559 {
5660 " ranges" : [
5761 {
5862 " type" : " GIT" ,
59- " repo" : " https://github.com/harfbuzz /harfbuzz" ,
63+ " repo" : " https://github.com/behdad /harfbuzz" ,
6064 " events" : [
6165 {
6266 " introduced" : " 0"
63- },
64- {
65- " fixed" : " d3e09bf4654fe5478b6dbf2b26ebab6271317d81"
6667 }
6768 ]
6869 }
6970 ],
70- " versions" : 138 ,
7171 " database_specific" : " <Any value>"
7272 }
7373 ],
You can’t perform that action at this time.
0 commit comments