Skip to content
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

Updatejsdb #298

Merged
merged 77 commits into from
Dec 18, 2024
Merged

Updatejsdb #298

merged 77 commits into from
Dec 18, 2024

Conversation

willis89pr
Copy link
Collaborator

Summary

If merged this pull request will update the database for js_file plugin.

Proposed changes

Moved the update js_file database script to the plugin's update db hook implementation.

willis89pr and others added 30 commits November 4, 2024 20:15
Simpler string formatting.

Co-authored-by: Ryan Mast <[email protected]>
Fixed typo.

Co-authored-by: Ryan Mast <[email protected]>
@willis89pr willis89pr requested a review from nightlark December 17, 2024 21:08
surfactant/infoextractors/js_file.py Outdated Show resolved Hide resolved
surfactant/infoextractors/js_file.py Outdated Show resolved Hide resolved
surfactant/infoextractors/js_file.py Outdated Show resolved Hide resolved
surfactant/infoextractors/js_file.py Outdated Show resolved Hide resolved
surfactant/infoextractors/js_file.py Outdated Show resolved Hide resolved
Copy link
Collaborator Author

@willis89pr willis89pr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Loads database on import. Downloads database only when surfactant plugin update-db <js_file or --all> is called.

Copy link
Collaborator Author

@willis89pr willis89pr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Downloads database only when surfactant plugin update-db <js_file or --all> is called. Loads database on import. Warn only once if the database does not exist.

@nightlark nightlark enabled auto-merge (squash) December 18, 2024 20:17
@nightlark nightlark merged commit e471c5f into main Dec 18, 2024
14 checks passed
@nightlark nightlark deleted the updatejsdb branch December 18, 2024 20:17
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