Commit Graph
66 Commits
Author SHA1 Message Date
Murch b8a614417f Merge pull request #2282 from kriss39/fix/mediawiki-relative-link-check
script: catch relative BIP links in mediawiki files
2026-09-11 12:21:15 -07:00
Murch 2974f9f091 Merge pull request #2283 from kriss39/fix/deputies-email-domain-validation
script: allow hyphens in deputy email domains
2026-09-11 12:17:12 -07:00
Kanan 3c359de780 script: allow MIT-0 license 2026-09-11 18:19:32 +04:00
Kanan afc982a096 script: allow hyphens in deputy email domains 2026-09-11 17:26:17 +04:00
Kanan 43bd57b707 script: catch relative BIP links in mediawiki files 2026-09-11 17:16:07 +04:00
grandpig 6d5fc819a6 scripts: validate the first Comments-URI entry
Signed-off-by: grandpig <grandpig@outlook.com>
2026-08-12 22:31:30 +08:00
Jon Atack aacb668022 script: editorial touchups in link-format-chk.sh 2026-07-10 11:35:24 -06:00
Jon Atack 9c5e4d2799 script: add separate check for [url](url) in markdown 2026-07-10 11:33:20 -06:00
Jon Atack 8268d40e58 script: don't raise on [url](url) in markdown grep 2026-07-10 11:25:25 -06:00
weifanglab dfe0895d41 script: check link format in Markdown files
Signed-off-by: weifanglab <weifanglab@outlook.com>
2026-07-07 15:51:30 +08:00
reflecttypefor 764f75e338 script: check link format in nested mediawiki files (#2199)
* script: check link format in nested mediawiki files

Signed-off-by: reflecttypefor <reflecttypefor@outlook.com>
2026-06-26 12:25:30 -07:00
Anthony Towns 50eaa0d730 process: Check for pre-1.0 versions in complete/deployed bips 2026-06-11 23:55:42 +10:00
Tim Ruffing 8586c32fa2 process: Use "official" SPDX identifiers
See https://spdx.org/licenses/
2026-01-12 14:30:02 -08:00
Tim Ruffing 7c3fab6fa7 bip134: Remove wrong License header
The Copyright section specifies additional conditions, so the License
header is not correct (or at least misleading). So let's just remove it.
This is pragmatic because the field was only added as part of the
activation of BIP 2 anyway, and there are other old BIPs with a License
header.
2026-01-12 14:29:59 -08:00
Anthony Towns 2885f13d3f Convert licenses to SPDX codes 2026-01-12 14:29:57 -08:00
Murch 24e96e870f process: Created ↦ Assigned
```
sed -z -i 's/Created: /Assigned: /' bip-0*.md
sed -z -i 's/Created: /Assigned: /' bip-0*.mediawiki
```
2026-01-12 14:29:51 -08:00
Yuval Kogman 85c9385e20 Allow Version field in checks as per BIP 3 2026-01-12 14:29:16 -08:00
Murch 6829b943bd process: Drop unused Discussions-To Header 2026-01-12 14:29:13 -08:00
Murch b712509434 process: Update license check 2026-01-12 14:29:10 -08:00
Murch fea4a0b0c5 process: Increase title limit 2026-01-12 14:29:09 -08:00
Murch 3fddf95984 process: Allow Deputies header 2026-01-12 14:29:07 -08:00
Murch 5207ef92a5 process: Author ↦ Authors
```
sed -z -i 's/Author: /Authors: /' bip-0*.md
sed -z -i 's/Author: /Authors: /' bip-0*.mediawiki
```

Also align correctly in case of multiple authors.
2026-01-12 14:29:00 -08:00
Murch 59730dec4f process: Remove Comments-URI and -Summary
```
sed -i '0,/Comments-Summary/{/Comments-Summary/d}' bip-0*md
sed -i '0,/Comments-Summary/{/Comments-Summary/d}' bip-0*mediawiki
sed -i '0,/Comments-URI/{/Comments-URI/d}' bip-0*md
sed -i '0,/Comments-URI/{/Comments-URI/d}' bip-0*mediawiki
```

Then reset the BIPs with non-empty comment wikis:

- bip-0037.mediawiki
- bip-0038.mediawiki
- bip-0039.mediawiki
- bip-0042.mediawiki
- bip-0044.mediawiki
- bip-0047.mediawiki
- bip-0049.mediawiki
- bip-0060.mediawiki
- bip-0061.mediawiki
- bip-0074.mediawiki
- bip-0075.mediawiki
- bip-0077.md
- bip-0084.mediawiki
- bip-0090.mediawiki
- bip-0118.mediawiki
- bip-0125.mediawiki
- bip-0150.mediawiki
- bip-0151.mediawiki
- bip-0152.mediawiki
- bip-0171.mediawiki
- bip-0172.mediawiki
- bip-0173.mediawiki
- bip-0174.mediawiki
- bip-0176.mediawiki
- bip-0178.mediawiki
- bip-0199.mediawiki
- bip-0322.mediawiki
- bip-0340.mediawiki
- bip-0341.mediawiki
2026-01-12 14:28:37 -08:00
Murch 01352f7f40 process: Post-History ↦ Discussion
Also line up with additional items in the lines below.

```
sed -i -z 's/  Post-History: /  Discussion:   /' bip-0*.md
sed -i -z 's/  Post-History: /  Discussion:   /' bip-0*.mediawiki
```
2026-01-12 14:28:06 -08:00
Murch a233bde4af process: Standards Track ↦ Specification
```
sed -z -i 's/Type: Standards Track/Type: Specification/' bip-0*.md
sed -z -i 's/Type: Standards Track/Type: Specification/' bip-0*.mediawiki
```

After the scripted changes, the changes to BIP-40, BIP-41, and BIP-63
were undone, because it breaks CI.

These three BIPs only exist conceptually and their proposal documents
are missing which causes changes to them ot break the CI. I defer the
changes to these BIPs to a separate pull request to get CI to pass.
2026-01-12 14:22:40 -08:00
Murch ff1f3b36f8 process: Superseded-By ↦ Proposed-Replacement
sed -z -i 's/Superseded-By: /Proposed-Replacement: /' bip-0*.md
sed -z -i 's/Superseded-By: /Proposed-Replacement: /' bip-0*.mediawiki
2026-01-12 14:22:38 -08:00
Murch 66defbdc03 process: Deferred/Obsolete/Rejected/Replaced/Withdrawn ↦ Closed
```
sed -z -i 's/Status: Deferred/Status: Closed/' bip-0*.md
sed -z -i 's/Status: Deferred/Status: Closed/' bip-0*.mediawiki
sed -z -i 's/Status: Obsolete/Status: Closed/' bip-0*.md
sed -z -i 's/Status: Obsolete/Status: Closed/' bip-0*.mediawiki
sed -z -i 's/Status: Rejected/Status: Closed/' bip-0*.md
sed -z -i 's/Status: Rejected/Status: Closed/' bip-0*.mediawiki
sed -z -i 's/Status: Replaced/Status: Closed/' bip-0*.md
sed -z -i 's/Status: Replaced/Status: Closed/' bip-0*.mediawiki
sed -z -i 's/Status: Withdrawn/Status: Closed/' bip-0*.md
sed -z -i 's/Status: Withdrawn/Status: Closed/' bip-0*.mediawiki
```

```
    sed -i 's/| Deferred/| Closed/' README.mediawiki
    sed -i 's/| Obsolete/| Closed/' README.mediawiki
    sed -i 's/| Rejected/| Closed/' README.mediawiki
    sed -i 's/| Replaced/| Closed/' README.mediawiki
    sed -i 's/| Withdrawn/| Closed/' README.mediawiki
```
2026-01-12 14:22:36 -08:00
Murch 5d3ceb3773 process: Final/Active ↦ Deployed
```
sed -z -i 's/Status: Active/Status: Deployed/' bip-0*.md
sed -z -i 's/Status: Active/Status: Deployed/' bip-0*.mediawiki
sed -z -i 's/Status: Final/Status: Deployed/' bip-0*.md
sed -z -i 's/Status: Final/Status: Deployed/' bip-0*.mediawiki
sed -i 's/| Active/| Deployed/' README.mediawiki
sed -i 's/| Final/| Deployed/' README.mediawiki
```
2026-01-12 14:22:33 -08:00
Murch 6760ba8738 process: Proposed ↦ Complete
Amend CI script to new statuses and update existing status field values
in table and BIPs.

```
sed -z -i 's/Status: Proposed/Status: Complete/' bip-0*.md
sed -z -i 's/Status: Proposed/Status: Complete/' bip-0*.mediawiki
sed -i 's/| Proposed/| Complete/' README.mediawiki
```
2026-01-12 14:22:30 -08:00
Anthony Towns 04b448b599 CI: commit README.mediawiki delta from script to git (#2063)
Use a hardcoded delta rather than requiring the delta to never change,
so that it can be changed deliberately when desired without breaking CI.
Also avoids the need to checkout the previous commit, so no longer
changes the repository state.
2025-12-19 19:18:41 -08:00
664d376c8a CI: improve date validation regex in buildtable.pl
and quote filename variable in link format checker script

Co-authored-by: bigbear <155267841+aso20455@users.noreply.github.com>
Co-authored-by: Jon Atack <jon@atack.com>
2025-10-03 13:35:31 -06:00
strmfos e8b9da9284 scripts: remove unused FILES variable in link-format-chk.sh 2025-08-14 11:53:03 +02:00
Yuval Kogman 0eb3718c5d CI: Enforce BIP 2 & 3 field ordering requirements
The specified field order is consistent with both BIPs 2 and 3. The
ordering of fields which are only present in one or the other is
ambiguous, e.g. as in `Proposed-Replacement` and `Superseded-By` but
only one of these applies to a given BIP.

The `Editor` field is spurious, only being used in BIP 69, and appears
after Author.
2025-07-20 14:29:13 -06:00
Anthony Towns 726df6f4d5 Use code block instead of pre for markdown 2025-02-08 20:06:23 +10:00
Ava Chow 3a2031380d ci: Run link format check on all mediawiki documents 2024-05-01 18:04:35 -04:00
Jon Atack 253dd0999e Merge pull request #1578 from achow101/fix-ci
ci: Update diff checks so that the task actually works
2024-05-01 14:22:37 -07:00
Ava Chow 602cd676cd buildtable.pl: Also check .md files (#1577) 2024-05-01 17:02:36 -04:00
Ava Chow 98f000a6fb diffchecks.sh: Make success clear and exit with failure on error 2024-05-01 17:02:06 -04:00
Ava Chow eb9007c869 diffchecks.sh: Build table first 2024-04-24 19:14:03 -04:00
Anthony Towns 0e5b18c0ff BIP327: fixups for buildtable.pl 2023-03-29 15:10:15 +10:00
kallewoof ebea569f19 replace travis with Github Actions (#1432)
replace travis with Github Actions
2023-03-09 11:57:21 +09:00
Dr Maxim Orlovsky 2f57890cbe CI: Allow dashes in author e-mail domain names
Signed-off-by: Dr. Maxim Orlovsky <orlovsky@pandoraprime.ch>
2022-08-21 21:43:18 +02:00
Luke Dashjr 66aed73043 Bugfix: BIP 326: Correct Author/Title headings 2022-05-05 15:07:26 +00:00
Anthony Towns 234bb915f4 bip-326: avoid errors from scripts/buildtable.pl 2022-04-07 10:42:55 +10:00
Luke Dashjr f70132e58b BIP 174: Revert title change to fit length limit
This partially reverts c0991047e2.
2021-02-03 22:33:18 +00:00
Andrew Chow c0991047e2 Explicitly specify PSBTv0 2021-01-15 13:01:19 -05:00
Luke Dashjr d8a56c9f2b scripts/buildtable.pl: Fix for Obsolete status 2020-06-02 08:53:55 +00:00
Luke Dashjr 33308e75f8 Merge BIPs 340-342 2020-01-24 00:01:16 +00:00
Karl-Johan Alm 1d20ad8a42 linter: avoid false positives such as C++ lambda exprs by only detecting links starting with 'http' 2020-01-20 14:07:27 +09:00
Pieter Wuille fa305e5abd Make buildtable.pl support Requires: field 2020-01-19 14:48:58 -08:00