diff options
author | davidovski <david@davidovski.xyz> | 2021-11-20 17:24:42 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2021-11-20 17:24:42 +0000 |
commit | 8104e8fdb0821331972d4016189e71ea1606a6ef (patch) | |
tree | 50fe8a911a02d1e182e4c87905c8cf632b0b7c84 /src/verbs/sync.py | |
parent | bd8d23136d343e1465e0222f6030fea1cbd4cbf3 (diff) |
added dependency resolving
Diffstat (limited to 'src/verbs/sync.py')
-rw-r--r-- | src/verbs/sync.py | 2 |
1 files changed, 2 insertions, 0 deletions
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"]])) ###### !!! ####### |