prepare proposals.py for CI

pull/977/head
Ben Parsons 7 years ago
parent c3062b7db6
commit 34090b24c4

@ -11,7 +11,7 @@ authors = set()
prs = set() prs = set()
def getpage(url, page): def getpage(url, page):
resp = requests.get(url + str(page)) resp = requests.get(url + str(page), auth=('benparsons', '99fbc9df2d75a18b5ac7f24e326e4de548b06172'))
for link in resp.links.values(): for link in resp.links.values():
if link['rel'] == 'last': if link['rel'] == 'last':
@ -100,7 +100,7 @@ for label in labels:
text_file.write(" - " + updated.strftime('%Y-%m-%d') + "\n") text_file.write(" - " + updated.strftime('%Y-%m-%d') + "\n")
# list of document links (urls comma-separated) # list of document links (urls comma-separated)
maindoc = re.search('^Documentation: (.+?)\n', str(item['body'])) maindoc = re.search('^Documentation: (.+?)$', str(item['body']), flags=re.MULTILINE)
if maindoc is not None: if maindoc is not None:
maindoc = maindoc.group(1) maindoc = maindoc.group(1)
doc_list_formatted = ["`" + str(item['number']) + "-" + str(i) + " <" + x.strip() + ">`_" for i, x in enumerate(maindoc.split(','),1)] doc_list_formatted = ["`" + str(item['number']) + "-" + str(i) + " <" + x.strip() + ">`_" for i, x in enumerate(maindoc.split(','),1)]

@ -140,7 +140,7 @@ proposal-wip
* - `MSC1222 <https://github.com/matrix-org/matrix-doc/issues/1222>`_ * - `MSC1222 <https://github.com/matrix-org/matrix-doc/issues/1222>`_
- Pushing updates about Groups (Communities) to clients - Pushing updates about Groups (Communities) to clients
- 2018-01-02 - 2018-01-02
- 2018-05-15 - 2018-05-24
- `1222-1 <https://drive.google.com/open?id=1GzwhGdnWWMENYOaXMFP8CD-M9ny1vznxHnNqT3I3NZI>`_ - `1222-1 <https://drive.google.com/open?id=1GzwhGdnWWMENYOaXMFP8CD-M9ny1vznxHnNqT3I3NZI>`_
- `@ara4n`_ - `@ara4n`_
- None - None
@ -156,7 +156,7 @@ proposal-wip
* - `MSC1227 <https://github.com/matrix-org/matrix-doc/issues/1227>`_ * - `MSC1227 <https://github.com/matrix-org/matrix-doc/issues/1227>`_
- Proposal for lazy-loading room members to improve initial sync speed and client RAM usage - Proposal for lazy-loading room members to improve initial sync speed and client RAM usage
- 2018-03-05 - 2018-03-05
- 2018-05-15 - 2018-05-28
- `1227-1 <https://docs.google.com/document/d/11yn-mAkYll10RJpN0mkYEVqraTbU3U4eQx9MNrzqX1U/edit>`_ - `1227-1 <https://docs.google.com/document/d/11yn-mAkYll10RJpN0mkYEVqraTbU3U4eQx9MNrzqX1U/edit>`_
- `@ara4n`_ - `@ara4n`_
- None - None
@ -185,6 +185,14 @@ proposal-wip
- `@neilisfragile`_ - `@neilisfragile`_
- None - None
- -
* - `MSC1267 <https://github.com/matrix-org/matrix-doc/issues/1267>`_
- Interactive Key Verification
- 2018-05-28
- 2018-05-28
- `1267-1 <https://docs.google.com/document/d/1SXmyjyNqClJ5bTHtwvp8tT1Db4pjlGVxfPQNdlQILqU/edit#>`_
- `@uhoreg`_
- None
-

Loading…
Cancel
Save