Update docs and CI references for v0.38.x backport branch#596
Update docs and CI references for v0.38.x backport branch#596thanethomson merged 7 commits intov0.38.xfrom
v0.38.x backport branch#596Conversation
Signed-off-by: Thane Thomson <connect@thanethomson.com>
Signed-off-by: Thane Thomson <connect@thanethomson.com>
Signed-off-by: Thane Thomson <connect@thanethomson.com>
Signed-off-by: Thane Thomson <connect@thanethomson.com>
Signed-off-by: Thane Thomson <connect@thanethomson.com>
v0.38.x backport branchv0.38.x backport branch
v0.38.x backport branchv0.38.x backport branch
Signed-off-by: Thane Thomson <connect@thanethomson.com>
| pull_request: | ||
| branches: [main] | ||
| branches: | ||
| - v0.38.x |
There was a problem hiding this comment.
I assume the difference in the notaion has no impact?
There was a problem hiding this comment.
No, YAML allows one to represent arrays both ways. We tend to use this convention more than the [main] one though, so I thought I'd adapt it to the conventional way.
lasarojc
left a comment
There was a problem hiding this comment.
Some changes are not needed and should be done on main instead.
Some of the links replaced could be made relative, on main, so there is no need to update them in future forks.
Other than that, LGTM
| name: Build | ||
| # Tests runs different tests (test_abci_apps, test_abci_cli, test_apps) | ||
| # This workflow runs on every push to main or release branch and every pull requests | ||
| # This workflow runs on every push to v0.38.x and every pull request |
There was a problem hiding this comment.
Can we replace for a generic comment instead? This way this will not have to be changed on every new branch.
There was a problem hiding this comment.
should be done in main, rather.
There was a problem hiding this comment.
Will do that in a follow-up PR 👍
| push: | ||
| branches: | ||
| - main | ||
| - v0.38.x |
There was a problem hiding this comment.
could we use - 'v*.*.*' on main, to simplify these releases?
| const timeIota = time.Millisecond | ||
| // TODO: We should remove next line in case we don't vote for v in case cs.ProposalBlock == nil, | ||
| // even if cs.LockedBlock != nil. See https://github.com/cometbft/cometbft/tree/main/spec/. | ||
| // even if cs.LockedBlock != nil. See https://github.com/cometbft/cometbft/tree/v0.38.x/spec/. |
There was a problem hiding this comment.
| // even if cs.LockedBlock != nil. See https://github.com/cometbft/cometbft/tree/v0.38.x/spec/. | |
| // even if cs.LockedBlock != nil. | |
| // See the BFT time spec https://github.com/cometbft/cometbft/blob/v0.38.x/spec/consensus/bft-time.md. |
| // See the BFT time spec | ||
| // https://github.com/cometbft/cometbft/blob/main/spec/consensus/bft-time.md | ||
| // https://github.com/cometbft/cometbft/blob/v0.38.x/spec/consensus/bft-time.md |
There was a problem hiding this comment.
| // See the BFT time spec | |
| // https://github.com/cometbft/cometbft/blob/main/spec/consensus/bft-time.md | |
| // https://github.com/cometbft/cometbft/blob/v0.38.x/spec/consensus/bft-time.md |
| } | ||
|
|
||
| var pbb = new(cmtproto.Block) | ||
| pbb := new(cmtproto.Block) |
There was a problem hiding this comment.
this one should be done in main and backported.
| ev types.Evidence) (*ctypes.ResultBroadcastEvidence, error) { | ||
|
|
||
| ev types.Evidence, | ||
| ) (*ctypes.ResultBroadcastEvidence, error) { |
| Total: env.Mempool.Size(), | ||
| TotalBytes: env.Mempool.SizeBytes(), | ||
| Txs: txs}, nil | ||
| Txs: txs, |
| license: | ||
| name: Apache 2.0 | ||
| url: https://github.com/cometbft/cometbft/blob/main/LICENSE | ||
| url: https://github.com/cometbft/cometbft/blob/v0.38.x/LICENSE |
There was a problem hiding this comment.
the license shouldn't change. the link could stay as main.
| var ( | ||
| commit = new(Commit) | ||
| ) | ||
| commit := new(Commit) |
There was a problem hiding this comment.
not needed. do it in main.
| Existing documentation referring to the p2p layer: | ||
|
|
||
| - <https://github.com/cometbft/cometbft/tree/main/spec/p2p>: p2p-related | ||
| - <https://github.com/cometbft/cometbft/tree/v0.38.x/spec/p2p>: p2p-related |
There was a problem hiding this comment.
should we make these links relative, so they get locked by branch automatically?
There was a problem hiding this comment.
I think we need a bigger effort to make as many of the docs' links relative as we can.
Partially addresses #33 (specifically #595), following the backport branch creation steps in https://github.com/cometbft/cometbft/blob/main/RELEASES.md#creating-a-backport-branch
Can be reviewed commit by commit.
PR checklist
.changelog(we use unclog to manage our changelog)docs/orspec/) and code comments