← 输入框|github.com|刷新
Skip to content

ability to override or append to registry #469

Closed

Description

@davidcheung

Problem:
Currently registry is hardcoded, the struct is very simple right now

type Registry []Stack
type Stack struct {
Name string
ModuleSources []string
}

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

Activity

  1. added
    good first issueGood first ticket, minimal dependencies
    zero-initTickets related to the zero init command
    on Jun 9, 2022
  2. JeanPinzon commented on Jun 13, 2022

    @JeanPinzon
    Contributor

    Working on it

  3. JeanPinzon commented on Jun 13, 2022

    @JeanPinzon
    Contributor

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

  4. bmonkman commented on Jun 14, 2022

    @bmonkman
    Contributor

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

  5. linked a pull request that will close this issueAbility to override registry #470on Jun 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood first ticket, minimal dependencieszero-initTickets related to the zero init command

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions