Skip to content

Conversation

sil2100
Copy link
Member

@sil2100 sil2100 commented Aug 29, 2025

This requires the equivalent mono feature of package restoration to get released.

Tried to follow withdraw as much as possible, but at the same time this command works a bit differently, as it ACTUALLY does the restoration on apk.cgr.dev.

Signed-off-by: Łukasz 'sil2100' Zemczak <lukasz.zemczak@chainguard.dev>
Signed-off-by: Łukasz 'sil2100' Zemczak <lukasz.zemczak@chainguard.dev>

if len(packages) == 1 {
// Single package: use PATCH request
url := fmt.Sprintf("https://apk.cgr.dev/chainguard/%s/%s", arch, packages[0])
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to be able to restore chainguard (aka wolfi), chainguard-private (enterprise-package) and extra-packages so the first part of the path needs to be driven from a command line option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants