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

Fix DAML_SDK_VERSION causing a network lookup #19231

Merged
merged 5 commits into from
May 21, 2024

Conversation

dylant-da
Copy link
Contributor

@dylant-da dylant-da commented May 17, 2024

When the env var DAML_SDK_VERSION is set, a network lookup is triggered. Now, we defer this lookup only to places where it's necessary.

We also backport split release artifactory support to 2.x

dylant-da and others added 5 commits May 15, 2024 16:54
…18271)

* Add resolution via artifactory, handle HTTP errors

* Replace origin with wrapErr in resolveReleaseVersionUnsafe

* Handle broken connections (e.g. no internet)

* drop comment, fix foldMap id to fold

* remove debugging writeFile calls

run-all-tests: true

* Rename partial field damlPath to damlPathUnsafe and add safe function

* support multiple possible installation locations

* update alternatives

* Wrap CouldNotResolveReleaseVersion into AssistantError in unsafe resolve
Copy link
Contributor

@moisesackerman-da moisesackerman-da left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes look good, thank you @dylant-da!

@dylant-da dylant-da merged commit 1d834f8 into main-2.x May 21, 2024
18 checks passed
@dylant-da dylant-da deleted the fix-versioning-in-ab9f5c7711 branch May 21, 2024 15:23
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

2 participants