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

Commit Graph

  • 516fa571d9 remove unused variable. use elif instead of if for linux vs. bsd detection Kelly Brazil 2021-09-19 21:41:35 -07:00
  • a19c12096a initial working parser for both linux and bsd Kelly Brazil 2021-09-19 13:18:23 -07:00
  • 758f27945d change data_bytes and bytes to sent_bytes and response_bytes Kelly Brazil 2021-09-17 15:09:56 -07:00
  • 8b1e8d58df remove unneeded line Kelly Brazil 2021-09-17 14:44:49 -07:00
  • b967489d08 complete linux coverage including summary Kelly Brazil 2021-09-17 14:42:30 -07:00
  • 870d0218be add unbuffer note Kelly Brazil 2021-09-17 10:34:05 -07:00
  • 84020bc2af change error_msg to error in -q result docs Kelly Brazil 2021-09-17 10:26:47 -07:00
  • 4efe5344e0 add links to HN and Reddit Kelly Brazil 2021-09-17 10:20:22 -07:00
  • 9182c54513 formatting Kelly Brazil 2021-09-17 08:24:56 -07:00
  • 28f0ab0b02 update streaming error messages Kelly Brazil 2021-09-17 08:21:13 -07:00
  • 90d1a30696 formatting Kelly Brazil 2021-09-17 08:05:23 -07:00
  • 130b3738cc shorten successful yield to a single line Kelly Brazil 2021-09-16 22:32:46 -07:00
  • 92c7357615 formatting Kelly Brazil 2021-09-16 22:04:44 -07:00
  • c80f863334 simplify return condition formatting Kelly Brazil 2021-09-16 22:04:31 -07:00
  • 4642c20179 formatting Kelly Brazil 2021-09-16 21:55:40 -07:00
  • 5288eb22aa add info about streaming parser performance characteristics Kelly Brazil 2021-09-16 21:43:36 -07:00
  • df8387a1a9 streaming parsers cannot be used with the magic syntax Kelly Brazil 2021-09-16 21:37:54 -07:00
  • cc38c27f44 formatting Kelly Brazil 2021-09-16 21:33:57 -07:00
  • 64f5357d69 add streaming parsers section Kelly Brazil 2021-09-16 21:31:45 -07:00
  • 51debb5649 add vmstat parser and change from linebuffer to unbuffer Kelly Brazil 2021-09-16 20:45:01 -07:00
  • b48d05a431 change from line buffer output to unbuffer output Kelly Brazil 2021-09-16 20:41:56 -07:00
  • 4e7f6b337d simplify yield statements Kelly Brazil 2021-09-16 20:26:56 -07:00
  • a509d99caf add stream_success dictionary Kelly Brazil 2021-09-16 20:25:28 -07:00
  • 481e45fb64 limit parse error msg lenght Kelly Brazil 2021-09-14 06:02:55 -07:00
  • e9038e1720 initial streaming ping docs Kelly Brazil 2021-09-13 21:15:26 -07:00
  • 8fd9e582bf doc update Kelly Brazil 2021-09-13 21:15:08 -07:00
  • c1fd6f48a5 add stream_error docs Kelly Brazil 2021-09-13 21:14:56 -07:00
  • af615c7f4b add line buffer output option Kelly Brazil 2021-09-13 21:14:38 -07:00
  • bf0bc32d7a flush streamed text for better piping experience Kelly Brazil 2021-09-13 20:51:24 -07:00
  • 2d6b53e012 add pattern support. move unparsable line detection to standard streaming parser style Kelly Brazil 2021-09-13 19:50:51 -07:00
  • 51271fea0f somewhat working parser Kelly Brazil 2021-09-13 19:27:34 -07:00
  • 2deb473e0b initial streaming ping parser Kelly Brazil 2021-09-13 18:36:36 -07:00
  • 23eeb33b3d modify stream_error message Kelly Brazil 2021-09-13 18:36:19 -07:00
  • f50dfaef45 use stream_error function for exceptions. raise on non -l ls output Kelly Brazil 2021-09-13 18:31:52 -07:00
  • 55bb71e9d4 add streaming ping parser. update streaming exception message Kelly Brazil 2021-09-13 18:30:20 -07:00
  • dab9357d28 use stream_error function for exceptions Kelly Brazil 2021-09-13 18:29:49 -07:00
  • 27eb427245 add stream_error function Kelly Brazil 2021-09-13 18:29:10 -07:00
  • 260f3685d9 add streaming parser template Kelly Brazil 2021-09-13 15:06:02 -07:00
  • 76e78fc0c3 doc updates Kelly Brazil 2021-09-13 15:05:49 -07:00
  • 1ac944fa02 add -q option info to docstring Kelly Brazil 2021-09-13 12:13:14 -07:00
  • 986bc9b042 cleanup unused code Kelly Brazil 2021-09-13 12:10:02 -07:00
  • 5a7942069b add support for parent field Kelly Brazil 2021-09-13 10:56:05 -07:00
  • f6c6fc13ac enhance error msg when streaming parser is used Kelly Brazil 2021-09-13 08:55:19 -07:00
  • 1d8cfae89f only print _meta object if -q or quiet flag is used. Also, add message to the end of exceptions informing of the -q option to ignore errors Kelly Brazil 2021-09-12 17:30:56 -07:00
  • 787df51239 remove \n from end of line in exception message Kelly Brazil 2021-09-12 16:42:47 -07:00
  • 5e7f302a9c Raise exceptions unless the -q or quiet flag are used Kelly Brazil 2021-09-12 16:35:46 -07:00
  • 3d10fd40b5 remove print flush for better performance. Roll json.JSONDecodeError into the parse try/except block Kelly Brazil 2021-09-12 16:27:00 -07:00
  • 57e3bf239c formatting for docs Kelly Brazil 2021-09-10 15:02:15 -07:00
  • ccb09861e8 formatting for docs Kelly Brazil 2021-09-10 15:01:02 -07:00
  • 94551d75dd doc update Kelly Brazil 2021-09-10 14:27:50 -07:00
  • 6e21218425 working prototype of streaming ls parser Kelly Brazil 2021-09-10 14:14:10 -07:00
  • ff0fda48fc Merge pull request #168 from kellyjonbrazil/master Kelly Brazil 2021-09-10 08:08:45 -07:00
  • 528aac7ad8 use subprocess in python example Kelly Brazil 2021-09-08 07:00:50 -07:00
  • ab482e521d Merge pull request #163 from kellyjonbrazil/dev v1.16.2 Kelly Brazil 2021-08-31 09:50:38 -07:00
  • e08b61fa81 add schema note to sfdisk Kelly Brazil 2021-08-31 08:54:23 -07:00
  • ce61bd1d2b add tests for -F fixes Kelly Brazil 2021-08-31 08:50:42 -07:00
  • 7b708f7518 Don't convert 'size' to int, except for legacy -d support. Change partition table detection logic to fix -F output Kelly Brazil 2021-08-31 08:39:54 -07:00
  • 89ca50c7fc add -l to sfdisk raw example Kelly Brazil 2021-08-30 21:56:36 -07:00
  • fb54899dcc doc update Kelly Brazil 2021-08-30 21:53:40 -07:00
  • 0a625ad7dd remove unneeded lines Kelly Brazil 2021-08-30 21:52:55 -07:00
  • d32e45efbe add sfdisk tests Kelly Brazil 2021-08-30 21:49:07 -07:00
  • c77696bc78 version bump Kelly Brazil 2021-08-30 20:55:26 -07:00
  • 736fde9e78 add support for newer versions of sfdisk Kelly Brazil 2021-08-30 20:51:19 -07:00
  • 9c1ad92fed fix examples Kelly Brazil 2021-08-26 10:31:51 -07:00
  • 1a9fd2139d add "For new parsers:" Kelly Brazil 2021-08-26 10:29:13 -07:00
  • 7661e7f27a formatting Kelly Brazil 2021-08-26 10:27:11 -07:00
  • f857b7fbf7 add custom parser folder info Kelly Brazil 2021-08-26 10:25:37 -07:00
  • d94d12dbc5 add foo parser template info Kelly Brazil 2021-08-26 10:20:53 -07:00
  • 700916276a Merge pull request #159 from kellyjonbrazil/master Kelly Brazil 2021-08-26 10:01:08 -07:00
  • 834e52369c update man page v1.16.1 Kelly Brazil 2021-08-16 10:33:26 -07:00
  • 1ce53365de Merge pull request #156 from kellyjonbrazil/dev Kelly Brazil 2021-08-16 10:32:03 -07:00
  • 473f70668f Merge branch 'master' into dev Kelly Brazil 2021-08-16 10:28:11 -07:00
  • 0dbd2702f6 reformat doc_text for nicer indentation Kelly Brazil 2021-08-13 17:17:51 -07:00
  • 01e3764a9b fix join syntax Kelly Brazil 2021-08-13 16:03:46 -07:00
  • ff9c81722a try/except for shlex.join since only available in python 3.8 Kelly Brazil 2021-08-13 16:01:45 -07:00
  • 166aef7a02 version bump Kelly Brazil 2021-08-13 15:22:33 -07:00
  • 78caf7646b add stat fix Kelly Brazil 2021-08-13 15:19:41 -07:00
  • 1f99d40cec fix filename with spaces for osx/bsd Kelly Brazil 2021-08-13 15:19:31 -07:00
  • 4c2912d3d5 use shlex.join to quote run_command_str for better error messages Kelly Brazil 2021-08-13 15:19:17 -07:00
  • 45e6e06be5 add glob and process substitution fixes Kelly Brazil 2021-08-13 14:19:45 -07:00
  • fdbe3e05f3 fix issue with globs not including filenames with spaces with magic syntax (introduced during switch to use subprocess to grab process exit code). No longer need to shlex quote arguments. Kelly Brazil 2021-08-13 14:19:26 -07:00
  • 7cc168f640 add comment Kelly Brazil 2021-08-12 16:55:07 -07:00
  • ff2d609c9b add close_fds=False in subprocess.Popen() to allow process substitution in magic syntax. Also check for too many open files exception Kelly Brazil 2021-08-12 16:36:35 -07:00
  • 2689697b4c formatting Kelly Brazil 2021-07-22 17:03:00 -07:00
  • f90a0ea8ab formatting Kelly Brazil 2021-07-22 12:20:48 -07:00
  • caabe60f84 fix kv example Kelly Brazil 2021-07-22 12:20:31 -07:00
  • 2bef4ed603 package updates Kelly Brazil 2021-07-21 08:47:16 -07:00
  • ee57be533b fix sfdisk example Kelly Brazil 2021-07-20 12:35:02 -05:00
  • c5b7aaca25 Merge pull request #149 from kellyjonbrazil/dev v1.16.0 Kelly Brazil 2021-07-20 10:19:14 -07:00
  • 7a1be905bb version bump Kelly Brazil 2021-07-20 12:15:29 -05:00
  • 5798495a11 add 1.15.7 to 1.16.0 changes Kelly Brazil 2021-07-20 12:13:33 -05:00
  • 46171e2202 add sfdisk example Kelly Brazil 2021-07-20 12:13:14 -05:00
  • dd5c924ff5 add man page location change Kelly Brazil 2021-07-19 12:13:46 -07:00
  • 30c4ab2976 new man page location Kelly Brazil 2021-07-19 12:08:50 -07:00
  • 26ea4d47b3 version bump and deprecate /man/jc.1.gz and /jc/man/jc.1.gz Kelly Brazil 2021-07-19 12:04:25 -07:00
  • 2732cd175c include CHANGELOG in source distribution Kelly Brazil 2021-07-12 08:10:18 -07:00
  • 3e54b597be add timezone change for unit tests Kelly Brazil 2021-07-07 09:00:19 -07:00
  • f10ebea209 update tests to set correct timezone on POSIX systems Kelly Brazil 2021-07-07 08:53:52 -07:00
  • 2c6f3993cb remove extra comma Kelly Brazil 2021-07-01 15:53:10 -07:00
  • 708a696920 remove extra lines Kelly Brazil 2021-07-01 15:51:38 -07:00