proud-dentist-22844
02/10/2023, 8:14 AMbitter-ability-32190
02/10/2023, 12:55 PMproud-dentist-22844
02/10/2023, 3:47 PMbitter-ability-32190
02/10/2023, 3:50 PMproud-dentist-22844
02/10/2023, 3:51 PMbitter-ability-32190
02/10/2023, 4:04 PMproud-dentist-22844
02/10/2023, 4:58 PM15:35:09.47 [WARN] Completed: Update contrib/schemas/*.json with st2-generate-schemas - st2-generate-schemas made changes.
contrib/schemas/policy.json
15:35:09.47 [ERROR] 1 Exception encountered:
Engine traceback:
in `fmt` goal
AssertionError: Expected ('contrib/schemas/action.json', 'contrib/schemas/alias.json', 'contrib/schemas/pack.json', 'contrib/schemas/policy.json', 'contrib/schemas/rule.json', 'contrib/schemas/sensor.json') to match ('contrib/schemas/action.json', 'contrib/schemas/alias.json', 'contrib/schemas/pack.json', 'contrib/schemas/rule.json', 'contrib/schemas/sensor.json')
bitter-ability-32190
02/10/2023, 9:38 PMproud-dentist-22844
02/10/2023, 9:45 PM==
to issuperset
bitter-ability-32190
02/10/2023, 9:47 PMproud-dentist-22844
02/10/2023, 9:47 PM./pants run
. No special script. Because we already have that (an ugly makefile target and a script) and people don't run it.bitter-ability-32190
02/10/2023, 9:50 PMproud-dentist-22844
02/10/2023, 9:50 PMbitter-ability-32190
02/10/2023, 9:50 PMproud-dentist-22844
02/10/2023, 9:50 PMdist/
makes it pretty worthless (for this usecase)bitter-ability-32190
02/10/2023, 9:51 PMproud-dentist-22844
02/10/2023, 9:54 PM./pants export-codegen ...
similar to the prompt to run ./pants fmt
then that would work.
I'm starting to burn out on this migration.bitter-ability-32190
02/10/2023, 9:55 PMproud-dentist-22844
02/10/2023, 9:55 PMbitter-ability-32190
02/10/2023, 9:56 PMproud-dentist-22844
02/10/2023, 9:58 PMbitter-ability-32190
02/10/2023, 9:58 PMproud-dentist-22844
02/10/2023, 9:59 PMbitter-ability-32190
02/10/2023, 10:00 PMproud-dentist-22844
02/10/2023, 10:03 PMlint
fmt
and test
are the only bits I'm planning to document, and then point interested folks at the pants docs for anything beyond that.
Yeah. I think I'm just being a Karen at this point. I should get off my soap box -- the world does not revolve around my use cases.bitter-ability-32190
02/10/2023, 10:04 PMproud-dentist-22844
02/13/2023, 7:32 PM