1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-06-17 00:07:37 +02:00
Commit Graph

3873 Commits

Author SHA1 Message Date
c6a13aa4d8 force test run 2025-04-15 08:51:35 -07:00
966df71566 add default policy stats to iptables parser 2025-04-15 08:41:30 -07:00
c8599253fb formatting 2025-04-14 15:30:35 -07:00
65d9cc718f version bump 2025-04-13 18:14:15 -07:00
9b4190f1e6 fix mount on macOS when filesystem contains parenthesis 2025-04-13 18:13:31 -07:00
c519657d85 allow IDNA2008 encoded email addresses with warning 2025-04-12 10:50:26 -07:00
d5cceb77e9 remove extraneous file 2025-04-04 16:16:47 -07:00
5cde110afb set bytes conversion to posix mode 2025-04-04 16:14:20 -07:00
65aa6c1a9a update copyright date 2025-04-02 12:06:59 -07:00
5394d7f62d doc update 2025-04-02 11:37:24 -07:00
ebbd4e9320 Fix broken controller parser schema to include power state prop (#652)
This commit fixes issue #627

Co-authored-by: Kelly Brazil <kellyjonbrazil@gmail.com>
2025-04-02 11:32:19 -07:00
834acfb2d6 update lsblk tests 2025-03-31 17:06:41 -07:00
1182c9f263 fix for missing dB value 2025-03-31 16:50:46 -07:00
ed3046bb1b remove type annotations since they are not used 2025-03-31 16:34:38 -07:00
ca73076b56 make empty mountpoints list instead of null 2025-03-31 14:29:27 -07:00
9efc014dce doc update 2025-03-31 14:17:51 -07:00
dbe1757a48 add mountpoints array field and convert sizes to bytes 2025-03-31 14:16:17 -07:00
1c09289d95 fix time parser for missing centiseconds 2025-03-31 12:16:45 -07:00
e9ccedf0d7 doc update 2025-03-30 12:38:41 -07:00
fb4b4eeb58 Adjust for removal of typing.ByteString in Python 3.14 (#639)
`typing.ByteString` has been removed:

https://docs.python.org/3.14/whatsnew/3.14.html

The modernizing guide suggests `collections.abc.ByteString` which has
also been removed; the recommendation is to use either:

- just `bytes`
- `collections.abc.Buffer`
- a union of `bytes`, `bytesarray`, etc.

https://typing.readthedocs.io/en/latest/guides/modernizing.html#modernizing-byte-string

Per discussion, using `bytes` should suffice

Signed-off-by: Michel Lind <salimma@fedoraproject.org>
2025-03-30 12:34:54 -07:00
896891ad9e Switch TZ to a generic name (#635)
Switch TZ to a more generic name that works under minimal chrooted builds. (America/Los_Angeles, Pacific, PST, PST8PDT)
This fixes pbuilder builds on Ubuntu

Co-authored-by: Kelly Brazil <kellyjonbrazil@gmail.com>
2025-03-30 12:33:45 -07:00
7fda79d841 allow parser to deal with null input 2024-12-20 16:31:38 -08:00
8995ac686a doc update 2024-12-20 15:30:41 -08:00
006047553d version bump to v1.25.5 2024-12-20 15:29:07 -08:00
c56e38c66c Merge pull request #625 from kellyjonbrazil/master
Merge pull request #618 sync dev
2024-12-20 23:26:25 +00:00
ee3b873ef4 Merge branch 'dev' into master 2024-12-20 23:24:53 +00:00
a39cb05228 created the amixer sget command parser - READY FOR REVIEW (#616)
* created the amixer first skeleton

* push testing and integrate this commit and branch with issue: #591

* #591 checks the input data with jc utils

* created the data parser of the sget control of the amixer sget <controller> command.

* test commit - just for tests

* another test commit

* another test commit

* created a dedicated pseudo algorithm for the amixer sget and tried various of strings.

* orginized the docstring with general explanation about the tool and the amixer tool output and algorithm of the input parsing and input examples.

* created raw implementation, but it's raw either or either.

* orginized the content inside the amixer parser

* removed endpoint name

* added amixer to the jc parser in lib

* more explanations

* added tests for the amixer sget

* added tests for the amixer sget

* fine versioning fix

* created docstring+another explanations seperated.

* created the amixer parser docu

* added the amixer in alphabet order to the json convert lib

* Fix PEP 8: E302 violation as part of boy scout principle

* deleted not necessary file

* fixed the spaces between sections in the amixer description

* resolved commits such as amixer module docstring and preperations for  parser for raw=False.

* Revert "Fix PEP 8: E302 violation as part of boy scout principle"

This reverts commit 241d1a1c63.

* created the dedicated _process for raw=False

* created the dedicated _process for raw=False

* added tests for the _process raw=False.

* changed keys to be lowercase snake-case - Change 'dB' to 'db'

* added more dB -> db changes and used int convertor of the jc utils

---------

Co-authored-by: EdenRafael <eden.refael@kazuar.com>
Co-authored-by: Eden Refael <edeenraf@hotmail.com>
Co-authored-by: Kelly Brazil <kellyjonbrazil@gmail.com>
2024-12-20 15:06:38 -08: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
99cce72244 fix: Add TZ for runtests.sh 2024-11-27 20:31:47 +03:00
0c40e3a3c9 Merge pull request #618 from kellyjonbrazil/dev
Dev v1.25.4
v1.25.4
2024-11-25 20:39:34 -08: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
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
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