[SERVER-59134] Refactor libdeps.setup_environment and libdeps.libdeps_emitter Created: 05/Aug/21 Updated: 27/Oct/23 Resolved: 27/Oct/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.0 Desired |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Andrew Morrow (Inactive) | Assignee: | [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive) |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Assigned Teams: |
Server Development Platform
|
||||||||
| Participants: | |||||||||
| Description |
|
These functions are coupled in a way that makes certain usages difficult, due to the fact that parameters passed to setup_environment are needed to properly invoke libdeps_emitter, but there are cases where it needs to be called outside setup_environment, and the relevant state is not easily accessible. Instead, most of the current parameter type options to setup_environment should probably be handled via new SCons Environment variables like LIBDEPS_DEBUG. |