daml/docs/source
Andreas Herrmann fa0815bc11
Example export (#9756)
* Pretty print daml.yaml in Daml ledger export

changelog_begin
changelog_end

* Use dynamic port in example-export generation

* Add daml.yaml to Daml ledger export golden test

* Sort data-dependencies for reproducibility

* Replace hashes in data-dependencies with a placeholder

To avoid test failure when any of these change.

* normalize data-dependencies path in scala client

So that the bazel build action is more reproducible itself.

* Fix Scala 2.12 build

* Factor out deleteRecursively

changelog_begin
changelog_end

* Generate ledger export in temp-dir

Build actions are not sandboxed in Windows. The ledger export will also
created a directory `deps` to store all the DALFs in. On Windows this
directory may persist across Bazel builds and may cause errors due to
attempts to overwrite an existing directory.

To avoid these issues the ledger export is generated into a temporary
directory and only the wanted files are moved to the expected output
locations in the bazel execroot afterwards.

* Close source

* Use replace instead of replaceFirst

The latter matches regex pattern instead of just substring matching
which fails with Windows paths due to `\` being interpreted as an escape
character.

* Normalize Windows \ to Unix /

Co-authored-by: Andreas Herrmann <andreas.herrmann@tweag.io>
2021-05-21 09:36:25 +02:00
..
app-dev Delete "testing with scenarios" section (#9360) 2021-04-08 14:50:33 +02:00
concepts Add a ledger model page for exceptions. (#9396) 2021-05-19 09:43:18 +00:00
daml Delete "testing with scenarios" section (#9360) 2021-04-08 14:50:33 +02:00
daml-integration-kit Fix typos in docs (#8761) 2021-02-04 19:44:15 +01:00
daml-repl Daml case and logo (#8433) 2021-01-08 12:50:15 +00:00
daml-script Hint for loading Daml Script example code (#9466) 2021-04-22 13:41:46 +02:00
deploy link to postgres docs (#9353) 2021-04-09 09:28:58 +02:00
getting-started update GPG public key (#9488) 2021-04-27 13:40:02 +02:00
json-api Fix typos in docs (#8761) 2021-02-04 19:44:15 +01:00
ops Add pruning stabilization to ledger API changelog (#9126) 2021-03-12 16:49:12 +00:00
support LF: Release LF 1.13 (#9705) 2021-05-18 17:30:34 +02:00
tools Example export (#9756) 2021-05-21 09:36:25 +02:00
triggers Fix typos in docs (#8761) 2021-02-04 19:44:15 +01:00
upgrade Use DA.Map in triggers if available (#9023) 2021-03-04 14:15:01 +01:00
index.rst Add golden test for example Daml ledger export (#9732) 2021-05-19 12:02:14 +00:00