mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-06 19:01:54 +00:00
Drop four one-shot or now-redundant tools from cli/fix/: * vars_main_files — bulk-created vars/main.yml with application_id per role-prefix during the SPOT migration. The schema is now enforced declaratively by tests/integration/roles/applications/id/ test_matches_role_name.py and the role-mapping SPOT lint. * move_unnecessary_dependencies — moved meta dependencies to guarded include_role on first sweep. Permanent enforcement lives in tests/integration/roles/meta/dependencies/test_unnecessary.py. * tabs — replaced literal tab characters with two-space indentation in YAML files. Autoformat covers new occurrences. * ini_py — generic helper that filled missing __init__.py files; new packages now ship them from the start. Move the remaining (still-actively-used) docker version updater out from under cli/fix/ and into cli/contributing/, where the recurring maintenance tooling lives: * cli/fix/docker_image_versions → cli/contributing/docker/update_versions Update the corresponding wiring: * scripts/github/update_docker_image_versions.sh now calls python -m cli.contributing.docker.update_versions (the entry point invoked daily by .github/workflows/update.yml). * docs/requirements/008-role-meta-layout.md references the new path. * PROJECT_ROOT in __init__.py drops one parents[] level (the package sits one folder deeper now). cli/fix/ is fully removed; new contributor-facing tooling belongs under cli/contributing/. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
9 lines
229 B
Bash
Executable File
9 lines
229 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)"
|
|
REPO_ROOT="$(cd -- "${SCRIPT_DIR}/../.." && pwd)"
|
|
|
|
cd "${REPO_ROOT}"
|
|
python3 -m cli.contributing.docker.update_versions "$@"
|