restic-profile-cli 0.4.0__tar.gz → 0.4.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.
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/PKG-INFO +1 -1
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/src/restic_profile/templates/notify_success.md.j2 +5 -5
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/tests/restic_profile/test_notify.py +1 -1
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/.ansible-lint +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/.copier-answers.yml +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/.devcontainer/devcontainer.json +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/.dockerignore +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/.editorconfig +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/.github/workflows/docs.yaml +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/.github/workflows/publish-to-pypi.yaml +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/.github/workflows/publish-to-test-pypi.yaml +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/.gitignore +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/.pre-commit-config.yaml +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/.prettierignore +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/.yamlfmt.yaml +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/AGENTS.md +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/CHANGELOG.md +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/Dockerfile +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/LICENSE +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/README.md +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/README.zh-CN.md +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/ansible.cfg +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/docs/ansible-toolchain.md +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/docs/ansible-toolchain.zh.md +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/docs/index.md +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/docs/index.zh.md +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/docs/restic-profile/cli.md +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/docs/restic-profile/cli.zh.md +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/docs/restic-profile/examples.md +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/docs/restic-profile/examples.zh.md +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/docs/restic-profile/toml-config.md +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/docs/restic-profile/toml-config.zh.md +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/docs/restic-rest-server.md +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/docs/restic-rest-server.zh.md +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/galaxy.yml +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/justfile +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/meta/runtime.yml +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/mkdocs.yml +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/playbooks/go_build/restic-rest-server.yaml +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/playbooks/go_build/restic.yaml +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/playbooks/restic-profile.yaml +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/playbooks/restic-rest-server.yaml +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/plugins/filter/restic_profile.py +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/plugins/modules/systemd_timer_state.py +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/pyproject.toml +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/requirements.yaml +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_profile/defaults/main.yaml +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_profile/handlers/main.yaml +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_profile/meta/main.yaml +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_profile/molecule/default/converge.yaml +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_profile/molecule/default/molecule.yaml +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_profile/molecule/default/prepare.yaml +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_profile/molecule/default/verify.yaml +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_profile/tasks/_config_target.yaml +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_profile/tasks/_remove_target.yaml +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_profile/tasks/_service_target.yaml +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_profile/tasks/cleanup_orphans.yaml +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_profile/tasks/config.yaml +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_profile/tasks/hooks.yaml +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_profile/tasks/hooks_phase.yaml +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_profile/tasks/install.yaml +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_profile/tasks/main.yaml +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_profile/tasks/persist_registry.yaml +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_profile/tasks/preflight.yaml +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_profile/tasks/remove.yaml +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_profile/tasks/service.yaml +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_profile/templates/etc/restic-profile/restic-profile.env.j2 +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_profile/templates/etc/restic-profile/restic-profile.toml.j2 +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_profile/templates/etc/systemd/system/restic-profile.service.j2 +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_profile/templates/etc/systemd/system/restic-profile.timer.j2 +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_profile/templates/usr/local/bin/restic-profile-scope.j2 +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_profile/vars/archlinux.yml +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_profile/vars/debian.yml +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_profile/vars/default.yml +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_profile/vars/main.yaml +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_profile/vars/redhat.yml +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_profile/vars/suse.yml +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_rest_server/defaults/main.yaml +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_rest_server/files/users.htpasswd +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_rest_server/handlers/main.yaml +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_rest_server/meta/main.yaml +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_rest_server/tasks/install.yaml +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_rest_server/tasks/main.yaml +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_rest_server/tasks/preflight.yaml +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_rest_server/tasks/service.yaml +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_rest_server/templates/restic-rest-server.env.j2 +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_rest_server/templates/restic-rest-server.service.j2 +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_rest_server/vars/archlinux.yml +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_rest_server/vars/debian.yml +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_rest_server/vars/default.yml +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_rest_server/vars/redhat.yml +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_rest_server/vars/suse.yml +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/ruff.toml +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/src/restic_profile/__init__.py +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/src/restic_profile/__main__.py +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/src/restic_profile/cli.py +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/src/restic_profile/config.py +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/src/restic_profile/notify.py +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/src/restic_profile/runner.py +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/src/restic_profile/templates/notify_failure.md.j2 +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/tests/restic_profile/conftest.py +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/tests/restic_profile/test_cli.py +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/tests/restic_profile/test_config.py +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/tests/restic_profile/test_filters.py +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/tests/restic_profile/test_runner.py +0 -0
- {restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/uv.lock +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: restic-profile-cli
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.1
|
|
4
4
|
Summary: Profile-based restic wrapper with Ansible deployment support
|
|
5
5
|
Project-URL: Homepage, https://github.com/ak1ra-lab/restic-profile
|
|
6
6
|
Project-URL: Repository, https://github.com/ak1ra-lab/restic-profile
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
### restic backup
|
|
1
|
+
### restic backup success
|
|
2
2
|
|
|
3
3
|
- Host: {{ host }}
|
|
4
4
|
- Snapshot: {{ short_id }} @ {{ time }}
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
|
|
21
21
|
### changes
|
|
22
22
|
|
|
23
|
-
+{{ diff_added_files }} files, +{{ diff_added_dirs }} dirs ({{ diff_added_bytes }})
|
|
24
|
-
-{{ diff_removed_files }} files, -{{ diff_removed_dirs }} dirs ({{ diff_removed_bytes }})
|
|
23
|
+
- +{{ diff_added_files }} files, +{{ diff_added_dirs }} dirs ({{ diff_added_bytes }})
|
|
24
|
+
- -{{ diff_removed_files }} files, -{{ diff_removed_dirs }} dirs ({{ diff_removed_bytes }})
|
|
25
25
|
{% if diff_changed_files %}
|
|
26
|
-
{{ diff_changed_files }} changed
|
|
26
|
+
- {{ diff_changed_files }} changed
|
|
27
27
|
{% endif %}
|
|
28
28
|
{% if diff_changes %}
|
|
29
29
|
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
- {{ repo_snapshots_count }} snapshots · {{ repo_total_size }}
|
|
39
39
|
{% if largest_files %}
|
|
40
40
|
|
|
41
|
-
### largest
|
|
41
|
+
### largest files
|
|
42
42
|
|
|
43
43
|
{% for name, size in largest_files %}
|
|
44
44
|
- {{ name }} {{ size }}
|
|
@@ -228,7 +228,7 @@ def test_render_success_template_contains_key_info():
|
|
|
228
228
|
)
|
|
229
229
|
text = _render_notify_template("notify_success.md.j2", facts)
|
|
230
230
|
|
|
231
|
-
assert "restic backup
|
|
231
|
+
assert "restic backup success" in text
|
|
232
232
|
assert "test-host" in text
|
|
233
233
|
assert "abc123de" in text
|
|
234
234
|
assert "/data" in text
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/.github/workflows/publish-to-pypi.yaml
RENAMED
|
File without changes
|
{restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/.github/workflows/publish-to-test-pypi.yaml
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
|
{restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/playbooks/go_build/restic-rest-server.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/plugins/modules/systemd_timer_state.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_profile/defaults/main.yaml
RENAMED
|
File without changes
|
{restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_profile/handlers/main.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_profile/tasks/_config_target.yaml
RENAMED
|
File without changes
|
{restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_profile/tasks/_remove_target.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_profile/tasks/config.yaml
RENAMED
|
File without changes
|
|
File without changes
|
{restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_profile/tasks/hooks_phase.yaml
RENAMED
|
File without changes
|
{restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_profile/tasks/install.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_profile/tasks/preflight.yaml
RENAMED
|
File without changes
|
{restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_profile/tasks/remove.yaml
RENAMED
|
File without changes
|
{restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_profile/tasks/service.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_profile/vars/archlinux.yml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_rest_server/defaults/main.yaml
RENAMED
|
File without changes
|
{restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_rest_server/files/users.htpasswd
RENAMED
|
File without changes
|
{restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_rest_server/handlers/main.yaml
RENAMED
|
File without changes
|
{restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_rest_server/meta/main.yaml
RENAMED
|
File without changes
|
{restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_rest_server/tasks/install.yaml
RENAMED
|
File without changes
|
{restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_rest_server/tasks/main.yaml
RENAMED
|
File without changes
|
{restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_rest_server/tasks/preflight.yaml
RENAMED
|
File without changes
|
{restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_rest_server/tasks/service.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_rest_server/vars/archlinux.yml
RENAMED
|
File without changes
|
{restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_rest_server/vars/debian.yml
RENAMED
|
File without changes
|
{restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_rest_server/vars/default.yml
RENAMED
|
File without changes
|
{restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_rest_server/vars/redhat.yml
RENAMED
|
File without changes
|
{restic_profile_cli-0.4.0 → restic_profile_cli-0.4.1}/roles/restic_rest_server/vars/suse.yml
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
|