Kelly Brazil
30c7507304
doc update
2026-04-17 16:13:18 -07:00
Kelly Brazil
7d801f30bb
doc update
2026-04-17 16:11:47 -07:00
Kelly Brazil
4340916a5a
add support for rule logging
2026-04-17 16:11:42 -07:00
Kelly Brazil
246c2e02af
make lsattr more robust
2026-04-17 11:32:44 -07:00
Kelly Brazil
e009338ad1
Merge pull request #697 from fuleinist/fix/lsattr-filename-spaces
...
Fix lsattr parser for filenames with spaces
2026-04-17 10:58:48 -07:00
fuleinist
27ef603acc
Fix lsattr parser for filenames with spaces
...
Use maxsplit=1 with line.split() to properly handle filenames
containing spaces or newlines. Previously split() without maxsplit
would incorrectly split './ok ok ok ok ok' into 6 parts instead of 2.
Fixes: https://github.com/kellyjonbrazil/jc/issues/694
2026-04-17 08:06:11 +08:00
Kelly Brazil
3f2cd81ca7
doc update
2026-03-30 11:51:22 -07:00
Kelly Brazil
6c8aafa2c5
Merge pull request #688 from queelius/fix/dir-lstrip-drive-letter
...
Fix dir parser: lstrip strips D: drive letter from path
2026-03-30 11:49:51 -07:00
Kelly Brazil
41e2e16436
Merge branch 'dev' into fix/dir-lstrip-drive-letter
2026-03-30 11:46:32 -07:00
Kelly Brazil
20b625860e
Merge pull request #686 from queelius/fix/ifconfig-lstrip-hex-mask
...
Fix ifconfig hex mask conversion: lstrip('0x') -> [2:]
2026-03-30 11:44:57 -07:00
Kelly Brazil
0d703cd3a8
Merge branch 'dev' into fix/ifconfig-lstrip-hex-mask
2026-03-30 11:41:36 -07:00
Kelly Brazil
7b3d345d62
doc update
2026-03-30 11:36:22 -07:00
Kelly Brazil
53b6f1b329
Merge pull request #689 from ReinerBRO/fix/pip-show-files-section
...
Handle pip show Files sections
2026-03-30 11:29:59 -07:00
Kelly Brazil
ecc267b3cb
Merge branch 'dev' into fix/pip-show-files-section
2026-03-30 11:20:09 -07:00
Kelly Brazil
5d2496b5f7
doc update
2026-03-30 10:52:43 -07:00
Kelly Brazil
810eeba724
version bump
2026-03-30 10:50:56 -07:00
Kelly Brazil
fb5c1b9c94
Merge pull request #692 from juliosuas/fix/ifconfig-lstrip-hex-mask
...
fix: use [2:] instead of lstrip('0x') to strip hex prefix in ifconfig parser
2026-03-30 10:46:54 -07:00
Kelly Brazil
f797127ca9
Merge branch 'dev' into fix/ifconfig-lstrip-hex-mask
2026-03-30 10:39:54 -07:00
Julio César Suástegui
56bd860a5e
fix: use [2:] instead of lstrip('0x') to strip hex prefix in ifconfig parser
...
str.lstrip('0x') strips any combination of '0' and 'x' characters from
the left, not the literal two-character prefix '0x'. For subnet masks
where the hex digits start with '0' (e.g. '0x00000000' for a /0 mask),
lstrip strips all leading zeros along with the 'x', producing an empty
string instead of '00000000'.
Replace with a slice [2:] which correctly removes exactly the first two
characters ('0x') regardless of what follows.
This bug affected both the legacy ipv4_mask field and the ipv4[] list
items in _process() (lines 267 and 292).
Fixes #685
2026-03-30 03:07:11 -06:00
ReinerBRO
9fe659d625
Handle pip show files sections
2026-03-26 14:14:11 +08:00
Alex Towell
128e36404d
Fix dir parser stripping D: drive letter from parent directory path
...
lstrip(" Directory of ") strips any character in the set
{' ','D','i','r','e','c','t','o','y','f'}, which incorrectly removes
the 'D' from D:\ paths. Use fixed-length prefix removal with [len():]
instead.
Fixes #687
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-25 03:14:43 -05:00
Alex Towell
2f9377cb67
Fix ifconfig hex mask conversion using lstrip('0x') instead of [2:]
...
lstrip('0x') strips any character in {'0','x'} from the left, not the
literal prefix "0x". This causes incorrect mask conversion for masks
with leading zero hex digits (e.g. 0x00000000 -> empty string instead
of 0.0.0.0).
Replace lstrip('0x') with [2:] to correctly remove only the '0x'
prefix. Fixes both the legacy ipv4_mask field and the ipv4[] list.
Fixes #685
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-25 03:12:34 -05:00
Kelly Brazil
585ff83a2e
update changelog
2026-03-16 12:29:46 -07:00
Kelly Brazil
45b23e8b3c
version bump
2026-03-16 12:18:49 -07:00
Kelly Brazil
b9eec1a5cd
Merge pull request #673 from native-api/haslib_mode
...
Correctly parse mode indicators in hashsum output
2026-03-16 12:15:18 -07:00
Kelly Brazil
47545833ed
Merge branch 'dev' into haslib_mode
2026-03-16 12:05:52 -07:00
Kelly Brazil
6f8e4fb2ed
Merge pull request #679 from jylenhof/master
...
docs(README): add mise alternate installation documentation
2026-03-16 12:01:45 -07:00
Kelly Brazil
4f7821ac8e
Merge branch 'dev' into master
2026-03-16 12:00:13 -07:00
Kelly Brazil
7f2722ff96
remove int_value field and add tests
2026-03-13 15:16:54 -07:00
Kelly Brazil
1d19de3005
add typeset and declare command parser
2026-03-10 18:16:53 -07:00
Kelly Brazil
e01287b329
add stats fields to json output. #676
2026-03-09 17:35:33 -07:00
Kelly Brazil
441bcbde80
fix indent on help text so lines don't wrap over 80 chars. Also fix mypy uncovered value assignment issue.
2026-03-06 15:50:52 -08:00
Kelly Brazil
936432d879
Fix parsing blank targe in verbose output #675
2026-03-06 12:59:16 -08:00
Kelly Brazil
51543437d7
remove comment
2026-02-27 14:57:59 -08:00
Kelly Brazil
dd9229f161
Merge branch 'dev' of https://github.com/kellyjonbrazil/jc into dev
2026-02-27 14:55:50 -08:00
Kelly Brazil
3d9554baec
force tests
2026-02-27 14:55:45 -08:00
Kelly Brazil
e33a81269c
update os matrix and python versions for tests
2026-02-27 14:54:15 -08:00
Kelly Brazil
f3352352ed
fix unknown flags throwing key error ( #681 )
2026-02-27 12:08:08 -08:00
Kelly Brazil
1c0a35dff8
version bump
2026-02-27 11:37:58 -08:00
jylenhof
8ba75794a6
docs(README): add mise alternate installation documentation
...
Signed-off-by: jylenhof <jygithub@lenhof.eu.org >
2026-01-10 11:07:10 +01:00
Ivan Pozdeev
77af5ac9d3
Revert ".gitignore: + Pycharm metadata"
...
This reverts commit 0363ddcc6a .
2025-12-16 03:26:09 +03:00
Ivan Pozdeev
4067bfed9f
Support friendly names for modes; rename files and tests to indicate non-default modes
2025-12-16 02:43:16 +03:00
Ivan Pozdeev
0363ddcc6a
.gitignore: + Pycharm metadata
2025-12-16 02:07:14 +03:00
Ivan Pozdeev
04303efa75
Fix tests
2025-12-16 01:28:18 +03:00
Ivan Pozdeev
956f74358b
Add tests for other mode indicators
2025-12-15 23:42:13 +03:00
Ivan Pozdeev
4fe3377029
Support other mode symbols -- e.g. 'U' and '^' from Perl shasum
...
Accept any symbol for future-proofing
2025-12-15 23:31:16 +03:00
Ivan Pozdeev
1944a7145e
Fix erroneous redundant find&replace
2025-12-11 07:23:53 +03:00
Ivan Pozdeev
3d698e50c0
fix
2025-12-11 07:12:55 +03:00
Ivan Pozdeev
5945ded816
Fix incompatibility with 3.6; more specific regex
2025-12-11 07:10:36 +03:00
Ivan Pozdeev
ecd0e03c66
Parse the mode indicator in *sum output
...
In accordance with shasum(1) manpage
For legacy md5, set it to blank
2025-12-11 07:01:26 +03:00