-
-
Notifications
You must be signed in to change notification settings - Fork 649
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add-on store: Improve refreshing the cache #15071
Merged
Merged
Changes from 9 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
3919bbf
Refresh cache based on cache Hash from NV Access server
nvdaes 511429d
Don't use datetimeto refresh cache
nvdaes 1dd471e
Update source/_addonStore/dataManager.py
nvdaes b4a1d59
Merge branch 'master' into refreshCache
nvdaes c18bb72
Address review
nvdaes 777755b
Use cacheHash as parameter
nvdaes a400ee3
Fix function
nvdaes a3b090f
Don't cache add-ons if cacheHash is None
nvdaes dfe1b22
Ensure data exist in json files
nvdaes fb53258
Address review comment
nvdaes 5ecc316
Improve functions to ensure that cacheHash won't be None
nvdaes a1e86d1
Address review
nvdaes 33d1452
Merge branch 'master' into refreshCache
nvdaes 72955c8
Remove import
nvdaes ddfec34
Restore function
nvdaes f99b79f
Lint: add new line
nvdaes d4c5da0
Restore import
nvdaes 9481d66
Address review
nvdaes File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you also look at fixing #15077, at the same time as #15071 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nvdaes, you have asked me to test this PR in #15077 (comment).
Testing from source on latest commit (dfe1b22) with the file from #15077, the issue is still present.
You should add a try/except around the two following lines in
_getCachedAddonData: