Adjust for API changes
We now return the packages namespaced by repo. REvert this in the code for now to get the old behaviour back.
This commit is contained in:
parent
c13a6a7ced
commit
37fc4ffd3f
@ -349,6 +349,11 @@ def get_buildqueue():
|
||||
for pkg in r.json():
|
||||
pkg['repo'] = pkg['repo_url'].split('/')[-1]
|
||||
pkgs.append(pkg)
|
||||
|
||||
# restore old format for now
|
||||
pkg['packages'] = [n for sub in pkg['packages'].values() for n in sub]
|
||||
pkg['depends'] = [n for sub in pkg['depends'].values() for n in sub]
|
||||
|
||||
for name in pkg['packages']:
|
||||
dep_mapping[name] = pkg
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user