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

feat(package): package upload uses REST by default #159

Merged
merged 1 commit into from
Oct 18, 2023

Conversation

line-o
Copy link
Member

@line-o line-o commented Oct 17, 2023

fixes #5

xst package install <packages..> will now use exist-db's REST API by default and will fallback to XML-RPC only if REST is not available. This allows uploads of XAR packages larger than 500MB.

Setting --rest will force uploads to use the REST endpoint and installation wil fail when it is deactivated on the target instance.

Setting --xmlrpc or --rpc on the other hand will always use XML-RPC but limits the size of installable XARs.

fixes eXist-db#5

`xst package install <packages..>` will now use exist-db's REST API by
default and will fallback to XML-RPC only if REST is not available.
This allows uploads of XAR packages larger than 500MB.

Setting `--rest` will _force_ uploads to use the  REST endpoint and
installation wil fail when it is deactivated on the target instance.

Setting `--xmlrpc` or `--rpc` on the other hand will always use XML-RPC
but limits the size of installable XARs.
@line-o line-o requested review from a team and windauer October 17, 2023 22:43
@windauer windauer merged commit 24cb0cc into eXist-db:main Oct 18, 2023
15 checks passed
@github-actions
Copy link

🎉 This PR is included in version 1.9.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@line-o line-o deleted the feat/install-rest branch November 21, 2023 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

xst install fails for large XAR packages
2 participants