updates2mqtt 1.6.0__py3-none-any.whl → 1.7.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- updates2mqtt/app.py +10 -7
- updates2mqtt/config.py +30 -19
- updates2mqtt/hass_formatter.py +7 -17
- updates2mqtt/integrations/docker.py +148 -149
- updates2mqtt/integrations/docker_enrich.py +344 -0
- updates2mqtt/model.py +134 -16
- updates2mqtt/mqtt.py +26 -5
- {updates2mqtt-1.6.0.dist-info → updates2mqtt-1.7.0.dist-info}/METADATA +9 -13
- updates2mqtt-1.7.0.dist-info/RECORD +16 -0
- {updates2mqtt-1.6.0.dist-info → updates2mqtt-1.7.0.dist-info}/WHEEL +2 -2
- updates2mqtt-1.6.0.dist-info/RECORD +0 -15
- {updates2mqtt-1.6.0.dist-info → updates2mqtt-1.7.0.dist-info}/entry_points.txt +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: updates2mqtt
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.7.0
|
|
4
4
|
Summary: System update and docker image notification and execution over MQTT
|
|
5
|
-
Keywords: mqtt,docker,updates,automation,home-assistant,homeassistant,selfhosting
|
|
5
|
+
Keywords: mqtt,docker,oci,container,updates,automation,home-assistant,homeassistant,selfhosting
|
|
6
6
|
Author: jey burrows
|
|
7
7
|
Author-email: jey burrows <jrb@rhizomatics.org.uk>
|
|
8
8
|
License-Expression: Apache-2.0
|
|
@@ -27,12 +27,13 @@ Requires-Dist: rich>=14.0.0
|
|
|
27
27
|
Requires-Dist: httpx>=0.28.1
|
|
28
28
|
Requires-Dist: hishel[httpx]>=0.1.4
|
|
29
29
|
Requires-Dist: usingversion>=0.1.2
|
|
30
|
+
Requires-Dist: tzlocal>=5.3.1
|
|
30
31
|
Requires-Python: >=3.13
|
|
31
|
-
Project-URL: Changelog, https://github.com/rhizomatics/updates2mqtt/blob/main/CHANGELOG.md
|
|
32
|
-
Project-URL: Documentation, https://updates2mqtt.rhizomatics.org.uk
|
|
33
32
|
Project-URL: Homepage, https://updates2mqtt.rhizomatics.org.uk
|
|
34
|
-
Project-URL: Issues, https://github.com/rhizomatics/updates2mqtt/issues
|
|
35
33
|
Project-URL: Repository, https://github.com/rhizomatics/updates2mqtt
|
|
34
|
+
Project-URL: Documentation, https://updates2mqtt.rhizomatics.org.uk
|
|
35
|
+
Project-URL: Issues, https://github.com/rhizomatics/updates2mqtt/issues
|
|
36
|
+
Project-URL: Changelog, https://github.com/rhizomatics/updates2mqtt/blob/main/CHANGELOG.md
|
|
36
37
|
Description-Content-Type: text/markdown
|
|
37
38
|
|
|
38
39
|
{ align=left }
|
|
@@ -132,7 +133,8 @@ file, or as `environment` options inside `docker-compose.yaml`.
|
|
|
132
133
|
### Automated updates
|
|
133
134
|
|
|
134
135
|
If Docker containers should be immediately updated, without any confirmation
|
|
135
|
-
or trigger, *e.g.* from the HomeAssistant update dialog, then set an environment variable `UPD2MQTT_UPDATE` in the target container to `Auto` ( it defaults to `Passive`)
|
|
136
|
+
or trigger, *e.g.* from the HomeAssistant update dialog, then set an environment variable `UPD2MQTT_UPDATE` in the target container to `Auto` ( it defaults to `Passive`). If you want it to update without publishing to MQTT and being
|
|
137
|
+
visible to Home Assistant, then use `Silent`.
|
|
136
138
|
|
|
137
139
|
```yaml title="Example Compose Snippet"
|
|
138
140
|
restarter:
|
|
@@ -142,9 +144,6 @@ restarter:
|
|
|
142
144
|
- UPD2MQTT_UPDATE=AUTO
|
|
143
145
|
```
|
|
144
146
|
|
|
145
|
-
This can be used in conjunction with the `UPD2MQTT_VERSION_INCLUDE` and `UPD2MQTT_VERSION_EXCLUDE` to
|
|
146
|
-
limit which updates get automatically applied, for example excluding nightly builds.
|
|
147
|
-
|
|
148
147
|
Automated updates can also apply to local builds, where a `git_repo_path` has been defined - if there are remote
|
|
149
148
|
commits available to pull, then a `git pull`, `docker compose build` and `docker compose up` will be executed.
|
|
150
149
|
|
|
@@ -159,8 +158,7 @@ The following environment variables can be used to configure containers for `upd
|
|
|
159
158
|
| `UPD2MQTT_RELNOTES` | URL to release notes for the package. | |
|
|
160
159
|
| `UPD2MQTT_GIT_REPO_PATH` | Relative path to a local git repo if the image is built locally. | |
|
|
161
160
|
| `UPD2MQTT_IGNORE` | If set to `True`, the container will be ignored by Updates2MQTT. | False |
|
|
162
|
-
|
|
|
163
|
-
| `UPD2MQTT_VERSION_EXCLUDE` | Skip update if version matches this string or regular expression | |
|
|
161
|
+
| |
|
|
164
162
|
|
|
165
163
|
### Docker Labels
|
|
166
164
|
|
|
@@ -173,8 +171,6 @@ Alternatively, use Docker labels
|
|
|
173
171
|
| `updates2mqtt.relnotes` | `UPD2MQTT_RELNOTES` |
|
|
174
172
|
| `updates2mqtt.git_repo_path` | `UPD2MQTT_GIT_REPO_PATH` |
|
|
175
173
|
| `updates2mqtt.ignore` | `UPD2MQTT_IGNORE` |
|
|
176
|
-
| `updates2mqtt.version_include` | `UPD2MQTT_VERSION_INCLUDE` |
|
|
177
|
-
| `updates2mqtt.version_exclude` | `UPD2MQTT_VERSION_EXCLUDE` |
|
|
178
174
|
|
|
179
175
|
|
|
180
176
|
```yaml title="Example Compose Snippet"
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
updates2mqtt/__init__.py,sha256=gnmHrLOSYc-N1-c5VG46OpNpoXEybKzYhEvFMm955P8,237
|
|
2
|
+
updates2mqtt/__main__.py,sha256=HBF00oH5fhS33sI_CdbxNlaUvbIzuuGxwnRYdhHqx0M,194
|
|
3
|
+
updates2mqtt/app.py,sha256=4OOzVTuOw5Zxrm6zppRG6kq7x6bOY6S0h44yRnoYoVk,9651
|
|
4
|
+
updates2mqtt/config.py,sha256=Hulk-zynpWq6JUv_ftEY5tmY-Vr8tQU9vV8nuhKXmJ4,5936
|
|
5
|
+
updates2mqtt/hass_formatter.py,sha256=xRm_iJiHU02v4KxNwps3V3g4dl_A7wNvQpLHCODzZlM,2690
|
|
6
|
+
updates2mqtt/integrations/__init__.py,sha256=KmNTUxvVWvqI7rl4I0xZg7XaCmcMS2O4OSv-ClsWM4Q,109
|
|
7
|
+
updates2mqtt/integrations/docker.py,sha256=GBYmzfzXuoI6j9GGIiDdq4KnR4677RCgzfxF6r4vTRM,28099
|
|
8
|
+
updates2mqtt/integrations/docker_enrich.py,sha256=wdJOOvZw7gG5ncHy6BqeIc9vPhR94YJYa9dumLmh8SY,15279
|
|
9
|
+
updates2mqtt/integrations/git_utils.py,sha256=ODCKecWnom1NEKsmDZ2vFmYfnVGtWUgq7svVGcOtSaU,4369
|
|
10
|
+
updates2mqtt/model.py,sha256=MmWzHq8ibXYRVMLmATrmhMp05q3neAIkP8Q1OkEepBs,9264
|
|
11
|
+
updates2mqtt/mqtt.py,sha256=KC8VYQ_OYiCoFehLT90dS5n8ZOZfffThapmQ29kyifE,16384
|
|
12
|
+
updates2mqtt/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
13
|
+
updates2mqtt-1.7.0.dist-info/WHEEL,sha256=XV0cjMrO7zXhVAIyyc8aFf1VjZ33Fen4IiJk5zFlC3g,80
|
|
14
|
+
updates2mqtt-1.7.0.dist-info/entry_points.txt,sha256=Nt1kQQfJ1M2RvcRUnVxe3KCMiX8puHPqz-D7BwqV1L8,55
|
|
15
|
+
updates2mqtt-1.7.0.dist-info/METADATA,sha256=POaF66x0AbR8qLJFyR3tDv27xRIbAu0Msyt2_o26TGU,11363
|
|
16
|
+
updates2mqtt-1.7.0.dist-info/RECORD,,
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
updates2mqtt/__init__.py,sha256=gnmHrLOSYc-N1-c5VG46OpNpoXEybKzYhEvFMm955P8,237
|
|
2
|
-
updates2mqtt/__main__.py,sha256=HBF00oH5fhS33sI_CdbxNlaUvbIzuuGxwnRYdhHqx0M,194
|
|
3
|
-
updates2mqtt/app.py,sha256=uTgGgZX0xT7ee2-AB7tWTV8zKmtZiIWXHInmP8mrYZs,9357
|
|
4
|
-
updates2mqtt/config.py,sha256=VN594apCjeUAwCekl0ItEMx-4eSeJsZIamHzsKoS0Ns,6136
|
|
5
|
-
updates2mqtt/hass_formatter.py,sha256=6UfBhQLmFEYVVct_JeepIERwNvdwM2z8jkHAv-vOWa0,3191
|
|
6
|
-
updates2mqtt/integrations/__init__.py,sha256=KmNTUxvVWvqI7rl4I0xZg7XaCmcMS2O4OSv-ClsWM4Q,109
|
|
7
|
-
updates2mqtt/integrations/docker.py,sha256=3BQWgAENaoZjmJizrv_yHc3L6GXn8iQuUAXLcrXCS6g,28079
|
|
8
|
-
updates2mqtt/integrations/git_utils.py,sha256=ODCKecWnom1NEKsmDZ2vFmYfnVGtWUgq7svVGcOtSaU,4369
|
|
9
|
-
updates2mqtt/model.py,sha256=YkJyeoEgO1ApqEfcCmeMu9ROk9tOZPYxGx2oBkbXyy0,4657
|
|
10
|
-
updates2mqtt/mqtt.py,sha256=W5kerew922CwaPvaNczVm61bvh3DGJ3k41BNZ1WJuuE,14987
|
|
11
|
-
updates2mqtt/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
12
|
-
updates2mqtt-1.6.0.dist-info/WHEEL,sha256=eycQt0QpYmJMLKpE3X9iDk8R04v2ZF0x82ogq-zP6bQ,79
|
|
13
|
-
updates2mqtt-1.6.0.dist-info/entry_points.txt,sha256=Nt1kQQfJ1M2RvcRUnVxe3KCMiX8puHPqz-D7BwqV1L8,55
|
|
14
|
-
updates2mqtt-1.6.0.dist-info/METADATA,sha256=iVHtji5oJMxb05RD5rSoECjIgD_Bk6aa_vGwBQuCoyI,11769
|
|
15
|
-
updates2mqtt-1.6.0.dist-info/RECORD,,
|
|
File without changes
|