|
| 1 | +# baker-scripts Org Migration & Setup |
| 2 | + |
| 3 | +**Status:** Nearly Complete |
| 4 | +**Date:** 2026-03-01 |
| 5 | + |
| 6 | +## Goal |
| 7 | + |
| 8 | +Move repos from bakerboy448 to baker-scripts GitHub org, configure org settings, update all references, and apply consistent repo settings. |
| 9 | + |
| 10 | +--- |
| 11 | + |
| 12 | +## Tasks |
| 13 | + |
| 14 | +### Org Setup |
| 15 | +- [x] Create baker-scripts GitHub org |
| 16 | +- [x] Set org description: "Open-source tools and scripts for the selfhosted community" |
| 17 | +- [x] Set org blog: https://baker-scripts.github.io |
| 18 | +- [x] Restrict member repo creation (admin-only) |
| 19 | +- [x] Disable private repos and private forks |
| 20 | +- [x] Enable 2FA requirement |
| 21 | +- [x] Create teams: maintainers, bots, contributors |
| 22 | +- [x] Add bakerboy448 to maintainers (maintainer role) |
| 23 | + |
| 24 | +### Repo Transfers |
| 25 | +- [x] Transfer docker-compose-debugger (was compose-sanitizer) |
| 26 | +- [x] Transfer StarrScripts |
| 27 | +- [x] Transfer autodns |
| 28 | +- [x] Transfer Scripts |
| 29 | +- [x] Transfer pmm-config |
| 30 | +- [x] Transfer RedditModLog |
| 31 | + |
| 32 | +### docker-compose-debugger Settings (Template for All Repos) |
| 33 | +- [x] Squash merge only (no merge commits, no rebase merge) |
| 34 | +- [x] Squash commit title: PR_TITLE, message: PR_BODY |
| 35 | +- [x] Delete branch on merge |
| 36 | +- [x] Auto-merge enabled |
| 37 | +- [x] Allow update branch |
| 38 | +- [x] Secret scanning enabled |
| 39 | +- [x] Push protection enabled |
| 40 | +- [x] Vulnerability alerts enabled |
| 41 | +- [x] Dependabot security updates enabled |
| 42 | +- [x] Wiki, Projects, Discussions disabled |
| 43 | +- [x] GitHub Pages enabled |
| 44 | +- [x] Branch protection: test required (non-strict) |
| 45 | +- [x] Homepage URL updated |
| 46 | +- [x] Topics updated |
| 47 | +- [x] CLAUDE.md present |
| 48 | +- [x] .coderabbit.yaml present |
| 49 | +- [x] renovate.json present |
| 50 | +- [x] .gitleaks.toml present |
| 51 | +- [x] CI: test, security (npm audit, gitleaks, build size gate) |
| 52 | +- [x] Pre-release workflow (auto on push to main) |
| 53 | +- [x] Stable release workflow (manual dispatch) |
| 54 | + |
| 55 | +### Apply Settings to Transferred Repos |
| 56 | +- [x] StarrScripts: squash-only, secret scanning, push protection, delete-branch-on-merge |
| 57 | +- [x] autodns: squash-only, secret scanning, push protection, delete-branch-on-merge |
| 58 | +- [x] Scripts: squash-only, secret scanning, push protection, delete-branch-on-merge |
| 59 | +- [x] pmm-config: squash-only, secret scanning, push protection, delete-branch-on-merge |
| 60 | +- [x] RedditModLog: squash-only, secret scanning, push protection, delete-branch-on-merge |
| 61 | + |
| 62 | +### Update READMEs & URLs |
| 63 | +- [x] StarrScripts: updated repo URLs to baker-scripts |
| 64 | +- [x] Scripts: updated raw.githubusercontent.com URL to baker-scripts |
| 65 | +- [x] autodns: updated GHCR refs to baker-scripts (PR #23, merged) |
| 66 | +- [x] pmm-config: no changes needed (personal attribution only) |
| 67 | +- [x] RedditModLog: updated GHCR refs, OCI labels, workflow IMAGE_NAME (PR #11, merged) |
| 68 | + |
| 69 | +### Standardize Configs |
| 70 | +- [x] StarrScripts: .coderabbit.yaml, renovate.json, .gitleaks.toml added |
| 71 | +- [x] Scripts: .coderabbit.yaml, renovate.json, .gitleaks.toml added |
| 72 | +- [x] pmm-config: .coderabbit.yaml, renovate.json, .gitleaks.toml added |
| 73 | +- [x] RedditModLog: .coderabbit.yaml, .gitleaks.toml added (PR #12, merged) |
| 74 | +- [x] autodns: already had renovate.json (deferred: add .coderabbit.yaml, .gitleaks.toml) |
| 75 | + |
| 76 | +### Docker/GHCR |
| 77 | +- [x] RedditModLog: v1.4.4 release created, image published to ghcr.io/baker-scripts/redditmodlog |
| 78 | +- [x] dockergit compose updated: ghcr.io/baker-scripts/redditmodlog:1 |
| 79 | +- [ ] **YOU**: Make GHCR package public (https://github.com/orgs/baker-scripts/packages/container/redditmodlog/settings) |
| 80 | +- [ ] **YOU**: Pull and recreate container after package is public: `cd /opt/dockergit/servers/hetzner && op run --env-file .env -- docker compose pull redditmodlog-opensignups && op run --env-file .env -- docker compose up -d redditmodlog-opensignups` |
| 81 | + |
| 82 | +### Update Local Git Remotes |
| 83 | +- [x] compose-sanitizer → baker-scripts/docker-compose-debugger (already done) |
| 84 | +- [x] /opt/StarrScripts → baker-scripts/StarrScripts |
| 85 | +- [x] /opt/RedditModLog → baker-scripts/RedditModLog |
| 86 | +- [x] No other local clones found for autodns, Scripts, pmm-config |
| 87 | + |
| 88 | +### Merged PRs |
| 89 | +- [x] Renovate PR #9 on docker-compose-debugger (Node v24 update) — merged |
| 90 | + |
| 91 | +### GitHub Apps (Manual) |
| 92 | +- [ ] **YOU**: Install CodeRabbit on baker-scripts org (https://github.com/apps/coderabbitai) |
| 93 | +- [ ] Install Copilot (deferred for later) |
| 94 | + |
| 95 | +### Deferred |
| 96 | +- [ ] autodns: add .coderabbit.yaml, .gitleaks.toml (has branch protection) |
| 97 | +- [ ] autodns: fix workflow packages:write permission (build failed) |
| 98 | +- [ ] RedditModLog: fix Trivy SARIF upload permission in workflow |
| 99 | +- [ ] RedditModLog: fix SBOM release asset permission in workflow |
| 100 | + |
| 101 | +--- |
| 102 | + |
| 103 | +## Done When |
| 104 | +- [x] All repos under baker-scripts with consistent settings |
| 105 | +- [x] All READMEs reference baker-scripts URLs |
| 106 | +- [x] All local clones point to baker-scripts remotes |
| 107 | +- [ ] CodeRabbit installed on org |
| 108 | +- [x] GitHub Pages working at baker-scripts.github.io/docker-compose-debugger |
| 109 | + |
| 110 | +## Rollback |
| 111 | +- GitHub repo transfers create redirects from old URLs automatically |
| 112 | +- Old URLs (bakerboy448/*) will redirect indefinitely |
0 commit comments