1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-08-06 22:32:54 +02:00
Commit Graph

3862 Commits

Author SHA1 Message Date
d80d340a28 Merge branch 'dev' into feature/amixer-new-parser 2024-11-29 01:17:34 +00:00
f54ceaa793 Merge pull request #619 from Luigi31415/add-tz-to-tests
Timezone Testing with TZ Env Variable
2024-11-29 01:02:31 +00:00
3e39cdc9eb added tests for the amixer sget 2024-11-28 23:29:10 +02:00
85c9c8e777 added tests for the amixer sget 2024-11-28 23:22:32 +02:00
f26d28638a more explanations 2024-11-28 20:21:37 +02:00
b6032863ac added amixer to the jc parser in lib 2024-11-28 20:13:06 +02:00
9a4c0559f0 removed endpoint name 2024-11-28 20:05:32 +02:00
2c9d6dc24e orginized the content inside the amixer parser 2024-11-28 19:45:57 +02:00
d0b8d05cfe created raw implementation, but it's raw either or either. 2024-11-28 01:20:40 +02:00
1002afca8c orginized the docstring with general explanation about the tool and the amixer tool output and algorithm of the input parsing and input examples. 2024-11-28 00:46:29 +02:00
90498052e0 created a dedicated pseudo algorithm for the amixer sget and tried various of strings. 2024-11-28 00:41:14 +02:00
99cce72244 fix: Add TZ for runtests.sh 2024-11-27 20:31:47 +03:00
025d00ecd2 Merge branch 'master' into dev 2024-11-25 20:33:20 -08:00
a2b5d41308 minor fix to iw-scan to parse more fields 2024-11-25 20:19:40 -08:00
366589268e update calculated fields 2024-11-25 17:16:30 -08:00
ca62b6a16d another test commit 2024-11-25 10:05:39 +02:00
2475452292 another test commit 2024-11-25 10:04:59 +02:00
f3261d30c2 test commit - just for tests 2024-11-25 10:03:06 +02:00
53dd28b65e doc update 2024-11-24 18:59:30 -08:00
0be6528aff convert size fields and fix issue for optional_deps without a description 2024-11-24 18:13:08 -08:00
6ceaa7749e doc update 2024-11-24 17:30:49 -08:00
6ae2e17ea1 add examples and tests 2024-11-24 17:30:03 -08:00
ef9ca9322e Some processing completed 2024-11-24 16:02:59 -08:00
95cba21d73 initial pacman parser 2024-11-24 14:57:55 -08:00
be1dd031f1 doc update 2024-11-24 13:38:10 -08:00
7fbe1e9f21 Add WireGuard (wg) Command Output Parser (#606)
* feat: add parser to parse the output of wg

* fixup! feat: add parser to parse the output of wg

* feat: Add tests for windows 10

---------

Co-authored-by: Kelly Brazil <kellyjonbrazil@gmail.com>
2024-11-24 13:34:58 -08:00
7d33850d43 fix: Edit pythonapp.yml workflow to run on non-draft PRs (#617) 2024-11-24 13:24:04 -08:00
37dc01f960 created the data parser of the sget control of the amixer sget <controller> command. 2024-11-24 21:16:48 +02:00
27ce3b2c3d #591 checks the input data with jc utils 2024-11-22 15:22:16 +02:00
6a02b3d7f4 push testing and integrate this commit and branch with issue: #591 2024-11-22 14:21:22 +02:00
b3601bb775 created the amixer first skeleton 2024-11-22 14:21:22 +02:00
7887789d0d coerce non-json-serializable objects to strings 2024-11-20 13:49:27 -08:00
7ddd2a4ce2 fix yaml parser to support values starting with an equal sign 2024-11-19 14:12:21 -08:00
34ab34cc66 doc update 2024-11-19 12:15:18 -08:00
a8b231da81 nsd-control parser update, zone transfer status (#607)
* add more parsing functionality for transfering state

* add additional/conditional fields into the schema

---------

Co-authored-by: Kelly Brazil <kellyjonbrazil@gmail.com>
2024-11-19 12:12:43 -08:00
2278c7ecab doc update 2024-11-19 10:51:16 -08:00
4cb88977cc add long ipv6 test 2024-11-19 10:51:10 -08:00
0af4a3a5d7 fix: New RE_PROBE_IPV6_ONLY with better complexity in worst case (#609)
Example ':'*100

Co-authored-by: Kelly Brazil <kellyjonbrazil@gmail.com>
2024-11-19 10:43:24 -08:00
c0f9b705c6 doc update 2024-11-19 10:33:19 -08:00
fa416083f2 Fix/spaces in program name (#608)
* fix: enforce word boundaries while checking state presence

* fix: add tests for the special netstat case with space in process name

---------

Co-authored-by: Kelly Brazil <kellyjonbrazil@gmail.com>
2024-11-19 10:28:32 -08:00
e858faa746 fix for contiguous packages with the same name 2024-11-18 16:21:40 -08:00
a8f769eea3 doc update 2024-10-20 09:50:36 -07:00
26133261f9 use jc.utils.timestamp() for datetime conversions 2024-10-20 09:45:08 -07:00
6072ea0ec7 doc update 2024-10-18 14:34:29 -07:00
95672c23b7 doc update 2024-10-18 14:30:04 -07:00
a2e0e6d549 feat: Add Windows ipconfig parser to jc (#596)
* feat: Introduce ipconfig parser

* fix: add parsing support for "connection_specific_dns_suffix_search_list" and windows XP ipv4 addresses, remove dateutil dependency

* fix: introduce unit tests, correct import of datetime

* fix: changed preferred to status to account for other ip statuses, and parsed link local ipv6 prefix length

* fix: compress _parse_header_line and _parse_adapter_line + fix casing in unit test file

---------

Co-authored-by: Kelly Brazil <kellyjonbrazil@gmail.com>
2024-10-18 14:17:14 -07:00
2df5e79295 doc update 2024-10-18 09:56:32 -07:00
c5e0642b0b Fix broken controller regexp scheme in the bluetoothctl parser (#599)
This commit fixes the controller parser scheme in order to take care
and extract some extra attributes, the manufacturer and version.
The order of the attributes appearing in the regexp scheme must follow
the order they appear in the `bluetoothctl show` outputs.

A new test has been added to test outputs with these extra attrs.

Co-authored-by: Kelly Brazil <kellyjonbrazil@gmail.com>
2024-10-18 09:50:51 -07:00
78150ded70 doc update 2024-10-17 14:05:06 -07:00
05f3e4ea8a fixup tests 2024-10-17 13:53:20 -07:00