feat: interactive repo configuration wizard (#145) #294

Merged
jmiller merged 3 commits from feature/145-repo-wizard into main 2026-06-21 05:25:42 +00:00
Owner

Summary\n\nAdd repo:wizard command — interactive setup that walks through platform selection, generates config files, and optionally creates the repo on Gitea.\n\n- Supports joomla, dolibarr, nodejs, python, mcp-server, generic\n- Generates phpcs/phpstan/eslint/tsconfig/composer/package.json as appropriate\n- --dry-run, --non-interactive, --create-remote flags\n\nCloses #145

## Summary\n\nAdd `repo:wizard` command — interactive setup that walks through platform selection, generates config files, and optionally creates the repo on Gitea.\n\n- Supports joomla, dolibarr, nodejs, python, mcp-server, generic\n- Generates phpcs/phpstan/eslint/tsconfig/composer/package.json as appropriate\n- --dry-run, --non-interactive, --create-remote flags\n\nCloses #145
jmiller added 2 commits 2026-06-21 05:25:01 +00:00
Add `repo:wizard` command — walks through platform selection, generates
config files (phpcs, phpstan, eslint, tsconfig, composer/package.json,
.editorconfig, README, CHANGELOG, .gitignore, workflows), and optionally
creates the repo on Gitea via API.

Supports --dry-run, --non-interactive, and --create-remote flags.
fix: address review findings in repo_wizard.php
Platform: mokoplatform CI / Gate 2: Unit Tests (8.1) (pull_request) Blocked by required conditions
Platform: mokoplatform CI / Gate 2: Unit Tests (8.2) (pull_request) Blocked by required conditions
Platform: mokoplatform CI / Gate 2: Unit Tests (8.3) (pull_request) Blocked by required conditions
Platform: mokoplatform CI / Gate 3: Self-Health Check (pull_request) Blocked by required conditions
Platform: mokoplatform CI / Gate 4: Governance (pull_request) Blocked by required conditions
Platform: mokoplatform CI / Gate 5: Template Integrity (pull_request) Blocked by required conditions
Platform: mokoplatform CI / CI Summary (pull_request) Blocked by required conditions
Universal: PR Check / Build RC Package (pull_request) Blocked by required conditions
Universal: PR Check / Report Issues (pull_request) Blocked by required conditions
Generic: Repo Health / Scripts governance (pull_request) Blocked by required conditions
Generic: Repo Health / Repository health (pull_request) Blocked by required conditions
Generic: Repo Health / Report Issues (pull_request) Blocked by required conditions
Universal: PR Check / Branch Policy (pull_request) Failing after 1s
Generic: Repo Health / Site Health (pull_request) Has been skipped
Generic: Repo Health / Access control (pull_request) Successful in 2s
Universal: PR Check / Validate PR (pull_request) Failing after 5s
Universal: PR Check / Secret Scan (pull_request) Successful in 6s
Universal: Auto Version Bump / Version Bump (push) Successful in 12s
Platform: mokoplatform CI / Gate 1: Code Quality (pull_request) Failing after 1m2s
558cd6043d
- Fix #1: replace nonexistent menu() with choose() using select()
- Fix #2: constructor — pass name only, not description as version
- Fix #3: respect --non-interactive flag (skip prompts, use defaults)
- Fix #4: use json_encode for composer/package.json (prevent injection)
- Fix #5: remove pointless count() wrapper
- Fix #6: validate --path exists or can be created before proceeding
- Fix TOML description escaping
jmiller force-pushed feature/145-repo-wizard from e9c53e6559 to 558cd6043d 2026-06-21 05:25:01 +00:00 Compare
jmiller added 1 commit 2026-06-21 05:25:17 +00:00
chore(version): auto-bump patch 09.36.01-dev [skip ci]
Universal: Build & Release / Promote to RC (pull_request) Has been skipped
Universal: Build & Release / Build & Release Pipeline (pull_request) Successful in 22s
RC Revert / Rename rc/ back to dev/ (pull_request) Has been skipped
Branch Cleanup / Delete merged branch (pull_request) Failing after 1s
Universal: Workflow Sync Trigger / Sync workflows to live repos (pull_request) Failing after 3s
632d8486b8
jmiller merged commit a67bf83467 into main 2026-06-21 05:25:42 +00:00
jmiller deleted branch feature/145-repo-wizard 2026-06-21 05:25:43 +00:00
Sign in to join this conversation.
No Reviewers
No labels
Priority -
Type -
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoCLI#294