mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-25 18:26:29 +00:00
Correct git requirement manifest specification (#2438)
As in issue #92 (https://github.com/home-assistant/actions/issues/92) this update to documentation corrects this in line with hassfest validation.
This commit is contained in:
parent
4bd68db9ff
commit
1bed08de7e
@ -155,7 +155,7 @@ It is also possible to use a public git repository to install a requirement. Th
|
|||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"requirements": ["<project> @ git+https://github.com/<user>/<project>.git@<git ref>"]
|
"requirements": ["git+https://github.com/<user>/<project>.git@<git ref>"]
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
`<git ref>` can be any git reference: branch, tag, commit hash, ... . See [PIP documentation about git support](https://pip.pypa.io/en/stable/topics/vcs-support/#git).
|
`<git ref>` can be any git reference: branch, tag, commit hash, ... . See [PIP documentation about git support](https://pip.pypa.io/en/stable/topics/vcs-support/#git).
|
||||||
@ -164,7 +164,7 @@ The following example will install the `except_connect` branch of the `pycoolmas
|
|||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"requirements": ["pycoolmaster @ git+https://github.com/issacg/pycoolmaster.git@except_connect"]
|
"requirements": ["git+https://github.com/issacg/pycoolmaster.git@except_connect"]
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user