mirror of
https://codeberg.org/fediverse/fep.git
synced 2026-08-05 03:35:52 +00:00
450c402de3
This pull request adds `implementations` key to the JSON index. Implementations are counted only for proposals that have `implementation` type. Resolves https://codeberg.org/fediverse/fep/issues/194 and https://codeberg.org/fediverse/fep/pulls/214 Discussion on SocialHub: https://socialhub.activitypub.rocks/t/implemented-fep-type/5048 Results: | Title | Status | Count | | ----- | ------ | ----- | | [Object Integrity Proofs](https://codeberg.org/fediverse/fep/src/branch/main/fep/8b32/fep-8b32.md) | DRAFT | 6 | | [Identity Proofs](https://codeberg.org/fediverse/fep/src/branch/main/fep/c390/fep-c390.md) | DRAFT | 3 | | [Representing actor's public keys](https://codeberg.org/fediverse/fep/src/branch/main/fep/521a/fep-521a.md) | FINAL | 5 | | [Client-side activity signing](https://codeberg.org/fediverse/fep/src/branch/main/fep/ae97/fep-ae97.md) | DRAFT | 2 | | [Portable Objects](https://codeberg.org/fediverse/fep/src/branch/main/fep/ef61/fep-ef61.md) | DRAFT | 4 | | [Server-Level Actor Discovery Using WebFinger](https://codeberg.org/fediverse/fep/src/branch/main/fep/d556/fep-d556.md) | FINAL | 4 | | [The OpenWebAuth Protocol](https://codeberg.org/fediverse/fep/src/branch/main/fep/61cf/fep-61cf.md) | DRAFT | 5 | | [Emoji reactions](https://codeberg.org/fediverse/fep/src/branch/main/fep/c0e0/fep-c0e0.md) | DRAFT | 4 | | [Conversation Containers](https://codeberg.org/fediverse/fep/src/branch/main/fep/171b/fep-171b.md) | DRAFT | 3 | | [Backfilling conversations](https://codeberg.org/fediverse/fep/src/branch/main/fep/f228/fep-f228.md) | DRAFT | 8 | | [Representing context with a Collection](https://codeberg.org/fediverse/fep/src/branch/main/fep/2931/fep-2931.md) | DRAFT | 4 | | [Capability discovery](https://codeberg.org/fediverse/fep/src/branch/main/fep/844e/fep-844e.md) | DRAFT | 4 | Reviewed-on: https://codeberg.org/fediverse/fep/pulls/634 Reviewed-by: helge <helge@noreply.codeberg.org> Co-authored-by: silverpill <silverpill@firemail.cc> Co-committed-by: silverpill <silverpill@firemail.cc>
19 lines
400 B
Python
Executable File
19 lines
400 B
Python
Executable File
#!/usr/bin/env python
|
|
|
|
import json
|
|
|
|
from tools import index, Readme
|
|
|
|
with open("README.md", "w") as f1:
|
|
f1.writelines(Readme().content)
|
|
|
|
result = []
|
|
for fep in index():
|
|
data = fep.parsed_frontmatter
|
|
data["title"] = fep.title
|
|
data["implementations"] = fep.implementations
|
|
result.append(data)
|
|
|
|
with open("index.json", "w") as index_file:
|
|
json.dump(result, index_file, indent=2)
|