- rename Go module, binary, systemd unit, PG_DATABASE default, frontend package and docs from shared-album to galo - add theme-aware halo emblem and favicon (new ui-branding capability) - add make build-release (versioned, stripped, static binary) and run the binary from the repo root
2.7 KiB
2.7 KiB
Tasks
1. Go module and imports
- 1.1 Rename the module in
backend/go.modfromshared-albumtogaloand verifyhead -1 backend/go.modprintsmodule galo - 1.2 Replace every
shared-album/internal/...import and theassets "shared-album"alias across the backend (~63 files) and verifygrep -rn '"shared-album' backend --include='*.go'returns nothing - 1.3 Build and test the backend after the rename and verify
cd backend && go build ./... && go test ./...passes
2. Build target
- 2.1 Rename the binary output in the Makefile (
bin/shared-album->bin/galo) in both thebackendandruntargets and verifymake backend && file bin/galoreports a statically linkedgalobinary
3. Config defaults
- 3.1 Change the
PG_DATABASEdefault inbackend/internal/config/config.goand in.env.examplefromshared_albumtogaloand verifygrep -rn shared_album backend/internal/config .env.examplereturns nothing whilecd backend && go test ./internal/config/passes
4. Deploy artifacts
- 4.1 Rename
deploy/shared-album.servicetodeploy/galo.serviceand update itsWorkingDirectory,EnvironmentFile,ExecStart, andReadWritePathspaths from/opt/shared-albumto/opt/galo, then verifygrep -rn shared-album deploy/returns nothing - 4.2 Rename the nginx upstream
shared_albumtogaloindeploy/nginx-sse.conf(upstream block and allproxy_pass) and verifygrep -rn 'shared_album\|shared-album' deploy/returns nothing
5. Frontend package
- 5.1 Rename the package to
galo-frontendinfrontend/package.jsonand regeneratefrontend/package-lock.json, then verifygrep -n '"name"' frontend/package.json frontend/package-lock.jsonshowsgalo-frontendeverywhere
6. Documentation
- 6.1 Update
README.mdandproject.md(including the §18 step-by-step prompt log) to usegalo//opt/galo/galo.service, and verifygrep -rn shared-album README.md project.mdreturns nothing - 6.2 Confirm the archived change is left untouched and verify
git status --porcelain openspec/changes/archive/prints nothing
7. Integration verification
- 7.1 Run a repo-wide audit and verify
grep -rn 'shared-album\|shared_album\|shared-album-frontend' --exclude-dir=.git --exclude-dir=bin --exclude-dir=node_modules --exclude-dir=build --exclude-dir=.svelte-kit .returns hits only underopenspec/changes/archive/2026-10-10-shared-album/and this change's own directoryopenspec/changes/rename-shared-album-to-galo/ - 7.2 Run the full pipeline and verify
make build && make testsucceeds on the renamed codebase - 7.3 Validate the change and verify
openspec validate rename-shared-album-to-galopasses