mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-12-24 20:35:55 +00:00
Rename add-ons repository (#2272)
This commit is contained in:
@@ -5,7 +5,7 @@ from pathlib import Path
|
||||
|
||||
SUPERVISOR_VERSION = "DEV"
|
||||
|
||||
URL_HASSIO_ADDONS = "https://github.com/home-assistant/hassio-addons"
|
||||
URL_HASSIO_ADDONS = "https://github.com/home-assistant/addons"
|
||||
URL_HASSIO_APPARMOR = "https://version.home-assistant.io/apparmor.txt"
|
||||
URL_HASSIO_VERSION = "https://version.home-assistant.io/{channel}.json"
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ from supervisor.utils.json import read_json_file
|
||||
|
||||
from ..const import REPOSITORY_CORE, REPOSITORY_LOCAL
|
||||
from ..coresys import CoreSys, CoreSysAttributes
|
||||
from ..exceptions import JsonFileError, StoreError, StoreGitError
|
||||
from ..exceptions import JsonFileError, StoreGitError
|
||||
from ..jobs.decorator import Job, JobCondition
|
||||
from .addon import AddonStore
|
||||
from .data import StoreData
|
||||
@@ -70,9 +70,9 @@ class StoreManager(CoreSysAttributes):
|
||||
repository = Repository(self.coresys, url)
|
||||
try:
|
||||
await repository.load()
|
||||
except StoreGitError as err:
|
||||
except StoreGitError:
|
||||
_LOGGER.error("Can't load data from repository %s", url)
|
||||
raise StoreError() from err
|
||||
return
|
||||
|
||||
# don't add built-in repository to config
|
||||
if url not in BUILTIN_REPOSITORIES:
|
||||
|
||||
Reference in New Issue
Block a user