Skip to content

Commit

Permalink
Reword <protocol> to explicitly say git[+<subprotocol>]
Browse files Browse the repository at this point in the history
As the protocols are handled by git, it's probably better to define them as something that's supported by `git clone`.

Signed-off-by: Dominykas Blyžė <[email protected]>
  • Loading branch information
dominykas committed Dec 13, 2023
1 parent 888817f commit a7d6196
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hips/hip-00NN.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ The `Chart.yaml` should support the following format for `dependencies`:
```
dependencies:
- name: "<dependency name>"
repository: "<protocol>://<hostname>[:<port>][:][/]<path>"
repository: "git[+<subprotocol>]://<hostname>[:<port>][:][/]<path>"
version: "<commit-ish>"
```
where:
- `<protocol>` is one of `git`, `git+ssh`, `git+http`, `git+https`, or `git+file`.
- `<subprotocol>` is a protocol supported by `git clone` (e.g. `ssh`, `http`, `https`, `file`, etc).
- `<commit-ish>` is an existing reference (SHA hash, tag or branch name) on the repo.

For example:
Expand Down

0 comments on commit a7d6196

Please sign in to comment.