sysdiagnose
sysdiagnose copied to clipboard
Integrating Hackathon25 changes
Hackathon25 code changes cover the follow topics:
- ~~Suggested change from building tool setuptools to Hatch~~ (see
pyproject.toml). The only reasoning behind was to keep dependencies only in requirements.txt file and the pyproject.toml refer to that file. However, there is another PR: #156 from @SYNchroACK to this branch that suggests to keep setuptools and simply get rid of requirements file. Potentially we can do that, it will be simpler in the end. The repo will be cleaner and we will have to update the docs. - Change on Sysdiagnose class (
src/sysdiagnose/__init__.py) that may break external tools that use this project as a module. Methods get_parsers and get_analysers moved to SysdiagnoseConfiguration (src/sysdiagnose/utils/base.py). This change was required by Timesketch analyser and Coverage analyser took advantage from it as well. Main class (src/main.py) was modified accordingly. - Implementation of Issue #122
- Improvements on Issue #153
- New analyser:
src/sysdiagnose/analysers/coverage.pythat addressed #149 - As an example of potential diff sub-command (starts addressing Issue #155 ) there are two standalone scripts
src/sysdiagnose/utils/file_stats_diff.pyandsrc/sysdiagnose/utils/coverage_diff.pythat make use of the analysers data (be aware that a decision needs to be made for coverage analyser in the output format and/or potential subcommands?) to compare the parsed data. - New analyser:
src/sysdiagnose/analysers/mcstateshared.pyalso within the topic #155 ?? - Implementation of Issues #87 #148 (
src/sysdiagnose/__init__.py)
Pending to add PR #156 changes into this PR as well.