Kelly Brazil
6434ff61bf
add HTTP header datetime format
2024-02-06 01:54:31 +00:00
Kelly Brazil
45a1be11e2
doc update
2024-02-06 01:54:31 +00:00
Kelly Brazil
7659fe470a
formatting
2024-02-06 01:54:31 +00:00
Muescha
c332c4febf
draft for path and path_list ( #513 )
...
* draft for path_list
* updaate doc
* add input check
* fix types
* fix schema: add missing properties
* add _process
* fix _process docs
* refactor: extract path.py parser
* swap order of names alphabetically
* documentation and comments
* path parser: add early return for nodata
* path and path-list parser: add test and fixtures
* typo in file name
* add early return for nodata
* add test and fixtures
* typo in file name
* rename fixtures
* rename fixtures
* refactor to pathlib.Path
* failing on windows - use PurePosixPath
* changed the way to strip dot from suffix
* add POSIX to path
* test commit to see results on windows is failing
* test commit to see results on windows is failing
* add windows path detection
* somehow Path not like the newline from input line
* add test with more items
* remove debug print
* wrap test loops into into subTest
* remove print statements
* add path and path-list to CHANGELOG
---------
Co-authored-by: Kelly Brazil <kellyjonbrazil@gmail.com >
2024-02-06 01:54:31 +00:00
Kelly Brazil
2cc212bfab
use convert_size_to_int() from utils
2024-02-06 01:54:31 +00:00
Kelly Brazil
b836ffc583
add tests for convert_size_to_int()
2024-02-06 01:54:31 +00:00
Kelly Brazil
29f1a1d425
fix proc doc - output is dict or list of dicts
2024-02-06 01:54:31 +00:00
Kelly Brazil
9f78dc6afa
proc parser doc update
2024-02-06 01:54:31 +00:00
Kelly Brazil
74c7e11948
doc update
2024-02-06 01:54:31 +00:00
Kelly Brazil
6ba6dc0374
version bump
2024-02-06 01:54:31 +00:00
pettai
ec0f2569e5
More nsd fixes ( #523 )
...
* Update nsd_control.py
support catz output
* Update nsd_control.py
fix parsing of catz zones
* add testdata
add corresponding catz testdata
2024-02-06 01:54:31 +00:00
Kelly Brazil
65e30c4440
doc update
2024-02-06 01:54:31 +00:00
Kelly Brazil
8d9ebf5dfa
doc update
2024-02-06 01:54:31 +00:00
Kelly Brazil
c3746454ff
doc update
2024-02-06 01:54:31 +00:00
Kelly Brazil
ea0f6493a2
update contributing guide
2024-02-06 01:54:31 +00:00
Kelly Brazil
afbc46076e
add ping tests
2024-02-06 01:54:31 +00:00
Mabuchin
2b9b6550a7
Fix data_bytes is null in ping -I option ( #520 )
...
* fixed header parsing when specifying ping interface
* add source_ip parsing test for ping/ping-s
---------
Co-authored-by: Kelly Brazil <kellyjonbrazil@gmail.com >
2024-02-06 01:54:31 +00:00
Kelly Brazil
6fb3c0a409
doc update
2024-02-06 01:54:31 +00:00
Kelly Brazil
1b8911ad36
add slurp docs
2024-02-06 01:54:31 +00:00
Kelly Brazil
cc61b57dd1
add blank line tests to slicer
2024-02-06 01:54:31 +00:00
Kelly Brazil
6d679b2895
doc update
2024-02-06 01:54:31 +00:00
Kelly Brazil
1e1fc08a47
doc update
2024-02-06 01:54:31 +00:00
Kelly Brazil
b5c3a03d56
implement slurp by wrapping in a list, adding "_file" for /proc, and further wrapping in {"result": data} when --meta-out is used.
2024-02-06 01:54:31 +00:00
Kelly Brazil
9e269f070f
update slice help doc
2024-02-06 01:54:31 +00:00
Kelly Brazil
f863cfdef4
fix for slicing blank lines
2024-02-06 01:54:31 +00:00
Kelly Brazil
2cd58d75e7
make parser_shortname more robust
2024-02-06 01:54:31 +00:00
Kelly Brazil
03b70eebb7
make /proc slurpable with magic syntax
2024-02-06 01:54:31 +00:00
Kelly Brazil
1e76ce2aea
doc update
2024-02-06 01:54:31 +00:00
Kelly Brazil
d9fc1b4242
doc update
2024-02-06 01:54:31 +00:00
Muescha
36a3d2e96d
crontab remove double entry in doc ( #518 )
2024-02-06 01:54:31 +00:00
Kelly Brazil
bf05de1d63
doc update
2024-02-06 01:54:31 +00:00
Kelly Brazil
cae41df1d8
add get_parser tests
2024-02-06 01:54:31 +00:00
Kelly Brazil
8e9ff7fa9f
refactor to use get_parser()
2024-02-06 01:54:31 +00:00
Muescha
973c535c72
extract to public jc.get_parser(parser_name) ( #516 )
...
* remove unused imports and RegEx
* extract to public jc.get_parser(parser_name)
* changed order of exports
* add doc
* add doc.md
* remove data_dir from doc.md
---------
Co-authored-by: Kelly Brazil <kellyjonbrazil@gmail.com >
2024-02-06 01:54:31 +00:00
Muescha
8614d3dde9
remove unused imports and RegEx ( #515 )
2024-02-06 01:54:31 +00:00
Kelly Brazil
a73ee47bcf
move slurp error message so it will work for all parser types
2024-02-06 01:54:31 +00:00
Kelly Brazil
d54a81831f
update slicer to use utils.line_slice()
2024-02-06 01:54:31 +00:00
Kelly Brazil
73ae1396b9
enhance slurp error message
2024-02-06 01:54:31 +00:00
Kelly Brazil
3399e8551e
add slurpable_parser_mod_list test
2024-02-06 01:54:31 +00:00
Kelly Brazil
b9656c2fae
add line_slice tests
2024-02-06 01:54:31 +00:00
Kelly Brazil
e08ccb7942
add slurp test. fix cli_json_out_pretty test
2024-02-06 01:54:31 +00:00
Kelly Brazil
9b648e8560
doc update
2024-02-06 01:54:31 +00:00
Kelly Brazil
c97a8fb48f
add line_slice function
2024-02-06 01:54:31 +00:00
Kelly Brazil
3a95407161
back out slurp array flattening code
2024-02-06 01:54:31 +00:00
Kelly Brazil
7609af28b3
doc update
2024-02-06 01:54:31 +00:00
Kelly Brazil
c2b2e81a2b
add more slurpable parsers
2024-02-06 01:54:31 +00:00
Kelly Brazil
3b0594a4a6
flatten slurp output if parser outputs a list
2024-02-06 01:54:31 +00:00
Kelly Brazil
2b0b9dd7ba
doc update
2024-02-06 01:54:31 +00:00
don Rumata
f159dd6b9d
Add plugins support 4 snapcraft ( #512 )
...
* Added `snap` support.
* Added plugins support.
* Add README 4 snap.
---------
Co-authored-by: Kelly Brazil <kellyjonbrazil@gmail.com >
2024-02-06 01:54:31 +00:00
Kelly Brazil
2d5d87c73d
version bump and doc update
2024-02-06 01:54:31 +00:00