Files
computer-playbook/roles/sys-util-git-pull/defaults/main.yml
T
kevinveenbirkenbachandClaude Opus 4.7 c52e4269bf chore(tooling): integrate mbake (Makefile linter/formatter) + working-tree drift sync
Makefile lint integration:
* scripts/install/lint.sh: replace the prior checkmake binary install with
  ensure_mbake (mbake is pip-installable, parses our Makefile correctly
  whereas checkmake bailed on .ONESHELL: / .SHELLFLAGS: / ifneq).
* scripts/lint/makefile.sh: new runner — `mbake format --check Makefile`
  reports formatting drift and missing .PHONY declarations.
* scripts/lint/autoformat.sh: add a two-pass `mbake format Makefile`
  (mbake's formatter is not strictly idempotent on the first pass).
* Makefile: split the multi-line `.PHONY:` block into 18 single-line
  `.PHONY:` declarations so mbake's parser can validate it; add the
  previously-missing `install-python-dev` and `build-dependency` PHONY
  targets; add `lint-makefile` aggregate-and-direct target.
* .pre-commit-config.yaml: new make-lint-makefile hook scoped to
  `^Makefile$`.
* .github/workflows/lint-makefile.yml: new CI workflow (pip-install mbake
  + make lint-makefile).
* .github/workflows/ci-orchestrator.yml: wire lint-makefile into
  lint-gate.needs.

Misc:
* .gitignore: add roles/importer_result.json (tooling artefact written by
  galaxy-importer when it runs in roles/).

Plus working-tree drift across roles/, group_vars/, inventories/, and
tasks/ that accumulated from the make-test setup phase regenerating
generated artefacts during recent test runs.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-09 00:32:44 +02:00

23 lines
699 B
YAML

---
sys_util_git_pull_repo_url: ""
sys_util_git_pull_dest: ""
# Initial clone/update base ref (branch/commit) used by the helper
sys_util_git_pull_version: "main"
sys_util_git_pull_depth: 1
# Optional: pin to tag (detached). Example: "stable". Empty disables pin.
sys_util_git_pull_pin_tag: ""
# Remove these local tags before fetch --tags (prevents "would clobber existing tag")
sys_util_git_pull_remove_tags: []
# Mark changed if remote pin tag moved compared to local (informational)
sys_util_git_pull_mark_changed_on_tag_move: true
# Remote name to use for git operations
sys_util_git_pull_remote: "origin"
# Privilege handling
sys_util_git_pull_become: true
sys_util_git_pull_become_user: