Created
July 7, 2020 12:53
-
-
Save thesamesam/2be99bcb4f0178756d7b34430c2cd85f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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