hundreds-breakfast-49010
04/30/2020, 7:47 AMaloof-angle-91616
04/30/2020, 7:47 AMhundreds-breakfast-49010
04/30/2020, 7:51 AMengine_cffi/build.rs
?aloof-angle-91616
04/30/2020, 7:51 AMhundreds-breakfast-49010
04/30/2020, 7:52 AMaloof-angle-91616
04/30/2020, 7:53 AMar
is as standard on linux distroshundreds-breakfast-49010
04/30/2020, 7:53 AM/usr/bin/env ar
always work?aloof-angle-91616
04/30/2020, 7:53 AMar
via binutils, which we have in the pantsbuild s3 as a binary toolaloof-angle-91616
04/30/2020, 7:53 AM/usr/bin/env
just resolves from the PATH, which is the default behavior of the cc
cratealoof-angle-91616
04/30/2020, 8:06 AMprocess_executor
that expands the API to support splitting inputs across parallel process invocations, and also to support registering a daemon execution (e.g. "start up a nailgun"). the upstream remote execution API has some thoughts about this but this process_executor
is specifically tuned to invoke processes on the local machine (current MVP: compiling scrooge code to scala extremely fast by using shared memory). i think i can have a prototype to kick around this weekend, have spent a bit of time on this already so it's not out of nowhere. this is something i hope to be working on for twitter soonaloof-angle-91616
04/30/2020, 8:07 AMaloof-angle-91616
04/30/2020, 8:08 AMaloof-angle-91616
04/30/2020, 8:08 AMaloof-angle-91616
04/30/2020, 8:24 PMlist-v2
?
pants.base.exceptions.TargetDefinitionException: Invalid target a:a: Target type 'java_library' is not recognized. All valid target types: [].
when i run tests for https://github.com/pantsbuild/pants/pull/8450 locallyaloof-angle-91616
04/30/2020, 8:24 PM@classmethod
def alias_groups(cls):
return BuildFileAliases(
targets={
"target": Target,
"java_library": JavaLibrary,
"python_library": PythonLibrary,
},
objects={
"pants": lambda x: x,
"artifact": Artifact,
"scala_artifact": ScalaArtifact,
"public": Repository(
name="public", url="<http://maven.example.com>", push_db_basedir="/tmp"
),
},
)
aloof-angle-91616
04/30/2020, 8:25 PMlist_targets_old.py
as well. not sure why, let's see if i've broken something elsewherealoof-angle-91616
04/30/2020, 8:30 PMhundreds-father-404
04/30/2020, 8:41 PMlist-v2
requires a target API binding for it, meaning it’s registered via the entry point def target_types()
. In contrast, list
uses TargetAdaptorshundreds-father-404
04/30/2020, 8:42 PMhundreds-father-404
04/30/2020, 8:43 PMlist_targets_old.py
is going away once TargetAdaptors go away. For that PR, you’d want to update list_targets.py
. You could backport it to list_targets_old.py
if you want, too, but the important one to update is list_targets.py
hundreds-father-404
04/30/2020, 8:46 PMintransitive_fingerprint_arg
and transitive_fingerprint_arg
?aloof-angle-91616
05/01/2020, 1:13 AMaloof-angle-91616
05/01/2020, 1:14 AMaloof-angle-91616
05/01/2020, 1:15 AMlist-v2
, by the way. it wasn't incredibly difficult to update. i wish i hadn't gotten so much pushback about this PR earlier, or it would have already gone in and this rebase wouldn't have needed to happen.aloof-angle-91616
05/01/2020, 1:18 AMaloof-angle-91616
05/01/2020, 1:19 AMTypeError: Every element of the entrypoint `targets` must be a subclass of Target. Bad elements: [<class 'pants.build_graph.target.Target'>, <class 'pants.backend.jvm.targets.java_library.JavaLibrary'>, <class 'pants.backend.python.targets.python_library.PythonLibrary'>].
figuring it outaloof-angle-91616
05/01/2020, 1:20 AMaloof-angle-91616
05/01/2020, 1:30 AMdescription
is a field that should be added to every target. this wasn't clear before porting the testing to use list-v2hundreds-father-404
05/01/2020, 1:32 AMdescription
is included in engine.target.COMMON_TARGET_FIELDS
. Every target defined in pantsbuild.pants
aloof-angle-91616
05/01/2020, 1:32 AMTargetTarget
type then?