mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-30 14:56:11 +00:00
Merge branch 'main' into feature/network/multi-network-serving
# Conflicts: # utils/github/variant/axes.py
This commit is contained in:
commit
fdb6e668b2
214 files changed
+606
-94
No files matched your search
@@ -1,3 +1,5 @@
|
||||
from pathlib import Path
|
||||
|
||||
PROJECT_ROOT: Path = Path(__file__).resolve().parents[7]
|
||||
|
||||
__all__ = ["PROJECT_ROOT"]
|
||||
@@ -1,3 +1,5 @@
|
||||
from pathlib import Path
|
||||
|
||||
PROJECT_ROOT: Path = Path(__file__).resolve().parents[6]
|
||||
|
||||
__all__ = ["PROJECT_ROOT"]
|
||||
@@ -1,3 +1,5 @@
|
||||
from pathlib import Path
|
||||
|
||||
PROJECT_ROOT: Path = Path(__file__).resolve().parents[7]
|
||||
|
||||
__all__ = ["PROJECT_ROOT"]
|
||||
@@ -1,3 +1,5 @@
|
||||
from pathlib import Path
|
||||
|
||||
PROJECT_ROOT: Path = Path(__file__).resolve().parents[7]
|
||||
|
||||
__all__ = ["PROJECT_ROOT"]
|
||||
@@ -74,7 +74,7 @@ class PullCmdTest(unittest.TestCase):
|
||||
full._pull_cmd("user@srchost"),
|
||||
[
|
||||
"rsync",
|
||||
"-a",
|
||||
"-aHAX",
|
||||
f"user@srchost:{paths.BACKUP_ROOT}/",
|
||||
f"{full.PULL_STAGE}/",
|
||||
],
|
||||
@@ -83,7 +83,7 @@ class PullCmdTest(unittest.TestCase):
|
||||
def test_host_with_explicit_path(self):
|
||||
self.assertEqual(
|
||||
full._pull_cmd("host:/custom/root"),
|
||||
["rsync", "-a", "host:/custom/root/", f"{full.PULL_STAGE}/"],
|
||||
["rsync", "-aHAX", "host:/custom/root/", f"{full.PULL_STAGE}/"],
|
||||
)
|
||||
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
from pathlib import Path
|
||||
|
||||
PROJECT_ROOT: Path = Path(__file__).resolve().parents[5]
|
||||
|
||||
__all__ = ["PROJECT_ROOT"]
|
||||
@@ -3,3 +3,5 @@ from __future__ import annotations
|
||||
from pathlib import Path
|
||||
|
||||
PROJECT_ROOT: Path = Path(__file__).resolve().parents[5]
|
||||
|
||||
__all__ = ["PROJECT_ROOT"]
|
||||
Reference in new issue
Block a user