Skip to content

Swift Build should provide task environment in the message stream in a better way #1211

Description

@jakepetroules

Today in OperationDelegate.taskStarted, there is some complex logic to determine whether environment is shown:

let environmentToShow = (task.showEnvironment && !operation.request.hideShellScriptEnvironment) ? task.environment : nil

This sort of presentation-level logic doesn't seem like it belongs here. It also doesn't incorporate the operation.environment base environment given to the llbuild BuildSystem, so what's printed isn't entirely representative of what the subprocess sees.

This should be made better...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions