Skip to content

Commit 5152d09

Browse files
committed
Reword <protocol> to explicitly say git[+<subprotocol>]
As the protocols are handled by git, it's probably better to define them as something that's supported by `git clone`.
1 parent 888817f commit 5152d09

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hips/hip-00NN.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ The `Chart.yaml` should support the following format for `dependencies`:
3737
```
3838
dependencies:
3939
- name: "<dependency name>"
40-
repository: "<protocol>://<hostname>[:<port>][:][/]<path>"
40+
repository: "git[+<subprotocol>]://<hostname>[:<port>][:][/]<path>"
4141
version: "<commit-ish>"
4242
```
4343
where:
44-
- `<protocol>` is one of `git`, `git+ssh`, `git+http`, `git+https`, or `git+file`.
44+
- `<subprotocol>` is a protocol supported by `git clone` (e.g. `ssh`, `http`, `https`, `file`, etc).
4545
- `<commit-ish>` is an existing reference (SHA hash, tag or branch name) on the repo.
4646

4747
For example:

0 commit comments

Comments
 (0)