mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 01:07:18 +03:00
760f879e35
* Extract available snapshot versions from Github * Refactor slightly, add comments * Implement caching * Make getLatest commands query the minimum number of times from Github * lint * filter out prereleases, fix naming * Fix outdated reference `extractVersionsFromSnapshots` to extractReleases * Retrieve all versions so that getLatest can prune old versions' patches * Hide --snapshots, --all, and --force-reload flags from daml version * Get isPrerelease check correct way around * Thread UseCache to `daml install` and other commands * Refactor getEnvLatestStableSdkVersion to defer sdk version extraction * store envLatestStableSdkVersion thunk in struct so tests can override it * Read environment var early in getLatestStableSdkVersion I implemented this with `overrideWithEnvVarMaybe`, but it required some rather opaque abuse of `fmap pure`, `sequence`, and `join` * Replace hidden with internal so flags don't show up in help |
||
---|---|---|
.. | ||
daml-helper | ||
daml-project-config/DA/Daml/Project | ||
daml-sdk | ||
exe/DA/Daml | ||
integration-tests | ||
scala-daml-project-config | ||
src/DA/Daml/Assistant | ||
test/DA/Daml/Assistant | ||
BUILD.bazel | ||
daml-project-config.cabal | ||
get-daml.sh |