Skip to content

Commit

Permalink
More minor cleanup tweaks
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Hardman <[email protected]>
  • Loading branch information
dhh1128 committed Jun 14, 2019
1 parent e1a4861 commit 5569197
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 9 deletions.
17 changes: 10 additions & 7 deletions code/generate_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,23 @@
})

#example status line - Status: [ACCEPTED](/README.md#rfc-lifecycle)
status_re = pattern = re.compile(r'Status:[ /[]*(\w+)')
status_re = pattern = re.compile(r'^\s*(?:[-*]\s*)?Status:[ \t/[]*(\w+)', re.I | re.M)

for rfc in rfcs:

# extract number and title from folder name
rfc['number'], _, rfc['title'] = rfc['number-title'].partition("-")

# read README file for status
with open(rfc['path'], "r", encoding='utf-8') as rfc_text:
for line in rfc_text.readlines():
for matched_object in status_re.finditer(line):
rfc['status'] = matched_object.group(1)

print(rfc)
with open(rfc['path'], "rt", encoding='utf-8') as f:
rfc_text = f.read()

m = status_re.search(rfc_text)
if m:
rfc['status'] = m.group(1).upper()
else:
print("Didn't find status line in %s" % rfc['path'])
#print(rfc)

rfcs.sort(key=itemgetter('number'))
#group rfcs by status
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
- Start Date: 04/15/2019

## Status
- Status: [![proposed](/proposed.png)](/README.md#hipe-lifecycle)
- Status: [PROPOSED](/README.md#hipe-lifecycle)
- Status Date: 04/15/2019
- Status Note: This is a second attempt to integrate non-repudiable digital signatures based on learnings and discussions over the past few months. This focuses only on the signing of entire messages. Signature Decorators will be handled seperately.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
- Start Date: 04/15/2019

## Status
- Status: [![proposed](/proposed.png)](/README.md#hipe-lifecycle)
- Status: [PROPOSED](/README.md#hipe-lifecycle)
- Status Date: 06/10/2019
- Status Note: This revises the former [INDY HIPE](https://github.com/hyperledger/indy-hipe/pull/92)

Expand Down
44 changes: 44 additions & 0 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,47 @@
# Aries RFCs by Status

## Status: PROPOSED
* [0005: didcomm](concepts/0005-didcomm/README.md)
* [0011: decorators](concepts/0011-decorators/README.md)
* [0013: overlays](concepts/0013-overlays/README.md)
* [0015: acks](features/0015-acks/README.md)
* [0021: didcomm-message-anatomy](concepts/0021-didcomm-message-anatomy/README.md)
* [0024: didcomm-over-xmpp](features/0024-didcomm-over-xmpp/README.md)
* [0025: didcomm-transports](features/0025-didcomm-transports/README.md)
* [0028: introduce](features/0028-introduce/README.md)
* [0029: message-trust-contexts](concepts/0029-message-trust-contexts/README.md)
* [0030: sync-connection](features/0030-sync-connection/README.md)
* [0032: message-timing](features/0032-message-timing/README.md)
* [0034: message-tracing](features/0034-message-tracing/README.md)
* [0035: report-problem](features/0035-report-problem/README.md)
* [0036: issue-credential](features/0036-issue-credential/README.md)
* [0037: present-proof](features/0037-present-proof/README.md)
* [0042: lox](features/0042-lox/README.md)
* [0043: l10n](features/0043-l10n/README.md)
* [0044: didcomm-file-and-mime-types](features/0044-didcomm-file-and-mime-types/README.md)
* [0051: dkms](concepts/0051-dkms/README.md)
* [0056: service-decorator](features/0056-service-decorator/README.md)
* [0066: non-repudiable-cryptographic-envelope](features/0066-non-repudiable-cryptographic-envelope/README.md)
* [0067: didcomm-diddoc-conventions](features/0067-didcomm-diddoc-conventions/README.md)
* [0074: didcomm-best-practices](concepts/0074-didcomm-best-practices/README.md)
* [0075: payment-decorators](features/0075-payment-decorators/README.md)

## Status: ACCEPTED
* [0003: protocols](concepts/0003-protocols/README.md)
* [0004: agents](concepts/0004-agents/README.md)
* [0006: ssi-notation](concepts/0006-ssi-notation/README.md)
* [0008: message-id-and-threading](concepts/0008-message-id-and-threading/README.md)
* [0017: attachments](concepts/0017-attachments/README.md)
* [0019: encryption-envelope](features/0019-encryption-envelope/README.md)
* [0020: message-types](concepts/0020-message-types/README.md)
* [0023: did-exchange](features/0023-did-exchange/README.md)
* [0031: discover-features](features/0031-discover-features/README.md)
* [0046: mediators-and-relays](concepts/0046-mediators-and-relays/README.md)
* [0047: json-ld-compatibility](concepts/0047-json-ld-compatibility/README.md)
* [0048: trust-ping](features/0048-trust-ping/README.md)
* [0049: repudiation](concepts/0049-repudiation/README.md)
* [0050: wallets](concepts/0050-wallets/README.md)

## Status: ADOPTED

## Status: SUPERSEDED

0 comments on commit 5569197

Please sign in to comment.