Skip to content

v0.34.x: Rename Tendermint to CometBFT in /docs (backport #197) - #251

Merged
cason merged 16 commits into
v0.34.xfrom
mergify/bp/v0.34.x/pr-197
Feb 7, 2023
Merged

cason merged 16 commits into
v0.34.xfrom
mergify/bp/v0.34.x/pr-197

Conversation

@mergify

@mergify mergify Bot commented Feb 1, 2023

Copy link
Copy Markdown
Contributor

This is an automatic backport of pull request #197 done by Mergify.
Cherry-pick of 9883814 has failed:

On branch mergify/bp/v0.34.x/pr-197
Your branch is up to date with 'origin/v0.34.x'.

You are currently cherry-picking commit 98838143f.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Changes to be committed:
	modified:   docs/.vuepress/config.js
	deleted:    docs/.vuepress/public/logo-bw.svg
	deleted:    docs/DEV_SESSIONS.md
	renamed:    docs/app-dev/readme.md -> docs/app-dev/README.md
	renamed:    docs/imgs/bifurcation-point.png -> docs/architecture/img/bifurcation-point.png
	renamed:    docs/imgs/evidence_lifecycle.png -> docs/architecture/img/evidence_lifecycle.png
	renamed:    docs/imgs/light-client-detector.png -> docs/architecture/img/light-client-detector.png
	renamed:    docs/imgs/tm-amnesia-attack.png -> docs/architecture/img/tm-amnesia-attack.png
	renamed:    docs/tendermint-core/README.md -> docs/core/README.md
	renamed:    docs/tendermint-core/configuration.md -> docs/core/configuration.md
	renamed:    docs/tendermint-core/light-client.md -> docs/core/light-client.md
	renamed:    docs/tendermint-core/mempool.md -> docs/core/mempool.md
	renamed:    docs/tendermint-core/metrics.md -> docs/core/metrics.md
	new file:   docs/core/rpc.md
	renamed:    docs/tendermint-core/state-sync.md -> docs/core/state-sync.md
	renamed:    docs/tendermint-core/validators.md -> docs/core/validators.md
	deleted:    docs/imgs/contributing.png
	deleted:    docs/imgs/cosmos-tendermint-stack-4k.jpg
	renamed:    docs/tendermint-core/sentry_layout.png -> docs/imgs/sentry_layout.png
	renamed:    docs/tendermint-core/local_config.png -> docs/imgs/sentry_local_config.png
	deleted:    docs/imgs/tcp-window.png
	deleted:    docs/imgs/tm-application-example.png
	deleted:    docs/imgs/tm-transaction-flow.png
	deleted:    docs/imgs/tmint-logo-blue.png
	modified:   docs/introduction/README.md
	modified:   docs/introduction/install.md
	modified:   docs/introduction/quick-start.md
	deleted:    docs/introduction/what-is-tendermint.md
	modified:   docs/networks/README.md
	modified:   docs/networks/docker-compose.md
	modified:   docs/package.json
	modified:   docs/qa/README.md
	modified:   docs/qa/method.md
	modified:   docs/qa/v034/README.md
	deleted:    docs/tendermint-core-image.jpg
	deleted:    docs/tendermint-core/block-structure.md
	deleted:    docs/tendermint-core/fast-sync.md
	deleted:    docs/tendermint-core/how-to-read-logs.md
	deleted:    docs/tendermint-core/running-in-production.md
	deleted:    docs/tendermint-core/subscription.md
	deleted:    docs/tendermint-core/using-tendermint.md
	modified:   docs/tools/README.md
	new file:   docs/tutorials/README.md
	deleted:    docs/tutorials/readme.md
	modified:   spec/p2p/v0.34/README.md

Unmerged paths:
  (use "git add/rm <file>..." as appropriate to mark resolution)
	both modified:   docs/.vuepress/redirects
	both modified:   docs/DOCS_README.md
	both modified:   docs/README.md
	both modified:   docs/app-dev/abci-cli.md
	both modified:   docs/app-dev/app-architecture.md
	both modified:   docs/app-dev/getting-started.md
	both modified:   docs/app-dev/indexing-transactions.md
	deleted by us:   docs/architecture/README.md
	deleted by us:   docs/architecture/adr-047-handling-evidence-from-light-client.md
	deleted by us:   docs/architecture/adr-056-light-client-amnesia-attacks.md
	deleted by us:   docs/architecture/adr-059-evidence-composition-and-lifecycle.md
	deleted by us:   docs/architecture/adr-template.md
	both modified:   docs/core/block-structure.md
	added by them:   docs/core/block-sync.md
	added by us:     docs/core/fast-sync.md
	both modified:   docs/core/how-to-read-logs.md
	both modified:   docs/core/running-in-production.md
	both modified:   docs/core/subscription.md
	both modified:   docs/core/using-cometbft.md
	deleted by them: docs/introduction/architecture.md
	both modified:   docs/introduction/what-is-cometbft.md
	deleted by us:   docs/qa/v037/README.md
	deleted by us:   docs/rfc/README.md
	both deleted:    docs/tendermint-core/block-sync.md
	deleted by them: docs/tendermint-core/rpc.md
	both modified:   docs/tools/debugging.md
	both modified:   docs/tutorials/go-built-in.md
	both modified:   docs/tutorials/go.md
	both modified:   spec/consensus/consensus.md
	both modified:   spec/consensus/wal.md

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/github/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

* docs/rename: simple github.com links renaming

* docs/rename: old links to spec repo replaced

* docs/rename: Go doc links renamed, currently broken

* docs/rename: fixing broken links, proper branches

* docs/rename: docs.tendermint.com -> docs.cometbft.com

* docs/rename: fixing front matter in .md files

* docs/rename: renaming in what is tendermint page

   * Tendermint in a Nutshell image removed

* docs/rename: cleaning, renaming docs introduction

* docs/rename: renaming in docs/app-dev/ dir

* docs/rename: links to main branch in docs/networks

* docs/rename: renaming in docs/tools/ dir

* docs/rename: renaming in docs/tutorials dir

* docs/rename: moving images to docs/imgs/ dir

* docs/rename: renaming in docs/tendermint-core/ dir

* docs/rename: docs/tendermint-core/ -> docs/core/

* docs/rename: renaming in docs/qa/ sub path

* docs/rename: renaming in .vuepress dir, logo removed

* docs/rename: renaming in READMEs

* docs/rename: removing Tendermint images and content

* docs/rename: removing references to removed diagram

* docs/rename: renaming in READMEs for RFCs and ADRs

* rename: links to docs/tendermint-core -> docs/core

* docs/rename: removing unused images from docs/imgs/

* docs/rename: cleaning of docs/imgs/, ADR images moved

* Apply suggestions from code review

Co-authored-by: Thane Thomson <[email protected]>

* Apply suggestions from code review

Co-authored-by: Thane Thomson <[email protected]>

* docs/rename: removing outdated Testnets section

Co-authored-by: Thane Thomson <[email protected]>

* docs/rename: removing reference to tendermint/awesome repo

Co-authored-by: Thane Thomson <[email protected]>

* docs/rename: contributing section updated

Co-authored-by: Thane Thomson <[email protected]>

---------

Co-authored-by: Thane Thomson <[email protected]>
(cherry picked from commit 9883814)

# Conflicts:
#	docs/.vuepress/redirects
#	docs/DOCS_README.md
#	docs/README.md
#	docs/app-dev/abci-cli.md
#	docs/app-dev/app-architecture.md
#	docs/app-dev/getting-started.md
#	docs/app-dev/indexing-transactions.md
#	docs/architecture/README.md
#	docs/architecture/adr-047-handling-evidence-from-light-client.md
#	docs/architecture/adr-056-light-client-amnesia-attacks.md
#	docs/architecture/adr-059-evidence-composition-and-lifecycle.md
#	docs/architecture/adr-template.md
#	docs/core/block-structure.md
#	docs/core/block-sync.md
#	docs/core/fast-sync.md
#	docs/core/how-to-read-logs.md
#	docs/core/running-in-production.md
#	docs/core/subscription.md
#	docs/core/using-cometbft.md
#	docs/introduction/architecture.md
#	docs/introduction/what-is-cometbft.md
#	docs/qa/v037/README.md
#	docs/rfc/README.md
#	docs/tendermint-core/block-sync.md
#	docs/tendermint-core/rpc.md
#	docs/tools/debugging.md
#	docs/tutorials/go-built-in.md
#	docs/tutorials/go.md
#	spec/consensus/consensus.md
#	spec/consensus/wal.md
@mergify
mergify Bot requested review from a team as code owners February 1, 2023 12:01
@mergify mergify Bot added the conflicts label Feb 1, 2023
@cason cason changed the title Rename Tendermint to CometBFT in /docs (backport #197) v0.34.x: Rename Tendermint to CometBFT in /docs (backport #197) Feb 1, 2023
Try some other transactions and queries to make sure everything is
working!

## Counter - Another Example

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This second example was removed from main. Should we maintain it in this branch?

Comment thread docs/app-dev/abci-cli.md
You could put the commands in a file and run
`abci-cli --verbose batch < myfile`.

## Counter - Another Example

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This second example was removed from main. Should we maintain it in this branch?

@cason cason self-assigned this Feb 3, 2023
@cason cason removed the conflicts label Feb 3, 2023
@cason
cason force-pushed the mergify/bp/v0.34.x/pr-197 branch from 5d3588d to fe0c7bb Compare February 6, 2023 14:08
Comment thread docs/.vuepress/config.js Resolved
Comment thread docs/.vuepress/config.js Resolved
Comment thread docs/README.md Resolved
Comment thread docs/app-dev/abci-cli.md Resolved
Comment thread docs/app-dev/app-architecture.md Resolved
Comment thread docs/core/using-cometbft.md Resolved
- `max_num`: This sets the maximum number of evidence that can be committed
in a single block. and should fall comfortably under the max block
bytes when we consider the size of each evidence.
- `max_bytes`: This sets the maximum size in bytes of evidence that can be committed

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this also renamed in the code?

@cason cason Feb 6, 2023 •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

max_bytes is on ./proto/tendermint/types/params.pb.go, max_num is not.

"max_age_num_blocks": "100000",
"max_age_duration": "172800000000000",
"max_num": 50,
"max_bytes": 51200,

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Again, double check whether it is actually renamed in the code.

Comment thread docs/qa/method.md
_200 Node Test_, and _Rotating Nodes Test_.

[releases]: https://github.com/tendermint/tendermint/blob/v0.37.x/RELEASES.md#large-scale-testnets
[releases]: https://github.com/cometbft/cometbft/blob/main/RELEASES.md#large-scale-testnets

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
[releases]: https://github.com/cometbft/cometbft/blob/main/RELEASES.md#large-scale-testnets
[releases]: https://github.com/cometbft/cometbft/blob/v0.34.x/RELEASES.md#large-scale-testnets

?

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The file doesn't exist in branch v0.34.x...

Comment thread docs/tutorials/go-built-in.md Resolved

key, value := parts[0], parts[1]

// check if the same key=value already exists

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this removed in the code too?

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new version of the tutorial doesn't include this more comprehensive check...

But which code are you referring to?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I thought this was actually written as some example somewhere in the code as well. My bad.

Comment thread docs/tutorials/go-built-in.md Resolved
Comment thread docs/tutorials/go-built-in.md Resolved
Comment thread docs/tutorials/go-built-in.md Resolved
Comment thread docs/tutorials/go-built-in.md Resolved
Comment thread docs/tutorials/go.md Resolved
Comment thread docs/tutorials/go.md Resolved
Comment thread docs/tutorials/go.md Resolved
Comment thread docs/tutorials/go.md
For the underlying key-value store we'll use
[badger](https://github.com/dgraph-io/badger), which is an embeddable,
persistent and fast key-value (KV) database.
Finally, make sure to add the bytes package to the `import` stanza at the top of `app.go`:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Finally, make sure to add the bytes package to the `import` stanza at the top of `app.go`:
Finally, make sure to add the bytes package to the `import` statement at the top of `app.go`:

?

Comment thread docs/tutorials/go.md Resolved
Comment thread docs/tutorials/go.md Resolved
Comment thread docs/tutorials/go-built-in.md Resolved
Comment thread docs/tutorials/go-built-in.md Resolved
Comment thread docs/tutorials/go-built-in.md Resolved
@jmalicevic

Copy link
Copy Markdown
Collaborator

Minor comments, but looks good.

Co-authored-by: Jasmina Malicevic <[email protected]>
@cason
cason merged commit 9eecf8a into v0.34.x Feb 7, 2023
@cason
cason deleted the mergify/bp/v0.34.x/pr-197 branch February 7, 2023 07:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants