brash-airport-5260
11/22/2019, 2:28 AMbuild-support
..is that appropriate? or (%build-root)s/src/jenkins
2. also, where should I put pants plugin written in python? src/python/pants
or build-support/plugin/python
…?aloof-angle-91616
11/22/2019, 2:31 AMresource()
targets in src/resources
, or in a /resources
subdirectory of their subproject. what are you looking to do with these files?
2. conventionally, we put these in pants-plugins/
, but that's also just a convention, so you are allowed to put them whereverbrash-airport-5260
11/22/2019, 2:41 AMbuild-support
but if it’s just application or related to our product, it src/resources
. is this right…?
2. I see. then we will keep put them under the src/python
. (or contlib🙂)aloof-angle-91616
11/22/2019, 2:49 AMcontrib/
is used in the pants repo as an abbreviation for "contributed", as in, contributed by non-pants devs, or not related to normal pants code, or some other reason. if you're not an open-source project, i don't know if that quite makes sense, but it's your repo, so you can choose!
however, i might suggest, for the same reason as you described for (1), to use build-support/
over src/resources
-- to show that that code is separate from your application code.brash-airport-5260
11/24/2019, 11:15 PMhappy-kitchen-89482
11/27/2019, 7:34 PMsrc/python/toolchain/pants
.
• We reserve build-support
for things that pants itself needs (e.g., configuration files for tools that pants invokes). We generally put things like Dockerfiles under, e.g., prod/docker/
, k8s files under prod/kubernetes/
and so on.happy-kitchen-89482
11/27/2019, 7:35 PM