1
0
Fork 0
Commit Graph

58 Commits

Author SHA1 Message Date
ssube 63b6e48cc7
fix(rule): log and apply mutation when rule has > 0 diffs 2019-11-01 05:46:31 -05:00
ssube 6ab7d9c6e4 fix(config): pass include errors as nested cause 2019-11-01 05:42:03 -05:00
ssube 4a05fcdba2
fix(config/include): handle more errors in include 2019-10-28 22:41:52 -05:00
ssube 5160eaa93d
fix(rule): print failure message when errors are present 2019-10-28 22:06:58 -05:00
ssube c76781b113
fix(build): replace app with package in version data 2019-09-30 08:10:57 -05:00
ssube b6ac7201e9
lint: disable any warnings 2019-09-11 19:30:01 -05:00
ssube 2bb48b0b87
lint: fix things 2019-09-11 08:48:14 -05:00
ssube 71ef38b82e lint: flatten flow control in rule diff func 2019-09-11 07:08:49 -05:00
ssube 67a61f6d8a feat: include data path in error messages 2019-09-11 07:08:49 -05:00
ssube 80f2ea6521 lint(rule): get rid of some anys 2019-09-11 07:08:49 -05:00
ssube a13a9095bc fix(tests): begin testing friendly errors, other errors (exceptions) 2019-09-11 07:08:49 -05:00
ssube c9c1a58407 feat(visitor): improve error messages (#20) 2019-09-11 07:08:49 -05:00
ssube 9a3a32704a
revert "fix: star import"
This reverts commit 93f4917121.
2019-09-08 14:18:36 -05:00
ssube 93f4917121
fix: star import 2019-09-08 09:15:08 -05:00
ssube 0ab6de765d
fix(build): switch to relative imports 2019-09-01 02:03:20 -05:00
ssube 45a53a9821
fix(build): switch to relative imports 2019-08-30 00:24:12 -05:00
ssube 30ab437da3
feat: make fix mode mutations and defaults independent 2019-07-04 13:58:25 -05:00
ssube 23b791f9ce
fix: use global yargs to fix bundle 2019-07-04 11:11:30 -05:00
ssube fff81552f0
fix(docs): remove container and package scopes 2019-07-04 10:54:35 -05:00
ssube 8b8d669b46
fix: wrap yargs and exit after completion 2019-07-04 10:52:17 -05:00
ssube 8b9d84ef87
fix: print completion or rules before attempting to load source 2019-07-04 10:35:27 -05:00
ssube 39c0e4ba76
feat: add command completion
BREAKING CHANGE: the `--mode` option has been replaced by a positional
command, but the options and defaults are unchanged.
2019-07-04 09:46:40 -05:00
ssube 15933ba620
feat: add default rule selector 2019-06-30 21:03:12 -05:00
ssube 5f5b9939cc
fix: make -v an alias for --version 2019-06-30 20:09:38 -05:00
ssube 37e20fca21
lint: misc fixes 2019-06-30 17:09:56 -05:00
ssube 18a3321061 lint: move rule iteration to its own fn 2019-06-30 12:58:30 -05:00
ssube a630571ce1 feat: rule selector helper 2019-06-29 16:27:10 -05:00
ssube 670e45a9d0 fix: docker examples, container output, misc lint 2019-06-25 08:15:04 -05:00
ssube 8efbd992df feat: list mode, fix version option 2019-06-24 23:47:12 -05:00
ssube 79c7e71796 fix: delimit output documents 2019-06-24 23:02:28 -05:00
ssube 2bd60c8f6c feat: support multiple documents per source (#11) 2019-06-24 22:50:46 -05:00
ssube 03b3bfa2f4 fix: apply schema changes to data 2019-06-23 23:00:01 -05:00
ssube eb1fdd3f30 formalize visitor, results, etc 2019-06-23 22:48:07 -05:00
ssube 9eb41fc38e feat: load definitions from rules (fixes #2)
BREAKING CHANGE: adds a required `name` property (string) at the
top level of each `--rules` file, used as the schema name
2019-06-22 12:26:11 -05:00
ssube 6f15d1c621 feat: display diff when rule modifies data (fixes #3) 2019-06-22 11:48:41 -05:00
ssube e3588577ac feat: add rules to image, doc 2019-06-17 09:11:26 -05:00
ssube da4274966a feat: group config & rules in help 2019-06-17 08:19:35 -05:00
ssube c09d135fed fix: use consistent option names in source 2019-06-17 08:16:13 -05:00
ssube 1f1faf8b1b fix: list modes in help 2019-06-17 08:13:39 -05:00
ssube 721f85f606 feat: add cli help (fixes #7) 2019-06-17 08:04:58 -05:00
ssube 719954e2a8 feat: fix mode and type coercion 2019-06-17 07:11:36 -05:00
ssube 72bedc87a9 fix(source): wait for output write to finish 2019-06-16 16:35:43 -05:00
ssube ab40330f61 feat(parser): serialize data via parser 2019-06-16 16:35:18 -05:00
ssube 29f372daa8 fix: refactor parser into a single class 2019-06-16 16:15:01 -05:00
ssube 9a25fb97a8 feat: clean rules up with a bit of a visitor pattern 2019-06-16 13:30:04 -05:00
ssube 9a7f8829c0 feat: make rule filters optional (fixes #4) 2019-06-15 22:46:27 -05:00
ssube 4a124ebb8b fix: only print parsed args 2019-06-15 21:59:28 -05:00
ssube a68975c624 feat: write to stdout or file 2019-06-15 20:21:11 -05:00
ssube 24f91aa1b4 feat(config): stream type for bunyan config 2019-06-15 19:35:30 -05:00
ssube deee5c0cbd rules(kubernetes): add example of minimum CPU limit 2019-06-15 19:25:47 -05:00