daml/compiler/damlc/tests
Robin Krom b4bda47e7d
remote pkgs: resolve package names in data dependencies via ledger (#9270)
* 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>
2021-03-31 15:37:36 +02:00
..
bond-trading update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
daml-test-files Add try-catch syntax. (#9203) 2021-03-25 13:36:09 +00:00
dars Update checked in DAR to one built with DAML-LF 1.8 (#5021) 2020-03-16 16:54:19 +01:00
src remote pkgs: resolve package names in data dependencies via ledger (#9270) 2021-03-31 15:37:36 +02:00
BUILD.bazel damlc pkg: use cache for already present packages (#9193) 2021-03-22 13:57:38 +01:00
Colliding.daml update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
extract-diagnostics.sed Add sed script to help with updating the damlc ITs (#7727) 2020-10-19 14:26:59 +02:00
PkgManagerTest.daml pkgid data deps (#9153) 2021-03-18 12:17:38 +01:00
ReplMulti.daml update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
ReplTest2.daml update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
ReplTest.daml update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
ReplTestIndirect.daml update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
util.bzl update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00