Closed davidcheung closed 2 years ago
Working on it
Hey everyone! I created the PR #470 trying to solve it. Please let me know if I should change anything. Thanks!
PR merged and v0.2.5 released: https://github.com/commitdev/zero/releases/tag/v0.2.5 Thanks again!
Problem: Currently registry is hardcoded, the struct is very simple right now https://github.com/commitdev/zero/blob/587d6f575532f5cdc1c5e6796ac4e8aab5ce78f5/internal/registry/registry.go#L3-L7 that means to build a module u must also build your own zero binary.
Potential solution: Maybe we can allow something like ~/.zero-registry.yaml, we can just add some annotations to the struct and parse the config, allowing users to customize registry for their own use