tests: basic pkgrepo tests, clone pmaports (MR 2252)

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
This commit is contained in:
Caleb Connolly 2024-06-13 08:05:17 +02:00 committed by Oliver Smith
parent 25e41ff3f7
commit 3f11fa2500
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
9 changed files with 98 additions and 15 deletions

View file

@ -48,7 +48,7 @@ def clone(name_repo: str):
command += [url, path]
# Create parent dir and clone
logging.info("Clone git repository: " + url)
logging.info(f"Clone git repository: {url}")
(get_context().config.work / "cache_git").mkdir(exist_ok=True)
pmb.helpers.run.user(command, output="stdout")