Skip to content
Discussions/App Development/DAML Finance package managementForum ↗

DAML Finance package management

App Development7 posts376 viewsLast activity Mar 2023
TU
TuranOP
Feb 2023

The individual components of daml finance are currently released as individual tags/dars on github. Referencing of them is done via custom download scripts that pull them from github directly.

This makes it difficult to use in organizations that only mirrors repositories like maven and npm. There are ways to get individual packages in but the split of daml finance into 40-50 individual dars makes this a difficult process. Can you publish these to a repository like maven like your other artifacts are?

GE
georg
Feb 2023

Hi @Turan - it’s a topic that is on our radar, and we are looking into potential solutions.

As a tactical measure, would packaging up a “supported set” of all Daml Finance packages (eg. one set per SDK release) as a single tar/zip make your life already easier?

A strategic solution for Daml package management is on our backlog but we don’t have any dates for it yet.

TU
Turan
Feb 2023

Thanks for getting back to us. A single bundle would aid in the short term.

What would you say to that package being in the form of something like the below? Effectively an ever growing bundle of all released versions until package management is in place?

daml-finance.tar.gz
├─ 0.2.0/
│ ├─ Daml.Finance.Interface.Instrument.Swap
│ ├─ …
├─ 1.0.0/
│ ├─ Daml.Finance.Settlement
│ ├─ Daml.Finance.Util
│ ├─ Daml.Finance.Interface.Util
│ ├─ …
├─ 1.0.1/
│ ├─ Daml.Finance.Settlement
│ ├─ …

If the daml-finance release cycle is definitely coupled to the daml sdk releases. Then the bundle can ‘just’ be a set of the latest ones.

TU
Turan
Feb 2023

If we’re in agreement how soon can those bundles be made available?

GE
georg
Feb 2023

As a stop-gap, we will make a bundled package available for the upcoming SDK release 2.6. Note that it will be created manually this time, and might change slightly once we integrate this into our release pipeline (eg. name of the bundle, or Github tag).

GE
georg
Mar 2023

@Turan we’ve created the Daml Finance bundle for the upcoming SDK 2.6 release here: Release sdk/2.6.0 · digital-asset/daml-finance · GitHub

Note that the SDK release is still in preparation, so there could still be changes to it. But you can already use it to get the infra set up to pull it down, but do only consider it final once the official release communication goes out.

EDIT: Also note that the tar itself is not signed, but the asc files to verify the individual DARs are included in the bundle.

TU
Turan
Mar 2023

Thank you. Got it. :+1:t3:

← Back to Discussions