dependabot[bot]
e949aa35f3
Bump actions/upload-artifact from v1 to 2.1.0 ( #1829 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from v1 to 2.1.0.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v1...ebad382c0953e8c6b4039e8d30dfd19ee7b2a862 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-14 13:58:21 +02:00
dependabot[bot]
fc80bf0df4
Bump codecov/codecov-action from v1 to v1.0.10 ( #1828 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from v1 to v1.0.10.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Commits](https://github.com/codecov/codecov-action/compare/v1...f3570723ef743f6942b6a480461ed0cd6c0f9baa )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-14 13:55:26 +02:00
dependabot-preview[bot]
bd9740e866
Create Dependabot config file ( #1826 )
...
* Create Dependabot config file
* ✏️ Tweak
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2020-07-14 12:02:44 +02:00
Pascal Vizeli
3a260a8fd9
Fix terminal
2020-07-14 10:00:27 +00:00
Paulus Schoutsen
c87e6a5a42
Drop last references 3.7 ( #1825 )
2020-07-14 02:48:57 +02:00
Pascal Vizeli
8bc3319523
Update release-drafter.yml
2020-07-13 22:27:57 +02:00
Pascal Vizeli
bdfcf1a2df
Migrate to python 3.8 ( #1824 )
...
* Migrate to python 3.8
* Fix tests on Py38
* cleanup tests
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-07-13 22:26:41 +02:00
dependabot-preview[bot]
7f4284f2af
Bump pyupgrade from 2.6.2 to 2.7.0 ( #1822 )
...
Bumps [pyupgrade](https://github.com/asottile/pyupgrade ) from 2.6.2 to 2.7.0.
- [Release notes](https://github.com/asottile/pyupgrade/releases )
- [Commits](https://github.com/asottile/pyupgrade/compare/v2.6.2...v2.7.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-13 17:04:13 +02:00
dependabot-preview[bot]
fd69120aa6
Bump coverage from 5.1 to 5.2 ( #1820 )
...
Bumps [coverage](https://github.com/nedbat/coveragepy ) from 5.1 to 5.2.
- [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/coverage-5.1...coverage-5.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-08 13:39:38 +02:00
dependabot-preview[bot]
5df60b17e8
Bump codecov from 2.1.0 to 2.1.7 ( #1817 )
...
Bumps [codecov](https://github.com/codecov/codecov-python ) from 2.1.0 to 2.1.7.
- [Release notes](https://github.com/codecov/codecov-python/releases )
- [Changelog](https://github.com/codecov/codecov-python/blob/master/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-python/commits/v2.1.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-07 11:32:50 +02:00
Joakim Sørensen
cb835b5ae6
Update frontend to a674ce3 ( #1816 )
2020-07-05 21:27:39 +02:00
Franck Nijhof
9eab92513a
Add QA/CI to Supervisor ( #1814 )
2020-07-05 20:20:29 +02:00
dependabot-preview[bot]
29e8f50ab8
Bump docker from 4.2.1 to 4.2.2 ( #1809 )
...
Bumps [docker](https://github.com/docker/docker-py ) from 4.2.1 to 4.2.2.
- [Release notes](https://github.com/docker/docker-py/releases )
- [Commits](https://github.com/docker/docker-py/compare/4.2.1...4.2.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-03 11:52:08 +02:00
Sean Mooney
aa0496b236
Update Issue Template ( #1812 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-07-02 15:09:50 -07:00
Joakim Sørensen
06e9cec21a
Update frontend panel to 750e7b ( #1811 )
...
* Update frontend to 750e7b1
* Remove files
* Fix cleanup in frontend update script
2020-07-02 19:35:43 +02:00
Pascal Vizeli
0fe27088df
add pylance
2020-07-01 09:29:58 +00:00
Pascal Vizeli
54d226116d
Bump version to 229
2020-06-28 11:29:18 +02:00
Pascal Vizeli
4b37e30680
Merge pull request #1804 from home-assistant/dev
...
Release 228
228
2020-06-28 11:28:10 +02:00
Pascal Vizeli
7c5f710deb
Slowdown snapshots to make it faster on slow IO ( #1803 )
...
* Slowdown snapshots to make it faster on slow IO
* Fix error handling
* fix lint
2020-06-28 10:58:13 +02:00
Paulus Schoutsen
5a3ebaf683
Remove old panel files ( #1802 )
2020-06-28 10:48:04 +02:00
Pascal Vizeli
233da0e48f
defcontainer update
2020-06-27 20:52:59 +00:00
Maximilian Bösing
96380d8d28
When calling atomic_contents_add
recursively, pass the Path
object instead of the posix path ( #1801 )
...
Fixes #1800
Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
2020-06-27 22:44:34 +02:00
Pascal Vizeli
c84a0edf20
Update panel for new style ( #1799 )
...
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
2020-06-27 11:56:26 +02:00
Maximilian Bösing
a3cf445c93
Bugfix: No such file or directory: '/data/homeassistant/home-assistant_v2.db-shm' ( #1795 )
...
* Do not use `tar_file.add` to recursively add backup folder
As the folders might contain files which are being removed temporarily (e.g. shared memory file of sqlite database), relying on `tar_file.add` becomes problematic as it crashes the whole backup process if a file does not exist anymore.
This becomes annoying, if the file which causes the error should be excluded by the filter.
To workaround this issue, we manually iterating over the files/directories and apply filters before passing the file or directory to the `tar_file.add` method. As per [documentation](https://docs.python.org/3/library/pathlib.html#pure-paths ), pure path does not access the file system.
Fixes #779
Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
* Remove unused import
Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
* Applied code review suggestions
Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
* Applied codestyle
Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
* Remove `pathlib` util and move `is_excluded_by_filter` into `tar` utils
Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
* Rename method
Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
* Rename `origin_dir` to `origin_path` and apply `Path` typehint
Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
* Codestyle
Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
* Add comment why we add the directory even if we are iterating over all its items
Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
* Use `atomic_contents_add` from tar utils to archive addon data
Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
* Remove unused function `exclude_filter`
Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
* Remove unsecure default list value
Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
* Some more codestyle
Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
* Lowercase method name `Path.joinpath`
Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
* Fix codestyle and use proper variable
Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
* Add test for `_is_excluded_by_filter`
Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
* Update addon.py
Co-authored-by: Pascal Vizeli <pascal.vizeli@syshack.ch>
2020-06-26 11:36:49 +02:00
dependabot-preview[bot]
3f31979f66
Bump pytest-timeout from 1.4.0 to 1.4.1 ( #1798 )
...
Bumps [pytest-timeout](https://github.com/pytest-dev/pytest-timeout ) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/pytest-dev/pytest-timeout/releases )
- [Commits](https://github.com/pytest-dev/pytest-timeout/compare/1.4.0...1.4.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-19 15:12:46 +02:00
Franck Nijhof
44416edfd2
Collection of minor changes ( #1793 )
...
* Collection of minor changes
* Process smaller comments
* Fix HA version handling
* More type hints
* Review comment from Martin
* Add protection against TypeError in version parsing
2020-06-18 11:41:13 +02:00
Pascal Vizeli
351c45da75
Add the current supervisor version as default ( #1791 )
...
* Add the current supervisor version as default
* Fix lint
* Improve new version handling
2020-06-15 14:47:27 +02:00
dependabot-preview[bot]
e27c5dad15
Bump pytest-timeout from 1.3.4 to 1.4.0 ( #1792 )
...
Bumps [pytest-timeout](https://github.com/pytest-dev/pytest-timeout ) from 1.3.4 to 1.4.0.
- [Release notes](https://github.com/pytest-dev/pytest-timeout/releases )
- [Commits](https://github.com/pytest-dev/pytest-timeout/compare/1.3.4...1.4.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-15 14:43:02 +02:00
dependabot-preview[bot]
dc510f22ac
Bump flake8 from 3.8.2 to 3.8.3 ( #1787 )
...
Bumps [flake8](https://gitlab.com/pycqa/flake8 ) from 3.8.2 to 3.8.3.
- [Release notes](https://gitlab.com/pycqa/flake8/tags )
- [Commits](https://gitlab.com/pycqa/flake8/compare/3.8.2...3.8.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-09 14:48:44 +02:00
dependabot-preview[bot]
1b78011f8b
Bump pylint from 2.5.2 to 2.5.3 ( #1785 )
...
Bumps [pylint](https://github.com/PyCQA/pylint ) from 2.5.2 to 2.5.3.
- [Release notes](https://github.com/PyCQA/pylint/releases )
- [Changelog](https://github.com/PyCQA/pylint/blob/master/ChangeLog )
- [Commits](https://github.com/PyCQA/pylint/compare/pylint-2.5.2...pylint-2.5.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-08 13:28:34 +02:00
Pascal Vizeli
a908828bf4
Bump version to 228
2020-06-04 14:05:43 +02:00
Pascal Vizeli
55b7eb62f6
Merge pull request #1778 from home-assistant/dev
...
Release 227
227
2020-06-04 14:05:16 +02:00
Paulus Schoutsen
10e8fcf3b9
Remove complete frontend dir on rebuild and update frontend ( #1777 )
2020-06-04 08:58:12 +02:00
dependabot-preview[bot]
f1b0c05447
Bump pytest from 5.4.2 to 5.4.3 ( #1776 )
...
Bumps [pytest](https://github.com/pytest-dev/pytest ) from 5.4.2 to 5.4.3.
- [Release notes](https://github.com/pytest-dev/pytest/releases )
- [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest/compare/5.4.2...5.4.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-03 13:31:24 +02:00
dependabot-preview[bot]
de22bd688e
Bump docker from 4.2.0 to 4.2.1 ( #1775 )
...
Bumps [docker](https://github.com/docker/docker-py ) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/docker/docker-py/releases )
- [Commits](https://github.com/docker/docker-py/compare/4.2.0...4.2.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-03 13:31:10 +02:00
Franck Nijhof
9fe35b4fb5
Improve type hinting for add-ons ( #1769 )
...
* Improve type hinting for add-ons
* Split installed vs AnyAddons extraction
2020-06-03 09:28:02 +02:00
Franck Nijhof
f13d08d37a
Fix additional parameter on exception ( #1774 )
2020-06-02 22:57:47 +02:00
Pascal Vizeli
a0ecb46584
Bump version to 227
2020-06-02 15:36:20 +02:00
Pascal Vizeli
0c57df0c8e
Merge pull request #1773 from home-assistant/dev
...
Release 226
226
2020-06-02 15:35:11 +02:00
Pascal Vizeli
9c902c5c69
Expose all services/discovery with possible add-ons ( #1772 )
2020-06-02 15:17:24 +02:00
Pascal Vizeli
af412c3105
Handle new API / Frontend early boot ( #1770 )
...
* Handle new API / Frontend early boot
* Adjust part 2
* fix hanging landingpage
* Fix catch error
* Fix watchdog
2020-06-02 14:53:57 +02:00
Franck Nijhof
ec43448163
Make addon model abstract ( #1768 )
2020-06-02 12:08:03 +02:00
Franck Nijhof
9f7e0ecd55
Docs string and exception message improvements ( #1767 )
2020-06-02 11:26:33 +02:00
Pascal Vizeli
e50515a17c
Slowdown docker stop/start to avoid issue on slow IO ( #1763 )
...
* Slowdown docker stop/start to avoid issue on slow IO
* Fix lint
* Address comments
* Fix restore logic & Style
* Fix type
* Slow plugins
2020-06-02 11:26:10 +02:00
dependabot-preview[bot]
7c345db6fe
Bump gitpython from 3.1.2 to 3.1.3 ( #1764 )
...
Bumps [gitpython](https://github.com/gitpython-developers/GitPython ) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/gitpython-developers/GitPython/releases )
- [Changelog](https://github.com/gitpython-developers/GitPython/blob/master/CHANGES )
- [Commits](https://github.com/gitpython-developers/GitPython/compare/3.1.2...3.1.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-01 15:05:40 +02:00
Michal
51c2268c1e
Fix typo in discovery log message ( #1761 )
...
typo
2020-05-30 13:37:08 +02:00
Pascal Vizeli
51feca05a5
Bump version to 226
2020-05-28 14:38:31 +02:00
Pascal Vizeli
3889504292
Merge pull request #1758 from home-assistant/dev
...
Release 255
225
2020-05-28 14:37:30 +02:00
Pascal Vizeli
7bd6ff374a
Fix watchdog & scheduler ( #1757 )
...
* Fix watchdog & scheduler
* Update supervisor/misc/scheduler.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Fix callback
* hmm
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-05-28 14:25:36 +02:00
Sergey Morozik
44fa34203a
Ingress skip incorrect session ( #1755 )
...
* ingress skip invalid timestamps
* ingress skip invalid timestamp: comment
* Use lazy string instead of f-string
* skip incorrect timestamp in validate_session
2020-05-28 09:30:15 +02:00