Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should be support branch for normal maintenance flow #321

Open
Thadir opened this issue Apr 19, 2023 · 0 comments
Open

Should be support branch for normal maintenance flow #321

Thadir opened this issue Apr 19, 2023 · 0 comments

Comments

@Thadir
Copy link

Thadir commented Apr 19, 2023

Currently, nomad-pack supports the following options:

  --ref=<string>
    Specific git ref of the registry or pack to be added. Supports tags,
    SHA, and the latest. If no ref is specified, it defaults to the latest. Running
    "nomad registry add" multiple times for the same ref is idempotent,
    however running "nomad-pack registry add" without specifying a
    ref, or when specifying @latest, is destructive, and will overwrite
    current @latest in the global cache. Using ref with a file path is not
    supported.

  --target=<string>
    A specific pack within the registry to be added.

But if your updating a template, you do not want to directly work on main but often in a branch. So adding the support for --branch or allow --ref to also try to go to the branches would be nice.

Example:
nomad-pack registry add community github.com/hashicorp/nomad-pack-community-registry --branch=feature/DEV-26331-add-templates

@Thadir Thadir changed the title Should be support branch for normal maintainance flwo Should be support branch for normal maintenance flow Apr 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant