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:
Andy Brown 2024-11-04 10:58:40 +00:00 committed by GitHub
parent 4bd68db9ff
commit 1bed08de7e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -155,7 +155,7 @@ It is also possible to use a public git repository to install a requirement. Th
```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).
@ -164,7 +164,7 @@ The following example will install the `except_connect` branch of the `pycoolmas
```json
{
"requirements": ["pycoolmaster @ git+https://github.com/issacg/pycoolmaster.git@except_connect"]
"requirements": ["git+https://github.com/issacg/pycoolmaster.git@except_connect"]
}
```