Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save thesamesam/2be99bcb4f0178756d7b34430c2cd85f to your computer and use it in GitHub Desktop.
Save thesamesam/2be99bcb4f0178756d7b34430c2cd85f to your computer and use it in GitHub Desktop.
from nattka.bugzilla import *
# Setup Nattka
nattka_bugzilla = NattkaBugzilla(api_url="http://127.0.0.1:8080/rest", api_key="")
#nattka_bugzilla = NattkaBugzilla("")
bugs = nattka_bugzilla.find_bugs(sanity_check=[True])
arch = "arm64"
for num,bug in bugs.items():
print("Got bug {0}".format(num))
if "{0}.gentoo.org".format(arch) in bug.cc:
print("yay")
print(bug.atoms)
print(bug)
# Plan:
# 1) Get list of bugs
# 2) Pick first eligible bug (for now)
# 3) Run tatt and wrap it?
# 4) ....? Email? IRC? when done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment