Commit Graph

677 Commits

Author SHA1 Message Date
mziolekda
6112752c19
remove dar files that aren't ued by anyone (#18394) 2024-02-06 11:02:17 +01:00
azure-pipelines[bot]
c38d7c9bce
rotate release duty after 2024-01-31 (#18338)
@gerolf-da is taking care of [testing](https://github.com/digital-asset/daml/blob/main/release/RELEASE.md) today's release, so they get pushed back to the end of the line.

Please do not merge this before the release is fully tested.

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-01-31 14:51:41 +01:00
Samuel Williams
ae098ce147
Reduce artifacts and dependencies on ledger-api-core (#18332)
* Reduce artifacts and dependencies on ledger-api-core

* Remove unnecessary bazel dep
2024-01-31 11:56:30 +00:00
mziolekda
90d90ea759
remove scala bindings and ledger-api-client (#18301)
* remove scala bindings from daml-script

* remove bindings-pekko

* clean test-common

* clean rx-java

* clean the rest

* remove ledger and scala-bindings

* format

* correcting from code-review
2024-01-29 17:28:14 +00:00
mziolekda
779e84987a
use canton ledger-client (#18025)
* PoC to demonstrate the use of canton ledger-client

run-all-tests: true

* make it compile on canton-3

* remove all remnants of ledger-api-* from daml-script

* make the whole projet build

* Convert daml2-script and daml3-script to ledger-api-v2 (partially)

* Transfer some tests over to v2

* Update next batch of tests to api-v2

* Add temporary maven artifacts.

* Add maven tags to canton

* Format canton build file, rename coordinates

* Finally release passes

* Fix daml script following LedgerClient changes

run-all-tests: true

* Format canton/BUILD

* Update after merge, get all canton targets building

* Format canton/BUILD

* Fix further build issues

* Update ledgerclient to avoid GetLedgerEnd

* Update comment

---------

Co-authored-by: Samuel Williams <samuel.williams@digitalasset.com>
2024-01-26 16:14:39 +01:00
azure-pipelines[bot]
7ec33db439
update canton to 20240123.12376.0.vce2030db/3.0.0-snapshot.20240123.12376.0.vce2030db (#18256)
* update canton to 20240123.12376.0.vce2030db/3.0.0-snapshot.20240123.12376.0.vce2030db

tell-slack: canton

* Resolve import warnings

* Add ledger-api v2 experimental_features proto

to adapt to https://github.com/DACH-NY/canton/pull/16603/files#diff-3b3a96cb2f2ad9cfe33444f1327479d8d0ca48663fb7dd0a6a5e53c5d86afede

* Removing compatiblity_target_protobuf

as the corresponding compatibility change would move into the
canton repo as per https://github.com/DACH-NY/canton/issues/16637

---------

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: oliverse-da <oliver.seeliger@digitalasset.com>
2024-01-24 14:26:56 +01:00
Paul Brauner
6393fd084c
Remove LF1 in the compiler (#18203)
* make lf v2 and daml3-script the default

* delete V1 integration tests

* Remove LF major version V1 from the compiler

run-all-tests: true

* fix security evidence

* fix //compiler/damlc/tests:damlc-test

* fix //compiler/damlc/tests:data-dependencies

* fix //compiler/damlc/tests:integration-v2*

* fix //compiler/damlc/tests:packaging

* fix //compiler/damlc/tests:platform-independence-dar-hash-file-matches

* fix //compiler/damlc/tests:stable-packages

* fix DarReaderTest.scala

* fix DecodeCommonSpec.scala

* fix //daml-lf/archive:proto_immutability_check

* fix DamlLfEncoderTest.scala

* fix //language-support/java/codegen:test

* fix //daml-assistant/integration-tests:integration-tests

* fix artifacts.yaml

run-all-tests: true
run-full-compat: true

* Disable scenario-perf for now

See https://github.com/digital-asset/daml/pull/18217.

run-all-tests: true
run-full-compat: true

* restore explicit target version in docs template

run-all-tests: true
run-full-compat: true

* Restore DamlLfEncoderTest.scala.

Introduce a ENGINE_LF_VERSIONS constant in daml-lf.bzl instead.

run-all-tests: true
run-full-compat: true

* delete daml-lf/scenario-interpreter/src/perf

run-all-tests: true
run-full-compat: true

* Address review comments.

* Apply

Co-authored-by: Moisés Ackerman <6054733+akrmn@users.noreply.github.com>

* Restore golden/BUILD.bazel and port to 2.1

run-all-tests: true
run-full-compat: true

---------

Co-authored-by: Moisés Ackerman <6054733+akrmn@users.noreply.github.com>
2024-01-19 15:19:34 +00:00
mziolekda
47c9baa28c
Delete projects that are no longer used by any releasable component (#18180)
* remove pureconfig-utils

* remove db-utils

* remove doobie slf4j

* remove flyway testing

* remove grpc-reverse-proxy

* remove grpc-server-reflection-client

* remove oracle-testing

* update release artifacts
2024-01-18 09:37:45 +01:00
Gary Verhaegen
c6ed4427ee
remove create-daml-app (#18173)
Why?

This is a terrible introductory application. We have no expertise in web
development (it's terribly outdated and we don't have the knowledge to
update it), so steering newcomers in that direction is disputable at
best. This example (and the associated documentation) spends more time
discussing (a very old version of) TypeScript than Daml. The use-case
presented is not one that showcases the strength of either the Daml
language or the underlying Canton ledger. It's not even a distributed
application as it assumes a single ledger.

At best, this template presents Daml as a DDL for simple wep API
definitions, but one where the resulting generated code provides no
support for authentication, external API calls, or any common
server-side tasks like sending emails.

Why now?

As we start working in parallel on 2.9 and 3.0, we are faced with the
perspective of having to do two weekly snapshots and thus having to test
both of them. Removing create-daml-app from the 3.0 branch alleviates
the testing burden quite a bit.

Daml 3.0 will be a long-term effort, and we have plenty of time to figure
out what should replace create-daml-app for this new version. If this
template was bad at showcasing Daml 2 strength, it's an even worse fit
for Daml 3.

Note that this PR removes a lot of additional tests, notably
compatibility ones. They live on in the main-2.x branch, where
compatibility tests also run.
2024-01-17 12:33:59 +00:00
Gary Verhaegen
179d85362d
update copyright (#18167)
* update copyright

* undo hack from #18168

* update hash in platform-independence-pre-check
2024-01-15 20:27:42 +01:00
mziolekda
7108f2c76a
Remove triggers (#18142)
* remove triggers

* adopt the codebase to missing triggers

run-all-tests: true

* fix builid

* Remove oracle tests
2024-01-12 17:55:05 +01:00
mziolekda
bde7632208
Remove navigator (#18141)
* remove navigator

* remove all apart from assistant

* remove navigator from assistant

* remove navigator from release procedure

* remove mentions of navigator completely
2024-01-12 11:32:57 +00:00
mziolekda
f0a0c6d2c2
Remove http json (#18131)
* remove http json from daml-script

* remove http-json from ts

* remove http-json

* Fix daml-assistant

run-full-compat: true

* Fix broken test

* remove drepeated test

* remove commands running via http-json

* fix the build

* changes from code-review:

* anotehr attempt at fixing the build
2024-01-11 18:08:08 +00:00
mziolekda
36fe0abb09
Remove ledger api test tool (#18088)
* Remove ledger api test tool

* Force full compat

run-full-compat: true

* Force run all tests

run-all-tests: true

---------

Co-authored-by: Paul Brauner <paul.brauner@digitalasset.com>
2024-01-10 16:48:12 +00:00
Moisés Ackerman
89cdb8d8a0
Haskell SdkVersion inversion (#18066)
* Remove //:sdk-version-hs-lib

* Add //sdk-version/hs:sdk-version-{class-,}lib

* Use //sdk-version/hs:sdk-version-{class-,}lib instead of //:sdk-version-hs-lib

* Fix //daml-assistant/daml-helper:test-deployment

* Fix da-hs-base.cabal

* Fix daml-project-config.cabal

* Move DA.Service.Logger.Impl.GCP out of da-hs-base

This means that da-hs-base no longer depends on sdk-version-class-lib, so users of the cabal file don't need to make any changes

* Move version data types out of daml-project-config

* Now //sdk-version/hs:sdk-version-class-lib depends on //libs-haskell/da-version-types

* back to the past (fmt.sh)

* yarn.lock changes to appease fmt.sh
2024-01-09 10:24:31 +01:00
azure-pipelines[bot]
40d963b50e
rotate release duty after 2023-12-20 (#18054)
@akrmn is taking care of [testing](https://github.com/digital-asset/daml/blob/main/release/RELEASE.md) today's release, so they get pushed back to the end of the line.

Please do not merge this before the release is fully tested.

CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-01-02 13:55:35 +00:00
azure-pipelines[bot]
58a51f2151
rotate release duty after 2023-12-13 (#18019)
@samuel-williams-da is taking care of [testing](https://github.com/digital-asset/daml/blob/main/release/RELEASE.md) today's release, so they get pushed back to the end of the line.

Please do not merge this before the release is fully tested.

CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-12-19 10:29:17 +00:00
azure-pipelines[bot]
d1e6251f0e
rotate release duty after 2023-12-06 (#17982)
@basvangijzel-DA is taking care of [testing](https://github.com/digital-asset/daml/blob/main/release/RELEASE.md) today's release, so they get pushed back to the end of the line.

Please do not merge this before the release is fully tested.

CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-12-12 10:30:38 +01:00
Paul Brauner
a3ee8e4a6b
Revert "Update rotation (#17940)" (#17973)
This reverts commit 38cd3cc724.
2023-12-05 12:32:16 +01:00
mziolekda
34743570bd
Rewire the build to use ledger-api within canton (#17959)
* Rewire the build to use ledger-api within canton

* same for canton-3

* fix buf

* fix buf again

* remove references to canton from canton-3x
2023-12-04 16:11:13 +01:00
mziolekda
7e2aa7cece
Adopt the repository to the movement of java bindings (#17913)
* Make java bindings compile in new place

* fix a mysterious grpcurl error
2023-11-30 22:43:35 +01:00
Paul Brauner
bead02a686
publish versions 2.1 and 2.dev of ledger-test-tool on maven (#17945) 2023-11-29 16:43:05 +00:00
Andreas Triantafyllos
b8eebc6ddd
Convert conformance tests to use java bindings (#17894) 2023-11-29 16:34:06 +00:00
Paul Brauner
38cd3cc724
Update rotation (#17940)
Swap Bas and myself
2023-11-29 16:18:40 +00:00
Samuel Williams
be831c6716
Remove "lax" from call to IDE. (#17928) 2023-11-27 18:20:20 +00:00
Gary Verhaegen
e0b772ddc5
limit release deletion (#17853) 2023-11-16 14:07:43 +00:00
azure-pipelines[bot]
a821d52fe1
rotate release duty after 2023-11-15 (#17836) 2023-11-16 13:37:48 +00:00
mziolekda
8e0b71bb15
clean up test common (#17846)
* move stuff around inside test-common

* move timeout stuff to lapitt, where it is used

* move logging stuff to ledger/error

* move StreamConsumer to libs-scala/grpc-test-utils

* remove dead usages of test-common

* move SimpleHttpServer to a dedicated lib

* format

* final cleanup of the test-common

* add new libraries to maven
2023-11-15 22:36:03 +00:00
mziolekda
b81ee69abe
disentangle ledger api (#17831)
* make testing-utils independent of ledger-api

* remove dead files

* move non ledger-api stuff to libs-scala
2023-11-14 22:44:10 +01:00
Marton Nagy
6933514df5
Switch from Akka to Pekko (#17814)
* Automated renames by bash script

This commit is exclusively contains changes by the bash script.
For the bash script is present at the pull request.

* Manual pekko migration changes

* adapt fully qualified name references
* adapt pekko package declarations
* adapt bazel files with dependency changes
* adapt canton pekko lib shade_rule
* adapt logger configuration declarations
* pin maven dependencies
* revert incorrect changes by script to compatibility module

Workarounds for further TODOs:
* disable http-json-perf and libs-scala/gatling-utils modules to maintain clean pekko dependencies (without akka)
* disable GraphQLSchemaSpec test (sangria library needs to be upgraded)

* Formatting
2023-11-13 23:22:22 +00:00
Marton Nagy
78cc750714
Scala upgrade to 2.13.11 (#17803) 2023-11-13 09:05:39 +01:00
Remy
6ef062dac9
Revert "Nmarton/pekko rebased (#17789)" (#17796)
This reverts commit d310692d1b.

@remyhaemmerle-da messed up and merged the PR too fast.
2023-11-09 21:23:18 +00:00
Marton Nagy
d310692d1b
Nmarton/pekko rebased (#17789)
* Scala upgrade to 2.13.11
* Switch from akka to pekko
* Also disable gatling based libs to start from a clean stage
2023-11-09 18:17:33 +01:00
Paul Brauner
32c662671e
bump proto3 suite (#17780)
* rename daml_lf_{n}.proto to daml_lf{n}.proto

* bump proto3-suite to the latest version

* pin stackage packages on windows
2023-11-08 20:12:03 +01:00
Samuel Williams
637ff67ea0
Upgrades testing via daml-script (#17610)
* Implement vetDar and unvetDar
Blocked by canton not returning uploaded dars

* Upgrades testing infra/IT

* Fix HttpServiceTestFixture

* Fix some tests

* Fix cantonRunner for windows

* Add delay after vet actions so topology transactions can land

* Implement invalid data upgrades tests

* Add temporary internal setContractUpgradingEnabled flag to daml-script

* Switch to setProvidePackageId

* Write choice and multi-participant tests

* Formatting

* Remove unused import

* Address reviews

* Update errors

* Fix canton runner for windows

* Address review comments

* Add new proto to artifacts

* avoid pushing canton admin proto as maven artifact (#17742)

---------

Co-authored-by: Remy <remy.haemmerle@daml.com>
2023-11-03 14:10:15 +00:00
azure-pipelines[bot]
350e3ad770
rotate release duty after 2023-11-01 (#17717)
@dylant-da is taking care of [testing](https://github.com/digital-asset/daml/blob/main/release/RELEASE.md) today's release, so they get pushed back to the end of the line.

Please do not merge this before the release is fully tested.

CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-11-01 18:49:18 +01:00
azure-pipelines[bot]
b8deb9d2a3
rotate release duty after 2023-10-25 (#17652)
@paulbrauner-da is taking care of [testing](https://github.com/digital-asset/daml/blob/main/release/RELEASE.md) today's release, so they get pushed back to the end of the line.

Please do not merge this before the release is fully tested.

CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-10-30 18:44:20 +01:00
Paul Brauner
db91552b4a
replace community canton snapshot with our bazel-built canton deploy jar (#17651)
* replace community canton snapshot with our bazel-built canton deploy jar

* add VERSION to the resources of the jar

* fix canton-test-runner-with-dependencies-script

* add resources to community_common

* Update test-common/canton/it-lib/src/main/com/daml/CantonFixture.scala

Co-authored-by: Remy <remy.haemmerle@daml.com>

---------

Co-authored-by: Remy <remy.haemmerle@daml.com>
2023-10-30 10:23:15 +00:00
azure-pipelines[bot]
2182fbdcc7
rotate release duty after 2023-10-18 (#17590)
@remyhaemmerle-da is taking care of [testing](https://github.com/digital-asset/daml/blob/main/release/RELEASE.md) today's release, so they get pushed back to the end of the line.

Please do not merge this before the release is fully tested.

CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-10-19 16:18:38 +02:00
Gary Verhaegen
28eadc6e69
fix CODEOWNERS & related files (#17579) 2023-10-16 18:37:14 +02:00
azure-pipelines[bot]
839ebddd20
rotate release duty after 2023-10-11 (#17543)
@garyverhaegen-da is taking care of [testing](https://github.com/digital-asset/daml/blob/main/release/RELEASE.md) today's release, so they get pushed back to the end of the line.

Please do not merge this before the release is fully tested.

CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-10-12 10:57:42 +02:00
Samuel Williams
5eb2696deb
Implement multi-package.yaml CLI (#17267)
* First working model (requires ghcide changes)

* Bug fixes, add logging

* Use pinned ghcide

* Comment up a storm

* Add multi sdk version support

* Implement project.yaml approach

* Cleanup

* Add projects to multi-package.yaml

* Add flags for build all projects in multi-project, and no caching

* Delete ghcide

* Start migration from daml multi-build to daml build

* Add non --all daml build flow

* Finish migration over to daml build

* Add comments

* Change --all and --no-cache to switches

* Fix caching issue with source set to .

* Address initial comments

* Add daml.yaml source as a file caching warning

* Forward sub-assistant call errors to multi-build

* Update comment

* Update merged ghcide
2023-10-11 13:50:55 +01:00
Paul Brauner
158cdd90d7
Fix the external name of daml3-script.dar to mention 2.dev (#17512)
* Fix the external name of daml3-script.dar to mention 2.dev

* make the compilation and distribution of daml3-script dars more future proof

* fix path in ci/copy-unix-release-artifacts.sh
2023-10-03 09:16:00 +00:00
Remy
623f305e9c
Move canton directory to let place for code drop (#17506) 2023-09-29 14:37:01 +00:00
azure-pipelines[bot]
8ef67285e5
rotate release duty after 2023-09-27 (#17487)
@gerolf-da is taking care of [testing](https://github.com/digital-asset/daml/blob/main/release/RELEASE.md) today's release, so they get pushed back to the end of the line.

Please do not merge this before the release is fully tested.

CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-09-27 11:42:53 +02:00
azure-pipelines[bot]
2f9ca3e04f
rotate release duty after 2023-09-20 (#17447)
@akrmn is taking care of [testing](https://github.com/digital-asset/daml/blob/main/release/RELEASE.md) today's release, so they get pushed back to the end of the line.

Please do not merge this before the release is fully tested.

CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-09-20 14:17:00 +02:00
azure-pipelines[bot]
485f1f7ccc
rotate release duty after 2023-09-13 (#17392)
@samuel-williams-da is taking care of [testing](https://github.com/digital-asset/daml/blob/main/release/RELEASE.md) today's release, so they get pushed back to the end of the line.

Please do not merge this before the release is fully tested.

CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-09-14 12:55:06 +02:00
Paul Brauner
a5cd445d3b
Introduce LF2 major version (#17348)
- Introduces a new major version, "2", in the daml_lf proto
- Adds new major versions to the compiler and the engine
- Updates all code that assumes only one major version
- Updates all code that assumes only one dev version
2023-09-13 10:01:42 +02:00
azure-pipelines[bot]
87d2856111
rotate release duty after 2023-09-06 (#17370)
@basvangijzel-DA is taking care of [testing](https://github.com/digital-asset/daml/blob/main/release/RELEASE.md) today's release, so they get pushed back to the end of the line.

Please do not merge this before the release is fully tested.
2023-09-12 09:01:40 +01:00
azure-pipelines[bot]
d4565f61da
rotate release duty after 2023-08-30 (#17342) 2023-09-01 08:52:48 +00:00