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

pebble-release-2.0: cmd/pebble: add version flag #4214

Open
wants to merge 1 commit into
base: pebble-release-2.0
Choose a base branch
from

Conversation

RaduBerinde
Copy link
Member

Add a version flag to pebble and pebble db which prints the supported format versions.

$ go run ./cmd/pebble --version
pebble benchmarking/introspection tool
supported Pebble format versions: 13-19
$ go run ./cmd/pebble db --version
DB introspection tools
supported Pebble format versions: 13-19

Add a version flag to `pebble` and `pebble db` which prints the
supported format versions.

```
$ go run ./cmd/pebble --version
pebble benchmarking/introspection tool
supported Pebble format versions: 13-19
$ go run ./cmd/pebble db --version
DB introspection tools
supported Pebble format versions: 13-19
```
@RaduBerinde RaduBerinde requested a review from jbowens December 27, 2024 17:26
@RaduBerinde RaduBerinde requested a review from a team as a code owner December 27, 2024 17:26
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@RaduBerinde
Copy link
Member Author

Some context: I plan to tag a v2.0 release based off of crl-release-24.3 plus this change, the upgrade command change, and a README update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants