Skip to content

Comments

fix(ubuntu): verify command line tools is the version we want#411

Closed
mikehardy wants to merge 1 commit intoReactiveCircus:mainfrom
mikehardy:ubuntu-24-cmdline-tools-latest
Closed

fix(ubuntu): verify command line tools is the version we want#411
mikehardy wants to merge 1 commit intoReactiveCircus:mainfrom
mikehardy:ubuntu-24-cmdline-tools-latest

Conversation

@mikehardy
Copy link
Contributor

@mikehardy mikehardy commented Oct 11, 2024

Per discussion with @ychescale9 - optionally update the cmdline-tools package if it is not the correct version

Right now there is a difference in the sdkmanager XML versions distributed by servers (v4) and handled by ubuntu-24 runner image pre-installed cmdline-tools sdkmanager (only handles v3), so this is already a problem, and for that reason I set the default to "true" - correctness over performance

But people can toggle it off if they want

@mikehardy
Copy link
Contributor Author

mikehardy commented Oct 11, 2024

This quieted down the sdkmanager errors related to XML version 4 being seen but tools only supporting up to version 3

the directory merely existing is not sufficient to say command
line tools will work, it may be an old version

get the version and explicitly check it, remove it so fresh
install will happen if it is not the desired version
@mikehardy
Copy link
Contributor Author

I updated this to main and made it so you can disable it with an input boolean, but I believe it is already causing a correctness issue so I left it as default true (correctness >> performance). Ready for review and either adoption or we can close if not interested @ychescale9

@mikehardy mikehardy closed this by deleting the head repository Feb 11, 2025
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