Problem
Currently support for windows is a concern since we have no package managers for windows where harbor-cli is available. Brew supports Linux and Mac, we have APT & deb/rpm/apk. But no windows.
Therefore I propose adding support for scoop publish in dagger release pipeline.
Proposed Solution
Scoop is quite similar to homebrew and requires a structure of
The convention is to use a separate repo called scoop-bucket or something, but this is also possible to do inside the harbor-cli repo as well.
That would require a bucket/ directory in root with the relevant JSON to point scoop to bin.
@bupd @Vad1mo would it be possible to create / have a scoop-bucket repo in the goharbor project.
If not, it is possible to do so in the repo itself, but it is unideal.
Context
// Mock JSON structure
{
"version": "1.2.3",
"description": "A fast and minimal CLI for XYZ",
"homepage": "https://github.com/your-org/your-cli",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://github.com/your-org/your-cli/releases/download/v1.2.3/your-cli-windows-amd64.zip",
"hash": "PUT_SHA256_HERE"
},
"arm64": {
"url": "https://github.com/your-org/your-cli/releases/download/v1.2.3/your-cli-windows-arm64.zip",
"hash": "PUT_SHA256_ARM64_HERE"
}
},
"bin": "your-cli.exe",
"checkver": {
"github": "your-org/your-cli"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/your-org/your-cli/releases/download/v$version/your-cli-windows-amd64.zip"
},
"arm64": {
"url": "https://github.com/your-org/your-cli/releases/download/v$version/your-cli-windows-arm64.zip"
}
}
}
}
Problem
Currently support for windows is a concern since we have no package managers for windows where harbor-cli is available. Brew supports Linux and Mac, we have APT & deb/rpm/apk. But no windows.
Therefore I propose adding support for scoop publish in dagger release pipeline.
Proposed Solution
Scoop is quite similar to homebrew and requires a structure of
The convention is to use a separate repo called
scoop-bucketor something, but this is also possible to do inside theharbor-clirepo as well.That would require a
bucket/directory in root with the relevant JSON to point scoop to bin.@bupd @Vad1mo would it be possible to create / have a scoop-bucket repo in the goharbor project.
If not, it is possible to do so in the repo itself, but it is unideal.
Context