Commit Graph

35 Commits

Author SHA1 Message Date
Akhil Kumar P 8014fc688e
Fix clang-format to specific version (#7350)
* Update clang-format install script

* Address PR comments

* Update clang-format install command

* Format makefile

* Use docker for formatting proto

* Comment out delimiter config

* Update contributing.md and .clang-format

Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
2020-10-27 10:04:34 +00:00
Alessio Treglia 839ee4f5e7
Stable Releases: Definition and Process (#6394)
Closes: #1728
Related to #6522
2020-07-14 10:28:53 +02:00
Marko b671bff594
proto: update docs (#6537)
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-07-01 15:53:11 +02:00
Cory 4e73e0f817
Update proto files & definitions in accordance with ADR023 (#6413)
* consolidate proto files into single directory, turn on PACKAGE_DIRECTORY_MATCH linting

* add third_party root for third party proto files

* move ibc proto files to top level folder, rename .proto files to types.proto as before

* update protocgen script, and run code generation

* move vesting proto definition to cosmos namespace, rename from types.proto in alignment with buf.build naming conventions

* update Makefile so proto dependencies are set with new structure when updated

* add comment for sed usage in makefile

* remove unused aliases of proto generated types

* add settings.json instructions to contributing.md for including protobuf paths

Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Aaron Craelius <aaron@regen.network>
2020-06-18 10:04:26 -07:00
Alexander Bezobchuk d17f5771c7
Revise Point Release Process (#6333)
* Update point release process

* Update CONTRIBUTING.md

Co-authored-by: Alessio Treglia <alessio@tendermint.com>

Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2020-06-03 15:16:40 +00:00
Marko 21a9cb9b28
ci: automate release post tag push (#6230) 2020-05-25 20:02:08 +02:00
Marko 7cf1efddbe
release: procedure change (#6148) 2020-05-05 18:47:05 -04:00
Alessio Treglia 680420432d
CONTRIBUTING.md: use git tag -a for release tags (#6143)
git describe by default use annotated tags.

Rationale:

  Annotated tags, however, are stored as full objects in the Git
  database. They’re checksummed; contain the tagger name, email,
  and date; have a tagging message; and can be signed and verified
  with GNU Privacy Guard (GPG). It’s generally recommended that you
  create annotated tags so you can have all this information; but
  if you want a temporary tag or for some reason don’t want to keep
  the other information, lightweight tags are available too.

From: https://git-scm.com/book/en/v2/Git-Basics-Tagging#tagging
2020-05-05 16:31:41 +02:00
Alessio Treglia 6469447d52
add pre-commit hook (#6041)
* add pre-commit hook

Co-authored-by: Gianguido Sora <gsora@users.noreply.github.com>

* add go tools installation notes

* Update CONTRIBUTING.md

* run both go mod and golangci-lint

* silence which

* add go.mod go.sum after go mod tidy

* update README

* look up golangci-lint specifically in GOPATH/bin

* don't run golangci-lint

* exclude proto files

Co-authored-by: Gianguido Sora <gsora@users.noreply.github.com>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-04-28 14:51:42 +00:00
Marko 4b3eb0ea98
ci: migrate long sims (#6084)
Cancel ci if no .go files have been touched. There is no clean way of
doing this so i opted to `exit 1` on the diff job if no go files were
changed and have builds depend on diff passing

- migrate proto checks  to github actions.
- providing make commands to use buf within docker.
-  test-sim-multi-seed-long migration to github actions. Follows same
  logic and only runs on release branches.
-  add protobuf section to CONTRIBUTING.md.
2020-04-28 16:13:36 +02:00
Arda Güçlü a7e28dec6a Merge PR #5392: Fix typos in the CONTRIBUTING.md 2019-12-12 10:46:14 -05:00
gamarin2 b18bd06a36 Merge PR #5379: New docs V1 (merge master-docs to master) 2019-12-10 09:29:46 -05:00
frog power 4000 cf9ae51635 Merge PR #5036: Code Owner Membership - Contributing Guidelines 2019-09-19 09:56:41 -04:00
Alexander Bezobchuk 7d42f62f90
Merge PR #4902: Changelog Flow Updates 2019-08-13 16:00:28 -04:00
Alexander Bezobchuk 43478167c6
Merge PR #4745: Update contributing doc 2019-07-19 16:24:39 +02:00
Marko 7bc705af85 ADR section to Contribution (#4703)
- Added a ADR section to the Contributing.md
- This will streamline and create a central palce for discussions
- Currently conversations are fragmented across platfroms and different forum posts,
  the aim here is to move it all to one place and create a document to be used as
  reference in the future for why SDK went in this direction.
2019-07-18 15:17:40 +01:00
frog power 4000 9c4b170038
Merge PR #4258: Contributing doc update
* R4R Contributing doc update

* Update CONTRIBUTING.md

Co-Authored-By: rigelrozanski <rigel.rozanski@gmail.com>
2019-05-06 15:32:19 -04:00
Alexander Bezobchuk b922d3c58b
Merge PR #4270: Update Point Release Procedure section 2019-05-04 10:42:59 -04:00
Alexander Bezobchuk f4a96fd6b6
Merge PR #4248: Update contribution doc 2019-05-01 13:09:00 -04:00
mircea-c 36dcd7b7ad Merge PR #4205: Mircea/update contributing md
* Update `CONTRIBUTING.md` branching strategy and release process

* Delete PRIORITIES.md

* Delete RELEASE_PROCESS.md

* Remove RELEASE_TEST_SCRIPT.md

* Update CONTRIBUTING.md

Co-Authored-By: mircea-c <mircea@tendermint.com>
2019-04-26 21:57:03 -04:00
Frank Yang 356e819f43 Fix typos and out-of-date info in CONTRIBUTING.md (#4132) 2019-04-16 15:27:45 +01:00
Alessio Treglia cdf2b7a7c5
gometalinter -> golangci-lint migration (#3933)
{,scripts/}Makefile:
- Remove gometalinter, install golangci-lint.
- Remove distinction between tools and devtools.
  Just tools is enough.
- test_lint -> lint
  Migrating away from underscore separated names.
- Remove unnecessary targets.
- Drop tendermint/lint. Incompatbile with golangci-lint
  and no longer necessary anyway.
- Fix misleading message in go-mod-cache.
- New ci-target to avoid download tools twice.
- Run tests with -mod=readonly.

Port tools/gometalinter.json to .golangci.yml
Update CircleCI config accordingly.

Closes: #3896
2019-03-19 17:52:43 +01:00
Alessio Treglia 6ce4d5efd1
replace dep with go mod (#3907)
Replace sha1sum with jack's gosum and get rid of
vendor-deps.
Also don't compute hash on vendor/ contents.
Instead hash go.sum.

Disable unconvert lint check. It does not
work very well with go mod.

Remove update_vendor_deps once and for all.

Upgrade to go 1.12

Closes: #3919 #3630
2019-03-18 13:45:25 +01:00
Jack Zampolin 0043912548 Merge PR #3338: Remove unused code and examples 2019-01-24 11:18:45 +01:00
Jack Zampolin 0453992ddb
Update contributing.md with new merge policy (#2789)
* Update contribuiting.md with new merge policy
2018-11-14 13:12:03 -08:00
Christopher Goes addd93b3e5 Add info on what PRs should be targeted where 2018-08-23 15:30:29 +02:00
Christopher Goes 97ae9632ba Move to CONTRIBUTING.md 2018-08-22 16:10:57 +02:00
Rigel d7231af9a6
update bullets 2018-07-23 13:52:03 -04:00
rigelrozanski a18bfff92f ... 2018-07-23 13:43:11 -04:00
rigelrozanski 99cf34a02a beefed up the contributing guide/PR-template 2018-07-23 13:33:47 -04:00
Dev Ojha 6cfef64382 Merge PR #1732: tools: add make {get, update, check}_dev_tools
This is so that validators can have a more minimal install, but we
can still install linters for developers. (And any other future dev
tools)
2018-07-18 10:20:24 +02:00
ValarDragon 2b72e3377a Clarify when to use table driven tests 2018-07-16 17:24:07 -07:00
ValarDragon 1edfb89423 contribution guide: Add guidelines for testing
Indicates to use require's and asserts, and to use table driven
tests, with error messages as described in #1664.

Closes #1664
2018-07-16 12:30:54 -07:00
Rigel 91dd972bbc Merge PR #1667: Update CONTRIBUTING.md 2018-07-13 19:35:29 +02:00
Rigel 2f508f5b28 Merge PR #1422: Add Contributing Guidelines
* Merge pull request #1422: Add Contributing Guidelines
* cwgoes comments
2018-06-30 04:04:29 +02:00