Open Yakiyo opened 1 year ago
dart-semver v2 - https://github.com/Yakiyo/dart-semver.rs/pull/1
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
A working index for available sdk versions
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