Skip to content

Commit 9040eed

Browse files
committed
Improve ZIP index: format in a table, include status, and cross out Withdrawn/Rejected/Obsolete ZIPs.
Signed-off-by: Daira Hopwood <[email protected]>
1 parent 5a4c216 commit 9040eed

File tree

2 files changed

+25
-17
lines changed

2 files changed

+25
-17
lines changed

README.md

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -41,19 +41,21 @@ See [COPYING](COPYING) for more information or see http://opensource.org/license
4141
Index of ZIPs
4242
-------------
4343

44-
* [ZIP 0: ZIP Process](zip-0000)
45-
* [ZIP 32: Shielded Hierarchical Deterministic Wallets](zip-0032)
46-
* [ZIP 143: Transaction Signature Verification for Overwinter](zip-0143)
47-
* [ZIP 200: Network Upgrade Mechanism](zip-0200)
48-
* [ZIP 201: Network Peer Management for Overwinter](zip-0201)
49-
* [ZIP 202: Version 3 Transaction Format for Overwinter](zip-0202)
50-
* [ZIP 203: Transaction Expiry](zip-0203)
51-
* [ZIP 205: Deployment of the Sapling Network Upgrade](zip-0205)
52-
* [ZIP 206: Deployment of the Blossom Network Upgrade](zip-0206)
53-
* [ZIP 207: Split Founders' Reward](zip-0207)
54-
* [ZIP 208: Shorter Block Target Spacing](zip-0208)
55-
* [ZIP 209: Prohibit Negative Shielded Value Pool](zip-0209)
56-
* [ZIP 210: Sapling Anchor Deduplication within Transactions](zip-0210)
57-
* [ZIP 243: Transaction Signature Verification for Sapling](zip-0243)
58-
* [ZIP 308: Sprout to Sapling Migration](zip-0308)
59-
* [ZIP guide: {Something Short and To the Point}](zip-guide)
44+
| ZIP | Title | Status |
45+
|-----|-------|--------|
46+
| 0 | [ZIP Process](zip-0000) | Active |
47+
| 32 | [Shielded Hierarchical Deterministic Wallets](zip-0032) | Final |
48+
| 143 | [Transaction Signature Verification for Overwinter](zip-0143) | Final |
49+
| 200 | [Network Upgrade Mechanism](zip-0200) | Final |
50+
| 201 | [Network Peer Management for Overwinter](zip-0201) | Final |
51+
| 202 | [Version 3 Transaction Format for Overwinter](zip-0202) | Final |
52+
| 203 | [Transaction Expiry](zip-0203) | Final |
53+
| 205 | [Deployment of the Sapling Network Upgrade](zip-0205) | Final |
54+
| 206 | [Deployment of the Blossom Network Upgrade](zip-0206) | Draft |
55+
| ~207~ | ~[Split Founders' Reward](zip-0207)~ | Withdrawn |
56+
| 208 | [Shorter Block Target Spacing](zip-0208) | Implemented |
57+
| 209 | [Prohibit Negative Shielded Value Pool](zip-0209) | Final |
58+
| 210 | [Sapling Anchor Deduplication within Transactions](zip-0210) | Draft |
59+
| 243 | [Transaction Signature Verification for Sapling](zip-0243) | Final |
60+
| 308 | [Sprout to Sapling Migration](zip-0308) | Final |
61+
| guide | [{Something Short and To the Point}](zip-guide) | Draft |

makeindex.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,14 @@ cat <<EndOfHeader
55
Index of ZIPs
66
-------------
77
8+
| ZIP | Title | Status |
9+
|-----|-------|--------|
810
EndOfHeader
911
for zipfile in *.rst; do
10-
echo "* [`basename $zipfile .rst | sed -r 's|zip-0{0,3}|ZIP |'`: `grep '^\s*Title: ' $zipfile | sed 's|\s*Title: ||'`](`basename $zipfile .rst`)"
12+
if grep -E '^\s*Status:\s*(Withdrawn|Rejected|Obsolete)' $zipfile >/dev/null; then
13+
echo "| ~`basename $zipfile .rst | sed -r 's@zip-0{0,3}@@'`~ | ~[`grep '^\s*Title:' $zipfile | sed 's@\s*Title:\s*@@'`](`basename $zipfile .rst`)~ | `grep '^\s*Status:' $zipfile | sed 's@\s*Status:\s*@@'` |"
14+
else
15+
echo "| `basename $zipfile .rst | sed -r 's@zip-0{0,3}@@'` | [`grep '^\s*Title:' $zipfile | sed 's@\s*Title:\s*@@'`](`basename $zipfile .rst`) | `grep '^\s*Status:' $zipfile | sed 's@\s*Status:\s*@@'` |"
16+
fi
1117
done
1218

0 commit comments

Comments
 (0)