declarative-data-backup 0.2.0__tar.gz → 0.2.1__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.
- {declarative_data_backup-0.2.0 → declarative_data_backup-0.2.1}/PKG-INFO +12 -15
- {declarative_data_backup-0.2.0 → declarative_data_backup-0.2.1}/README.md +11 -9
- {declarative_data_backup-0.2.0 → declarative_data_backup-0.2.1}/pyproject.toml +2 -2
- {declarative_data_backup-0.2.0 → declarative_data_backup-0.2.1}/src/declarative_data_backup.egg-info/PKG-INFO +12 -15
- declarative_data_backup-0.2.1/src/declarative_data_backup.egg-info/requires.txt +1 -0
- declarative_data_backup-0.2.0/src/declarative_data_backup.egg-info/requires.txt +0 -7
- {declarative_data_backup-0.2.0 → declarative_data_backup-0.2.1}/setup.cfg +0 -0
- {declarative_data_backup-0.2.0 → declarative_data_backup-0.2.1}/src/declarative_data_backup/__init__.py +0 -0
- {declarative_data_backup-0.2.0 → declarative_data_backup-0.2.1}/src/declarative_data_backup/__main__.py +0 -0
- {declarative_data_backup-0.2.0 → declarative_data_backup-0.2.1}/src/declarative_data_backup/backup.py +0 -0
- {declarative_data_backup-0.2.0 → declarative_data_backup-0.2.1}/src/declarative_data_backup/borg/__init__.py +0 -0
- {declarative_data_backup-0.2.0 → declarative_data_backup-0.2.1}/src/declarative_data_backup/borg/archive_naming.py +0 -0
- {declarative_data_backup-0.2.0 → declarative_data_backup-0.2.1}/src/declarative_data_backup/borg/borg.py +0 -0
- {declarative_data_backup-0.2.0 → declarative_data_backup-0.2.1}/src/declarative_data_backup/borg/borg_cli.py +0 -0
- {declarative_data_backup-0.2.0 → declarative_data_backup-0.2.1}/src/declarative_data_backup/config/__init__.py +0 -0
- {declarative_data_backup-0.2.0 → declarative_data_backup-0.2.1}/src/declarative_data_backup/config/backup_config/__init__.py +0 -0
- {declarative_data_backup-0.2.0 → declarative_data_backup-0.2.1}/src/declarative_data_backup/config/backup_config/models.py +0 -0
- {declarative_data_backup-0.2.0 → declarative_data_backup-0.2.1}/src/declarative_data_backup/config/backup_config/utils.py +0 -0
- {declarative_data_backup-0.2.0 → declarative_data_backup-0.2.1}/src/declarative_data_backup/config/backup_config/yaml_parser.py +0 -0
- {declarative_data_backup-0.2.0 → declarative_data_backup-0.2.1}/src/declarative_data_backup/config/backup_config/yaml_raw_loader.py +0 -0
- {declarative_data_backup-0.2.0 → declarative_data_backup-0.2.1}/src/declarative_data_backup/config/logging.py +0 -0
- {declarative_data_backup-0.2.0 → declarative_data_backup-0.2.1}/src/declarative_data_backup/environment.py +0 -0
- {declarative_data_backup-0.2.0 → declarative_data_backup-0.2.1}/src/declarative_data_backup/errors.py +0 -0
- {declarative_data_backup-0.2.0 → declarative_data_backup-0.2.1}/src/declarative_data_backup.egg-info/SOURCES.txt +0 -0
- {declarative_data_backup-0.2.0 → declarative_data_backup-0.2.1}/src/declarative_data_backup.egg-info/dependency_links.txt +0 -0
- {declarative_data_backup-0.2.0 → declarative_data_backup-0.2.1}/src/declarative_data_backup.egg-info/top_level.txt +0 -0
- {declarative_data_backup-0.2.0 → declarative_data_backup-0.2.1}/tests/test_backup.py +0 -0
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: declarative-data-backup
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.1
|
|
4
4
|
Summary: Declarative Borg-based data backups
|
|
5
5
|
Requires-Python: >=3.11
|
|
6
6
|
Description-Content-Type: text/markdown
|
|
7
7
|
Requires-Dist: PyYAML<7,>=6
|
|
8
|
-
Provides-Extra: dev
|
|
9
|
-
Requires-Dist: pre-commit<5,>=4; extra == "dev"
|
|
10
|
-
Requires-Dist: pyright<2,>=1.1.400; extra == "dev"
|
|
11
|
-
Requires-Dist: pytest<10,>=8; extra == "dev"
|
|
12
|
-
Requires-Dist: ruff<1,>=0.11; extra == "dev"
|
|
13
8
|
|
|
14
9
|
# Declarative Data Backup
|
|
15
10
|
|
|
@@ -31,18 +26,20 @@ The application never initializes a repository. Borg 2 is not supported.
|
|
|
31
26
|
|
|
32
27
|
## Installation
|
|
33
28
|
|
|
34
|
-
Install the package from PyPI:
|
|
29
|
+
Install the package from PyPI into a `uv`-managed environment:
|
|
35
30
|
|
|
36
31
|
```shell
|
|
37
|
-
|
|
32
|
+
uv venv
|
|
33
|
+
uv pip install declarative-data-backup
|
|
38
34
|
```
|
|
39
35
|
|
|
40
|
-
|
|
36
|
+
For a checkout, install the development dependencies with:
|
|
41
37
|
|
|
42
38
|
```shell
|
|
43
|
-
|
|
39
|
+
make install
|
|
44
40
|
```
|
|
45
41
|
|
|
42
|
+
To also install the repository's pre-commit hooks, run `make setup`.
|
|
46
43
|
The PyPI distribution is named `declarative-data-backup`; its importable
|
|
47
44
|
package is `declarative_data_backup`.
|
|
48
45
|
|
|
@@ -56,8 +53,8 @@ release pipeline.
|
|
|
56
53
|
|
|
57
54
|
For each version tag, the pipeline:
|
|
58
55
|
|
|
59
|
-
1. Sets the package version in the CI checkout's `pyproject.toml
|
|
60
|
-
|
|
56
|
+
1. Sets the package version in the CI checkout's `pyproject.toml` and uses
|
|
57
|
+
`uv build` to create a wheel and source distribution.
|
|
61
58
|
2. Uploads `declarative-data-backup` to PyPI.
|
|
62
59
|
3. Builds the existing Python 3.13 Dockerfile with the same package version,
|
|
63
60
|
verifies the installed version, and pushes
|
|
@@ -295,13 +292,13 @@ container integration test.
|
|
|
295
292
|
Run the unit tests:
|
|
296
293
|
|
|
297
294
|
```shell
|
|
298
|
-
|
|
295
|
+
uv run pytest -m "not integration"
|
|
299
296
|
```
|
|
300
297
|
|
|
301
298
|
The opt-in local Borg integration test uses a temporary encrypted repository:
|
|
302
299
|
|
|
303
300
|
```shell
|
|
304
|
-
RUN_BORG_LOCAL_INTEGRATION=1
|
|
301
|
+
RUN_BORG_LOCAL_INTEGRATION=1 uv run pytest -m integration \
|
|
305
302
|
tests/integration/test_local_borg_integration.py
|
|
306
303
|
```
|
|
307
304
|
|
|
@@ -309,7 +306,7 @@ The opt-in Docker SSH integration test uses disposable containers and a
|
|
|
309
306
|
temporary repository; it does not use production credentials or BorgBase:
|
|
310
307
|
|
|
311
308
|
```shell
|
|
312
|
-
RUN_BORG_DOCKER_INTEGRATION=1
|
|
309
|
+
RUN_BORG_DOCKER_INTEGRATION=1 uv run pytest -m integration \
|
|
313
310
|
tests/integration/test_docker_integration.py
|
|
314
311
|
```
|
|
315
312
|
|
|
@@ -18,18 +18,20 @@ The application never initializes a repository. Borg 2 is not supported.
|
|
|
18
18
|
|
|
19
19
|
## Installation
|
|
20
20
|
|
|
21
|
-
Install the package from PyPI:
|
|
21
|
+
Install the package from PyPI into a `uv`-managed environment:
|
|
22
22
|
|
|
23
23
|
```shell
|
|
24
|
-
|
|
24
|
+
uv venv
|
|
25
|
+
uv pip install declarative-data-backup
|
|
25
26
|
```
|
|
26
27
|
|
|
27
|
-
|
|
28
|
+
For a checkout, install the development dependencies with:
|
|
28
29
|
|
|
29
30
|
```shell
|
|
30
|
-
|
|
31
|
+
make install
|
|
31
32
|
```
|
|
32
33
|
|
|
34
|
+
To also install the repository's pre-commit hooks, run `make setup`.
|
|
33
35
|
The PyPI distribution is named `declarative-data-backup`; its importable
|
|
34
36
|
package is `declarative_data_backup`.
|
|
35
37
|
|
|
@@ -43,8 +45,8 @@ release pipeline.
|
|
|
43
45
|
|
|
44
46
|
For each version tag, the pipeline:
|
|
45
47
|
|
|
46
|
-
1. Sets the package version in the CI checkout's `pyproject.toml
|
|
47
|
-
|
|
48
|
+
1. Sets the package version in the CI checkout's `pyproject.toml` and uses
|
|
49
|
+
`uv build` to create a wheel and source distribution.
|
|
48
50
|
2. Uploads `declarative-data-backup` to PyPI.
|
|
49
51
|
3. Builds the existing Python 3.13 Dockerfile with the same package version,
|
|
50
52
|
verifies the installed version, and pushes
|
|
@@ -282,13 +284,13 @@ container integration test.
|
|
|
282
284
|
Run the unit tests:
|
|
283
285
|
|
|
284
286
|
```shell
|
|
285
|
-
|
|
287
|
+
uv run pytest -m "not integration"
|
|
286
288
|
```
|
|
287
289
|
|
|
288
290
|
The opt-in local Borg integration test uses a temporary encrypted repository:
|
|
289
291
|
|
|
290
292
|
```shell
|
|
291
|
-
RUN_BORG_LOCAL_INTEGRATION=1
|
|
293
|
+
RUN_BORG_LOCAL_INTEGRATION=1 uv run pytest -m integration \
|
|
292
294
|
tests/integration/test_local_borg_integration.py
|
|
293
295
|
```
|
|
294
296
|
|
|
@@ -296,7 +298,7 @@ The opt-in Docker SSH integration test uses disposable containers and a
|
|
|
296
298
|
temporary repository; it does not use production credentials or BorgBase:
|
|
297
299
|
|
|
298
300
|
```shell
|
|
299
|
-
RUN_BORG_DOCKER_INTEGRATION=1
|
|
301
|
+
RUN_BORG_DOCKER_INTEGRATION=1 uv run pytest -m integration \
|
|
300
302
|
tests/integration/test_docker_integration.py
|
|
301
303
|
```
|
|
302
304
|
|
|
@@ -4,13 +4,13 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "declarative-data-backup"
|
|
7
|
-
version = "0.2.
|
|
7
|
+
version = "0.2.1"
|
|
8
8
|
description = "Declarative Borg-based data backups"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.11"
|
|
11
11
|
dependencies = ["PyYAML>=6,<7"]
|
|
12
12
|
|
|
13
|
-
[
|
|
13
|
+
[dependency-groups]
|
|
14
14
|
dev = [
|
|
15
15
|
"pre-commit>=4,<5",
|
|
16
16
|
"pyright>=1.1.400,<2",
|
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: declarative-data-backup
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.1
|
|
4
4
|
Summary: Declarative Borg-based data backups
|
|
5
5
|
Requires-Python: >=3.11
|
|
6
6
|
Description-Content-Type: text/markdown
|
|
7
7
|
Requires-Dist: PyYAML<7,>=6
|
|
8
|
-
Provides-Extra: dev
|
|
9
|
-
Requires-Dist: pre-commit<5,>=4; extra == "dev"
|
|
10
|
-
Requires-Dist: pyright<2,>=1.1.400; extra == "dev"
|
|
11
|
-
Requires-Dist: pytest<10,>=8; extra == "dev"
|
|
12
|
-
Requires-Dist: ruff<1,>=0.11; extra == "dev"
|
|
13
8
|
|
|
14
9
|
# Declarative Data Backup
|
|
15
10
|
|
|
@@ -31,18 +26,20 @@ The application never initializes a repository. Borg 2 is not supported.
|
|
|
31
26
|
|
|
32
27
|
## Installation
|
|
33
28
|
|
|
34
|
-
Install the package from PyPI:
|
|
29
|
+
Install the package from PyPI into a `uv`-managed environment:
|
|
35
30
|
|
|
36
31
|
```shell
|
|
37
|
-
|
|
32
|
+
uv venv
|
|
33
|
+
uv pip install declarative-data-backup
|
|
38
34
|
```
|
|
39
35
|
|
|
40
|
-
|
|
36
|
+
For a checkout, install the development dependencies with:
|
|
41
37
|
|
|
42
38
|
```shell
|
|
43
|
-
|
|
39
|
+
make install
|
|
44
40
|
```
|
|
45
41
|
|
|
42
|
+
To also install the repository's pre-commit hooks, run `make setup`.
|
|
46
43
|
The PyPI distribution is named `declarative-data-backup`; its importable
|
|
47
44
|
package is `declarative_data_backup`.
|
|
48
45
|
|
|
@@ -56,8 +53,8 @@ release pipeline.
|
|
|
56
53
|
|
|
57
54
|
For each version tag, the pipeline:
|
|
58
55
|
|
|
59
|
-
1. Sets the package version in the CI checkout's `pyproject.toml
|
|
60
|
-
|
|
56
|
+
1. Sets the package version in the CI checkout's `pyproject.toml` and uses
|
|
57
|
+
`uv build` to create a wheel and source distribution.
|
|
61
58
|
2. Uploads `declarative-data-backup` to PyPI.
|
|
62
59
|
3. Builds the existing Python 3.13 Dockerfile with the same package version,
|
|
63
60
|
verifies the installed version, and pushes
|
|
@@ -295,13 +292,13 @@ container integration test.
|
|
|
295
292
|
Run the unit tests:
|
|
296
293
|
|
|
297
294
|
```shell
|
|
298
|
-
|
|
295
|
+
uv run pytest -m "not integration"
|
|
299
296
|
```
|
|
300
297
|
|
|
301
298
|
The opt-in local Borg integration test uses a temporary encrypted repository:
|
|
302
299
|
|
|
303
300
|
```shell
|
|
304
|
-
RUN_BORG_LOCAL_INTEGRATION=1
|
|
301
|
+
RUN_BORG_LOCAL_INTEGRATION=1 uv run pytest -m integration \
|
|
305
302
|
tests/integration/test_local_borg_integration.py
|
|
306
303
|
```
|
|
307
304
|
|
|
@@ -309,7 +306,7 @@ The opt-in Docker SSH integration test uses disposable containers and a
|
|
|
309
306
|
temporary repository; it does not use production credentials or BorgBase:
|
|
310
307
|
|
|
311
308
|
```shell
|
|
312
|
-
RUN_BORG_DOCKER_INTEGRATION=1
|
|
309
|
+
RUN_BORG_DOCKER_INTEGRATION=1 uv run pytest -m integration \
|
|
313
310
|
tests/integration/test_docker_integration.py
|
|
314
311
|
```
|
|
315
312
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
PyYAML<7,>=6
|
|
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
|