https://pantsbuild.org/ logo
#plugins
Title
# plugins
p

proud-dentist-22844

04/15/2023, 2:41 PM
Help me name some targets please: • nfpm_rpm_package + nfpm_deb_package • nfpm_rpm + nfpm_deb • rpm_nfpm + deb_nfpm • rpm_nfpm_package + deb_nfpm_package I'm including
nfpm
because the packages built by nfpm will probably differ somewhat with packages built using the native tooling.
debian_package
for example uses debian native tooling like dpkg-deb.
h

happy-kitchen-89482

04/15/2023, 3:09 PM
Could it be
nfpm_package
with
packager="deb"
etc?
How much does the user care that
nfpm
package is different than the native tooling package? Enough that this needs to be expressed in the target?
For example,
lambdex
creates Lambdas from pexes, so they are slightly different than ones you'd create by hand, but we don't call that out in the target type, which is
python_awslambda
.
OTOH a
pex
is substantially different from any other way of packaging a python binary, in ways that the user probably does care about, so the target is
pex_binary
, not
python_binary
.
So which is
nfpm
more like?
p

proud-dentist-22844

04/15/2023, 4:18 PM
Ok. I guess this is too complex for quick/disjoint chat questions. I'll put together a Google doc later today.