Eric Callahan
4fe99e6ebb
json_wrapper: fix linter errors
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2023-10-07 10:37:42 -04:00
Eric Callahan
65644bab8b
utils: add ioctl_macros module
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2023-10-07 07:40:41 -04:00
Eric Callahan
f99e5b0bea
utils: add support for msgspec with stdlib json fallback
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2023-10-06 18:20:28 -04:00
Eric Callahan
4f785cfca0
update_manager: clarify web client git warning
...
When the parent folder of a web client is a git repo note the specific
directory that contians a .git subdirectory.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2023-07-14 12:40:17 -04:00
Eric Callahan
3f1e9e397e
update_manger: log remaining refresh time on init
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2023-07-12 13:57:27 -04:00
Eric Callahan
bdd1d93708
versions: software version parsing utility
...
The versions module contains classes that can parse
Python and Git versions, providing methods to access
the version details.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2023-07-12 13:57:25 -04:00
Eric Callahan
35396a5b2a
source_info: add within_git_repo method
...
Check for git files and folders, including those of parents.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2023-06-20 11:59:40 -04:00
Eric Callahan
1a5cf56532
utils: add direct fallback to load_system_module
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2023-06-07 19:45:39 -04:00
Eric Callahan
cd4fdfb7b6
utils: report additional git repo data
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2023-05-26 10:49:58 -04:00
Eric Callahan
80920dd872
utils: fix dist package check
...
Older versions of virtualenv include their own "site" module
that does not have the "getsitepackages" method. Add
a check to verify its presence before calling it.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2023-03-05 16:41:21 -05:00
Eric Callahan
2cda75ff2c
utils: simplify sentinel object
...
Use an enum to represent the sentinel rather than a singleton object.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2023-02-22 18:08:50 -05:00
Eric Callahan
79467e6484
utils: add source_info utility module
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2023-02-22 18:08:48 -05:00
Eric Callahan
277aecd305
moonraker: convert utils.py to a package
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2023-02-22 18:08:47 -05:00