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

create command to update installed packages #33

Open
line-o opened this issue Sep 9, 2022 · 3 comments · Fixed by #22
Open

create command to update installed packages #33

line-o opened this issue Sep 9, 2022 · 3 comments · Fixed by #22
Assignees
Labels
enhancement New feature or request

Comments

@line-o
Copy link
Member

line-o commented Sep 9, 2022

Is your feature request related to a problem? Please describe.

As a database admin I want to quickly update all installed packages.

Describe the solution you'd like

xst package update [--repo] [<packages>..]

packages is a space separated list of identifiers. Identifiers can be either the (abbreviated) name or the namespace URI of the package.

update all

  • xst package update

update one

  • xst package update monex
  • xst package update http://line-o/xq/dicey

use non-default repository for lookups

  • xst package update --repo https://localhost:8080/exist/apps/public-repo monex

Describe alternatives you've considered

To avoid having to move xst install to xst package install the command could also just be xst update.

Additional context

This feature request is a result of a slack discussion
A first implementation for the db query

@duncdrum
Copy link
Contributor

duncdrum commented Sep 9, 2022

i would stick with xst package update as it more clearly states what it does. xst update and xst upgrade should be reserved for updating and upgrading exist itself ;-)

@line-o
Copy link
Member Author

line-o commented Sep 9, 2022

@duncdrum very good point. Hadn't thought of that!

@line-o
Copy link
Member Author

line-o commented Jan 10, 2023

This is not done yet :)

@line-o line-o self-assigned this Nov 18, 2023
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