From 8104e8fdb0821331972d4016189e71ea1606a6ef Mon Sep 17 00:00:00 2001 From: davidovski Date: Sat, 20 Nov 2021 17:24:42 +0000 Subject: added dependency resolving --- src/verbs/sync.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/verbs/sync.py') diff --git a/src/verbs/sync.py b/src/verbs/sync.py index bd828ef..c534f4d 100644 --- a/src/verbs/sync.py +++ b/src/verbs/sync.py @@ -24,6 +24,7 @@ def sync_packages(repo, sources, verbose=False): listed = list_packages(url + repo if url[-1] == "/" else f"/{repo}") if len(listed) == 0 and verbose: print(colors.BG_RED + f"No packages found in {source}/{repo}" + colors.RESET) + total += len(listed) for p in listed: if not p in packages: @@ -67,6 +68,7 @@ def save_package_list(validated, location): with open(package_file, "w") as file: file.write("checksum=" + info["checksum"] + "\n") file.write("sources=" + " ".join([source for source in info["sources"]])) + file.write("deps=" + " ".join([source for source in info["sources"]])) ###### !!! ####### -- cgit v1.2.1