witty-crayon-22786
03/17/2020, 5:27 PMhundreds-breakfast-49010
03/18/2020, 6:26 PM./v2 --enable-pantsd lint src/python/pants/engine::
, I get a rust panic error message printed from an unwrap
deep within the termion codehundreds-father-404
03/18/2020, 10:18 PMtargets()
entry point to register.py
like this:
def targets():
return [PythonBinary, PythonLibrary, PythonTests]
It leaves open the question of how do you register macros like objects
and context_aware_object_factories
. In a discussion with Stu, I was thinking something like this:
def macros():
return {"objects": [O1, O2], "context_aware_object_factories": [CAOF1]
My reasoning is that macros are by definition an “advanced” concept. I would love for plugin authors to be able to register Targets without having to know about macros.
Thoughts?hundreds-breakfast-49010
03/18/2020, 11:01 PMNailgun
-related code whenever we run pantsd, even if we're not doing anything java-related?witty-crayon-22786
03/18/2020, 11:02 PMaloof-angle-91616
03/18/2020, 11:02 PMaloof-angle-91616
03/18/2020, 11:03 PMhundreds-breakfast-49010
03/18/2020, 11:04 PMhundreds-breakfast-49010
03/18/2020, 11:05 PMaloof-angle-91616
03/18/2020, 11:05 PMwitty-crayon-22786
03/18/2020, 11:06 PMwitty-crayon-22786
03/18/2020, 11:06 PMaloof-angle-91616
03/18/2020, 11:06 PMhundreds-breakfast-49010
03/18/2020, 11:07 PMwitty-crayon-22786
03/18/2020, 11:08 PMwitty-crayon-22786
03/18/2020, 11:08 PMwitty-crayon-22786
03/18/2020, 11:08 PMhundreds-breakfast-49010
03/18/2020, 11:09 PMhundreds-breakfast-49010
03/18/2020, 11:09 PMNailgunClient
we create there is what connects to the nailgun server?witty-crayon-22786
03/18/2020, 11:10 PMhundreds-breakfast-49010
03/18/2020, 11:48 PMprocess_manager.py
in daemon_spawn
is being used right now,and is forking?hundreds-breakfast-49010
03/18/2020, 11:49 PMos.fork()
"?enough-analyst-54434
03/18/2020, 11:52 PMenough-analyst-54434
03/18/2020, 11:52 PMhundreds-breakfast-49010
03/18/2020, 11:53 PMenough-analyst-54434
03/18/2020, 11:54 PMhundreds-breakfast-49010
03/18/2020, 11:54 PMaloof-angle-91616
03/18/2020, 11:55 PMaloof-angle-91616
03/18/2020, 11:56 PMhundreds-breakfast-49010
03/18/2020, 11:56 PMNailgunClient
, which knows how to talk to the forked pantsd process via a port