dependabot[bot]
670d05df95
Bump awesomeversion from 22.1.0 to 22.2.0 ( #3458 )
...
Bumps [awesomeversion](https://github.com/ludeeus/awesomeversion ) from 22.1.0 to 22.2.0.
- [Release notes](https://github.com/ludeeus/awesomeversion/releases )
- [Commits](https://github.com/ludeeus/awesomeversion/compare/22.1.0...22.2.0 )
---
updated-dependencies:
- dependency-name: awesomeversion
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-21 08:37:02 +01:00
dependabot[bot]
93fc4e97a0
Bump docker/login-action from 1.12.0 to 1.13.0 ( #3454 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-18 08:45:33 +01:00
dependabot[bot]
b86df0696e
Bump actions/setup-python from 2.3.1 to 2.3.2 ( #3443 )
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 2.3.1 to 2.3.2.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v2.3.1...v2.3.2 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-17 18:43:29 +01:00
dependabot[bot]
b0af73b0b5
Bump coverage from 6.2 to 6.3.1 ( #3427 )
...
Bumps [coverage](https://github.com/nedbat/coveragepy ) from 6.2 to 6.3.1.
- [Release notes](https://github.com/nedbat/coveragepy/releases )
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst )
- [Commits](https://github.com/nedbat/coveragepy/compare/6.2...6.3.1 )
---
updated-dependencies:
- dependency-name: coverage
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-17 18:42:58 +01:00
dependabot[bot]
f1e884b264
Bump pytest from 6.2.5 to 7.0.1 ( #3445 )
...
Bumps [pytest](https://github.com/pytest-dev/pytest ) from 6.2.5 to 7.0.1.
- [Release notes](https://github.com/pytest-dev/pytest/releases )
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest/compare/6.2.5...7.0.1 )
---
updated-dependencies:
- dependency-name: pytest
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-17 18:42:47 +01:00
Pascal Vizeli
a2f43d8c7b
Add add-on support for CAS ( #3450 )
...
* Add add-on support for CAS
* add tests
* Update tests/test_security.py
Co-authored-by: Mike Degatano <michael.degatano@gmail.com>
* address comments
* Address rating comments
Co-authored-by: Mike Degatano <michael.degatano@gmail.com>
2022-02-17 10:21:30 +01:00
Stefan Agner
b4cfbe46c1
Ignore corrupted databases in backup ( #3452 )
2022-02-16 18:11:02 +01:00
Pascal Vizeli
2a006ae76d
Update CAS to 1.0.2 ( #3448 )
2022-02-15 16:27:18 +01:00
dependabot[bot]
40812450df
Bump sentry-sdk from 1.5.4 to 1.5.5 ( #3446 )
...
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python ) from 1.5.4 to 1.5.5.
- [Release notes](https://github.com/getsentry/sentry-python/releases )
- [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-python/compare/1.5.4...1.5.5 )
---
updated-dependencies:
- dependency-name: sentry-sdk
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-14 11:28:12 +01:00
Mike Degatano
d2e0b0417c
Hash correct folder in source_mods tests ( #3442 )
...
Source mods test was corrected to start from `supervisor` folder within repo and not include tests. The patch here was still starting from the workspace directory since that's what it used to do
2022-02-10 11:33:47 -05:00
dependabot[bot]
d4fd8f3f0d
Bump black from 21.12b0 to 22.1.0 ( #3425 )
...
* Bump black from 21.12b0 to 22.1.0
Bumps [black](https://github.com/psf/black ) from 21.12b0 to 22.1.0.
- [Release notes](https://github.com/psf/black/releases )
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md )
- [Commits](https://github.com/psf/black/commits/22.1.0 )
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* Update black
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pascal Vizeli <pvizeli@syshack.ch>
2022-02-10 14:13:40 +01:00
Pascal Vizeli
199b57c833
Fix source-mod detection calculation ( #3440 )
2022-02-10 14:07:17 +01:00
Pascal Vizeli
597a27ba33
Fix source-mod check ( #3439 )
...
* Fix source-mod check
* Fix stderr
* make handling robust
2022-02-10 13:23:05 +01:00
dependabot[bot]
d6e44b43b4
Bump attrs from 21.2.0 to 21.4.0 ( #3386 )
...
Bumps [attrs](https://github.com/python-attrs/attrs ) from 21.2.0 to 21.4.0.
- [Release notes](https://github.com/python-attrs/attrs/releases )
- [Changelog](https://github.com/python-attrs/attrs/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/python-attrs/attrs/compare/21.2.0...21.4.0 )
---
updated-dependencies:
- dependency-name: attrs
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-10 10:23:34 +01:00
Pascal Vizeli
84c2053b57
Add suffix hash on CAS CI ( #3438 )
2022-02-10 10:21:34 +01:00
dependabot[bot]
2df3678fef
Bump pyudev from 0.23.1 to 0.23.2 ( #3434 )
...
Bumps [pyudev](https://github.com/pyudev/pyudev ) from 0.23.1 to 0.23.2.
- [Release notes](https://github.com/pyudev/pyudev/releases )
- [Changelog](https://github.com/pyudev/pyudev/blob/master/CHANGES.rst )
- [Commits](https://github.com/pyudev/pyudev/compare/v0.23.1...v0.23.2 )
---
updated-dependencies:
- dependency-name: pyudev
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-10 10:14:14 +01:00
Pascal Vizeli
920f9846ac
Fix asset name ( #3437 )
2022-02-10 10:13:22 +01:00
Pascal Vizeli
3478005e70
Using CAS for content-trust ( #3382 )
...
* Using CAS for content-trust
* v2
* Fix linting errors
* Adjust field checked for status in CAS response
* CI workflow needs CAS not VCN now
* Use cwd in test as code won't be in /usr/src
* Pre-cache CAS pub key for supervisor
* Cas doesn't actually need key file executable
Co-authored-by: Mike Degatano <michael.degatano@gmail.com>
2022-02-10 09:21:21 +01:00
Matheson Steplock
e5d64f6c75
Fix bashio-typo in watchdog service ( #3436 )
2022-02-09 10:01:26 +01:00
Pascal Vizeli
787695a763
ESPHome default repo for new installations ( #3430 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
2022-02-08 14:07:34 -08:00
dependabot[bot]
a495fd6b3a
Bump actions/setup-python from 2.3.1 to 2.3.2 ( #3433 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-07 08:57:19 +01:00
Marco Trevisan
80e67b3c57
backups: Add support for creating fully uncompressed backups ( #3378 )
...
Hassio supervisor saves backups in tar files that contains compressed
tar archives, this is convenient when such backups are kept in the same
environment or need to be transferred remotely, but it's not convenient
when they will be processed using other backup tools such as borg or
restic that can handle compression, encryption and data deduplication
themselves.
In fact deduplication won't actually work at all with hassio compressed
backups as there's no way to find common streams for such tools (unless
we make them to export the archives during importing as borg's
import-tar can do), but this would lead to archives that are not easily
recoverable by the supervisor.
So, make possible to pass a "compressed" boolean parameter when creating
backups that will just archive all the data uncompressed.
It will be then up to other tools to manage the archives compression.
2022-02-03 10:24:44 +01:00
dependabot[bot]
a52272a7fe
Bump home-assistant/builder from 2021.12.0 to 2022.01.0 ( #3424 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-31 09:18:18 +01:00
dependabot[bot]
fb24ed3f1a
Bump pyudev from 0.22.0 to 0.23.1 ( #3423 )
...
Bumps [pyudev](https://github.com/pyudev/pyudev ) from 0.22.0 to 0.23.1.
- [Release notes](https://github.com/pyudev/pyudev/releases )
- [Changelog](https://github.com/pyudev/pyudev/blob/master/CHANGES.rst )
- [Commits](https://github.com/pyudev/pyudev/compare/v0.22...v0.23.1 )
---
updated-dependencies:
- dependency-name: pyudev
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022.01.1
2022-01-27 15:15:09 +01:00
Pascal Vizeli
8d8704e049
Fixing IO on the loop with docker HW events ( #3422 )
2022-01-26 17:41:00 +01:00
dependabot[bot]
a60f25100d
Bump sentry-sdk from 1.5.3 to 1.5.4 ( #3419 )
...
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python ) from 1.5.3 to 1.5.4.
- [Release notes](https://github.com/getsentry/sentry-python/releases )
- [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-python/compare/1.5.3...1.5.4 )
---
updated-dependencies:
- dependency-name: sentry-sdk
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-26 16:49:55 +01:00
dependabot[bot]
5be4a1f4dc
Bump pulsectl from 21.10.5 to 22.1.3 ( #3416 )
...
Bumps [pulsectl](https://github.com/mk-fg/python-pulse-control ) from 21.10.5 to 22.1.3.
- [Release notes](https://github.com/mk-fg/python-pulse-control/releases )
- [Changelog](https://github.com/mk-fg/python-pulse-control/blob/master/CHANGES.rst )
- [Commits](https://github.com/mk-fg/python-pulse-control/commits )
---
updated-dependencies:
- dependency-name: pulsectl
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-26 16:49:28 +01:00
Pascal Vizeli
caacb421c1
Support dynamic device access cgroup ( #3421 )
...
* Support dynamic device access cgroup
* Clean listener better
* Update supervisor/docker/addon.py
Co-authored-by: Stefan Agner <stefan@agner.ch>
* Update addon.py
* Fix black
Co-authored-by: Stefan Agner <stefan@agner.ch>
2022-01-26 16:48:23 +01:00
Joakim Sørensen
724eaddf19
Bump frontend to b0b953bf ( #3417 )
2022.01.0
2022-01-24 12:11:17 +01:00
Pascal Vizeli
c3019bce7e
Add Core Update API ( #3413 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-01-24 10:32:23 +01:00
dependabot[bot]
4ae61814d4
Bump sentry-sdk from 1.5.2 to 1.5.3 ( #3412 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-21 21:12:11 +01:00
Joakim Sørensen
b651d63758
Add backup size to list API ( #3409 )
2022-01-19 08:59:30 -08:00
dependabot[bot]
400d3981a2
Bump pre-commit from 2.16.0 to 2.17.0 ( #3407 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-19 09:16:13 +01:00
Stefan Agner
69c2517d52
Fix local Add-on restore on blank instance ( #3403 )
...
Make sure to not reference version attribute from the DockerAddon
instance since it is not yet populated in case this instance hadn't
installed that Add-on previously.
Use the higher level Images.load() API which returns a list of images
instead of loading with the lower level API and then search for the
image we just imported.
2022-01-11 16:55:19 +01:00
Stefan Agner
c8b49aba42
Avoid sending backup start notification to HA Core 2021.12 ( #3400 )
2022-01-11 13:20:19 +01:00
Stefan Agner
8071b107e7
Release all pending WebSocket calls on connection close ( #3401 )
2022-01-11 13:18:49 +01:00
dependabot[bot]
603d19b075
Bump sentry-sdk from 1.5.1 to 1.5.2 ( #3398 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-11 09:04:24 +01:00
dependabot[bot]
a5ce2ef7cb
Bump gitpython from 3.1.25 to 3.1.26 ( #3399 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-11 08:36:23 +01:00
dependabot[bot]
f392dc5492
Bump awesomeversion from 21.12.0 to 22.1.0 ( #3397 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-10 09:04:58 +01:00
dependabot[bot]
0c63883269
Bump gitpython from 3.1.24 to 3.1.25 ( #3394 )
...
Bumps [gitpython](https://github.com/gitpython-developers/GitPython ) from 3.1.24 to 3.1.25.
- [Release notes](https://github.com/gitpython-developers/GitPython/releases )
- [Changelog](https://github.com/gitpython-developers/GitPython/blob/main/CHANGES )
- [Commits](https://github.com/gitpython-developers/GitPython/compare/3.1.24...3.1.25 )
---
updated-dependencies:
- dependency-name: gitpython
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-09 21:47:50 +01:00
dependabot[bot]
612d4f950b
Bump pyupgrade from 2.30.0 to 2.31.0 ( #3390 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-01-06 16:14:24 +01:00
Stefan Agner
1799c765b4
Notify HA Core when backup is being executed ( #3305 )
...
* Notify HA Core when backup is being executed
Notify Home Assistant Core using the Websocket API when the Home Assistant
config directory is about to get backed up. This makes sure the Core can
prepare the SQLite database (if active) so it safe to make a backup.
* Only close WebSocket connection on connection errors
Let regular WebSocket errors bubble to the caller so they can be handled
explicitly.
* Add version restriction to backup/start/end WS commands
* Restore Home Assistant metadata when Home Assistant is selected
2022-01-05 11:57:41 +01:00
Allen Porter
809ac1ffca
Add Add-on discovery schema for rtsp-to-webrtc ( #3392 )
2022-01-05 11:30:15 +01:00
Allen Porter
fefc99e825
Fix copy/paste issues in tests ( #3393 )
2022-01-05 10:01:00 +01:00
Allen Porter
d994170a9d
Fix copy-paste error in pydoc for test_almond.py ( #3389 )
2022-01-02 16:09:46 +01:00
Stefan Agner
d8c934365a
Exclude old log files from backup ( #3307 )
...
Currently log files are excluded from the backup. Core uses a time or
startup based log rotation mechanism, both append a dot and an
additional; string (`.1`, `.{timestamp}`). There is also a fault
mechanism which creates a log file with the ending `.log.fault`. Exclude
all cases from the backup.
2021-12-28 17:40:32 +01:00
Joakim Sørensen
e0fd31c390
Create backup of add-ons and core before update ( #3369 )
...
* Create backup of addons and core before update
* Move responsibility
2021-12-28 11:13:54 +01:00
dependabot[bot]
22238c9c0e
Bump awesomeversion from 21.11.0 to 21.12.0 ( #3379 )
...
Bumps [awesomeversion](https://github.com/ludeeus/awesomeversion ) from 21.11.0 to 21.12.0.
- [Release notes](https://github.com/ludeeus/awesomeversion/releases )
- [Commits](https://github.com/ludeeus/awesomeversion/compare/21.11.0...21.12.0 )
---
updated-dependencies:
- dependency-name: awesomeversion
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-28 11:10:36 +01:00
dependabot[bot]
5ff96cfa5e
Bump pyupgrade from 2.29.1 to 2.30.0 ( #3381 )
...
* Bump pyupgrade from 2.29.1 to 2.30.0
Bumps [pyupgrade](https://github.com/asottile/pyupgrade ) from 2.29.1 to 2.30.0.
- [Release notes](https://github.com/asottile/pyupgrade/releases )
- [Commits](https://github.com/asottile/pyupgrade/compare/v2.29.1...v2.30.0 )
---
updated-dependencies:
- dependency-name: pyupgrade
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Update .pre-commit-config.yaml
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
2021-12-28 11:09:28 +01:00
dependabot[bot]
e22a19df1a
Bump cryptography from 35.0.0 to 36.0.1 ( #3365 )
...
Bumps [cryptography](https://github.com/pyca/cryptography ) from 35.0.0 to 36.0.1.
- [Release notes](https://github.com/pyca/cryptography/releases )
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pyca/cryptography/compare/35.0.0...36.0.1 )
---
updated-dependencies:
- dependency-name: cryptography
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-23 14:09:19 +01:00