Cosmos-sdk: SDK Module Manager & Registry

Created on 15 Jun 2019  Â·  7Comments  Â·  Source: cosmos/cosmos-sdk

Summary

Create a cargo-like version for modules in a module.yaml file. The file in a module can be pushed to a source/website that indexes the module and allows users to query the module. Just like crate.io!

Problem Definition

  • Metadata for modules
  • build dependencies

Proposal

[package]
name = "module"
version = "0.36.0"
authors = ["Name Lastname <[email protected]>"]
license = "MIT/Apache-2.0"
description = "a module description"
homepage = "..."
repository = "..."
keywords = []
readme = "README.md"
module-dependencies = ["staking", "slashing", "distribution", "auth"]

For Admin Use

  • [ ] Not duplicate issue
  • [ ] Appropriate labels applied
  • [ ] Appropriate contributors tagged
  • [ ] Contributor assigned/self-assigned
dev-ux docs

Most helpful comment

Fission Labs will be applying for this as an outside grant.

All 7 comments

Seems like the solution proposed by @mircea-c was to add go.mod files on each module ? cc: @jackzampolin

@fedekunze this is _not_ the solution. Having a go.mod in each module only is applicable in the context of us having a separate repo just for modules where we version each specific module. Even still, these are orthogonal issues.

Fission Labs will be applying for this as an outside grant.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@alexanderbez is Atlas close enough to close this issue?

Yeah we can close this. I've already published x/bank 0.39.1 and will publish 0.39.2 later. I've started on x/auth too. Would be nice to get help from other folks to publish other modules.

I'll encourage people as much as possible. Would also like to writing into ICF service contracts.

Was this page helpful?
0 / 5 - 0 ratings