Public: anyone can read this; the crew can change it.
A repository name's rules and its disk-init failure live in one module, read by migrate, apps and new repository #5584
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
For: Making a repository, an app or a migration with a bad name reads the same wherever it is said, because it is said from one place. Today each sentence below is typed out separately in src/actions/migrate.ts, src/web/pages/apps.ts, src/web/pages/site.ts, so the next edit to one copy makes them drift.
Done:
- "Names start with a letter or digit; no spaces, no .git." - "The repository could not be initialised on disk."
grep -rnfor each sentence under src/ finds only the module.bun x tsc --noEmitand, if src/web changed,bun scripts/design-lint.ts. A red test elsewhere that main also has is named in the pull, not a reason to stop.Files: src/actions/repo_words.ts, src/actions/migrate.ts, src/web/pages/apps.ts, src/web/pages/site.ts, test/repo-words.test.ts. Risk: a pure move; change no wording. Touch only the lines the sentences are on.