From 9db6760947b3026499ee909a5a3aee2f832a8b6c Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Sat, 4 May 2019 20:53:29 -0400 Subject: [PATCH] Update builds --- manifests/CatroModulo.json | 6 +++--- scripts/status_from_repos.py | 9 +++------ 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/manifests/CatroModulo.json b/manifests/CatroModulo.json index c05ba96e..01197de3 100644 --- a/manifests/CatroModulo.json +++ b/manifests/CatroModulo.json @@ -6,7 +6,7 @@ "manualUrl": "https://github.com/catronomix/catro-modulo/blob/master/CM-manual-v0.6.5.pdf", "sourceUrl": "https://github.com/catronomix/catro-modulo.git", "pluginUrl": "https://github.com/catronomix/catro-modulo/blob/master/README.md", - "latestVersion": "0.6.4", - "buildTimestamp": 1556416685, + "latestVersion": "0.6.5", + "buildTimestamp": 1557017537, "status": "available" -} +} \ No newline at end of file diff --git a/scripts/status_from_repos.py b/scripts/status_from_repos.py index 421b8a31..2862eeed 100644 --- a/scripts/status_from_repos.py +++ b/scripts/status_from_repos.py @@ -7,10 +7,7 @@ for filename in sys.argv[1:]: with open(filename, "r") as f: manifest = json.load(f) - if os.path.exists("repos/" + slug): - manifest['status'] = "available" + if 'license' in manifest: + print(f"{slug}:\t\t\t{manifest['license']}") else: - next - - with open(filename, "w") as f: - json.dump(manifest, f, indent=" ") + print(f"{slug}:\t\t\tnone")