1
0
mirror of https://github.com/bitcoin/bips.git synced 2026-01-19 15:03:08 +00:00

43 Commits

Author SHA1 Message Date
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
viktorking7
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
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
602cd676cd
buildtable.pl: Also check .md files (#1577) 2024-05-01 17:02:36 -04:00
Anthony Towns
0e5b18c0ff BIP327: fixups for buildtable.pl 2023-03-29 15:10:15 +10: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 c0991047e25a35d1ddf241f304a079e9893eed69.
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
Pieter Wuille
fa305e5abd Make buildtable.pl support Requires: field 2020-01-19 14:48:58 -08:00
Luke Dashjr
41cabd2de5 scripts/buildtable: Support License-Code header 2017-10-29 04:04:07 +00:00
Luke Dashjr
4fd8557b7f scripts/buildtable: Check Title length 2017-05-23 13:18:52 +00:00
Luke Dashjr
d7e6a37fe4 scripts/buildtable: Explain the problem for first Comments-URI mismatch 2017-05-07 22:24:47 +00:00
Luke Dashjr
dd3254bb00 scripts/buildtable: Comments-Summary is technically optional 2017-05-05 15:13:20 +00:00
Luke Dashjr
24af63b7e6 script/buildtable: Remove missing-license exceptions no longer needed 2017-01-20 00:13:01 +00:00
Luke Dashjr
95dfd21ea2 scripts/buildtable: Check for extraneous spaces after header name 2017-01-14 07:04:12 +00:00
Luke Dashjr
7d94bb685b BIP 75: Add License header 2017-01-01 12:30:28 +00:00
Luke Dashjr
183852337b README: Include BIP Layers in index 2016-12-15 05:04:31 +00:00
Luke Dashjr
3a28003993 Implement BIP 2 with merging master changes 2016-12-15 04:21:00 +00:00
Luke Dashjr
42770fb619 Bugfix: scripts/buildtable: Increment found marker *after* processing the header 2016-12-15 04:20:14 +00:00
Luke Dashjr
959fecc15b Promote BIP 2 Draft->Active, and implement it
- Update all Accepted status to Proposed (renamed status)
- The BIP Comments preamble headers added to every BIP
- The License preamble headers have been added to all BIPs with a Copyright section
2016-11-30 09:51:01 +00:00
Luke Dashjr
72f18918a8 Promote BIP 123 Draft->Active, and implement it 2016-11-30 09:45:33 +00:00
Luke Dashjr
c834fde23b BIP 123: Clarify how used with non-Standards BIPs, and update list 2016-11-29 04:00:50 +00:00
Luke Dashjr
6d086e11d0 Bugfix: scripts/buildtable: Tolerate Discussions-To, Replaces, Superseded-By, and Resolution headers 2016-10-05 05:50:12 +00:00
Luke Dashjr
ebf5c28988 Travis: Initial formatting tests 2016-02-09 05:14:17 +00:00