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

partial version arguments #16

Open
2 of 3 tasks
Yakiyo opened this issue Jun 27, 2023 · 3 comments
Open
2 of 3 tasks

partial version arguments #16

Yakiyo opened this issue Jun 27, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@Yakiyo
Copy link
Owner

Yakiyo commented Jun 27, 2023

Currently dsm requires the version input to be an exact version string. as in "3.0.5" will work but "3.0" wont resolve to the latest patch of the version. This is partly due to a lack of available index for the dart sdk version and also because of the crate dart_semver, thats current being used to parse the semver, not supporting the syntax. fetching directly from gh api is not possible as it needs a lot of pagination (and time) to fetch all tags of the sdk and it hits the daily free ratelimit too.
For the index, i've been trying to make one at Yakiyo/dart-index and for the semver parsing, Yakiyo/dart-semver.rs needs fixing. So the current issues would

@Yakiyo Yakiyo added the enhancement New feature or request label Jun 27, 2023
@Yakiyo
Copy link
Owner Author

Yakiyo commented Jul 17, 2023

dart-semver v2 - Yakiyo/dart-semver.rs#1

@Yakiyo
Copy link
Owner Author

Yakiyo commented Jul 29, 2023

It seems there really is a list of available dart sdk versions. The following url needs to be used

https://www.googleapis.com/storage/v1/b/dart-archive/o?delimiter=%2F&prefix=channels%2F{{ channel }}%2Frelease%2F&alt=json

@Yakiyo
Copy link
Owner Author

Yakiyo commented Jul 31, 2023

A working index for available sdk versions

https://github.com/Yakiyo/dinx

@Yakiyo Yakiyo pinned this issue Jul 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant