mirror of
https://github.com/YunoHost/tartiflette.git
synced 2024-09-03 20:06:08 +02:00
17 lines
418 B
Python
Executable file
17 lines
418 B
Python
Executable file
#!/usr/bin/python3
|
|
|
|
import requests
|
|
import json
|
|
|
|
roadmaps = { "2.7": 15, "3.0": 14, "3.1": 13 }
|
|
|
|
def get_roadmapissues():
|
|
|
|
for roadmap, id in roadmaps.items():
|
|
|
|
issues = requests.get("https://dev.yunohost.org/issues.xml?fixed_version_id="+str(id)+"&status_id=*&limit=100", verify=False)
|
|
|
|
with open("data/raw_"+roadmap+"_issues.xml", "w") as f:
|
|
f.write(issues.text)
|
|
|
|
get_roadmapissues()
|