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

3713 Commits

Author SHA1 Message Date
125b88a2ca Merge pull request #371 from kellyjonbrazil/master
sync to dev
2023-03-05 17:59:09 +00:00
79fce8c769 doc update 2023-02-27 17:37:49 -08:00
a4a53f8b3b Merge pull request #368 from kellyjonbrazil/dev
Dev v1.23.0
v1.23.0
2023-02-27 15:13:57 -08:00
743e1ae90f doc update 2023-02-27 15:01:00 -08:00
dbcff80907 add zpool tests 2023-02-27 13:44:16 -08:00
6e10965aed doc update 2023-02-21 17:19:17 -08:00
0c8c4a9c53 formatting 2023-02-21 17:18:24 -08:00
7632541a1e Merge pull request #365 from tzeikob/xrandr-edid-364
Modify the xrandr parser to extract display model info from EDID #364
2023-02-21 17:04:46 -08:00
a213ad9a85 doc update 2023-02-21 15:50:09 -08:00
15ac5a9004 fix for crontab files with only shortcut entries 2023-02-21 15:44:55 -08:00
0658668eb0 Fix broken TypedDict compatibility with older versions of python
By missing to declare the Model as a generic dictionary type we cause
the script to fail because the TypedDict is not supported by older
versions of python (e.g. 3.6, 3.7).
2023-02-21 14:43:10 +02:00
ccef69ac37 add ubuntu16 tests 2023-02-20 12:04:45 -08:00
64676fda2e fix for older linux style output 2023-02-20 11:56:20 -08:00
6ea2d776ae Add unit tests for xrandr --properties outputs 2023-02-17 16:25:41 +02:00
98ced9616c Modify xrandr parser to extract model info from EDID (#364)
This change will make the xrandr parser to work also with outputs from
`xrandr --properties`, where the option `--properties` enables xrandr
to return the EDID data of each output device. The parser is expected
to remain backward compatible for regular xrandr outputs. The extra info
that will be added to every device object is:

```json
{
  "model_name": "str",
  "product_id": "str",
  "serial_number": "str"
}
```

Because the EDID data come encoded in a hexadecimal string, we have to
decode them by vendoring the pyedid (https://github.com/jojonas/pyedid) library.

Fixes: #364
2023-02-17 16:09:50 +02:00
ae19183803 add test for is_current fix 2023-02-13 18:17:14 -08:00
8536514baf add test for output with extra spaces that caused infinite loops 2023-02-13 18:09:10 -08:00
81982a9f79 doc updagte 2023-02-12 18:30:31 -08:00
1acbb2f096 Merge pull request #361 from tzeikob/reflect-360
Move the reflect value in its own key (xrandr) #360
2023-02-12 18:28:37 -08:00
80fb4d40a5 Add unit test to assert devices in reflect mode 2023-02-09 21:22:34 +02:00
c972dd1aac Merge pull request #362 from jpmat296/master
Improve accepted formats in proc_pid_smaps
2023-02-09 09:51:26 -08:00
9dde65c25c Improve accepted formats in proc_pid_smaps 2023-02-07 14:57:15 +01:00
7486b0c7cd Move the reflect value in its own key (xrandr)
Currently the reflect value of a device is included in the rotation
key as a combination of both rotation and reflection (e.g. normal X axis).
With this modification we move the reflection value to its own key in the
JSON document like so:

```json
{
  ...
  "rotation": "...",
  "reflection": "...,
  ...
}
```

Fixes: issue #360
2023-02-07 13:02:21 +02:00
5c7a520a0b formatting 2023-02-05 13:04:32 -08:00
193ddf71f8 fix typos 2023-02-05 09:52:59 -08:00
c46fe9816c doc update 2023-02-05 09:49:32 -08:00
aada5f0794 add int conversions 2023-02-04 19:04:43 -08:00
5c7bf363a6 add schema and docs 2023-02-04 18:51:31 -08:00
00b74be540 version bump 2023-02-04 17:37:56 -08:00
96cb01f57a fix zpool-status for multi-line fields 2023-02-04 17:37:48 -08:00
adf5f403ae regex fix for infinite loop? 2023-02-04 14:37:03 -08:00
1c09c95c71 doc update 2023-02-04 11:26:41 -08:00
64f442d743 fix for is_current? 2023-02-04 11:20:48 -08:00
cd8d43446b add zpool-status parser 2023-02-02 15:57:15 -08:00
7361eac1a4 formatting 2023-01-31 17:02:04 -08:00
9d41f0a938 doc update 2023-01-31 17:00:42 -08:00
00274c15df add process conversions 2023-01-31 16:52:56 -08:00
d0b8a91f94 add zpool-iostat parser 2023-01-31 11:59:19 -08:00
098e8dbef6 doc update 2023-01-31 11:59:06 -08:00
ec29b8bbc6 add test for acpi fix for never fully discharge state 2023-01-31 09:51:23 -08:00
1d8f83b8c6 add ver parser tests 2023-01-31 09:44:23 -08:00
12c4419c6a doc update 2023-01-31 08:30:37 -08:00
b134c53f33 add ssh_conf tests 2023-01-31 08:29:43 -08:00
23ff19fdb5 add slicer tests 2023-01-31 06:48:37 -08:00
7a43ba631b fix tests for slice info metadata 2023-01-30 08:59:54 -08:00
2beb26f3e3 add slice info to Metadata output 2023-01-30 08:52:22 -08:00
4b55f49e99 formatting 2023-01-30 08:11:21 -08:00
c0239a771c clarify parser argument quote wrapping code 2023-01-27 16:28:55 -08:00
bc4738e900 don't quote spaces in command arguments 2023-01-27 15:58:01 -08:00
1c76caf59b formatting 2023-01-27 15:22:36 -08:00