commitdev / zero

Allow startup developers to ship to production on day 1
https://getzero.dev
Mozilla Public License 2.0
566 stars 53 forks source link

ability to override or append to registry #469

Closed davidcheung closed 2 years ago

davidcheung commented 2 years ago

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

JeanPinzon commented 2 years ago

Working on it

JeanPinzon commented 2 years ago

Hey everyone! I created the PR #470 trying to solve it. Please let me know if I should change anything. Thanks!

bmonkman commented 2 years ago

PR merged and v0.2.5 released: https://github.com/commitdev/zero/releases/tag/v0.2.5 Thanks again!