Comments (7)
Thank you @zramsay! Paging the rest of the crew @adrianbrink @ebuchman @ethanfrey.
@zramsay in regards to your proposition
IMO we should have the version/version.go used by a package and all its binaries (i.e. same version). the Makefile can append a commit if we want to get fancy
In deed, I agree, and we currently have version/version.go populate the major, minor and plain versions https://github.com/tendermint/basecoin/blob/unstable/version/version.go#L1-L8
and then whatever tool can populate their specific commit hash as we've seen https://github.com/tendermint/basecoin/pull/230 and https://github.com/tendermint/basecoin/pull/223 do.
from coding.
Ethermint currently does that.
from coding.
ok great. Ideally each ethermint, basecoin, and tendermint (and other repos) all do it exactly the same way. That's what I'm aiming for with this repo. Same with cosmos/ethermint-archive#196, which is really an issue for this repo, since it applies to all repos
from coding.
The issue on ethermint is more to remind me to actually integrate that into the CI process. If you check the Makefile
you can see which linters I am running: https://github.com/tendermint/ethermint/blob/develop/Makefile#L69 .
Essentially all of them besides linelength and I would recommend that we are using that as the standard. The problem so will be that initially it will be a ton of work to update 25,000 lines in tendermint core so that it builds against the linters.
from coding.
I've raised the issue on tendermint core as well: tendermint/tendermint#616
from coding.
I just updated the makefile in cosmos Sdk to reflect repo versión and git commit in all binaries
from coding.
What if a repo has multiple binaries? Do they all share a version? What if you make a breaking change to the lib but not that binary? What if you make a breaking change to the binary but not the lib? All share one version ?
from coding.
Related Issues (20)
- deprecate `--root` from the stack HOT 3
- makefile standard HOT 2
- less bash scripts HOT 1
- Dist fuzzing - dist process should not be so deterministic. HOT 1
- Github label system HOT 9
- tools/Makefile standard HOT 2
- Reorganize Me
- Add discussion on CodeCov in github branch section HOT 1
- `make check` should fail if minimum versions aren't met HOT 1
- new name for make get_vendor_deps HOT 7
- consistency for where spec is location in a repo HOT 1
- handling funcs that return errors that are always nil
- What are the benefits of a types package? HOT 13
- Write a specification for our specifications HOT 1
- Prefix issues with what module they affect HOT 3
- Add a proposal-accepted tag HOT 6
- Automatic Changelogs HOT 10
- GitFlow HOT 4
- Design Patterns & Language HOT 2
- an install script for the whole stack
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coding.