Skip to content

Unify URL logic to simplify the code - #99

Draft
bodowd wants to merge 4 commits into
masterfrom
unify-url-logic
Draft

Unify URL logic to simplify the code#99
bodowd wants to merge 4 commits into
masterfrom
unify-url-logic

Conversation

@bodowd

@bodowd bodowd commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Summary of the changes / Why this is an improvement

Related to crate/jmx_exporter#102

We can simplify the logic in the URL code.
x64_linux is available under the platform specific url: https://cdn.crate.io/downloads/releases/cratedb/x64_linux/

See this comment: #96 (comment)

Checklist

bodowd added 2 commits August 11, 2026 13:07
fromVersion now will automatically figure out the correct url to
download a release from based on the system platform
@bodowd
bodowd force-pushed the unify-url-logic branch 3 times, most recently from c4b8262 to 80b42b4 Compare August 11, 2026 11:41
The test can fail if the expected cratedb release's tar.gz has not been
downloaded yet. We now make sure that the expected version has been
downloaded so that it is available locally for `fromFile`
@bodowd

bodowd commented Aug 11, 2026

Copy link
Copy Markdown
Contributor Author

Note for later: Should revisit this in future.

There are old tests that test against CrateDB 3.0.x
Latest is 6.4.2.

There have been breaking changes since and the tests in this repo are expecting functionality that is no longer in the latest release. The tests will need to be adapted for this.

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.

1 participant