Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Temporarily revert v0.6.7 changes #9

Merged
merged 9 commits into from
Jan 12, 2023
Merged

Conversation

thanethomson
Copy link
Contributor

@thanethomson thanethomson commented Jan 12, 2023

Closes #8

This is unfortunately not a simple revert, but it reverts all of the core logic/dependency changes after the v0.6.6 release.

@thanethomson thanethomson marked this pull request as ready for review January 12, 2023 16:17
@thanethomson thanethomson requested a review from a team as a code owner January 12, 2023 16:17
Copy link
Contributor

@sergio-mena sergio-mena left a comment

Choose a reason for hiding this comment

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

I have the impression this PR has been produced mechanically/methodically, so feel free to disregard any of my remarks if addressing them means hindering the mechanical part of it.

An exception is, I think, the one about the octal notation

@@ -25,7 +25,7 @@ func NewBadgerDB(dbName, dir string) (*BadgerDB, error) {
// the final directory to use for the database.
path := filepath.Join(dir, dbName)

if err := os.MkdirAll(path, 0o755); err != nil {
Copy link
Contributor

@sergio-mena sergio-mena Jan 12, 2023

Choose a reason for hiding this comment

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

Are we sure about this change?
Last time I was something similar was (I think) in one of Jacob's PR's, but his change also came with a change in the library used.

Copy link
Contributor Author

@thanethomson thanethomson Jan 12, 2023

Choose a reason for hiding this comment

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

The 0o755 -> 0755 change? If so, it's just a convention automatically set by the formatter. There are 3 different formats for octal literals that mean the same thing according to the Go spec: https://go.dev/ref/spec#Integer_literals

Copy link
Contributor Author

Choose a reason for hiding this comment

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

My current plan is to clean up the repo prior to cutting a v0.6.8 release so as to update the linter config, etc. to harmonize with what we have in the CometBFT repo.

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.

Temporarily revert all changes after v0.6.6
3 participants