fix: add Gitea config menu shell wrapper (#34) #35

Closed
jcwalker3 wants to merge 0 commits from fix/issue-34-gitea-config-menu-wrapper into master
Owner

Closes #34.

Summary

Adds scripts/gitea-config-menu, a small shell wrapper for launching the existing interactive Gitea config menu through the repository virtual environment.

Behavior

  • Resolves the repository root from the script location.
  • Requires <repo>/venv/bin/python and fails clearly if it is missing.
  • Runs gitea_config.py menu with all passed arguments.
  • Does not install dependencies.
  • Does not read, print, or handle secrets directly.
  • Does not change MCP runtime behavior or credential semantics.

Docs

Updates README and the LLM workflow runbook to use:

./scripts/gitea-config-menu

Validation

  • bash -n scripts/gitea-config-menu — passed
  • ./scripts/gitea-config-menu <<< "0" — passed; menu launched and exited
  • ./venv/bin/python -m pytest tests/ -q — passed
  • git diff --check / staged diff check — passed
  • Manual changed-file scan — no real secrets, tokens, auth headers, .env.personal, or private config dumps added

Notes

Normal git push over HTTPS had no configured credential helper in this environment, so the branch was pushed with a temporary GIT_ASKPASS helper outside the repo. The helper was deleted immediately after push and no credentials were printed or written to the repository.

Closes #34. ## Summary Adds `scripts/gitea-config-menu`, a small shell wrapper for launching the existing interactive Gitea config menu through the repository virtual environment. ## Behavior - Resolves the repository root from the script location. - Requires `<repo>/venv/bin/python` and fails clearly if it is missing. - Runs `gitea_config.py menu` with all passed arguments. - Does not install dependencies. - Does not read, print, or handle secrets directly. - Does not change MCP runtime behavior or credential semantics. ## Docs Updates README and the LLM workflow runbook to use: ```bash ./scripts/gitea-config-menu ``` ## Validation - `bash -n scripts/gitea-config-menu` — passed - `./scripts/gitea-config-menu <<< "0"` — passed; menu launched and exited - `./venv/bin/python -m pytest tests/ -q` — passed - `git diff --check` / staged diff check — passed - Manual changed-file scan — no real secrets, tokens, auth headers, `.env.personal`, or private config dumps added ## Notes Normal `git push` over HTTPS had no configured credential helper in this environment, so the branch was pushed with a temporary `GIT_ASKPASS` helper outside the repo. The helper was deleted immediately after push and no credentials were printed or written to the repository.
jcwalker3 added 1 commit 2026-07-02 01:05:11 -05:00
jcwalker3 closed this pull request 2026-07-02 01:08:48 -05:00
jcwalker3 deleted branch fix/issue-34-gitea-config-menu-wrapper 2026-07-02 01:08:48 -05:00

Pull request closed

Sign in to join this conversation.