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

subcommand "list" for butido release --from <STORE> list #143

Closed
christophprokop opened this issue Jan 18, 2023 · 1 comment · Fixed by #322
Closed

subcommand "list" for butido release --from <STORE> list #143

christophprokop opened this issue Jan 18, 2023 · 1 comment · Fixed by #322
Labels
enhancement New feature or request

Comments

@christophprokop
Copy link
Collaborator

butido release only support adding and removing packages but the frontend currently does not yet provide a means to list all current releases for a store (or for all stores? ;) )

@christophprokop christophprokop added the enhancement New feature or request label Jan 18, 2023
primeos-work added a commit to primeos-work/butido that referenced this issue Dec 1, 2023
The "butido release" command offers the subcommands "new" and "rm" but a
subcommand to list all releases was missing as that functionality is
available via the "butido db releases" command.
This isn't really intuitive so let's simply add "release list" as an
"alias" of the "db releases" command by reusing the existing code.

This resolves science-computing#143.

Signed-off-by: Michael Weiss <michael.weiss@eviden.com>
@primeos-work
Copy link
Member

I've added a "list" subcommand in #322 that reuses the "butido db releases" implementation:

$ butido release list -h
List releases

Usage: butido release list [OPTIONS]

Options:
      --csv                Format output as CSV
      --older-than <DATE>  List only releases older than DATE
      --newer-than <DATE>  List only releases newer than DATE
      --to <STORE>         List only releases to STORE
  -p, --package <PKG>      Only list releases for package PKG
  -h, --help               Print help (see more with '--help')

The existing implementation uses --to instead of --from but we could also, e.g., switch to --store and support both --from and --to as (hidden) aliases.

ammernico pushed a commit to ammernico/butido that referenced this issue Apr 30, 2024
The "butido release" command offers the subcommands "new" and "rm" but a
subcommand to list all releases was missing as that functionality is
available via the "butido db releases" command.
This isn't really intuitive so let's simply add "release list" as an
"alias" of the "db releases" command by reusing the existing code.

This resolves science-computing#143.

Signed-off-by: Michael Weiss <michael.weiss@eviden.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants