forked from tendermint/tm-db
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into performance
- Loading branch information
Showing
23 changed files
with
217 additions
and
58 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
# CODEOWNERS: https://help.github.com/articles/about-codeowners/ | ||
|
||
# Everything goes through Anton and Tess. | ||
* @melekes @tessr | ||
* @alexanderbez @cmwaters @creachadair @marbar3778 @tychoish @williambanfield |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,4 +11,5 @@ | |
# Output of the go coverage tool, specifically when used with LiteIDE | ||
*.out | ||
|
||
.idea | ||
.idea | ||
vendor/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,15 @@ | ||
queue_rules: | ||
- name: default | ||
conditions: | ||
- base=master | ||
- label=S:automerge | ||
|
||
pull_request_rules: | ||
- name: automerge to master with label S:automerge and branch protection passing | ||
conditions: | ||
- base=master | ||
- label=S:automerge | ||
actions: | ||
merge: | ||
queue: | ||
method: squash | ||
strict: true | ||
name: default |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# How To Release tm db | ||
|
||
This document provides a step-by-step guide for creating a release of tm-db. | ||
|
||
## 1. Update the changelog | ||
|
||
Open the `CHANGELOG.md` at the root of the repository. | ||
Amend the top of this file with a section for the latest version (0.6.x etc). | ||
Be sure to include any bug fixes, improvements, dependency upgrades, and breaking changes included in this version. | ||
(It's OK to exclude changes to tooling dependencies, like updates to Github Actions.) | ||
Finally, create a pull request for the changelog update. | ||
Once the tests pass and the pull request is approved, merge the change into master. | ||
|
||
## 2. Tag the latest commit with the latest version | ||
|
||
tm-db is provided as a golang [module](https://blog.golang.org/publishing-go-modules), which rely on git tags for versioning information. | ||
|
||
Tag the changelog commit in master created in step 1 with the latest version. | ||
Be sure to prefix the version tag with `v`. For example, `v0.6.5` for version 0.6.5. | ||
This tagging can be done [using github](https://docs.github.com/en/desktop/contributing-and-collaborating-using-github-desktop/managing-commits/managing-tags#creating-a-tag) or [using git](https://git-scm.com/book/en/v2/Git-Basics-Tagging) on the command line. | ||
|
||
Note that the golang modules tooling expects tags to be immutable. | ||
If you make a mistake after pushing a tag, make a new tag and start over rather than fix and re-push the old tag. | ||
## 3. Create a github release | ||
|
||
Finally, create a github release. | ||
To create a github release, follow the steps in the [github release documentation](https://docs.github.com/en/github/administering-a-repository/releasing-projects-on-github/managing-releases-in-a-repository#creating-a-release). | ||
|
||
When creating the github release, select the `Tag version` created in step 2. | ||
Use the version tag as the release title and paste in the changelog information for this release in the `Describe this release` section. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,37 @@ | ||
module github.com/tendermint/tm-db | ||
|
||
go 1.12 | ||
go 1.17 | ||
|
||
require ( | ||
github.com/cosmos/gorocksdb v1.2.0 | ||
github.com/dgraph-io/badger/v2 v2.2007.2 | ||
github.com/facebookgo/ensure v0.0.0-20160127193407-b4ab57deab51 // indirect | ||
github.com/facebookgo/stack v0.0.0-20160209184415-751773369052 // indirect | ||
github.com/facebookgo/subset v0.0.0-20150612182917-8dac2c3c4870 // indirect | ||
github.com/gogo/protobuf v1.3.2 | ||
github.com/golang/protobuf v1.4.3 // indirect | ||
github.com/google/btree v1.0.0 | ||
github.com/jmhodges/levigo v1.0.0 | ||
github.com/stretchr/testify v1.7.0 | ||
github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 | ||
github.com/tecbot/gorocksdb v0.0.0-20191217155057-f0fad39f321c | ||
go.etcd.io/bbolt v1.3.5 | ||
google.golang.org/grpc v1.35.0 | ||
go.etcd.io/bbolt v1.3.6 | ||
google.golang.org/grpc v1.44.0 | ||
) | ||
|
||
require ( | ||
github.com/DataDog/zstd v1.4.1 // indirect | ||
github.com/cespare/xxhash v1.1.0 // indirect | ||
github.com/davecgh/go-spew v1.1.1 // indirect | ||
github.com/dgraph-io/ristretto v0.0.3-0.20200630154024-f66de99634de // indirect | ||
github.com/dgryski/go-farm v0.0.0-20190423205320-6a90982ecee2 // indirect | ||
github.com/dustin/go-humanize v1.0.0 // indirect | ||
github.com/golang/snappy v0.0.4 // indirect | ||
github.com/pkg/errors v0.8.1 // indirect | ||
github.com/pmezard/go-difflib v1.0.0 // indirect | ||
golang.org/x/net v0.0.0-20201021035429-f5854403a974 // indirect | ||
golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f // indirect | ||
golang.org/x/text v0.3.3 // indirect | ||
google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013 // indirect | ||
google.golang.org/protobuf v1.25.0 // indirect | ||
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c // indirect | ||
) | ||
|
||
// Breaking changes were released with the wrong tag (use v0.6.6 or later). | ||
retract v0.6.5 |
Oops, something went wrong.