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

Add glob/dump function for config tree #728

Merged
merged 4 commits into from
Jun 26, 2024

Conversation

cecinestpasunepipe
Copy link
Contributor

(DIS-2990)

Copy link

codecov bot commented Jun 19, 2024

Codecov Report

Attention: Patch coverage is 38.29787% with 29 lines in your changes missing coverage. Please review.

Project coverage is 74.92%. Comparing base (19c973f) to head (6e15966).

Files Patch % Lines
dissect/target/plugins/os/unix/etc/etc.py 38.29% 29 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #728      +/-   ##
==========================================
- Coverage   75.01%   74.92%   -0.09%     
==========================================
  Files         294      295       +1     
  Lines       25018    25065      +47     
==========================================
+ Hits        18768    18781      +13     
- Misses       6250     6284      +34     
Flag Coverage Δ
unittests 74.92% <38.29%> (-0.09%) ⬇️

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.

@cecinestpasunepipe cecinestpasunepipe force-pushed the DIS-2163_Unix_Config_Globber branch from a7e8b10 to cef9894 Compare June 24, 2024 13:20
@cecinestpasunepipe cecinestpasunepipe force-pushed the DIS-2163_Unix_Config_Globber branch from 336aa39 to 6e15966 Compare June 26, 2024 10:06
@cecinestpasunepipe cecinestpasunepipe merged commit c1e384f into main Jun 26, 2024
15 of 18 checks passed
@cecinestpasunepipe cecinestpasunepipe deleted the DIS-2163_Unix_Config_Globber branch June 26, 2024 10:37
if isinstance(config_object, ConfigurationEntry):
yield from self._sub(config_object, Path(entry) / Path(item), pattern)
except Exception:
log.warning("Could not open configuration item: %s", item)
Copy link
Member

Choose a reason for hiding this comment

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

Needs to be self.target.log, can you create a PR to fix that?

otnxSl pushed a commit to otnxSl/dissect.target that referenced this pull request Jul 9, 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.

3 participants