cli/pkg
Snider e04d6025dc
feat(setup): add github command for repo configuration (#59)
* feat(setup): add github command for repo configuration (#45)

Implements `core setup github` to configure GitHub repos with org
standards including labels, webhooks, branch protection, and security
settings. Supports dry-run mode, per-repo or all-repos operation, and
selective sync of specific settings.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* fix(setup): address CodeRabbit feedback on github command

- Sort map keys for deterministic diff output in github_diff.go
- Preserve partial results by adding changes before continue on errors
- Reject conflicting --repo and --all flags with clear error message
- Allow empty webhook URLs (skip instead of error) for optional env vars
- Add content_type comparison in webhook sync
- Add required_status_checks comparison in branch protection sync
- Add DisableDependabotSecurityUpdates for bidirectional security control

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* fix(setup): address additional CodeRabbit feedback

- Use filepath.Join for OS-portable path construction in github_config.go
- Fix stringSliceEqual to use frequency counting for proper duplicate handling
- Simplify change accumulation with variadic append

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-01 03:37:06 +00:00
..
agentic feat(framework): add QUERY/QUERYALL/PERFORM dispatch patterns 2026-01-30 10:18:54 +00:00
ai refactor: migrate all pkg/* to cli abstraction 2026-01-31 23:54:01 +00:00
build fix(vm): use double-dash flags for linuxkit build command (#57) 2026-02-01 01:49:00 +00:00
cache refactor: flatten CLI to root, simplify pkg/mcp for CLI-only use 2026-01-29 18:13:51 +00:00
ci refactor: migrate all pkg/* to cli abstraction 2026-01-31 23:54:01 +00:00
cli fix(docs): respect workspace.yaml packages_dir setting (fixes #46) (#55) 2026-02-01 01:59:27 +00:00
container test: increase coverage across packages 2026-01-29 13:19:08 +00:00
dev feat(workspace): implement workspace.yaml support 2026-02-01 02:18:19 +00:00
devops refactor: flatten CLI to root, simplify pkg/mcp for CLI-only use 2026-01-29 18:13:51 +00:00
docs feat(workspace): implement workspace.yaml support 2026-02-01 02:18:19 +00:00
doctor refactor: migrate all pkg/* to cli abstraction 2026-01-31 23:54:01 +00:00
errors feat(pkg): add standalone log and errors packages 2026-01-30 22:02:40 +00:00
framework fix(docs): respect workspace.yaml packages_dir setting (fixes #46) (#55) 2026-02-01 01:59:27 +00:00
git feat(framework): add QUERY/QUERYALL/PERFORM dispatch patterns 2026-01-30 10:18:54 +00:00
go refactor: migrate all pkg/* to cli abstraction 2026-01-31 23:54:01 +00:00
i18n feat(setup): add github command for repo configuration (#59) 2026-02-01 03:37:06 +00:00
log feat(pkg): add standalone log and errors packages 2026-01-30 22:02:40 +00:00
mcp refactor: flatten CLI to root, simplify pkg/mcp for CLI-only use 2026-01-29 18:13:51 +00:00
php feat(workspace): implement workspace.yaml support 2026-02-01 02:18:19 +00:00
pkgcmd refactor: migrate all pkg/* to cli abstraction 2026-01-31 23:54:01 +00:00
process test(process): add concurrency tests and global function wrappers 2026-01-30 19:55:37 +00:00
release fix(docs): respect workspace.yaml packages_dir setting (fixes #46) (#55) 2026-02-01 01:59:27 +00:00
repos feat(workspace): implement workspace.yaml support 2026-02-01 02:18:19 +00:00
sdk refactor(i18n): migrate all pkg/* to grammar engine 2026-01-30 23:09:45 +00:00
setup feat(setup): add github command for repo configuration (#59) 2026-02-01 03:37:06 +00:00
test refactor: migrate all pkg/* to cli abstraction 2026-01-31 23:54:01 +00:00
updater feat(php): add quality commands and split cmd/php for maintainability 2026-01-29 23:58:03 +00:00
vm refactor: migrate all pkg/* to cli abstraction 2026-01-31 23:54:01 +00:00
workspace feat(setup): add github command for repo configuration (#59) 2026-02-01 03:37:06 +00:00