Skip to content

Rename Go package#14

Merged
thanethomson merged 2 commits intomainfrom
thane/11-rename-pkg
Jan 12, 2023
Merged

Rename Go package#14
thanethomson merged 2 commits intomainfrom
thane/11-rename-pkg

Conversation

@thanethomson
Copy link
Contributor

Closes #11

Signed-off-by: Thane Thomson <connect@thanethomson.com>
Signed-off-by: Thane Thomson <connect@thanethomson.com>
@thanethomson thanethomson marked this pull request as ready for review January 12, 2023 20:03
@thanethomson thanethomson requested a review from a team as a code owner January 12, 2023 20:03
@thanethomson thanethomson merged commit 28d45f7 into main Jan 12, 2023
GOTOOLS = github.com/golangci/golangci-lint/cmd/golangci-lint
PACKAGES=$(shell go list ./...)
INCLUDE = -I=${GOPATH}/src/github.com/tendermint/tm-db -I=${GOPATH}/src -I=${GOPATH}/src/github.com/gogo/protobuf/protobuf
INCLUDE = -I=${GOPATH}/src/github.com/CometBFT/CometBFT-db -I=${GOPATH}/src -I=${GOPATH}/src/github.com/gogo/protobuf/protobuf
Copy link
Collaborator

Choose a reason for hiding this comment

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

Lines 51-53 still contain Tendermint , is this ok?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for picking this up! I've fixed this in #16


grpcdb "github.com/tendermint/tm-db/remotedb/grpcdb"
protodb "github.com/tendermint/tm-db/remotedb/proto"
grpcdb "github.com/CometBFT/CometBFT-db/remotedb/grpcdb"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Line 39 and 49 refer to tmlibs?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think these kinds of references can be renamed in a follow-up when the docs are also updated.

db "github.com/tendermint/tm-db"
protodb "github.com/tendermint/tm-db/remotedb/proto"
db "github.com/CometBFT/CometBFT-db"
protodb "github.com/CometBFT/CometBFT-db/remotedb/proto"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Line 62 refers to tendermint docs.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Same here re: when we update the documentation references.

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.

Rename package in go.mod

2 participants