Skip to content

v0.37.x: rename TMHOME to CMTHOME (backport #212) - #226

Merged
jmalicevic merged 6 commits into
v0.37.xfrom
mergify/bp/v0.37.x/pr-212
Feb 1, 2023
Merged

jmalicevic merged 6 commits into
v0.37.xfrom
mergify/bp/v0.37.x/pr-212

Conversation

@mergify

@mergify mergify Bot commented Jan 27, 2023

Copy link
Copy Markdown
Contributor

This is an automatic backport of pull request #212 done by Mergify.
Cherry-pick of 2f4a09a has failed:

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

You are currently cherry-picking commit 2f4a09a39.
  (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:
	new file:   .changelog/unreleased/breaking-changes/211-deprecate-tmhome.md
	modified:   .gitignore
	modified:   DOCKER/Dockerfile
	modified:   DOCKER/docker-entrypoint.sh
	modified:   Makefile
	renamed:    cmd/tendermint/commands/compact.go -> cmd/cometbft/commands/compact.go
	renamed:    cmd/tendermint/commands/debug/debug.go -> cmd/cometbft/commands/debug/debug.go
	renamed:    cmd/tendermint/commands/debug/dump.go -> cmd/cometbft/commands/debug/dump.go
	renamed:    cmd/tendermint/commands/debug/io.go -> cmd/cometbft/commands/debug/io.go
	renamed:    cmd/tendermint/commands/debug/kill.go -> cmd/cometbft/commands/debug/kill.go
	renamed:    cmd/tendermint/commands/debug/util.go -> cmd/cometbft/commands/debug/util.go
	renamed:    cmd/tendermint/commands/gen_node_key.go -> cmd/cometbft/commands/gen_node_key.go
	renamed:    cmd/tendermint/commands/gen_validator.go -> cmd/cometbft/commands/gen_validator.go
	renamed:    cmd/tendermint/commands/init.go -> cmd/cometbft/commands/init.go
	renamed:    cmd/tendermint/commands/light.go -> cmd/cometbft/commands/light.go
	renamed:    cmd/tendermint/commands/probe_upnp.go -> cmd/cometbft/commands/probe_upnp.go
	renamed:    cmd/tendermint/commands/reindex_event.go -> cmd/cometbft/commands/reindex_event.go
	renamed:    cmd/tendermint/commands/reindex_event_test.go -> cmd/cometbft/commands/reindex_event_test.go
	renamed:    cmd/tendermint/commands/replay.go -> cmd/cometbft/commands/replay.go
	renamed:    cmd/tendermint/commands/reset.go -> cmd/cometbft/commands/reset.go
	renamed:    cmd/tendermint/commands/reset_test.go -> cmd/cometbft/commands/reset_test.go
	renamed:    cmd/tendermint/commands/rollback.go -> cmd/cometbft/commands/rollback.go
	renamed:    cmd/tendermint/commands/root.go -> cmd/cometbft/commands/root.go
	renamed:    cmd/tendermint/commands/root_test.go -> cmd/cometbft/commands/root_test.go
	renamed:    cmd/tendermint/commands/run_node.go -> cmd/cometbft/commands/run_node.go
	renamed:    cmd/tendermint/commands/show_node_id.go -> cmd/cometbft/commands/show_node_id.go
	renamed:    cmd/tendermint/commands/show_validator.go -> cmd/cometbft/commands/show_validator.go
	renamed:    cmd/tendermint/commands/testnet.go -> cmd/cometbft/commands/testnet.go
	renamed:    cmd/tendermint/commands/version.go -> cmd/cometbft/commands/version.go
	renamed:    cmd/tendermint/main.go -> cmd/cometbft/main.go
	modified:   config/toml.go
	modified:   docs/tendermint-core/configuration.md
	modified:   docs/tendermint-core/running-in-production.md
	modified:   docs/tendermint-core/using-tendermint.md
	modified:   networks/local/localnode/wrapper.sh
	modified:   rpc/openapi/openapi.yaml
	modified:   test/app/clean.sh
	modified:   test/app/test.sh
	modified:   test/e2e/README.md
	modified:   test/e2e/docker/Dockerfile
	modified:   test/e2e/node/main.go

Unmerged paths:
  (use "git add/rm <file>..." as appropriate to mark resolution)
	deleted by us:   cmd/cometbft/commands/inspect.go
	both modified:   config/config.go

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

* Renames cmd/tendermint to cmd/cometbft

* Replacing TMHOME for CMTHOME. On reading the environment variable we still try TMHOME if CMTHOME is not found. TMHOME is deprecated and will be removed in the future releases.

* Include TMHOME deprecation in the changelog

* Updating the config

* updating uses of .tendermint to .cometbft

* Updating the Makefile

* Fix test of debug level flags.

* Update .changelog/unreleased/breaking-changes/211-deprecate-tmhome.md

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

---------

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

# Conflicts:
#	cmd/cometbft/commands/inspect.go
#	config/config.go
@mergify
mergify Bot requested a review from a team as a code owner January 27, 2023 18:02
@mergify mergify Bot added the conflicts label Jan 27, 2023
@thanethomson thanethomson changed the title main: rename TMHOME to CMTHOME (backport #212) v0.37.x: rename TMHOME to CMTHOME (backport #212) Jan 27, 2023
@jmalicevic

Copy link
Copy Markdown
Collaborator

Add fix from #237

@jmalicevic jmalicevic self-assigned this Jan 31, 2023
@jmalicevic jmalicevic added rename Renaming our fork and removed conflicts labels Jan 31, 2023
@jmalicevic

Copy link
Copy Markdown
Collaborator

I double checked that its all ok but as I worked on it, better someone else approve it.

@sergio-mena sergio-mena left a comment

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.

I just did a quick check. Looking good :-)

@jmalicevic
jmalicevic merged commit bdb719f into v0.37.x Feb 1, 2023
@jmalicevic
jmalicevic deleted the mergify/bp/v0.37.x/pr-212 branch February 1, 2023 19:37
hvanz pushed a commit that referenced this pull request Feb 3, 2023
* main: rename TMHOME to CMTHOME (#212)

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

Co-authored-by: Lasaro <[email protected]>
Co-authored-by: Jasmina Malicevic <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rename Renaming our fork

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants