DAML Finance package management

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?

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.

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.

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

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).

@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.

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