Add support for git SSH registry URL
- Dominant language
- Java
- Stars
- 25.8k
- Forks
- 4.6k
- Avg merge
- 2d 20h
- Merged PRs (30d)
- 72
Description
### Description of the feature request:
Be able to use a git SSH registry URL
Example in .bazelrc:
```
common --registry=git@github.com:bazelbuild/bazel-central-registry.git
```
### Which category does this issue belong to?
_No response_
### What underlying problem are you trying to solve with this feature?
Add a private git repository protected by ssh key as Bazel register
### Which operating system are you running Bazel on?
Rocky Linux 9.4 (Blue Onyx)
### What is the output of `bazel info release`?
release 7.1.1
### If `bazel info release` returns `development version` or `(@non-git)`, tell us how you built Bazel.
_No response_
### What's the output of `git remote get-url origin; git rev-parse HEAD` ?
_No response_
### Have you found anything relevant by searching the web?
_No response_
### Any other information, logs, or outputs that you want to share?
Using a git SSH registry URL gives me the following error message
```
Invalid registry URL: Unrecognized registry URL protocol
```
Contributor guide
Research direction
Start with the .bazelrc registry example and trace the validation that produces “Unrecognized registry URL protocol.” Check how the Bazel registry code handles the requested git@github.com: SSH form, then verify that a private SSH-protected registry is accepted without the invalid-protocol error on Rocky Linux 9.4.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100