1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-06-23 00:29:59 +02:00

Commit Graph

  • 709b2fe4ee add -h and -v options Kelly Brazil 2021-04-02 18:08:46 -07:00
  • 09c1fccc58 manpage updates Kelly Brazil 2021-04-02 18:04:55 -07:00
  • fd254d99b7 add manpage generator Kelly Brazil 2021-04-02 17:40:09 -07:00
  • 88bd2c1722 fix typo Kelly Brazil 2021-04-02 16:31:22 -07:00
  • d03e2f0fc1 add parser schema guidelines Kelly Brazil 2021-04-02 15:01:21 -07:00
  • 3f12a393bd formatting Kelly Brazil 2021-04-02 13:25:23 -07:00
  • 8c21284c50 remove redundant license info Kelly Brazil 2021-04-02 13:23:26 -07:00
  • e7d396c215 update issues link Kelly Brazil 2021-04-02 13:21:56 -07:00
  • f238fac0eb add contributing guidelines Kelly Brazil 2021-04-02 13:19:47 -07:00
  • 017228f80d add tested on Windows 10 Kelly Brazil 2021-04-02 12:14:26 -07:00
  • 286c5fa943 add dir parser Kelly Brazil 2021-04-02 12:12:43 -07:00
  • 74cfc13abe fixup dir parser tests Kelly Brazil 2021-04-02 12:10:05 -07:00
  • 0ee4a6c377 update schema and add epoch naive timestamp Kelly Brazil 2021-04-02 12:01:39 -07:00
  • 283433578d add dir parser Kelly Brazil 2021-04-02 12:01:23 -07:00
  • 9559c85057 add windows dir format Kelly Brazil 2021-04-02 12:01:05 -07:00
  • c5c020f565 add /S option Kelly Brazil 2021-04-02 11:16:03 -07:00
  • 95ec79bceb Merge pull request #107 from rasheed-rd/add-dir-parser Kelly Brazil 2021-04-02 11:14:26 -07:00
  • 8f8be8aa33 add -1 option info Kelly Brazil 2021-04-02 11:14:06 -07:00
  • 5b60c7445a Add support for /S and update documentation Rasheed Elsaleh 2021-04-02 13:43:06 -04:00
  • d9dbcc8b52 Add parent dir to structure. Add test cases. Remove support for /Q Rasheed Elsaleh 2021-04-02 13:13:05 -04:00
  • 79bc525970 add codes field to schema Kelly Brazil 2021-04-01 20:42:36 -07:00
  • 9dae1091dd typo fix Kelly Brazil 2021-04-01 20:41:05 -07:00
  • 74d3ac686a add dpkg-l tests Kelly Brazil 2021-04-01 20:37:12 -07:00
  • cf3cc636ba add dpkg-l parser info Kelly Brazil 2021-04-01 20:25:56 -07:00
  • a720441e1d add dpkg -l example Kelly Brazil 2021-04-01 20:24:19 -07:00
  • 0a7ed0959d rename err to error Kelly Brazil 2021-04-01 20:17:21 -07:00
  • eb83c9b86d replace parse_datetime_to_timestamp with timestamp class Kelly Brazil 2021-04-01 20:13:40 -07:00
  • 5c0142dd19 add dpkg-l parser Kelly Brazil 2021-04-01 20:12:58 -07:00
  • c326c8dc83 add TypeError to except block. add /usr/bin/time tests Kelly Brazil 2021-04-01 12:52:10 -07:00
  • fc4082a03f remove old parse_datetime_to_timestamp function Kelly Brazil 2021-04-01 11:26:02 -07:00
  • c8655565ff use new timestamp class Kelly Brazil 2021-04-01 11:23:24 -07:00
  • 638f879f16 use new timestamp class Kelly Brazil 2021-04-01 11:21:27 -07:00
  • 1d221bf7e6 use new timestamp class Kelly Brazil 2021-04-01 11:19:49 -07:00
  • 60ea71f0ef use new timestamp class Kelly Brazil 2021-04-01 11:18:03 -07:00
  • d8bdd35a3f use new timestamp class Kelly Brazil 2021-04-01 11:17:53 -07:00
  • 7463891c53 use new timestamp class Kelly Brazil 2021-04-01 11:13:02 -07:00
  • 7537aec76f use jc.utils.timestamp instead of jc.utils.parse_datetime_to_timestamp() Kelly Brazil 2021-04-01 11:08:27 -07:00
  • 62234e39a8 use jc.utils.timestamp instead of jc.utils.parse_datetime_to_timestamp() Kelly Brazil 2021-04-01 11:08:20 -07:00
  • be004b7b3f make parse_datetime_to_timestamp function a class called timestamp for easier use Kelly Brazil 2021-04-01 11:07:37 -07:00
  • 82539444b2 fix indentation for int and float conversions. add real_time field to schema Kelly Brazil 2021-03-31 20:48:44 -07:00
  • a571d3cbaf fix typo Kelly Brazil 2021-03-31 20:41:04 -07:00
  • a038c14c23 change microseconds to centiseconds Kelly Brazil 2021-03-31 20:39:03 -07:00
  • 25a85d874c update docs Kelly Brazil 2021-03-31 20:21:29 -07:00
  • 884c36ff42 add /usr/bin/time parser Kelly Brazil 2021-03-31 20:19:46 -07:00
  • b98e72b8b4 add ls parser info Kelly Brazil 2021-03-30 21:33:23 -07:00
  • 05885c0096 add epoch and epoch_utc timestamps Kelly Brazil 2021-03-30 21:29:34 -07:00
  • 4c9761231a add when_epoch and when_epoch_utc fields Kelly Brazil 2021-03-30 20:41:10 -07:00
  • 656eaa1508 formatting Kelly Brazil 2021-03-30 16:43:53 -07:00
  • 1560dcddcf add acpi, upower parsers and -v version option Kelly Brazil 2021-03-30 16:43:02 -07:00
  • 08d4cd4870 add time calculations to acpi parser Kelly Brazil 2021-03-30 16:34:01 -07:00
  • 9767a50ced update who parser to add epoch naive timestamp Kelly Brazil 2021-03-30 11:59:44 -07:00
  • cd86890ed1 add website to info and use variables for version info Kelly Brazil 2021-03-30 08:05:26 -07:00
  • ba0dd3b9ca add parse_timedate_to_timestamp test for format 7300 Kelly Brazil 2021-03-29 21:25:19 -07:00
  • 8d7fa07ffd unformat json Kelly Brazil 2021-03-29 21:20:19 -07:00
  • cade1bfe6e update timedatectl tests for new epoch_utc field Kelly Brazil 2021-03-29 21:19:12 -07:00
  • daec4ab0a7 add epoch_utc field to timedatectl parser Kelly Brazil 2021-03-29 21:16:40 -07:00
  • 3c96bc3196 version bump Kelly Brazil 2021-03-29 20:57:58 -07:00
  • 7f7d8d4bd6 update stat docs Kelly Brazil 2021-03-29 20:36:10 -07:00
  • 47263661a4 update stat example Kelly Brazil 2021-03-29 20:30:20 -07:00
  • 4c42a086d2 clean up debug code Kelly Brazil 2021-03-29 20:25:54 -07:00
  • 5d2541a5c4 remove auto c locale and use a manual format rule for windows and linux compatibility Kelly Brazil 2021-03-29 20:22:35 -07:00
  • d91d170b49 try manual c locale format for windows Kelly Brazil 2021-03-29 20:16:05 -07:00
  • 6d1f4584a9 try manually setting time format for windows compatibility Kelly Brazil 2021-03-29 20:05:42 -07:00
  • 1d76d96bcf debug windows issue Kelly Brazil 2021-03-29 16:58:57 -07:00
  • e8847c998c update stat tests Kelly Brazil 2021-03-29 16:35:26 -07:00
  • da88e49bae add new examples Kelly Brazil 2021-03-29 15:36:16 -07:00
  • 65c3a12e54 simplify None data scenario Kelly Brazil 2021-03-29 15:32:04 -07:00
  • d8d600cc36 add reference to -h for help Kelly Brazil 2021-03-29 14:51:48 -07:00
  • 507999b117 add stat command timestamp detection Kelly Brazil 2021-03-29 14:45:13 -07:00
  • 8ad164eb34 fix tests for compact output Kelly Brazil 2021-03-29 12:33:54 -07:00
  • a507df140b add compact json info Kelly Brazil 2021-03-29 12:25:58 -07:00
  • 8912a99986 make default json output more compact Kelly Brazil 2021-03-29 12:25:48 -07:00
  • 1953f98828 add version info. add json now supports unicode output Kelly Brazil 2021-03-29 11:44:43 -07:00
  • 7515218ddd use jc.utils for all warning and error messages. simply error and warning formatting. Kelly Brazil 2021-03-29 11:42:01 -07:00
  • 36c1120136 formatting Kelly Brazil 2021-03-29 10:59:56 -07:00
  • 8fa0fe64d8 add -v to helptext. minor formatting Kelly Brazil 2021-03-29 10:52:02 -07:00
  • c1a8201b14 add copyright Kelly Brazil 2021-03-29 10:24:58 -07:00
  • 398bbac48c simplify return value for parse_datetime_to_timestamp() Kelly Brazil 2021-03-29 10:23:52 -07:00
  • ea71a42bbd formatting Kelly Brazil 2021-03-29 09:43:19 -07:00
  • 1c16d25b17 add version option (-v) and copyright information. add 'ensure_ascii=False' to json dumps to properly show UTF-8 copyright character Kelly Brazil 2021-03-29 09:41:15 -07:00
  • 9d12ded889 help description change Kelly Brazil 2021-03-26 16:32:17 -07:00
  • 5312701515 add - make all external python requirements optional Kelly Brazil 2021-03-26 16:29:10 -07:00
  • 808c7bc0a9 make xmltodict library optional Kelly Brazil 2021-03-26 16:14:35 -07:00
  • 4d394015f4 make ruamel.yaml library optional Kelly Brazil 2021-03-26 16:10:28 -07:00
  • 3638298af8 make pygments library optional Kelly Brazil 2021-03-26 15:54:45 -07:00
  • 5f00973e40 remove parenthesis to normalize text for naive timezone detection Kelly Brazil 2021-03-26 15:38:57 -07:00
  • 0f6e2c14fc simplify timestamp failure logic Kelly Brazil 2021-03-26 14:57:19 -07:00
  • 51813da619 add offset timezones. fix timestamp logic on conversion failure Kelly Brazil 2021-03-26 14:56:45 -07:00
  • e7751322ea formatting Kelly Brazil 2021-03-26 14:55:47 -07:00
  • 26ef298437 change return to always include the entire object but all keys may be None if conversion fails Kelly Brazil 2021-03-26 14:55:16 -07:00
  • badaf8ce73 comment formatting Kelly Brazil 2021-03-26 14:00:33 -07:00
  • b123a62203 move locale change formats to the end of the list Kelly Brazil 2021-03-26 13:11:34 -07:00
  • cfd77e4252 reset locale to None on exception Kelly Brazil 2021-03-26 13:01:12 -07:00
  • 38f814072e better normalization of datetime string. better UTC detection. More formats supported with detected locale. Kelly Brazil 2021-03-26 11:55:12 -07:00
  • a0db7754e3 add nixos install info Kelly Brazil 2021-03-26 09:32:49 -07:00
  • f07620afc7 move version to jc.__init__.py add -h option for help instead of always showing on error use jc.utils.error_message for the following errors: missing/incorrect arguments, parser not found, missing piped data Kelly Brazil 2021-03-26 09:28:03 -07:00
  • c1b0d27752 remove old commented commands Kelly Brazil 2021-03-25 20:45:38 -07:00
  • 430a5108aa move all tests to github actions Kelly Brazil 2021-03-25 20:42:58 -07:00
  • 111ce92fc9 attempt all tests in github actions with timezone correction Kelly Brazil 2021-03-25 20:37:35 -07:00
  • c851e8a58d force github action Kelly Brazil 2021-03-25 20:33:25 -07:00