Browse Source

Update builds

master
Andrew Belt 6 years ago
parent
commit
9db6760947
2 changed files with 6 additions and 9 deletions
  1. +3
    -3
      manifests/CatroModulo.json
  2. +3
    -6
      scripts/status_from_repos.py

+ 3
- 3
manifests/CatroModulo.json View File

@@ -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"
}
}

+ 3
- 6
scripts/status_from_repos.py View File

@@ -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")

Loading…
Cancel
Save