livery.git._plugin¶
livery.git._plugin ¶
The footman plugin: the environment every git spawn under footman runs with.
Mounted by plugin("livery.git"), on by listing and off by not. Its
one pre_task hook writes into each task's own environment, which the
task's subprocesses see: the ssh command that multiplexes connections
over one master per host, the identity every commit the tools make
carries when the person has none, an editor that never opens, and what
a task marks for itself, an identity of its own or unsigned commits.
Nothing in the library's functions imports footman; this module alone
does, and the only loader is footman's own plugin(), so footman is
present by construction.
Functions:
| Name | Description |
|---|---|
git_environment |
Write this task's git environment: the ssh command, the identity, the marks. |
Attributes:
| Name | Type | Description |
|---|---|---|
IDLE |
|
git_environment ¶
git_environment(inv: Invocation, task: Any) -> None
Write this task's git environment: the ssh command, the identity, the marks.