digital-asset / digital-asset/dpm

Dpm Registry Alias

Open
#302 0 comments 0 reactions 0 assignees View on GitHub
package-management
Dominant language
Go
Stars
3
Forks
2
Avg merge
21h 16m
Merged PRs (30d)
1

Description

## Goals

- Define an OCI (or Github) repo with a short alias so adding dependencies is terse and less error prone

## Acceptance Criteria

```
# create a new alias for canton-network
dpm add registry canton-network oci://[ghcr.io/digital-asset/decentralized-canton-sync/](http://ghcr.io/digital-asset/decentralized-canton-sync/)

# add a dar dependency with that alias
dpm add component --data-dependencies @canton-network/splice-amulet:devnet

# add a dar dependency with that alias
dpm add registry digital-asset oci://europe-docker.pkg.dev[/](http://ghcr.io/digital-asset/decentralized-canton-sync/)da-images/public/

# add a dar dependency with that alias
dpm add dar @digital-asset/components/damlc:devnet
```

```
(stretch) support pinning with : shorthand
```

Contributor guide

Open the contributing guide

Research direction

Start by tracing the dpm registry and component/dar command entry points used in the acceptance examples. Check how registry URLs and dependency references are currently parsed, then verify the canton-network and digital-asset alias examples end-to-end, including the stretch component:version shorthand if in scope.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.