livery.git._environment¶
livery.git._environment ¶
The tools' identity, and git settings that ride the environment.
Functions:
| Name | Description |
|---|---|
tool_identity |
The name and address a tool called prog commits under. |
identity_environment |
The variables that make every commit and tag by name and email. |
config_environment |
pairs as git configuration riding the environment, after what it carries. |
tool_identity ¶
The name and address a tool called prog commits under.
For every commit a verb makes when the person has no identity of
their own: a release, a loop's scratch, the state store's rows.
The domain is .invalid, reserved for names that resolve nowhere.
Source code in packages/git/src/livery/git/_environment.py
identity_environment ¶
The variables that make every commit and tag by name and email.
Author and committer both: git reads the four variables ahead of any config, so a checkout's own identity is left as it is.
Source code in packages/git/src/livery/git/_environment.py
config_environment ¶
pairs as git configuration riding the environment, after what it carries.
git reads GIT_CONFIG_COUNT with a key and a value per index, so an
entry the outer environment already carries keeps its index and
these follow it. The mapping returned holds the new entries and the
count; merge it over environ.