-
-
Notifications
You must be signed in to change notification settings - Fork 605
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provides some sanity to the dependencies of the init sequence: previously they looped between packages, creating package-level, and in some cases even target-level cycles. Moves all code related to pants startup (options initialization, plugin loading, daemon running etc.) to a single package. Breaks up dependency cycles by passing a reference to clean_global_runtime_state() into the PantsDaemon and a reference to the pantsd launcher into the PantsDaemonKill task (via the context).
- Loading branch information
Showing
32 changed files
with
119 additions
and
175 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). | ||
# Licensed under the Apache License, Version 2.0 (see LICENSE). | ||
|
||
|
||
python_library( | ||
dependencies=[ | ||
':plugins', | ||
'3rdparty/python:pex', | ||
'3rdparty/python:setuptools', | ||
'3rdparty/python/twitter/commons:twitter.common.collections', | ||
'src/python/pants:version', | ||
'src/python/pants/base:build_environment', | ||
'src/python/pants/base:exceptions', | ||
'src/python/pants/build_graph', | ||
'src/python/pants/core_tasks', | ||
'src/python/pants/engine/legacy:change_calculator', | ||
'src/python/pants/goal', | ||
'src/python/pants/goal:run_tracker', | ||
'src/python/pants/logging', | ||
'src/python/pants/option', | ||
'src/python/pants/pantsd:pants_daemon', | ||
'src/python/pants/pantsd/service:fs_event_service', | ||
'src/python/pants/pantsd/service:pailgun_service', | ||
'src/python/pants/pantsd/service:scheduler_service', | ||
'src/python/pants/pantsd/subsystem:subprocess', | ||
'src/python/pants/pantsd/subsystem:watchman_launcher', | ||
'src/python/pants/process', | ||
'src/python/pants/python', | ||
'src/python/pants/subsystem', | ||
'src/python/pants/util:dirutil', | ||
'src/python/pants/util:memo', | ||
] | ||
) | ||
|
||
target( | ||
name='plugins', | ||
dependencies=[ | ||
'src/python/pants/backend/codegen:plugin', | ||
'src/python/pants/backend/docgen:plugin', | ||
'src/python/pants/backend/graph_info:plugin', | ||
'src/python/pants/backend/jvm:plugin', | ||
'src/python/pants/backend/project_info:plugin', | ||
'src/python/pants/backend/python:plugin', | ||
], | ||
) |
Empty file.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.