mirror of
https://git.sr.ht/~sircmpwn/hub.sr.ht
synced 2024-10-07 16:58:31 +02:00
Support multiple manifests
This commit is contained in:
parent
581af620f0
commit
33ea654ac3
1 changed files with 3 additions and 1 deletions
|
@ -118,7 +118,9 @@ class GitService(SrhtService):
|
|||
})
|
||||
manifests = dict()
|
||||
if r["data"]["repository"]["multiple"]:
|
||||
raise NotImplemented() # TODO
|
||||
for ent in r["data"]["repository"]["multiple"]["object"]\
|
||||
["entries"]["results"]:
|
||||
manifests[ent["name"]] = ent["object"]["text"]
|
||||
elif r["data"]["repository"]["single"]:
|
||||
manifests[".build.yml"] = r["data"]["repository"]["single"]\
|
||||
["object"]["text"]
|
||||
|
|
Loading…
Reference in a new issue