Commit Graph

37 Commits

Author SHA1 Message Date
Stefano Baghino
17ed6e4d1e
Display latest version by semantic version (#14320)
By default, the Github release badge by shields.io displays the latest
available asset chronologically. We want to advertise mainly the latest
ordering by semantic versioning, rather.

changelog_begin
changelog_end
2022-07-01 13:32:13 +00:00
Andreas Herrmann
9ba81d1596
Document how to x64 binaries on M1 MacOS. (#14138)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Andreas Herrmann <andreas.herrmann@tweag.io>
2022-06-09 14:50:54 +02:00
Moisés Ackerman
e62bb29e9c
Update macOS nix setup to use 'trusted-users' option (#14036) 2022-05-31 16:24:14 +00:00
Andreas Herrmann
7a59176cdb
Add the configuration steps to the Windows instructions (#13736)
changelog_begin
changelog_end

Co-authored-by: Andreas Herrmann <andreas.herrmann@tweag.io>
2022-04-28 15:40:45 +00:00
Gary Verhaegen
7f35d3dc27
update daml.com URLs (#13226)
Requested by Olivia Yu.

CHANGELOG_BEGIN
CHANGELOG_END
2022-03-09 18:15:40 +00:00
Raymond Roestenburg
e4d05e7924
Notes for macOS setup of Nix in the main README. (#13051)
* Notes for macOS setup of Nix.

* Some more notes on importing a project in Intellij.

CHANGELOG_BEGIN
CHANGELOG_END
2022-03-02 09:49:12 +01:00
Sofia Faro
3c8a6468fb
Tell users to use --install-assistant=yes (#12507)
* Tell users to use --install-assistant=yes

`daml install --activate` is deprecated since forever, we tell
users to use `daml install --install-assistant=yes` instead.

changelog_begin
changelog_end

* modernise error message somewhat

* add 'current'
2022-01-20 13:59:53 +00:00
Gary Verhaegen
ea55ea2d14
Further copyright updates (#12249)
Somewhat error-prone, so please review carefully.

Reasons we need this:

- Some file types are not properly handled by the script.
- The only exclusion mechanism we currently have (`NO_AUTO_COPYRIGHT`)
  is overly coarse.

CHANGELOG_BEGIN
CHANGELOG_END
2022-01-04 16:32:17 +01:00
Moritz Kiefer
5cb857d902
Release EE SDK tarballs and installer (#9086)
* Release EE SDK tarballs and installer

As before, no way of testing this. I’ll do a snapshot afterwards.

changelog_begin
changelog_end

* .

changelog_begin
changelog_end

* .

changelog_begin
changelog_end

* Rename EE artifacts

changelog_begin
changelog_end
2021-03-11 14:49:48 +01:00
Gary Verhaegen
89cbd7d572
readme: send to discuss instead of so (#8939)
CHANGELOG_BEGIN
CHANGELOG_END
2021-02-24 17:59:54 +00:00
Gary Verhaegen
ce8c38bac1
copyright updates (#8610)
CHANGELOG_BEGIN
CHANGELOG_END
2021-01-22 15:03:36 +00:00
Bernhard Elsner
cda93db944
Daml case and logo (#8433)
* Replace many occurrences of DAML with Daml

* Update docs logo

* A few more CLI occurrences

CHANGELOG_BEGIN
- Change DAML capitalization and docs logo
CHANGELOG_END

* Fix some over-eager replacements

* A few mor occurrences in md files

* Address comments in *.proto files

* Change case in comments and strings in .ts files

* Revert changes to frozen proto files

* Also revert LF 1.11

* Update get-daml.sh

* Update windows installer

* Include .py files

* Include comments in .daml files

* More instances in the assistant CLI

* some more help texts
2021-01-08 12:50:15 +00:00
Gary Verhaegen
93f449d245
rename master to main (#8245)
As we strive for more inclusiveness, we are becoming less comfortable
with historically-charged terms being used in our everyday work.

This is targeted for merge on Dec 26, _after_ the necessary
corresponding changes at both the GitHub and Azure Pipelines levels.

CHANGELOG_BEGIN

- DAML Connect development is now conducted from the `main` branch,
  rather than the `master` one. If you had any dependency on the
  digital-asset/daml repository, you will need to update this parameter.

CHANGELOG_END
2020-12-27 14:19:07 +01:00
Moritz Kiefer
01fd1ef9f3
Undamlify README (#7615)
As part of the great renaming, this removes the mention of DAML SDK in
favor of SDK.

changelog_begin
changelog_end
2020-10-12 10:53:55 +02:00
Gary Verhaegen
8539873d84
document shared memory segment issue (#6546)
document shared memory segment issue

After discussion with @SamirTalwar-DA, we agree the CI script to clear
memory segments is a bit too dangerous to make it easy to run on
developer machines. Still, developers may run into similar issues if
they run lots of tests and/or do not reboot their laptop frequently.
On developer laptops, we  usually spawn one PostgreSQL instance per
build/test that needs it (as opposed to CI where we create a single one
for the entire build; see `build.sh`), so they can actually build up
fairly quickly in some scenarios.

As an alternative, I have added a section to the README to cover what to
do if that issue happens.

CHANGELOG_BEGIN
CHANGELOG_END
2020-06-30 17:48:14 +02:00
Moritz Kiefer
2c1d4cb805
Fix nix installation (#6400)
Nix now requires -L, I’ve gone ahead and just normalized everything to
use -sfL which we were already using in one place.

changelog_begin
changelog_end
2020-06-18 10:34:08 +02:00
Brian Healey
46e81d99a4
Trivial whitespace change to readme to trigger updated changelog entry (#6393)
CHANGELOG_BEGIN
[DAML Integration Kit]
- LfValueTranslation.Cache now requires separate configuration of lfValueTranslationEventCache and lfValueTranslationContractCache
CHANGELOG_END

Signed-off-by: Brian Healey <brian.healey@digitalasset.com>
2020-06-18 08:12:14 +02:00
Gary Verhaegen
878429e3bf
update copyright notices to 2020 (#3939)
copyright update 2020

* update template
* run script: `dade-copyright-headers update .`
* update script
* manual adjustments
* exclude frozen proto files from further header checks (by adding NO_AUTO_COPYRIGHT files)
2020-01-02 21:21:13 +01:00
Brian Healey
2caa0dbfc5 README reformat on line break (#3892)
CHANGELOG_BEGIN
- [DAML Ledger Integration Kit] Move to asyncronous package management service (#3806)
- [DAML Ledger Integration Kit] Fix indexer crash on duplicate submission.  See #3847
- [DAML Ledger Integration Kit] Standardize and cleanup metric names to use underscores that are compatible with Prometheus
- [DAML Ledger Integration Kit] Add FailingCommandsIT and CommandSubmissionCompletion to Ledger test tool suite. Some of the tests previously part of the CommandService Ledger API Test Tool suite have been moved to a new home in CommandSubmissionCompletion to reflect the fact that those use the submission/completion workflow instead of leveraging the submit-and-wait alternatives.
CHANGELOG_END

Signed-off-by: Brian Healey <brian.healey@digitalasset.com>
2019-12-18 15:22:49 +00:00
Andreas Herrmann
33e47828e3
Bazel 1.1 (#3249)
* bazel: 0.28.1 --> 1.1.0

* bazel-watcher sha256

* Fix missing line in patch

* proto_source_root --> strip_import_prefix

See https://github.com/bazelbuild/bazel/issues/7153 for details.

* Update rules_nixpkgs

Required to avoid errors of the form
```
ERROR: An error occurred during the fetch of repository 'node_nix':
   parameter 'sep' may not be specified by name, for call to method split(sep, maxsplit = None) of 'string'
```

and
```
ERROR: An error occurred during the fetch of repository 'node_nix':
   Traceback (most recent call last):
	File "/private/var/tmp/_bazel_runner/17d2b3954f1c6dcf5414d5453467df9a/external/io_tweag_rules_nixpkgs/nixpkgs/nixpkgs.bzl", line 149
		_execute_or_fail(repository_ctx, <3 more arguments>)
	File "/private/var/tmp/_bazel_runner/17d2b3954f1c6dcf5414d5453467df9a/external/io_tweag_rules_nixpkgs/nixpkgs/nixpkgs.bzl", line 318, in _execute_or_fail
		fail(<1 more arguments>)

Cannot build Nix attribute 'nodejs'.
Command: [/Users/runner/.nix-profile/bin/nix-build, /private/var/tmp/_bazel_runner/17d2b3954f1c6dcf5414d5453467df9a/external/node_nix/nix/bazel.nix, "-A", "nodejs", "--out-link", "bazel-support/nix-out-link", "-I", "nixpkgs=/private/var/tmp/_bazel_runner/17d2b3954f1c6dcf5414d5453467df9a/external/nixpkgs/nixpkgs"]
Return code: 1
Error output:
src/main/tools/process-tools.cc:173: "setitimer": Invalid argument
```

* Update rules_scala

* .proto has been removed, use [ProtoInfo] instead

See
https://docs.bazel.build/versions/1.1.0/be/protocol-buffer.html#proto_library

* python3_nix add nix_file attribute

To avoid the following error

```
ERROR: /home/aj/tweag.io/da/da-bazel-1.1/BUILD:66:1: //:nix_python3_runtime depends on @python3_nix//:bin/python in repository @python3_nix which failed to fetch. no such package '@python3_nix//': Traceback (most recent call last):
        File "/home/aj/.cache/bazel/_bazel_aj/5f825ad28f8e070f999ba37395e46ee5/external/io_tweag_rules_nixpkgs/nixpkgs/nixpkgs.bzl", line 149
                _execute_or_fail(repository_ctx, <3 more arguments>)
        File "/home/aj/.cache/bazel/_bazel_aj/5f825ad28f8e070f999ba37395e46ee5/external/io_tweag_rules_nixpkgs/nixpkgs/nixpkgs.bzl", line 318, in _execute_or_fail
                fail(<1 more arguments>)

Cannot build Nix attribute 'python3'.
Command: [/home/aj/.nix-profile/bin/nix-build, "-E", "import <nixpkgs> { config = {}; overlays = []; }", "-A", "python3", "--out-link", "bazel-support/nix-out-link", "-I", "nixpkgs=/home/aj/.cache/bazel/_bazel_aj/5f825ad28f8e070f999ba37395e46ee5/external/nixpkgs/nixpkgs"]
Return code: 1
Error output:
error: anonymous function at /home/aj/.cache/bazel/_bazel_aj/5f825ad28f8e070f999ba37395e46ee5/external/nixpkgs/nixpkgs.nix:3:1 called with unexpected argument 'config', at (string):1:1
```

* rules_haskell unnamed string.split(_, maxsplit = _)

The keyword argument may no longer be named.

* string.replace(_, _, maxsplit = _) may not be named

* Move proto sources from deps to data

Fixes

```
ERROR: /home/aj/tweag.io/da/da-bazel-1.1/daml-lf/archive/BUILD.bazel:150:1: in deps attribute of scala_test rule //daml-lf/archive:daml_lf_archive_reader_tests_test_suite_src_test_scala_com_digitalasset_daml_lf_archive_DecodeV1Spec.scala: '//daml-lf/archive:daml_lf_1.6_archive_proto_srcs' does not have mandatory providers: 'JavaInfo'. Since this rule was created by the macro 'da_scala_test_suite', the error might have been caused by the macro implementation
```

* Define sha256 for haskell_ghc__paths

Bazel 1.1.0 fails on missing hashes.

* Disable --incompatible_windows_native_test_wrapper

* //compiler/daml-extension don't modify sources

Modifying sources in-place can cause issues on Windows, where build
actions are not sandboxed and changes on sources can affect other build
steps.

* bazel-genfiles --> bazel-bin

The bazel-genfiles symlink has been removed since Bazel 1.0.
See https://github.com/bazelbuild/bazel/issues/8651

* Mark dev_env_tool repository rule as configure

See
https://docs.bazel.build/versions/1.1.0/skylark/lib/globals.html#repository_rule

* Move data deps into data attribute

* Mark dev_env_tool as local = True

* Manually fetch @makensis_dev_env
2019-11-11 10:06:03 +01:00
Darko Pilav
1a84c007e5
Minor Docs fixes (#2277)
* Fix typo in README.md and stale link in CONTRIBUTING.md

* Fix minor typos in quickstart

* Fix various minor typos/mistakes in DAML Intro

* Make DAML code in quickstart-java example cleaner

Also update module hash as well as screenshots in docs
2019-07-25 16:02:42 +02:00
Moritz Kiefer
c66211d034
Document Haskell profiling and default to -fprof-auto (#1971) 2019-07-02 14:51:09 +02:00
Stefano Baghino
2bb9276ba7 Replace download shield in README (#1968) 2019-07-02 13:48:46 +01:00
Moritz Kiefer
7848b760d5 Update the state of the Windows SDK (#1773)
The defender warning seems to be gone in my tests.
2019-06-20 07:25:51 +00:00
Sofus Mortensen
3cfa0f7499 added tip/hack on how to get build working first time on mac (thx mor… (#1693)
* added tip/hack on how to get build working first time on mac (thx morritz)

* fix da-sdk-head -> daml-sdk-head
2019-06-17 11:03:02 +02:00
DavidM-D
4d83ff2c58 Fixed the windows installation instructions (#976) 2019-05-09 08:38:29 +02:00
Neil Mitchell
63c153ab3a
Update the README with instructions to install and use a local version (#688)
* Update the README with instructions to install and use a local version

* Add a warning about Windows earlier
2019-04-25 12:10:44 +01:00
Brian Healey
aa35cf676d
***NO_CI*** download sdk badge (#269)
* ***NO_CI*** download sdk badge

* correct download sdk link
2019-04-12 13:16:15 -04:00
Brian Healey
abede0923b
Apache2 badge (#272) 2019-04-05 20:48:32 -04:00
Brian Healey
550dde579c
Azure badges for daml (#267)
* Azure badges for daml

* Azure badges for damli correct linkwqs
2019-04-05 16:43:18 -04:00
Beth Aitman
be177b39d9
Make it clearer which are end user and contrib sections (#253) 2019-04-05 16:35:22 +02:00
Beth Aitman
8ab830a93d
Add mention of cd to setup instructions (#245)
* Add mention of cd to setup instructions

* Making instructions unambiguous

* Even clearer instructions

Co-Authored-By: bethaitman-da <42940582+bethaitman-da@users.noreply.github.com>
2019-04-05 14:40:15 +02:00
Remy
7a5dc1ba18
minor README.md improvment (#228)
* add a more visible link to www.daml.com
* add a short description about what is daml.
2019-04-05 08:55:39 +02:00
Beth Aitman
35a84c362d
Correct details about what bazel is doing (#227) 2019-04-04 22:18:06 +02:00
Beth Aitman
40ad0026ba
Tidying up the README (#196)
* Tidying up the README

* Tidying contributing page as well

* Apply review suggestion

Co-Authored-By: bethaitman-da <42940582+bethaitman-da@users.noreply.github.com>

* Address more review comments

* Address review comment
2019-04-04 18:04:12 +02:00
Tom Payne
c9147ed0da Fix repo path 2019-04-04 14:34:31 +02:00
Digital Asset GmbH
05e691f558 open-sourcing daml 2019-04-04 09:33:38 +01:00