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

Package installations from several sources #234

Open
wants to merge 16 commits into
base: main
Choose a base branch
from

Conversation

line-o
Copy link
Member

@line-o line-o commented May 14, 2024

New

  • xst package install github-release <abbrev> [<version>]
    install a package from a GitHub release
  • xst package install registry <package>
    install a package from a package registry (also known as public-repo)
  • xst package install local <packages..>
    install packages from a local files

Breaking change

Calls to xst package install <packages..> need to be xst package install local <packages..>

New
`xst package install github-release <abbrev>`

Moved command
`xst package install <packages..>`
Replace with
`xst package install local <packages..>`
- improve visibility on light themed shells
- unify installation result and failure messages
- catch github HTTP errors
- add verbose and force flags
Match only attributes on the  package element to avoid conflicts with an XML-declaration for example.
The expressions to match version, abbrev and name now also work with
tags that spans multiple lines.
`xst package install registry <package> [<version>]`
- non-zero return code on error
- same output as other install methods
- tests adapted
- stream package contents to exist-db
- installation from github is now REST-only
The catch block in getRelease was only handling got errors and
therefore could not handle errors thrown because no or too many
assets were found.
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

Successfully merging this pull request may close these issues.

None yet

1 participant