Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
282 commits
Select commit Hold shift + click to select a range
f1058cc
update to spec V8
conradoplg Aug 25, 2022
d2d315f
send randomizer point instead of randomizer
conradoplg Aug 29, 2022
8740dce
update to v11
conradoplg Oct 13, 2022
b2e5634
small fixes
conradoplg Oct 21, 2022
e512fa7
ZIP 311: Generalise beyond Sapling
str4d Nov 3, 2022
396900a
ZIP 311: Fix formatting error and regenerate HTML
str4d Nov 3, 2022
1015237
ZIP 311: Generalise abstract, use cases, and requirements beyond Sapling
str4d Nov 4, 2022
2f7ccb2
ZIP 311: Reorder payment disclosure data structure to match v5 tx
str4d Nov 4, 2022
5183e06
update to last RFC version
conradoplg Jan 10, 2023
a7fd12c
Apply suggestions from code review
conradoplg Jan 11, 2023
bf9edbd
Clean up header
conradoplg Jan 12, 2023
48f8c2c
rename to zip-312.rst
conradoplg Jan 12, 2023
115f2ca
Apply suggestions from code review
conradoplg Jan 12, 2023
564642f
Apply suggestions from code review
conradoplg Jan 13, 2023
f72d8cd
address multiple comments
conradoplg Jan 13, 2023
bc16e53
add lines about signature verification in each ciphersuite
conradoplg Jan 13, 2023
8fa30b0
Apply suggestions from code review
conradoplg Jan 16, 2023
8836e22
add initial Rationale section
conradoplg Jan 16, 2023
9512ead
Update zip-0312.rst
dconnolly Feb 7, 2023
91573df
Update zip-0312.rst
dconnolly Feb 7, 2023
1c837a2
Update zip-0312.rst
dconnolly Feb 7, 2023
7bffa04
rename randomizer_point to randomizer_commitment
conradoplg Feb 9, 2023
8278399
ZIP 315: Initial work in progress.
daira Apr 26, 2022
ae001dc
ZIP 315: WIP from meeting.
daira Apr 27, 2022
3eee14d
ZIP 315: WIP draft wallet recovery policy.
nuttycom May 3, 2022
09443c7
ZIP 315: WIP.
daira Jun 28, 2022
f4dd8a5
ZIP 315: Address review comments or add them as TODOs.
daira Jun 29, 2022
ce836df
ZIP 315: Fix the definition of confirmed spendable.
daira Jul 20, 2022
ff99ddc
ZIP 315: Clarify TXO categories and other editing.
daira Sep 6, 2022
af13104
ZIP 315: line rewrapping.
daira Sep 28, 2022
e8525a3
ZIP 315: new content.
daira Sep 28, 2022
85c6b73
ZIP 315: change title; add @nuttycom to Owners and @pacu to Credits.
daira Mar 2, 2023
d12a0a3
ZIP 315: deduplicate section headings.
daira Sep 28, 2022
8e1cd7f
ZIP 315: apply suggestions from code review.
daira Dec 3, 2022
e2c611d
Merge remote-tracking branch 'upstream/main' into zip-frost
conradoplg Aug 21, 2023
c0c1643
update with simplified design
conradoplg Aug 21, 2023
b441df0
hash signing package in randomizer generator; overall adjustments
conradoplg Sep 18, 2023
eecee7c
Apply suggestions from code review
conradoplg Dec 7, 2023
2018579
generate a random buffer instead of serializing a random scalar
conradoplg Dec 20, 2023
c9e2a85
update HTML
conradoplg Dec 20, 2023
b8ba228
Fix and rename GitHub Action workflow
AArnott Jan 6, 2024
250425e
Drop PR trigger
AArnott Jan 6, 2024
6a0a93c
Commit from GitHub Actions (Build tex and rst)
github-actions[bot] Jan 6, 2024
28fd420
rephrase abstract
conradoplg Jan 15, 2024
d01ca5a
Bump EndBug/add-and-commit from 9.1.3 to 9.1.4
dependabot[bot] Jan 26, 2024
d5dd194
Reintroduce ZIP 316, Revision 1 changes.
nuttycom Jan 25, 2024
84ef511
ZIP 316: cosmetics - spell UA/UIVK consistently.
daira Jan 24, 2024
a95a029
ZIP 316, Revision 1: Change the Human-Readable Part for Revision 1 un…
daira Jan 24, 2024
9425d7a
zip-0316: Expand the metadata typecodes range to start at 0xC0, to pr…
nuttycom Feb 5, 2024
d9ec0e2
ZIPs 316 and 320: change the prefix for Revision 1 to "ur".
daira Feb 9, 2024
0c4dd0d
ZIPs 316 and 320: drop the "at least one shielded Item" restriction.
daira Feb 9, 2024
9fc438f
ZIP 320: remove a paragraph that no longer applies.
daira Feb 9, 2024
51dd721
Apply suggestions from code review
conradoplg Feb 9, 2024
81a9c41
ZIP 316: exclude MUST-understand Metadata Items from the requirement for
daira Feb 9, 2024
a723dd2
ZIP 316: formatting fix.
daira Feb 9, 2024
ed1dd64
ZIP 320:
daira Feb 9, 2024
56a6be2
ZIP 316: add requirements on the revision of UAs and UIVKs derived fr…
daira Feb 11, 2024
8b13e37
ZIP 316: apply suggestions from @arya2's review.
daira Feb 12, 2024
a5cba44
ZIP 316: clarify Address Expiry for transactions sending to more than…
daira Feb 13, 2024
e538aca
ZIP 316, Revision 1 and ZIP 320: Address comments from ZIP sync.
nuttycom Feb 13, 2024
4d8dfbd
Merge pull request #765 from nuttycom/zip_0316_rev_1
arya2 Feb 13, 2024
1f6eec0
ZIP 316: Mark Revision 1 as Proposed
nuttycom Feb 13, 2024
e720ad0
Merge pull request #783 from nuttycom/zip_316_r1_proposed
arya2 Feb 13, 2024
ecbc738
ZIP 316: fix a typo and remove trailing spaces.
daira Feb 13, 2024
022e509
Merge pull request #784 from daira/zip-0316-typo
daira Feb 16, 2024
0b1f638
Import changes made in the Google Doc
str4d Feb 23, 2024
015d8d6
Consistently name the feature
str4d Feb 23, 2024
b763864
Fix formatting issues
str4d Feb 23, 2024
f32d059
Fix references
str4d Feb 23, 2024
5e496f5
Update header with new ZIP owners
str4d Feb 23, 2024
7aea82e
Collect rationale for decided issues into a single section
str4d Feb 23, 2024
fe0409e
Assigned ZIP number 324
str4d Feb 23, 2024
c3046b4
ZIP 324: generate HTML.
daira Feb 23, 2024
66881eb
Merge pull request #788 from str4d/uri-encapsulated-payments
str4d Feb 23, 2024
2442c19
ZIP 0: remove Daira-Emma as a ZIP Editor and add Acknowledgements.
daira Mar 1, 2024
146936c
Merge pull request #791 from daira/remove-dairaemma-as-zip-editor
daira Mar 1, 2024
1f9cb87
Fix formatting of bulleted lists
AArnott Mar 3, 2024
39470f2
Add C# reference implementation to list in ZIP-173
AArnott Sep 5, 2023
05d4c99
ZIP 320: choose TEX Address alternative.
daira Mar 13, 2024
e5a24b4
ZIP 320: address review comments and make additional clarifications.
daira Mar 17, 2024
870d230
ZIP 320: use the [#binance-address-expiry] reference.
daira Mar 18, 2024
8cea84f
ZIP 320: update Discussions-To and Pull-Request metadata.
daira Mar 18, 2024
3b706de
Merge pull request #798 from daira/zip-320-choose-tex
daira Mar 18, 2024
2e9272e
Merge pull request #711 from AArnott/workflow
daira Apr 14, 2024
7d79090
Add stub for ZIP 253.
daira Apr 12, 2024
bf6c166
Bump actions/checkout from 4.1.1 to 4.1.2
dependabot[bot] Apr 14, 2024
5273fc9
Merge pull request #796 from zcash/dependabot/github_actions/actions/…
daira Apr 14, 2024
5d253b6
ZIP 320 to Proposed.
daira Apr 18, 2024
affc145
Merge pull request #817 from daira/zip-320-to-proposed
str4d Apr 23, 2024
8124633
Merge pull request #807 from daira/zip-253-stub
daira Apr 23, 2024
7a6fbc3
Merge pull request #793 from AArnott/fixzip316formatting
daira May 12, 2024
179faac
README: Remove list of NU5-relevant ZIPs
str4d May 21, 2024
e03c8c3
Include `zip-*.md` files in index
str4d May 21, 2024
b185141
Add a separate table to index listing `draft-*` files
str4d May 21, 2024
298ef99
Merge pull request #849 from zcash/index-changes
str4d May 22, 2024
259de3a
Use the ECC CI user to run rendering.
nuttycom May 22, 2024
304fa51
Merge pull request #850 from zcash/ci_render
str4d May 22, 2024
d28d1d0
ZIP 316: change the minimum F4Jumble^{-1} input length to allow for
daira Mar 13, 2024
dfd3ddd
ZIP 316: say how to maximize interoperability by using Revision 0 UA/…
daira Mar 13, 2024
3e2df48
ZIP 316: Reduce the minimum `F4Jumble^{-1}` input length to 38 bytes,
daira Jun 4, 2024
947a4e2
Merge pull request #797 from daira/zip-316-update
str4d Jun 4, 2024
9a3a09e
Bump actions/checkout from 4.1.2 to 4.1.7
dependabot[bot] Jun 13, 2024
6aca2b8
Initial draft ZIP for ZF's Dev Fund v2 proposal
jackgavigan Jul 1, 2024
641d212
ZIP 324: use a workaround to make the 0-based list valid.
daira Feb 24, 2024
e2abc33
ZIPs 316 and 317: cosmetics.
daira Apr 12, 2024
ccd3a10
Daira [Emma] -> Daira-Emma. Also correct some author lists and preven…
daira Mar 3, 2024
be1b95e
Protocol spec: cosmetics and improved indexing.
daira Apr 14, 2024
a1657b2
In \crossref{concretesinsemillahash}, declare use of LEBS2IP instead …
daira May 12, 2024
c204c8f
Acknowledge Conrado Gouvea.
daira May 12, 2024
ca22568
Makefile: fix a bug in local rendering that could include unintended
daira Jul 1, 2024
e797d44
Improve rendering of the table of Drafts without assigned ZIP numbers.
daira Jul 1, 2024
6d08a4f
Update zip-guide and add one for Markdown.
daira Jul 1, 2024
8b2929c
Render manually, while the CI-based rendering is broken.
daira Jul 1, 2024
1b1ec28
Merge pull request #789 from daira/zip-324-update-index
daira Jul 1, 2024
49ab1f2
Add draft-hopwood-coinbase-balance. refs #864
daira Jul 2, 2024
b3b72a2
Add credits and Acknowledgements section.
daira Jul 2, 2024
04f7db0
Correct heading underline length in draft-zf-community-dev-fund-2-pro…
jackgavigan Jul 2, 2024
6b85ebe
Correct heading underline length in draft-zf-community-dev-fund-2-pr…
jackgavigan Jul 2, 2024
be56cd3
Fix typo in draft-zf-community-dev-fund-2-proposal.rst
jackgavigan Jul 2, 2024
2d6d7db
Remove spurious newline from draft-zf-community-dev-fund-2-proposal.rst
jackgavigan Jul 2, 2024
ca1f8ab
Respond to ZIP Editors' review
daira Jul 2, 2024
8cf1c41
Amend eligibility for grants in draft-zf-community-dev-fund-2-proposa…
jackgavigan Jul 2, 2024
21ae1f0
Update draft-zf-community-dev-fund-2-proposal.rst
jackgavigan Jul 2, 2024
5d2c7f7
Update draft-zf-community-dev-fund-2-proposal.rst
jackgavigan Jul 2, 2024
34757b4
Merge branch 'zcash:main' into main
jackgavigan Jul 2, 2024
767c7ce
Update draft-zf-community-dev-fund-2-proposal.rst
jackgavigan Jul 2, 2024
e72eb6e
Update draft-zf-community-dev-fund-2-proposal.rst
jackgavigan Jul 2, 2024
dc68efd
Update draft-zf-community-dev-fund-2-proposal.rst
jackgavigan Jul 3, 2024
6f0c344
Update draft-zf-community-dev-fund-2-proposal.rst
jackgavigan Jul 3, 2024
bd8d7ef
Add a draft of ZIP 207 modifications to enable funding stream deposit…
nuttycom Jul 2, 2024
9a49cdf
Remove `.md` suffixes from links in HTML renders
str4d Jul 3, 2024
eaa24ab
Add missing `.gitignore` entry
str4d Jul 3, 2024
9b7a220
draft-nuttycom-lockbox-streams: Cleanups and rendering fixes
str4d Jul 3, 2024
ed3af0a
Render manually, while the CI-based rendering is broken
str4d Jul 3, 2024
5916df7
Merge pull request #867 from nuttycom/draft_deferred_funding
str4d Jul 3, 2024
6831bde
Rename ZIP to `Lockbox Funding Streams`
nuttycom Jul 2, 2024
81551d9
Propose alternatives for non-direct allocation of block rewards.
nuttycom Jul 3, 2024
b0a5cc9
Add NoamChom's proposal for a 25% dev fund, motivation for Skyl's alt…
nuttycom Jul 3, 2024
fa1e022
Add requirements related to ZCG streams for Alternative 2 & Alternati…
nuttycom Jul 3, 2024
c0fb87a
Fix missing reference to lockbox funding streams proposal.
nuttycom Jul 3, 2024
46d810b
Render draft ZIPs.
nuttycom Jul 3, 2024
5382557
Correct link to `draft-nuttycom-lockbox-streams`
str4d Jul 3, 2024
16d03a9
Merge branch 'main' into jackgavigan:main
str4d Jul 3, 2024
2dff979
draft-zf-community-dev-fund-2-proposal: Fix rendering bug
str4d Jul 3, 2024
50a72ba
Render manually, while the CI-based rendering is broken
str4d Jul 3, 2024
917906f
Merge pull request #861 from jackgavigan/main
str4d Jul 3, 2024
3350082
Merge pull request #865 from daira/blocks-should-balance-exactly
str4d Jul 3, 2024
f86ce1b
Copy zip-1014.rst to draft-noamchom67-manufacturing-consent.rst
noamchom67 Jun 25, 2024
0b5f34b
Update draft-noamchom67-manufacturing-consent.rst
noamchom67 Jun 25, 2024
97a510e
Update draft-noamchom67-manufacturing-consent.rst
noamchom67 Jun 28, 2024
db59b5d
Update draft-noamchom67-manufacturing-consent.rst
noamchom67 Jun 28, 2024
e39dd30
Update draft-noamchom67-manufacturing-consent.rst
noamchom67 Jul 2, 2024
17c4972
Update draft-noamchom67-manufacturing-consent.rst
noamchom67 Jul 2, 2024
8ccecc8
Update draft-noamchom67-manufacturing-consent.rst
noamchom67 Jul 2, 2024
5c34d0b
Update draft-noamchom67-manufacturing-consent.rst
noamchom67 Jul 2, 2024
d9309db
Update draft-noamchom67-manufacturing-consent.rst
noamchom67 Jul 3, 2024
175a4c1
draft-noamchom67-manufacturing-consent: Fix reference links
str4d Jul 3, 2024
7b3ab75
draft-noamchom67-manufacturing-consent: Use alternate TBD notation
str4d Jul 3, 2024
45a1716
draft-noamchom67-manufacturing-consent: Fix rendering bugs
str4d Jul 3, 2024
8d23020
Merge pull request #857 from noamchom67/patch-1
str4d Jul 3, 2024
88dca30
Render manually, while the CI-based rendering is broken
str4d Jul 3, 2024
7ed5bcf
Merge pull request #869 from zcash/manual-render
str4d Jul 3, 2024
af4d76b
Add titles for non-direct-funding alternatives.
nuttycom Jul 4, 2024
a46f9e5
Clarify the meaning of "lockbox"
nuttycom Jul 4, 2024
302662b
Fix missing ZIP 1014 reference.
nuttycom Jul 4, 2024
7ade5d3
Use "Lockbox Funding Streams" uniformly.
nuttycom Jul 4, 2024
2712dcb
Further clarify motivation; note that FPF is a non-US org.
nuttycom Jul 4, 2024
62482ec
Update title for Alternative 2 in accordance with Jason's request.
nuttycom Jul 4, 2024
82166a0
Merge remote-tracking branch 'upstream/main' into draft-dev-fund-prop…
nuttycom Jul 4, 2024
2bfb8b7
motivation and guidance for alternative 1
skyl Jul 4, 2024
d570312
cap in my view wouldn't be to prevent large projects that s
skyl Jul 5, 2024
72ceb24
ideas and guidnace, not requirements
skyl Jul 5, 2024
5aa3f0e
Merge pull request #1 from skyl/lockbox-50-motivations-guidance
skyl Jul 5, 2024
5a676bf
Fix reference to ZIP draft
str4d Jul 8, 2024
3829214
draft-nuttycom-funding-allocation: Fix typo
str4d Jul 8, 2024
bbc461a
Update draft-nuttycom-funding-allocation.rst
nuttycom Jul 8, 2024
8b1c43e
add Revisitation requirement to Alternative 4
conradoplg Jul 8, 2024
7487587
remove Direct Grant Option
conradoplg Jul 8, 2024
c9d533f
Apply suggestions from code review
conradoplg Jul 8, 2024
61e0977
restore reference to the Open Source Initative definition of open source
conradoplg Jul 8, 2024
3fb2c21
restore u32::MAX_VALUE usage
conradoplg Jul 8, 2024
a7dabb6
draft-nuttycom-funding-allocation: Fix table rendering
str4d Jul 8, 2024
2e82e97
draft-nuttycom-funding-allocation: Fix rendering bugs
str4d Jul 8, 2024
e9d2362
Render manually, while the CI-based rendering is broken
str4d Jul 8, 2024
14399f3
Merge pull request #866 from nuttycom/draft-dev-fund-proposal-20
str4d Jul 8, 2024
68b6c01
fix FPF name in Manufacturing Consent; fix title of Alternative 4
conradoplg Jul 9, 2024
0af2b28
Merge pull request #870 from zcash/fpf-name-title-fix
str4d Jul 9, 2024
1d8c1cc
Merge pull request #709 from AArnott/patch-1
str4d Jul 9, 2024
3c1c234
Remove Zooko's name from draft-zf-community-dev-fund-2-proposal
nuttycom Jul 13, 2024
2e3bc74
Merge pull request #872 from nuttycom/draft_dev_fund_remove_zooko
str4d Jul 13, 2024
57b837d
Remove specific author names related to prior work from the credits o…
nuttycom Jul 13, 2024
4363ba1
Merge pull request #873 from nuttycom/draft_dev_fund_remove_prior_aut…
str4d Jul 13, 2024
6dc83fd
Merge branch 'main' into zip-0315
str4d Jul 16, 2024
e7418d3
Minor editorial changes from review
str4d Jul 16, 2024
c24a151
Recommend against opportunistic shielding
str4d Jul 16, 2024
beeaa53
Change `spendable` term to `known-spendable`
str4d Jul 16, 2024
0d33eee
Improvements to Requirements language from review
str4d Jul 16, 2024
841119d
Apply various suggestions from review
str4d Jul 16, 2024
bbaa637
ZIP 315: Update TODOs and open questions
str4d Jul 16, 2024
7545739
ZIP 315: Allow transparent spends in the context of ZIP 320
str4d Jul 16, 2024
c6e7116
ZIP 315: Change state back to Draft
str4d Jul 16, 2024
f8ab117
Render manually, while the CI-based rendering is broken
str4d Jul 16, 2024
d27b07f
Merge pull request #607 from daira/zip-0315
str4d Jul 16, 2024
080306b
Move files rendered for zips.z.cash into a subdirectory
str4d Jul 16, 2024
26f16f4
Move ZIP source into `zips/` subdirectory
str4d Jul 16, 2024
2affa3d
Merge pull request #874 from zcash/repo-reorg
str4d Jul 16, 2024
1909816
CI: Create workflow to deploy to GH Pages
str4d Jul 16, 2024
1bcece4
Move `CNAME` into `rendered/` subdir
str4d Jul 16, 2024
1de4463
ZIP 315: Fix rendering issues
str4d Jul 16, 2024
e0b3635
Merge pull request #875 from zcash/gh-pages-reorg
str4d Jul 16, 2024
442afb0
Merge pull request #855 from zcash/dependabot/github_actions/actions/…
str4d Jul 16, 2024
771c358
Add separate tables for Released, Draft, and struck ZIPs
str4d Jul 17, 2024
f044cc5
Merge branch 'main' into zip-0311
str4d Jul 17, 2024
2479dc1
ZIP 311: Add TODO for Orchard support
str4d Jul 17, 2024
fe5a48e
Merge branch 'main' into op-csv
str4d Jul 17, 2024
e96b057
Move ZIPs 68, 112, and 113 into `zips/` subdirectory
str4d Jul 17, 2024
00f6fed
Merge pull request #767 from zcash/dependabot/github_actions/EndBug/a…
str4d Jul 17, 2024
ce01807
Merge pull request #876 from zcash/more-index-tables
str4d Jul 17, 2024
cff3434
Merge pull request #426 from str4d/zip-0311
str4d Jul 17, 2024
94f654c
Merge pull request #240 from daira/op-csv
str4d Jul 17, 2024
3612111
ZIP 302: Cleanups
str4d Jul 17, 2024
6ae11b9
ZIP 302: Abandon 0xF5 as "for legacy private agreement"
str4d Jul 17, 2024
446cd66
ZIP 253: Initial draft
Jul 18, 2024
ae9de0a
Render manually, while the CI-based rendering is broken
str4d Jul 18, 2024
f20d2f7
Merge pull request #880 from zcash/zip302-abandon-f5
str4d Jul 18, 2024
4bea2e3
Remove teor as a ZIP editor
teor2345 Jul 19, 2024
d9b98e6
Merge remote-tracking branch 'upstream/main' into zip-frost
conradoplg Jul 19, 2024
6e6893d
address comment, update spec ref, add paper ref
conradoplg Jul 20, 2024
8de2dcb
Update zips/zip-0253.md
arya2 Jul 20, 2024
1f118f7
Remove Aditya Bharadwaj as a ZIP Editor, and thank teor and Aditya for
daira Jul 23, 2024
9db0cf5
Add accent on Conrado Gouvêa's surname.
daira Jul 23, 2024
c42647d
Merge pull request #662 from ZcashFoundation/zip-frost
str4d Jul 23, 2024
054a9ee
Update zips/zip-0253.md
arya2 Jul 30, 2024
8ed75f9
Render manually, while the CI-based rendering is broken
str4d Jul 30, 2024
b00814b
Merge pull request #882 from zcash/teor-resigns
str4d Jul 30, 2024
6a55ee5
Move _config.yml into the subdirectory we are rendering
str4d Jul 30, 2024
945da8d
Assign ZIP 2001 to draft-nuttycom-lockbox-streams
str4d Jul 30, 2024
ede4b1c
Attempt to redirect `/draft-nuttycom-lockbox-streams` to `/zip-2001`
str4d Jul 30, 2024
6f1a2ea
Merge pull request #887 from zcash/zip-2001
str4d Aug 1, 2024
732b3ad
Fix redirect for ZIP 2001
str4d Aug 1, 2024
e485b12
Assign ZIP 236 to draft-hopwood-coinbase-balance
str4d Aug 1, 2024
aaf81b8
Redirect /draft-hopwood-coinbase-balance to /zip-0236
str4d Aug 1, 2024
bb4e171
Applies suggestions from PR review
Aug 1, 2024
cfcb5bd
Merge pull request #890 from zcash/fix-redirects
str4d Aug 1, 2024
0c39e5e
Merge pull request #891 from zcash/zip-236
str4d Aug 1, 2024
5f26cb5
updates footnote ref
Aug 5, 2024
43ebf01
Merge pull request #878 from zcash/draft-zip-253-nu6
str4d Aug 5, 2024
b81dbf1
Render manually, while the CI-based rendering is broken
str4d Aug 5, 2024
ddf9a91
Merge branch 'main' into zsa1
vivek-arte Aug 8, 2024
993b893
Adding latest zsa1 update
vivek-arte Aug 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/actions/render-protocol-pdf/Dockerfile

This file was deleted.

7 changes: 0 additions & 7 deletions .github/actions/render-protocol-pdf/action.yml

This file was deleted.

7 changes: 7 additions & 0 deletions .github/actions/render/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: Render ZIPs and Zcash Protocol Specification
description: GitHub Action to compile ZIPs and Zcash Protocol Specification LaTeX documents
author: Deirdre Connolly
runs:
using: docker
# Runs `make all` or something like it
image: ../../../Dockerfile
42 changes: 42 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Simple workflow for deploying static content to GitHub Pages
name: Deploy pre-rendered static content to Pages

on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

jobs:
# Single deploy job since we're just deploying
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: 'rendered'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
22 changes: 14 additions & 8 deletions .github/workflows/render.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,25 @@
name: Render pdfs
name: Build tex and rst

on: workflow_dispatch
on:
workflow_dispatch:
push:
branches:
- main

jobs:

render:
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v4.1.1
- name: Checkout repository
uses: actions/checkout@v4.1.7
with:
token: ${{ secrets.CI_TOKEN }}

- name: Compile Zcash Protocol Specification
uses: ./.github/actions/render-protocol-pdf
- name: Compile ZIPs and Zcash Protocol Specification
uses: ./.github/actions/render

- uses: EndBug/add-and-commit@v9.1.3
- uses: EndBug/add-and-commit@v9.1.4
with:
add: '**/*.pdf'
add: 'protocol/*.pdf *.html'
default_author: github_actions
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

.Makefile.uptodate
.zipfilelist.*
.draftfilelist.*

protocol/aux/
protocol/html/
Expand Down
9 changes: 6 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM debian:latest

RUN apt-get update \
&& apt-get install -y \
RUN apt-get update
RUN apt-get install -y \
gawk \
perl \
sed \
Expand All @@ -17,7 +17,10 @@ RUN apt-get update \
texlive-plain-generic \
texlive-bibtex-extra

RUN pip3 install rst2html5
RUN rm /usr/lib/python3.11/EXTERNALLY-MANAGED
RUN pip install rst2html5

ENV PATH=${PATH}:/root/.local/bin

WORKDIR "/zips"
ENTRYPOINT ["make", "all"]
27 changes: 15 additions & 12 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@

.PHONY: all all-zips tag-release protocol discard
all-zips: .Makefile.uptodate
find . -name 'zip-*.rst' -o -name 'zip-*.md' |sort >.zipfilelist.new
echo "$(patsubst zips/%,%,$(sort $(wildcard zips/zip-*.rst) $(wildcard zips/zip-*.md)))" >.zipfilelist.new
diff .zipfilelist.current .zipfilelist.new || cp -f .zipfilelist.new .zipfilelist.current
rm -f .zipfilelist.new
echo "$(patsubst zips/%,%,$(sort $(wildcard zips/draft-*.rst) $(wildcard zips/draft-*.md)))" >.draftfilelist.new
diff .draftfilelist.current .draftfilelist.new || cp -f .draftfilelist.new .draftfilelist.current
rm -f .draftfilelist.new
$(MAKE) README.rst
$(MAKE) index.html $(addsuffix .html,$(filter-out README,$(basename $(sort $(wildcard *.rst) $(wildcard *.md)))))
$(MAKE) rendered/index.html $(addprefix rendered/,$(addsuffix .html,$(basename $(patsubst zips/%,%,$(sort $(wildcard zips/*.rst) $(wildcard zips/*.md))))))

all: all-zips protocol

Expand All @@ -17,41 +20,41 @@ protocol:
$(MAKE) -C protocol

discard:
git checkout -- '*.html' 'README.rst' 'protocol/*.pdf'
git checkout -- 'rendered/*.html' 'README.rst' 'rendered/protocol/*.pdf'

.Makefile.uptodate: Makefile
.Makefile.uptodate: Makefile edithtml.sh
$(MAKE) clean
touch .Makefile.uptodate

define PROCESSRST
$(eval TITLE := $(shell echo '$(basename $<)' | sed -E 's|zip-0{0,3}|ZIP |;s|draft-|Draft |')$(shell grep -E '^(\.\.)?\s*Title: ' $< |sed -E 's|.*Title||'))
$(eval TITLE := $(shell echo '$(patsubst zips/%,%,$(basename $<))' | sed -E 's|zip-0{0,3}|ZIP |;s|draft-|Draft |')$(shell grep -E '^(\.\.)?\s*Title: ' $< |sed -E 's|.*Title||'))
rst2html5 -v --title="$(TITLE)" $< >$@
./edithtml.sh --rst $@
endef

define PROCESSMD
$(eval TITLE := $(shell echo '$(basename $<)' | sed -E 's|zip-0{0,3}|ZIP |;s|draft-|Draft |')$(shell grep -E '^(\.\.)?\s*Title: ' $< |sed -E 's|.*Title||'))
$(eval TITLE := $(shell echo '$(patsubst zips/%,%,$(basename $<))' | sed -E 's|zip-0{0,3}|ZIP |;s|draft-|Draft |')$(shell grep -E '^(\.\.)?\s*Title: ' $< |sed -E 's|.*Title||'))
pandoc --from=markdown --to=html $< --output=$@
./edithtml.sh --md $@ "${TITLE}"
endef

index.html: README.rst edithtml.sh
rendered/index.html: README.rst edithtml.sh
$(PROCESSRST)

%.html: %.rst edithtml.sh
rendered/%.html: zips/%.rst edithtml.sh
$(PROCESSRST)

%.html: %.md edithtml.sh
rendered/%.html: zips/%.md edithtml.sh
$(PROCESSMD)

README.rst: .zipfilelist.current makeindex.sh README.template $(sort $(wildcard zip-*.rst) $(wildcard zip-*.md))
README.rst: .zipfilelist.current .draftfilelist.current makeindex.sh README.template $(wildcard zips/zip-*.rst) $(wildcard zips/zip-*.md) $(wildcard zips/draft-*.rst) $(wildcard zips/draft-*.md)
./makeindex.sh | cat README.template - >README.rst

.PHONY: linkcheck
linkcheck: all-zips
$(MAKE) -C protocol all-specs
./links_and_dests.py --check $(filter-out $(wildcard draft-*.html),$(wildcard *.html)) protocol/protocol.pdf protocol/canopy.pdf protocol/heartwood.pdf protocol/blossom.pdf protocol/sapling.pdf
./links_and_dests.py --check $(filter-out $(wildcard rendered/draft-*.html),$(wildcard rendered/*.html)) rendered/protocol/protocol.pdf rendered/protocol/canopy.pdf rendered/protocol/heartwood.pdf rendered/protocol/blossom.pdf rendered/protocol/sapling.pdf

.PHONY: clean
clean:
rm -f .zipfilelist.* README.rst index.html $(addsuffix .html,$(basename $(sort $(wildcard *.rst) $(wildcard *.md))))
rm -f .zipfilelist.* README.rst rendered/index.html $(addprefix rendered/,$(addsuffix .html,$(basename $(patsubst zips/%,%,$(sort $(wildcard zips/*.rst) $(wildcard zips/*.md))))))
Loading