mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-06 10:59:59 +00:00
Surfaced by make quality: alias comments on i8matiso/i8mativaso/i8s; self-path nocheck + drop two narration comments in load.sh (venv note kept in the header); shorten the host deploy job name to <=80 chars; move the legend rationale from an inline comment into the docstring. Also move utils/env/handlers/infinito/fork_{account,repository_url}.py into a fork/ subfolder (shared-prefix rule) and update the handler imports.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
21 lines
569 B
Python
21 lines
569 B
Python
"""INFINITO_FORK_ACCOUNT: GitHub account holding the operator's fork,
|
|
defaulting to the local OS username."""
|
|
|
|
from __future__ import annotations
|
|
|
|
import getpass
|
|
from typing import TYPE_CHECKING
|
|
|
|
if TYPE_CHECKING:
|
|
from utils.env.builder import BuildContext, EnvBuilder
|
|
|
|
KEY = "INFINITO_FORK_ACCOUNT"
|
|
COMMENT = (
|
|
"GitHub account holding the operator's fork; defaults to the local OS "
|
|
"username. Composed into INFINITO_FORK_REPOSITORY_URL."
|
|
)
|
|
|
|
|
|
def apply(eb: EnvBuilder, ctx: BuildContext) -> None:
|
|
eb.setdefault(KEY, getpass.getuser(), comment=COMMENT)
|