flat-zoo-31952
08/31/2022, 7:05 PMwitty-crayon-22786
08/31/2022, 7:08 PM./pants tailor ::
should do 95% of it?witty-crayon-22786
08/31/2022, 7:08 PMflat-zoo-31952
08/31/2022, 7:15 PMflat-zoo-31952
08/31/2022, 7:17 PM./pants peek //:
gives me json for everything defined in that file, but it's a bit muchwitty-crayon-22786
08/31/2022, 7:23 PMyeah... but I want to move the extensive overrides to the new BUILD filesah.
flat-zoo-31952
08/31/2022, 7:23 PMeval()
the build file with the generators aliased to something that collects the data... then I can process the overrides with pathlib, add those build files first, then do ./pants tailor
to fill in the normal stuffbitter-ability-32190
08/31/2022, 7:25 PMbuildozer
might help. I've used it on Pants BUILD files for automated refactoring:
https://github.com/bazelbuild/buildtools/blob/master/buildozer/README.mdbusy-vase-39202
08/31/2022, 8:35 PMfast-nail-55400
08/31/2022, 9:59 PMfresh-cat-90827
09/01/2022, 7:31 AMflat-zoo-31952
09/01/2022, 5:09 PM