ci: Run docs job in chroot
All threads resolved!
All threads resolved!
Compare changes
- Luca Weiss authored
Since the return value is a file path, let's make it a Path object. Also update the docstring to reflect reality.
+ 13
− 14
@@ -22,7 +22,7 @@ re_branch_aports = re.compile(r"^\d+\.\d\d+-stable$")
@@ -34,7 +34,7 @@ def get_path(name_repo: str):
@@ -51,7 +51,7 @@ def clone(name_repo: str):
@@ -65,7 +65,7 @@ def clone(name_repo: str):
@@ -79,7 +79,7 @@ def rev_parse(path: Path, revision="HEAD", extra_args: list = []):
@@ -90,7 +90,7 @@ def can_fast_forward(path, branch_upstream, branch="HEAD"):
@@ -102,7 +102,7 @@ def list_remotes(aports: Path) -> list[str]:
@@ -195,7 +195,7 @@ def migrate_upstream_remote() -> None:
@@ -244,7 +244,7 @@ def parse_channels_cfg(aports: Path):
@@ -261,7 +261,7 @@ def branch_looks_official(repo: Path, branch):
@@ -331,18 +331,17 @@ def pull(repo_name: str):