Support armv7 and allow support of multible arch types per CPU (#892)

* Support armv7 and first abstraction

* Change layout

* Add more type hints

* Fix imports

* Update

* move forward

* add tests

* fix type

* fix lint & tests

* fix tests

* Fix unittests

* Fix create folder

* cleanup

* Fix import order

* cleanup loop parameter

* cleanup init function

* Allow changeable image name

* fix setup

* Fix load of arch

* Fix lint

* Add typing

* fix init

* fix hassos cli problem & stick on supervisor arch

* address comments

* cleanup

* Fix image selfheal

* Add comment

* update uvloop

* remove uvloop

* fix tagging

* Fix install name

* Fix validate build config

* Abstract image_name from system cache
This commit is contained in:
Pascal Vizeli
2019-01-31 18:47:44 +01:00
committed by GitHub
parent 118a2e1951
commit 35aae69f23
33 changed files with 1019 additions and 457 deletions

View File

@@ -11,6 +11,7 @@ class HassioNotSupportedError(HassioError):
# HomeAssistant
class HomeAssistantError(HassioError):
"""Home Assistant exception."""
@@ -29,6 +30,7 @@ class HomeAssistantAuthError(HomeAssistantAPIError):
# HassOS
class HassOSError(HassioError):
"""HassOS exception."""
@@ -41,20 +43,30 @@ class HassOSNotSupportedError(HassioNotSupportedError):
"""Function not supported by HassOS."""
# Arch
class HassioArchNotFound(HassioNotSupportedError):
"""No matches with exists arch."""
# Updater
class HassioUpdaterError(HassioError):
"""Error on Updater."""
# Auth
class AuthError(HassioError):
"""Auth errors."""
# Host
class HostError(HassioError):
"""Internal Host error."""
@@ -73,6 +85,7 @@ class HostAppArmorError(HostError):
# API
class APIError(HassioError, RuntimeError):
"""API errors."""
@@ -83,6 +96,7 @@ class APIForbidden(APIError):
# Service / Discovery
class DiscoveryError(HassioError):
"""Discovery Errors."""
@@ -93,6 +107,7 @@ class ServicesError(HassioError):
# utils/gdbus
class DBusError(HassioError):
"""DBus generic error."""
@@ -111,6 +126,7 @@ class DBusParseError(DBusError):
# util/apparmor
class AppArmorError(HostAppArmorError):
"""General AppArmor error."""