daml/daml-assistant
nickchapman-da aa53c30de1
New command: daml ledger fetch-dar (#5225)
* New comamnd: daml ledger fetch-dar

`daml ledger fetch-dar [PID] [PATH]`

Download a `Package` and it's dependencies from a ledger, given a root `packageId`, and re-construct a valid `.dar` file. Addresses issue #5037.

The original package names are not reconstructed.

CHANGELOG_BEGIN
CHANGELOG_END

* address some comments

* fix spello

* attempt: recoverPackageName

* recover main package name & version

* Try to fix integration tests on Windows

Co-authored-by: Moritz Kiefer <moritz.kiefer@purelyfunctional.org>
2020-03-27 18:04:14 +00:00
..
daml-helper New command: daml ledger fetch-dar (#5225) 2020-03-27 18:04:14 +00:00
daml-project-config/DA/Daml/Project replace DAML Authors with DA in copyright headers (#5228) 2020-03-27 01:26:10 +01:00
daml-sdk replace DAML Authors with DA in copyright headers (#5228) 2020-03-27 01:26:10 +01:00
exe/DA/Daml replace DAML Authors with DA in copyright headers (#5228) 2020-03-27 01:26:10 +01:00
integration-tests New command: daml ledger fetch-dar (#5225) 2020-03-27 18:04:14 +00:00
scala-daml-project-config replace DAML Authors with DA in copyright headers (#5228) 2020-03-27 01:26:10 +01:00
src/DA/Daml/Assistant replace DAML Authors with DA in copyright headers (#5228) 2020-03-27 01:26:10 +01:00
test/DA/Daml/Assistant replace DAML Authors with DA in copyright headers (#5228) 2020-03-27 01:26:10 +01:00
BUILD.bazel replace DAML Authors with DA in copyright headers (#5228) 2020-03-27 01:26:10 +01:00
daml-project-config.cabal update copyright notices to 2020 (#3939) 2020-01-02 21:21:13 +01:00
get-daml.sh replace DAML Authors with DA in copyright headers (#5228) 2020-03-27 01:26:10 +01:00