bitter-ability-32190
10/17/2022, 7:46 PMBUILD
file deprecations fixer. I'm proposing we might want a "meta" bucket for backends and this might belong (because eventually it'll encompass pants.toml
and be a bit of a "deprecations" fixer for all of Pants)
Other "meta" plugins that could join
• Plugin to find and error on redundant dependencies
declarations
Thoughts?proud-dentist-22844
10/17/2022, 8:08 PMwitty-crayon-22786
10/17/2022, 8:38 PMcurved-television-6568
10/17/2022, 8:43 PMwitty-crayon-22786
10/17/2022, 8:44 PMcurved-television-6568
10/17/2022, 8:44 PMwitty-crayon-22786
10/17/2022, 8:44 PMcurved-television-6568
10/17/2022, 8:45 PMbitter-ability-32190
10/17/2022, 9:03 PMpants.backend.project_info
. I think that might be more natural place for these.curved-television-6568
10/18/2022, 2:19 PMbitter-ability-32190
10/18/2022, 2:20 PMWe do have(Then the next question becomes "on by default?") re: deprecation fixers. Maybe why not? lol. Formatters and other fixers, not so much. I think that might be more natural place for these.pants.backend.project_info
curved-television-6568
10/18/2022, 2:21 PMbitter-ability-32190
10/18/2022, 2:22 PMcurved-television-6568
10/18/2022, 2:23 PMbitter-ability-32190
10/18/2022, 2:24 PMhundreds-father-404
10/18/2022, 4:21 PMpants.backend.pants_metadata.fmt.black
bitter-ability-32190
10/18/2022, 4:23 PMproject_info
entails. I think of it as the rules/goals which allow Pants/you to understand your project. To that end, your BUILD
files and pants.toml
describe your project as much as their content.happy-kitchen-89482
10/18/2022, 4:38 PMproject_info
is intended to be for introspection goals, so BUILD files are relevant, not sure if formatting them ishundreds-father-404
10/18/2022, 4:40 PMproject_introspection
. Those two tasks don't give you any new insights on how your project is structured - they only help you more effectively manage Pants boilerplate / metadatawitty-crayon-22786
10/18/2022, 4:41 PMbitter-ability-32190
10/18/2022, 4:48 PMproject_introspection
though, it's project_info
😅 So pants.backend.project_info.fmt
contains plugins to format your project info (pants.toml
and BUILD
files)hundreds-father-404
10/18/2022, 4:51 PMlist
and peek
goals, which are 100% only about pants abstractions and not your own codebitter-ability-32190
10/18/2022, 5:29 PMbuild_file
formatters there too, and cherry pick to 2.14, so we don't introduce-and-then-immediately-deprecate within two versions 🙂proud-dentist-22844
10/20/2022, 4:44 PMhundreds-father-404
10/20/2022, 4:44 PMbitter-ability-32190
10/20/2022, 4:45 PMpreview
🙂proud-dentist-22844
10/20/2022, 4:46 PMFix
all over the place, so I was confused.bitter-ability-32190
10/20/2022, 4:47 PMproud-dentist-22844
10/20/2022, 4:49 PM