jdeath / Roblox-Homeassistant

Roblox Sensor For Homeassistant
2 stars 1 forks source link

URL is not accepted as a valid repository in Home Assistant #3

Closed siw1973 closed 1 year ago

siw1973 commented 1 year ago

When using the URL below it is rejected, with different errors on occassion, when adding as a repository.

https://github.com/jdeath/Roblox-Homeassistant.git

ERROR 1 https://github.com/jdeath/Roblox-Homeassistant.git is not a valid add-on repository

ERROR 2 Cmd('git') failed due to: exit code(128) cmdline: git clone -v --recursive --depth=1 --shallow-submodules -- https://github.com/jdeath/Roblox-Homeassistant.git /data/addons/git/513fe336 stderr: 'Cloning into '/data/addons/git/513fe336'... POST git-upload-pack (175 bytes) error: could not lock config file /data/addons/git/513fe336/.git/config: No such file or directory fatal: could not set 'core.repositoryformatversion' to '0' '

jdeath commented 1 year ago

use https://github.com/jdeath/Roblox-Homeassistant

siw1973 commented 1 year ago

I'm still getting the below error :

https://github.com/jdeath/Roblox-Homeassistant.git is not a valid add-on repository

I'm running the following config on a Synology Virtual Machine Manaager HASSOS instance :

Home Assistant 2023.9.0 Supervisor 2023.08.3 Operating System 10.5 Frontend 20230906.1 - latest

I have added a number of additional Add On Repositories, but none in about 6 months.

jdeath commented 1 year ago

Not sure. I removed it and added back in and it works fine with no error. Be sure not to add the .git to the end and set the category to integration.

siw1973 commented 1 year ago

I'm not sure what you mean by setting an Add On as an Integration when adding a Repository.

image

I add the repository URL and the failure as per the one above.

image
siw1973 commented 1 year ago

I'm an idiot...... All sorted......

jdeath commented 1 year ago

Ahh good. Yes, need to add in HACS not in Add Ons...