proud-dentist-22844
03/10/2023, 9:33 PMhelp
in 2.16.0a0 - excellent! A few points - if they're unknown, I can file issues.
./pants help backends
and ./pants help-advanced backends
show the same content (both include preview/experimental backends).
./pants help backends
shows that pants.backend.build_files.fix.deprecations
and pants.backend.build_files.fmt.black
are NOT enabled by default, but I thought they were -- at least update-build-files
runs black on all the BUILD files without that being enabled... is the depredations fixer actually disabled by default?
How do we add documentation to ./pants help backends
? Some of them have a description and others don't - is that exposing a module-level docstring in the module that has register.py
?
@curved-television-6568 ./pants help
does not show ./pants help symbols
, but the help works marvelously. It also does not say that we can use help <symbol>
.happy-kitchen-89482
03/10/2023, 9:45 PMhelp-advanced
still makes sense, or is just confusing?happy-kitchen-89482
03/10/2023, 9:46 PMproud-dentist-22844
03/10/2023, 9:47 PMproud-dentist-22844
03/10/2023, 9:48 PM./pants help
there should be only one entry for ./pants help-advanced
that users can use to see all of the other help-advanced
options. (maybe)happy-kitchen-89482
03/10/2023, 9:51 PMhelp
would be for options you might want to specify as a CLI flag, and help-advanced
would be for all the other options (ones you'd specify via config)happy-kitchen-89482
03/10/2023, 9:51 PMadvanced=True
on an optionhappy-kitchen-89482
03/10/2023, 9:51 PMcurved-television-6568
03/10/2023, 10:59 PMwhops. idea was to only show experimental with the help-advanced option (unless it was enabled).and./pants help backends
show the same content (both include preview/experimental backends)../pants help-advanced backends
curved-television-6568
03/10/2023, 10:59 PMiirc the enabled by default list is hard coded, so may have gotten that wrong.shows that./pants help backends
andpants.backend.build_files.fix.deprecations
are NOT enabled by default, but I thought they were -- at leastpants.backend.build_files.fmt.black
runs black on all the BUILD files without that being enabled... is the depredations fixer actually disabled by default?update-build-files
curved-television-6568
03/10/2023, 11:00 PMHow do we add documentation toyes, module level docstgring from register.py for the corresponding backend? Some of them have a description and others don’t - is that exposing a module-level docstring in the module that has./pants help backends
?register.py
curved-television-6568
03/10/2023, 11:01 PMproud-dentist-22844
03/10/2023, 11:01 PMupdate-build-files
list is hard-coded. Apparently, you can ALSO have pants.backend.build_files.fix.deprecations
run when running the fix
goal. In any case, that output is a bit confusing.curved-television-6568
03/10/2023, 11:02 PM@curved-television-6568❤️ oversights 😉does not show./pants help
, but the help works marvelously. It also does not say that we can use./pants help symbols
.help <symbol>