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

Fix finding namespace plugins that do not want to be __findable__ #487

Merged

Conversation

pyrco
Copy link
Contributor

@pyrco pyrco commented Dec 20, 2023

(DIS-2901)

Copy link

codecov bot commented Dec 20, 2023

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (ced76c8) 73.95% compared to head (71dff7a) 73.94%.

Files Patch % Lines
dissect/target/plugin.py 50.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #487      +/-   ##
==========================================
- Coverage   73.95%   73.94%   -0.01%     
==========================================
  Files         260      260              
  Lines       21017    21020       +3     
==========================================
+ Hits        15543    15544       +1     
- Misses       5474     5476       +2     
Flag Coverage Δ
unittests 73.94% <50.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

# (if there is a subtree).
#
# Examples:
# -f browser -> apps.browser.browsers* (the whole package, due to a namespace match)
Copy link
Contributor

Choose a reason for hiding this comment

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

-f browser doesn't work?

target-query: error: argument -f/--function contains invalid plugin(s): browser

Copy link
Contributor Author

@pyrco pyrco Dec 20, 2023

Choose a reason for hiding this comment

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

Works here? It didn't work before this patch, as this is the thing it tries to fix.

@pyrco pyrco force-pushed the feature/dis-2901_fix-finding-non-finadable-namespace-plugins branch from 3c5b3ce to 6ce83b3 Compare December 20, 2023 15:59
Base automatically changed from feature/dis-2792_fix-plugin-retrieval to main December 20, 2023 16:02
@pyrco pyrco force-pushed the feature/dis-2901_fix-finding-non-finadable-namespace-plugins branch from 6ce83b3 to 35c8db3 Compare December 20, 2023 16:03
@pyrco pyrco force-pushed the feature/dis-2901_fix-finding-non-finadable-namespace-plugins branch from 35c8db3 to 71dff7a Compare December 20, 2023 16:16
@Schamper Schamper changed the title Fix finding namespace plugins that do not want to be __finadable__ Fix finding namespace plugins that do not want to be __findable__ Dec 20, 2023
@pyrco pyrco merged commit d041cab into main Dec 20, 2023
@pyrco pyrco deleted the feature/dis-2901_fix-finding-non-finadable-namespace-plugins branch December 20, 2023 17:58
JSCU-CNI pushed a commit to JSCU-CNI/dissect.target that referenced this pull request Jan 2, 2024
Poeloe pushed a commit that referenced this pull request Feb 29, 2024
Zawadidone pushed a commit to Zawadidone/dissect.target that referenced this pull request Apr 5, 2024
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