[BUG] Disallowed Repo Names
- Dominant language
- Go
- Stars
- 9.2k
- Forks
- 1.3k
- PR merge metrics
- PR metrics pending
Description
GitHub also allows "." to start a repo name, and I see no reason why Keybase shouldn't allow it.
https://github.com/keybase/client/blob/96897d3b11c04f9caa7ba563c3de5bfb6f722c8e/go/kbfs/libgit/repo.go#L57-L64
I wonder if there is an updated version of this regular expression somewhere, I can't find one that GitHub publishes.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with go/kbfs/libgit/repo.go at lines 57-64 and inspect the regular expression that rejects repository names. Compare its behavior with GitHub's allowance for names beginning with a period, then run the relevant Go tests or validation path. Done means valid GitHub-compatible names are accepted without weakening other repository-name restrictions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100