Skip to content

Temporarily revert v0.6.7 changes#9

Merged
thanethomson merged 9 commits intomainfrom
thane/8-revert-v0.6.7
Jan 12, 2023
Merged

Temporarily revert v0.6.7 changes#9
thanethomson merged 9 commits intomainfrom
thane/8-revert-v0.6.7

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 and others added 8 commits January 12, 2023 07:39
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>
Signed-off-by: Thane Thomson <connect@thanethomson.com>
@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
Collaborator

@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

// the final directory to use for the database.
path := filepath.Join(dir, dbName)

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

@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.

Signed-off-by: Thane Thomson <connect@thanethomson.com>
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