Codebase list rust-stfu8 / 96f26008-241c-44f7-97cf-b16432225604/main dev /

Tree @96f26008-241c-44f7-97cf-b16432225604/main (Download .tar.gz) @96f26008-241c-44f7-97cf-b16432225604/mainraw · history · blame

# the excuses file can be found here:

import sys
import yaml

print("parsing excuses.yaml...", file=sys.stderr)
with open("excuses.yaml") as fp:
    y = yaml.load(fp)

excuses = {}
for e in y["sources"]:
    package = e.get("source")
    if not package.startswith("rust-"):
        # We only care about rust packages
    for e2 in e.get("excuses"):
        if "Not built on buildd" in e2:
            print("%s needs a source-only upload" % package)