Stefan Agner
b3a94a487f
Improve comment
2025-01-31 09:54:20 +00:00
Stefan Agner
f39f95477f
Avoid backup size difference by sorting JSON keys
...
It seems that the order of keys in the `homeassistant.json` file leads
to a different homeassistant.tar.gz size, which in turn leads to a
different overall backup size. It seems that running the full test
suite compared to run tests individually lead to a different order of
keys in the JSON file.
This PR sorts the keys when dumping the JSON. With that change, the
backup size is consistent.
2025-01-31 09:37:44 +00:00
dependabot[bot]
05b648629f
Bump ruff from 0.9.3 to 0.9.4 ( #5592 )
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.9.3 to 0.9.4.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md )
- [Commits](https://github.com/astral-sh/ruff/compare/0.9.3...0.9.4 )
---
updated-dependencies:
- dependency-name: ruff
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>
2025-01-31 08:27:43 +01:00
dependabot[bot]
d1d8446480
Bump pylint from 3.3.3 to 3.3.4 ( #5586 )
2025.01.1
2025-01-29 08:17:18 +01:00
Mike Degatano
8b897ba537
Fix bug when uploading backup to a mount ( #5585 )
2025-01-28 18:30:37 +01:00
Mike Degatano
c8f1b222c0
Add sizes per location and support .local ( #5581 )
2025-01-28 11:41:51 +01:00
dependabot[bot]
257e2ceb82
Bump actions/setup-python from 5.3.0 to 5.4.0 ( #5583 )
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 5.3.0 to 5.4.0.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v5.3.0...v5.4.0 )
---
updated-dependencies:
- dependency-name: actions/setup-python
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>
2025-01-28 11:36:24 +01:00
dependabot[bot]
67a27cae40
Bump securetar from 2025.1.3 to 2025.1.4 ( #5582 )
...
Bumps [securetar](https://github.com/pvizeli/securetar ) from 2025.1.3 to 2025.1.4.
- [Release notes](https://github.com/pvizeli/securetar/releases )
- [Commits](https://github.com/pvizeli/securetar/compare/2025.1.3...2025.1.4 )
---
updated-dependencies:
- dependency-name: securetar
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>
2025-01-28 11:35:28 +01:00
Stefan Agner
8ff9c08e82
Support systemd-journal-gatewayd using a TCP socket ( #5576 )
2025-01-27 13:57:59 +01:00
Stefan Agner
1b0aa30881
Extend backup upload API with file name parameter ( #5568 )
...
* Extend backup upload API with file name parameter
Add a query parameter which allows to specify the file name on upload.
All locations will store the backup with the same file name.
* ruff format
* Update tests to cover bad filename
* Fix ruff check error
* Drop unnecessary logging
2025-01-27 10:01:29 +01:00
dependabot[bot]
2a8d2d2b48
Bump codecov/codecov-action from 5.3.0 to 5.3.1 ( #5580 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 5.3.0 to 5.3.1.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v5.3.0...v5.3.1 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
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>
2025-01-27 09:07:39 +01:00
dependabot[bot]
44bd787276
Bump attrs from 24.3.0 to 25.1.0 ( #5579 )
...
Bumps [attrs](https://github.com/sponsors/hynek ) from 24.3.0 to 25.1.0.
- [Commits](https://github.com/sponsors/hynek/commits )
---
updated-dependencies:
- dependency-name: attrs
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>
2025-01-27 09:07:21 +01:00
Stefan Agner
690f1c07a7
Use version which is treated CalVer by AwesomeVersion ( #5572 )
...
* Use version which is treated CalVer by AwesomeVersion
The current dev version `99.9.9dev` is treated as unkown version type
by AwesomeVersion. This prevents the version from comparing with
actual Supervisor versions, e.g. from an exsiting backup file.
Make the development version a valid CalVer version so development
versions can handle non-development backups.
* Bump to year 9999
2025-01-24 09:59:50 +01:00
dependabot[bot]
8e185a8413
Bump pytest-aiohttp from 1.0.5 to 1.1.0 ( #5573 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-24 08:34:21 +01:00
dependabot[bot]
1f7df73964
Bump codecov/codecov-action from 5.2.0 to 5.3.0 ( #5575 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-24 08:34:05 +01:00
dependabot[bot]
a10afc45b1
Bump ruff from 0.9.2 to 0.9.3 ( #5574 )
2025-01-24 07:30:28 +01:00
Mike Degatano
61a2101d8a
Backup protected status can vary per location ( #5569 )
...
* Backup protected status can vary per location
* Fix test_backup_remove_error test
* Update supervisor/backups/backup.py
* Add Docker registry configuration to backup metadata
* Make use of backup location fixture
* Address pylint
---------
Co-authored-by: Stefan Agner <stefan@agner.ch>
2025-01-23 15:05:35 -05:00
Stefan Agner
088832c253
Extend backup API with file name field ( #5567 )
...
* Extend backup API with file name field
Allow to specify a backup file name when creating a backup. This allows
for user friendly backup file names. If none is specified, the current
behavior remains (backup file name is the backup slug).
* Check passed file name using regex
* Use custom filename on download only if backup file name is backup slug
* ruff format
* Remove path from location for download file name
2025-01-23 15:24:47 +01:00
dependabot[bot]
a545b680b3
Bump codecov/codecov-action from 5.1.2 to 5.2.0 ( #5571 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-23 08:52:49 +01:00
dependabot[bot]
805017eabf
Bump dbus-fast from 2.28.0 to 2.30.2 ( #5562 )
...
Bumps [dbus-fast](https://github.com/bluetooth-devices/dbus-fast ) from 2.28.0 to 2.30.2.
- [Release notes](https://github.com/bluetooth-devices/dbus-fast/releases )
- [Changelog](https://github.com/Bluetooth-Devices/dbus-fast/blob/main/CHANGELOG.md )
- [Commits](https://github.com/bluetooth-devices/dbus-fast/compare/v2.28.0...v2.30.2 )
---
updated-dependencies:
- dependency-name: dbus-fast
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>
2025-01-21 12:06:41 +01:00
Stefan Agner
b7412b0679
Update Python to 3.13 ( #5564 )
...
* Bump Supervisor to Python 3.13
* Update ruff configuration to 0.9.1
Adjust pyproject.toml for ruff 0.9.1. Also make sure that latest version
of ruff is used in pre-commit.
* Set default configuration for pytest-asyncio
* Run ruff check
* Drop deprecated decorator no_type_check_decorator
The upstream PR (https://github.com/python/cpython/issues/106309 ) says
this never got really implemented by type checkers.
* Bump devcontainer to latest release
2025-01-21 11:57:30 +01:00
dependabot[bot]
fff3bfd01e
Bump pre-commit from 4.0.1 to 4.1.0 ( #5566 )
2025-01-21 07:40:07 +01:00
dependabot[bot]
5f165a79ba
Bump actions/stale from 9.0.0 to 9.1.0 ( #5565 )
2025-01-21 07:39:51 +01:00
dependabot[bot]
0d3acd1aca
Bump release-drafter/release-drafter from 6.0.0 to 6.1.0 ( #5563 )
2025-01-20 08:09:23 +01:00
dependabot[bot]
463f196472
Bump securetar from 2024.11.0 to 2025.1.3 ( #5553 )
...
* Bump securetar from 2024.11.0 to 2025.1.3
Bumps [securetar](https://github.com/pvizeli/securetar ) from 2024.11.0 to 2025.1.3.
- [Release notes](https://github.com/pvizeli/securetar/releases )
- [Commits](https://github.com/pvizeli/securetar/compare/2024.11.0...2025.1.3 )
---
updated-dependencies:
- dependency-name: securetar
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Use file_filter and add test for addon backup_exclude
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mike Degatano <michael.degatano@gmail.com>
2025.01.0
2025-01-17 11:18:55 +01:00
dependabot[bot]
52d5df6778
Bump ruff from 0.9.1 to 0.9.2 ( #5558 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-17 08:28:19 +01:00
dependabot[bot]
ce75c85e65
Bump debugpy from 1.8.11 to 1.8.12 ( #5559 )
2025-01-17 07:42:59 +01:00
puddly
12fd61142d
Trigger rescan on device remove ( #5447 )
2025-01-16 18:16:47 +01:00
Mike Degatano
0073227785
Add env on core restart due to restore ( #5548 )
...
* Add env on core restart due to restore
* Move is_restore to backup manager
2025-01-16 18:15:06 +01:00
Stefan Agner
89a215cc1f
Revert "Bump dbus-fast from 2.28.0 to 2.29.0 ( #5551 )" ( #5555 )
...
This reverts commit da6bdfa7953807081e181e46b801e425a08b20f4.
2025-01-16 12:51:16 +01:00
Stefan Agner
b2aece8208
Revert "Bump orjson from 3.10.12 to 3.10.13 ( #5514 )" ( #5554 )
...
This reverts commit dbd37d657515aca26eeabe5a3cdb239128b34a41.
2025-01-16 11:35:48 +01:00
Mike Degatano
600bf91c4f
Sort jobs by creation in API ( #5545 )
...
* Sort jobs by creation in API
* Fix tests missing new field
* Fix sorting logic around child jobs
2025-01-16 09:51:44 +01:00
dependabot[bot]
da6bdfa795
Bump dbus-fast from 2.28.0 to 2.29.0 ( #5551 )
...
Bumps [dbus-fast](https://github.com/bluetooth-devices/dbus-fast ) from 2.28.0 to 2.29.0.
- [Release notes](https://github.com/bluetooth-devices/dbus-fast/releases )
- [Changelog](https://github.com/Bluetooth-Devices/dbus-fast/blob/main/CHANGELOG.md )
- [Commits](https://github.com/bluetooth-devices/dbus-fast/compare/v2.28.0...v2.29.0 )
---
updated-dependencies:
- dependency-name: dbus-fast
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>
2025-01-16 09:51:29 +01:00
dependabot[bot]
5d4894a1ba
Bump getsentry/action-release from 1.8.0 to 1.9.0 ( #5552 )
...
Bumps [getsentry/action-release](https://github.com/getsentry/action-release ) from 1.8.0 to 1.9.0.
- [Release notes](https://github.com/getsentry/action-release/releases )
- [Changelog](https://github.com/getsentry/action-release/blob/master/docs/publishing-a-release.md )
- [Commits](https://github.com/getsentry/action-release/compare/v1.8.0...v1.9.0 )
---
updated-dependencies:
- dependency-name: getsentry/action-release
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>
2025-01-16 09:51:03 +01:00
Stefan Agner
d4c047bd01
Add tun to static device list in hardware manager ( #5547 )
...
Some devices are provided by kernel modules which potentially get loaded
later at startup. Those are not listed by udev, and hence add-ons do
not get permissions for these types of devices as long as the kernel
module is not loaded.
Typically, such devices are created by the kmod-static-nodes.service
systemd service. Ideally, we would read the output of that service and
add those specifically. However, there are very few devices which
use static nodes, and we actually only really interested in tun. So
let's simply add this static node in case udev does not list it already.
2025-01-15 09:56:32 +01:00
dependabot[bot]
6183b9719c
Bump sentry-sdk from 2.19.2 to 2.20.0 ( #5549 )
...
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python ) from 2.19.2 to 2.20.0.
- [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/2.19.2...2.20.0 )
---
updated-dependencies:
- dependency-name: sentry-sdk
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>
2025-01-15 09:54:07 +01:00
Alexander Akhmetov
f02d67ee47
Add support for CAP_CHECKPOINT_RESTORE privileges ( #5426 )
2025-01-14 11:28:36 +01:00
Stefan Agner
bd156ebb53
Add X-Accel-Buffering to disable buffers in proxies ( #5544 )
2025-01-14 10:42:41 +01:00
Wendelin
b07236b544
Add frontend auto update workflow ( #5501 )
...
* Remove git submodule
* Add frontend auto update workflow
* Update .github/workflows/update_frontend.yml
Co-authored-by: Stefan Agner <stefan@agner.ch>
---------
Co-authored-by: Stefan Agner <stefan@agner.ch>
2025-01-13 12:35:54 +01:00
dependabot[bot]
5928a31fc4
Bump dbus-fast from 2.24.4 to 2.28.0 ( #5532 )
...
Bumps [dbus-fast](https://github.com/bluetooth-devices/dbus-fast ) from 2.24.4 to 2.28.0.
- [Release notes](https://github.com/bluetooth-devices/dbus-fast/releases )
- [Changelog](https://github.com/Bluetooth-Devices/dbus-fast/blob/main/CHANGELOG.md )
- [Commits](https://github.com/bluetooth-devices/dbus-fast/compare/v2.24.4...v2.28.0 )
---
updated-dependencies:
- dependency-name: dbus-fast
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>
2025-01-13 11:38:46 +01:00
dependabot[bot]
3a71ea7003
Bump ruff from 0.9.0 to 0.9.1 ( #5542 )
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.9.0 to 0.9.1.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md )
- [Commits](https://github.com/astral-sh/ruff/compare/0.9.0...0.9.1 )
---
updated-dependencies:
- dependency-name: ruff
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>
2025-01-13 11:38:12 +01:00
dependabot[bot]
96900b1f1b
Bump actions/upload-artifact from 4.5.0 to 4.6.0 ( #5534 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-11 13:28:31 +01:00
dependabot[bot]
65b39661a6
Bump getsentry/action-release from 1.7.0 to 1.8.0 ( #5535 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-11 13:27:24 +01:00
dependabot[bot]
18251ae8ae
Bump ruff from 0.8.6 to 0.9.0 ( #5538 )
2025-01-11 13:06:45 +01:00
dependabot[bot]
c418e0ea76
Bump setuptools from 75.7.0 to 75.8.0 ( #5536 )
2025-01-11 12:33:30 +01:00
dependabot[bot]
74b009ccd7
Bump ruff from 0.8.5 to 0.8.6 ( #5528 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-06 12:18:44 +01:00
dependabot[bot]
d2631bf398
Bump setuptools from 75.6.0 to 75.7.0 ( #5529 )
2025-01-06 08:12:21 +01:00
dependabot[bot]
c62358d851
Bump ruff from 0.8.4 to 0.8.5 ( #5522 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-03 10:19:05 +01:00
dependabot[bot]
e3af04701a
Bump gitpython from 3.1.43 to 3.1.44 ( #5523 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-03 09:54:05 +01:00
Stefan Agner
c2f6e319f2
Check password early on backup restore ( #5519 )
...
Introduce a validate password method which only peaks into the archive
to validate the password before starting the actual restore process.
This makes sure that a wrong password returns an error even when
restoring the backup in background.
2024.12.3
2024-12-31 13:58:12 +01:00