4604 Commits

Author SHA1 Message Date
Stefan Agner
919f1e9149
Add host UTS namespace support for Add-Ons (#3596)
* Add host UTS namespace support for Add-Ons

Using the UTS host namespace is useful when running a mDNS responder
which learns the hostname from the gethostname syscall. This way the
add-on can use the system's hostname without further doing.

* Check host_uts default

* Adjust Security rating if host UTS mode and CAP_ADMIN is set

* Don't add hostname to DNS server if UTS namespace is disabled

* Simplify hostname logic

* Update supervisor/docker/addon.py

Co-authored-by: Mike Degatano <michael.degatano@gmail.com>

---------

Co-authored-by: Mike Degatano <michael.degatano@gmail.com>
2023-02-09 17:26:10 -05:00
dependabot[bot]
d73d8d00f0
Bump sentry-sdk from 1.14.0 to 1.15.0 (#4135)
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from 1.14.0 to 1.15.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/1.14.0...1.15.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>
2023-02-08 11:05:41 -05:00
dependabot[bot]
09c699a2fe
Bump cryptography from 39.0.0 to 39.0.1 (#4134)
Bumps [cryptography](https://github.com/pyca/cryptography) from 39.0.0 to 39.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/39.0.0...39.0.1)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-08 10:26:29 -05:00
dependabot[bot]
cb992762d1
Bump pre-commit from 3.0.3 to 3.0.4 (#4132)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-06 17:01:09 +01:00
dependabot[bot]
8f0cec10d5
Bump pre-commit from 3.0.2 to 3.0.3 (#4128)
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 3.0.2 to 3.0.3.
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md)
- [Commits](https://github.com/pre-commit/pre-commit/compare/v3.0.2...v3.0.3)

---
updated-dependencies:
- dependency-name: pre-commit
  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>
2023-02-02 12:21:57 +01:00
dependabot[bot]
4a0e17f050
Bump black from 22.12.0 to 23.1.0 (#4126)
* Bump black from 22.12.0 to 23.1.0

Bumps [black](https://github.com/psf/black) from 22.12.0 to 23.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/compare/22.12.0...23.1.0)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump black in precommit

* reformat with new black version

---------

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>
2023-02-01 16:41:46 -05:00
dependabot[bot]
b4c74404e3
Bump actions/cache from 3.2.3 to 3.2.4 (#4124)
Bumps [actions/cache](https://github.com/actions/cache) from 3.2.3 to 3.2.4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3.2.3...v3.2.4)

---
updated-dependencies:
- dependency-name: actions/cache
  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>
2023-02-01 15:15:54 -05:00
dependabot[bot]
649091f3bd
Bump pre-commit from 3.0.1 to 3.0.2 (#4122)
* Bump pre-commit from 3.0.1 to 3.0.2

Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md)
- [Commits](https://github.com/pre-commit/pre-commit/compare/v3.0.1...v3.0.2)

---
updated-dependencies:
- dependency-name: pre-commit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump isort

---------

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>
2023-02-01 14:49:05 -05:00
dependabot[bot]
a27be5d621
Bump pre-commit from 3.0.0 to 3.0.1 (#4120)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-27 10:58:25 +01:00
dependabot[bot]
939eb81581
Bump flake8-docstrings from 1.6.0 to 1.7.0 (#4119)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-01-26 18:44:50 +01:00
dependabot[bot]
ee1daa0b35
Bump coverage from 7.0.5 to 7.1.0 (#4117)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-25 10:25:22 +01:00
dependabot[bot]
242c05a19b
Bump sentry-sdk from 1.13.0 to 1.14.0 (#4112)
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from 1.13.0 to 1.14.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/1.13.0...1.14.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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023.01.1
2023-01-24 13:10:30 -05:00
Mike Degatano
9024085712
Don't log error for addon unavailable (#4115) 2023-01-24 18:41:00 +01:00
dependabot[bot]
e0abb98aaf
Bump debugpy from 1.6.5 to 1.6.6 (#4113)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-24 09:03:01 +01:00
dependabot[bot]
4ffa628a6e
Bump pre-commit from 2.21.0 to 3.0.0 (#4114)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-24 08:32:28 +01:00
Mike Degatano
417ee418f2
Handle UnicodeDecodeError (#4110) 2023.01.0 2023-01-21 17:59:55 +01:00
Mike Degatano
0f79ba5a3d
AppArmor tests and fix profile name in flag (#4109) 2023-01-20 23:19:33 +01:00
n0toose
47fd849319
Fix AppArmor name-related exceptions (#4078)
- 'Too many' is misleading if there are no profiles.
- profiles just returns set() -- using profile_file should be more correct.
2023-01-18 15:04:27 -05:00
dependabot[bot]
99e0eab958
Bump dbus-fast from 1.74.0 to 1.84.0 (#4094)
Bumps [dbus-fast](https://github.com/bluetooth-devices/dbus-fast) from 1.74.0 to 1.84.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/v1.74.0...v1.84.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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-18 13:47:23 -05:00
dependabot[bot]
0a753c55ca
Bump cryptography from 38.0.4 to 39.0.0 (#4077)
Bumps [cryptography](https://github.com/pyca/cryptography) from 38.0.4 to 39.0.0.
- [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/38.0.4...39.0.0)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-18 12:16:10 +01:00
Mike Degatano
72d81e43dd
Allow all job conditions to be ignored (#4107)
* Allow all job conditions to be ignored

* Clear features cache in test

* patch out OS Agent supported feature
2023-01-18 12:14:12 +01:00
dependabot[bot]
83e5359bd2
Bump pydocstyle from 6.2.3 to 6.3.0 (#4108)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-01-18 09:27:22 +01:00
dependabot[bot]
51875bdcd5
Bump pytest from 7.2.0 to 7.2.1 (#4104)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-16 08:15:33 +01:00
dependabot[bot]
ecabf9dea7
Bump actions/setup-python from 4.4.0 to 4.5.0 (#4100)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-13 08:54:59 +01:00
dependabot[bot]
c1954f4426
Bump sentry-sdk from 1.12.1 to 1.13.0 (#4101)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-13 08:54:22 +01:00
Mike Degatano
0991f52100
sys_capture_exception to capture_exception (#4095) 2023-01-12 17:47:08 +01:00
Mike Degatano
fed4a05003
Clarify message when addon unavailable (#4098) 2023-01-12 17:46:40 +01:00
dependabot[bot]
089635f4d3
Bump coverage from 7.0.4 to 7.0.5 (#4099)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-11 08:55:02 +01:00
dependabot[bot]
15fa8de05c
Bump pylint from 2.15.9 to 2.15.10 (#4096)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-10 11:27:47 +01:00
dependabot[bot]
8fc91f5288
Bump pydocstyle from 6.2.2 to 6.2.3 (#4092)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-01-09 12:01:29 +01:00
dependabot[bot]
4461192fa7
Bump actions/cache from 3.2.2 to 3.2.3 (#4091)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-09 11:28:54 +01:00
dependabot[bot]
2fe7c0dce6
Bump actions/upload-artifact from 3.1.1 to 3.1.2 (#4090)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-09 10:30:52 +01:00
dependabot[bot]
e2e11faf18
Bump coverage from 7.0.3 to 7.0.4 (#4093)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-09 10:30:36 +01:00
dependabot[bot]
fcbef6b78b
Bump debugpy from 1.6.4 to 1.6.5 (#4088)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-06 10:36:31 +01:00
dependabot[bot]
10810fb1b9
Bump actions/checkout from 3.2.0 to 3.3.0 (#4087)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-06 08:39:18 +01:00
Franck Nijhof
92408bb893
Add support for ESPHome dashboard discovery (#4084) 2023-01-05 19:58:55 +01:00
dependabot[bot]
61fc01915f
Bump pydocstyle from 6.2.0 to 6.2.2 (#4082)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-05 18:53:10 +01:00
dependabot[bot]
fea60c57a2
Bump coverage from 7.0.2 to 7.0.3 (#4083)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-04 10:34:31 +01:00
dependabot[bot]
c1ac6c0432
Bump pydocstyle from 6.1.1 to 6.2.0 (#4081)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-01-03 12:33:30 +01:00
dependabot[bot]
64ca530e66
Bump coverage from 7.0.1 to 7.0.2 (#4080)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-03 11:13:26 +01:00
dependabot[bot]
08f290ca10
Bump release-drafter/release-drafter from 5.21.1 to 5.22.0 (#4079)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-03 10:54:51 +01:00
dependabot[bot]
03849258eb
Bump time-machine from 2.8.2 to 2.9.0 (#4076)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-02 10:37:57 +01:00
dependabot[bot]
32d0d84c53
Bump gitpython from 3.1.29 to 3.1.30 (#4074)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-30 20:16:51 +01:00
dependabot[bot]
83265c4dc5
Bump attrs from 22.1.0 to 22.2.0 (#4062)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-29 15:46:05 +01:00
dependabot[bot]
a9cbeb21c9
Bump cryptography from 38.0.3 to 38.0.4 (#4028)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-29 14:36:58 +01:00
dependabot[bot]
1af4a362c2
Bump ciso8601 from 2.2.0 to 2.3.0 (#4063)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-29 12:39:02 +01:00
dependabot[bot]
b9e2cfad4d
Bump flake8 from 5.0.4 to 6.0.0 (#4020)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-12-29 11:52:14 +01:00
dependabot[bot]
726ded70d3
Bump sentry-sdk from 1.11.1 to 1.12.1 (#4057)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-29 11:02:53 +01:00
dependabot[bot]
ac56f1511f
Bump pyupgrade from 3.2.2 to 3.3.1 (#4041)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-12-29 10:46:40 +01:00
dependabot[bot]
3d7d52a62b
Bump black from 22.10.0 to 22.12.0 (#4049)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-12-29 10:44:06 +01:00