refined-dusk-58376
11/25/2020, 9:38 PMrefined-dusk-58376
11/25/2020, 9:39 PMhundreds-father-404
11/25/2020, 9:42 PMblackpytestrefined-dusk-58376
11/25/2020, 10:12 PMpyproject.tomlrefined-dusk-58376
11/25/2020, 10:13 PMrefined-dusk-58376
11/25/2020, 10:15 PMhundreds-father-404
11/25/2020, 10:15 PMhundreds-father-404
11/25/2020, 10:15 PMWhat I’m having problems with is just getting the bash plugin to work in my project.Hm, what types of problems? Happy to help with that
refined-dusk-58376
11/25/2020, 10:16 PMhundreds-father-404
11/25/2020, 10:18 PMpoetry exportrefined-dusk-58376
11/25/2020, 10:19 PMrefined-dusk-58376
11/25/2020, 10:20 PMrequirements.txthundreds-father-404
11/25/2020, 10:20 PMrefined-dusk-58376
11/25/2020, 10:20 PMhundreds-father-404
11/25/2020, 10:22 PMIt might be a possibility to create a bunch of small requirements.txt files to help code move into production.Yeah, Pants supports multiple requirements.txt. For each requirement.txt, you would have a BUILD file in the same directory with the macro
python_requirements()python_requirement_libraryrefined-dusk-58376
11/25/2020, 10:22 PMrefined-dusk-58376
11/25/2020, 10:23 PMhundreds-father-404
11/25/2020, 10:23 PM./pants export./pants vscodehundreds-father-404
11/25/2020, 10:23 PMI’m mostly struggling with getting plugged in tasks working.What’s going on with the bash plugin not working?
refined-dusk-58376
11/25/2020, 10:26 PMrefined-dusk-58376
11/25/2020, 10:26 PMhundreds-father-404
11/25/2020, 10:26 PM./pants help targetshundreds-father-404
11/25/2020, 10:26 PM./pants help subsystemsshfmtshellcheckhundreds-father-404
11/25/2020, 10:27 PMrefined-dusk-58376
11/25/2020, 10:31 PMrefined-dusk-58376
11/25/2020, 10:31 PMrefined-dusk-58376
11/25/2020, 10:32 PMrefined-dusk-58376
11/25/2020, 10:32 PMhundreds-father-404
11/25/2020, 10:35 PMpythonpathpants-plugins/bash/register.pyimport bash.registerpythonpathpants-pluginsbackend_packagesbashrefined-dusk-58376
11/25/2020, 10:44 PMrefined-dusk-58376
11/25/2020, 10:46 PMhundreds-father-404
11/25/2020, 10:46 PMrefined-dusk-58376
11/25/2020, 10:50 PMrefined-dusk-58376
11/25/2020, 10:50 PMbackend_packageshundreds-father-404
11/25/2020, 10:51 PMrefined-dusk-58376
11/25/2020, 10:52 PMrefined-dusk-58376
11/25/2020, 10:54 PMrefined-dusk-58376
11/25/2020, 10:54 PMhundreds-father-404
11/25/2020, 10:56 PMAutomatically adding these things so I don’t have to think about it.Pants v1 was closer to this type of automatic registration. We registered all the builtin backends by default. But we found it was a really bad UX, as people wouldn’t know to opt-out so they would have irrelevant things like JVM support activated even if they never used it. As a design choice, backends are always opt-in in v2
refined-dusk-58376
11/25/2020, 10:58 PMhundreds-father-404
11/25/2020, 10:59 PMrefined-dusk-58376
11/26/2020, 2:23 AMrefined-dusk-58376
11/26/2020, 2:23 AMrefined-dusk-58376
11/26/2020, 2:48 AMhundreds-father-404
11/26/2020, 3:02 AMrefined-dusk-58376
11/26/2020, 3:59 AMrefined-dusk-58376
11/26/2020, 4:02 AMrefined-dusk-58376
11/26/2020, 4:03 AMrefined-dusk-58376
11/26/2020, 4:03 AMhundreds-father-404
11/26/2020, 4:04 AMrefined-dusk-58376
11/26/2020, 4:05 AMrefined-dusk-58376
11/26/2020, 4:05 AMhundreds-father-404
11/26/2020, 4:06 AMrefined-dusk-58376
11/26/2020, 4:13 AM