mirror of
https://github.com/digital-asset/daml.git
synced 2024-11-10 10:46:11 +03:00
b4bda47e7d
* remote pkgs: resolve package names in data dependencies via ledger This implements part 3) of #8976. This adds the ability to specify package names/versions in daml.yaml in the data-dependencies stanza. They are being resolved via the project ledger and a daml.lock lock file. CHANGELOG_BEGIN [remote dependencies] Package names and versions, as well as package ID's are allowed in the `data-dependencies` list of `daml.yaml`. These packages are fetched from the project ledger. The auto-generated `daml.lock` file keeps track of the package name/version to package ID's resolution and should be checked in to version control of the project. CHANGELOG_END * added docs * Update compiler/damlc/lib/DA/Cli/Damlc/DependencyDb.hs Co-authored-by: Moritz Kiefer <moritz.kiefer@purelyfunctional.org> * Update docs/source/daml/reference/packages.rst Co-authored-by: Moritz Kiefer <moritz.kiefer@purelyfunctional.org> * suggestions Co-authored-by: Moritz Kiefer <moritz.kiefer@purelyfunctional.org> |
||
---|---|---|
.. | ||
src/DA/Daml/LF | ||
test/DA/Daml/LF/Ast | ||
BUILD.bazel | ||
daml-lf-ast.cabal |