offspot-config 2.2.0__tar.gz → 2.2.2__tar.gz
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.
- {offspot_config-2.2.0 → offspot_config-2.2.2}/CHANGELOG.md +16 -0
- {offspot_config-2.2.0 → offspot_config-2.2.2}/PKG-INFO +1 -1
- {offspot_config-2.2.0 → offspot_config-2.2.2}/src/offspot_config/builder.py +4 -3
- {offspot_config-2.2.0 → offspot_config-2.2.2}/src/offspot_config/inputs/checksum.py +8 -0
- offspot_config-2.2.2/src/offspot_runtime/__about__.py +1 -0
- offspot_config-2.2.0/src/offspot_runtime/__about__.py +0 -1
- {offspot_config-2.2.0 → offspot_config-2.2.2}/.gitignore +0 -0
- {offspot_config-2.2.0 → offspot_config-2.2.2}/.pre-commit-config.yaml +0 -0
- {offspot_config-2.2.0 → offspot_config-2.2.2}/LICENSE +0 -0
- {offspot_config-2.2.0 → offspot_config-2.2.2}/README.md +0 -0
- {offspot_config-2.2.0 → offspot_config-2.2.2}/pyproject.toml +0 -0
- {offspot_config-2.2.0 → offspot_config-2.2.2}/src/offspot_config/__init__.py +0 -0
- {offspot_config-2.2.0 → offspot_config-2.2.2}/src/offspot_config/branding/horizontal-logo-light.png +0 -0
- {offspot_config-2.2.0 → offspot_config-2.2.2}/src/offspot_config/branding/square-logo-light.png +0 -0
- {offspot_config-2.2.0 → offspot_config-2.2.2}/src/offspot_config/catalog.json +0 -0
- {offspot_config-2.2.0 → offspot_config-2.2.2}/src/offspot_config/catalog.py +0 -0
- {offspot_config-2.2.0 → offspot_config-2.2.2}/src/offspot_config/constants.py +0 -0
- {offspot_config-2.2.0 → offspot_config-2.2.2}/src/offspot_config/file.py +0 -0
- {offspot_config-2.2.0 → offspot_config-2.2.2}/src/offspot_config/inputs/__init__.py +0 -0
- {offspot_config-2.2.0 → offspot_config-2.2.2}/src/offspot_config/inputs/base.py +0 -0
- {offspot_config-2.2.0 → offspot_config-2.2.2}/src/offspot_config/inputs/file.py +0 -0
- {offspot_config-2.2.0 → offspot_config-2.2.2}/src/offspot_config/inputs/mainconfig.py +0 -0
- {offspot_config-2.2.0 → offspot_config-2.2.2}/src/offspot_config/inputs/oci.py +0 -0
- {offspot_config-2.2.0 → offspot_config-2.2.2}/src/offspot_config/inputs/output.py +0 -0
- {offspot_config-2.2.0 → offspot_config-2.2.2}/src/offspot_config/inputs/str.py +0 -0
- {offspot_config-2.2.0 → offspot_config-2.2.2}/src/offspot_config/inputs/ways.py +0 -0
- {offspot_config-2.2.0 → offspot_config-2.2.2}/src/offspot_config/oci_images.py +0 -0
- {offspot_config-2.2.0 → offspot_config-2.2.2}/src/offspot_config/packages.py +0 -0
- {offspot_config-2.2.0 → offspot_config-2.2.2}/src/offspot_config/utils/__init__.py +0 -0
- {offspot_config-2.2.0 → offspot_config-2.2.2}/src/offspot_config/utils/dashboard.py +0 -0
- {offspot_config-2.2.0 → offspot_config-2.2.2}/src/offspot_config/utils/download.py +0 -0
- {offspot_config-2.2.0 → offspot_config-2.2.2}/src/offspot_config/utils/misc.py +0 -0
- {offspot_config-2.2.0 → offspot_config-2.2.2}/src/offspot_config/utils/sizes.py +0 -0
- {offspot_config-2.2.0 → offspot_config-2.2.2}/src/offspot_config/utils/yaml.py +0 -0
- {offspot_config-2.2.0 → offspot_config-2.2.2}/src/offspot_config/zim.py +0 -0
- {offspot_config-2.2.0 → offspot_config-2.2.2}/src/offspot_runtime/__init__.py +0 -0
- {offspot_config-2.2.0 → offspot_config-2.2.2}/src/offspot_runtime/ap.py +0 -0
- {offspot_config-2.2.0 → offspot_config-2.2.2}/src/offspot_runtime/checks.py +0 -0
- {offspot_config-2.2.0 → offspot_config-2.2.2}/src/offspot_runtime/configlib.py +0 -0
- {offspot_config-2.2.0 → offspot_config-2.2.2}/src/offspot_runtime/containers.py +0 -0
- {offspot_config-2.2.0 → offspot_config-2.2.2}/src/offspot_runtime/dnsmasqspoof.py +0 -0
- {offspot_config-2.2.0 → offspot_config-2.2.2}/src/offspot_runtime/ethernet.py +0 -0
- {offspot_config-2.2.0 → offspot_config-2.2.2}/src/offspot_runtime/firmware.py +0 -0
- {offspot_config-2.2.0 → offspot_config-2.2.2}/src/offspot_runtime/fromfile.py +0 -0
- {offspot_config-2.2.0 → offspot_config-2.2.2}/src/offspot_runtime/hostname.py +0 -0
- {offspot_config-2.2.0 → offspot_config-2.2.2}/src/offspot_runtime/timezone.py +0 -0
- {offspot_config-2.2.0 → offspot_config-2.2.2}/tasks.py +0 -0
- {offspot_config-2.2.0 → offspot_config-2.2.2}/tests/conftest.py +0 -0
- {offspot_config-2.2.0 → offspot_config-2.2.2}/tests/test_catalog.py +0 -0
- {offspot_config-2.2.0 → offspot_config-2.2.2}/tests/test_checks.py +0 -0
- {offspot_config-2.2.0 → offspot_config-2.2.2}/tests/test_humanid.py +0 -0
- {offspot_config-2.2.0 → offspot_config-2.2.2}/tests/test_inputs.py +0 -0
- {offspot_config-2.2.0 → offspot_config-2.2.2}/tests/test_link.py +0 -0
- {offspot_config-2.2.0 → offspot_config-2.2.2}/tests/test_reader.py +0 -0
- {offspot_config-2.2.0 → offspot_config-2.2.2}/tests/test_zim.py +0 -0
|
@@ -5,6 +5,22 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [2.2.2] - 2024-04-25
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- original branding incorrectly set as url
|
|
13
|
+
|
|
14
|
+
## [2.2.1] - 2024-04-25
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
|
|
18
|
+
- YAML repr of Checksum (#42)
|
|
19
|
+
|
|
20
|
+
### Changed
|
|
21
|
+
|
|
22
|
+
- Using captive-portal 1.4.2 with branding support
|
|
23
|
+
|
|
8
24
|
## [2.2.0] - 2024-04-24
|
|
9
25
|
|
|
10
26
|
### Added
|
|
@@ -49,9 +49,9 @@ KIWIX_ZIM_LOAD_BALANCER_URL = "https://download.kiwix.org/zim/"
|
|
|
49
49
|
# data source for “internal images” (out of catalog)
|
|
50
50
|
INTERNAL_IMAGES = {
|
|
51
51
|
"captive-portal": {
|
|
52
|
-
"source": "ghcr.io/offspot/captive-portal:1.4.
|
|
53
|
-
"filesize":
|
|
54
|
-
"fullsize":
|
|
52
|
+
"source": "ghcr.io/offspot/captive-portal:1.4.2",
|
|
53
|
+
"filesize": 189900800,
|
|
54
|
+
"fullsize": 189833272,
|
|
55
55
|
},
|
|
56
56
|
"dashboard": {
|
|
57
57
|
"source": "ghcr.io/offspot/dashboard:1.3.1",
|
|
@@ -905,6 +905,7 @@ class ConfigBuilder:
|
|
|
905
905
|
to=str(ORIGINAL_BRANDING_PATH.joinpath(fpath.name)),
|
|
906
906
|
via="base64",
|
|
907
907
|
size=len(data),
|
|
908
|
+
is_url=False,
|
|
908
909
|
)
|
|
909
910
|
del data
|
|
910
911
|
|
|
@@ -5,8 +5,10 @@ from typeguard import typechecked
|
|
|
5
5
|
|
|
6
6
|
from offspot_config.constants import SUPPORTED_CHECKSUM_ALGORITHMS
|
|
7
7
|
from offspot_config.utils.download import read_checksum_from
|
|
8
|
+
from offspot_config.utils.yaml import custom_yaml_repr
|
|
8
9
|
|
|
9
10
|
|
|
11
|
+
@custom_yaml_repr
|
|
10
12
|
@typechecked
|
|
11
13
|
@define(kw_only=True)
|
|
12
14
|
class Checksum:
|
|
@@ -50,3 +52,9 @@ class Checksum:
|
|
|
50
52
|
|
|
51
53
|
def to_dict(self) -> dict[str, str]:
|
|
52
54
|
return asdict(self)
|
|
55
|
+
|
|
56
|
+
@staticmethod
|
|
57
|
+
def __yaml_repr__(dumper, data):
|
|
58
|
+
return dumper.represent_dict(
|
|
59
|
+
{key: value for key, value in asdict(data).items() if value is not None}
|
|
60
|
+
)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "2.2.2"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "2.2.0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{offspot_config-2.2.0 → offspot_config-2.2.2}/src/offspot_config/branding/horizontal-logo-light.png
RENAMED
|
File without changes
|
{offspot_config-2.2.0 → offspot_config-2.2.2}/src/offspot_config/branding/square-logo-light.png
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|