square / certigo

A utility to examine and validate certificates in a variety of formats
Apache License 2.0
940 stars 71 forks source link

Add scoop.sh support #288

Open bkane-msft opened 2 years ago

bkane-msft commented 2 years ago

Hello - I'd like to keep certigo updated with scoop.sh (similar to Homebrew but for Windows). Would it be possible to register certigo with Scoop so I could use scoop to install certigo?

jdtw commented 2 years ago

We're not very familiar with Windows. Do you know what the app manifest should look like?

bkane-msft commented 2 years ago

For my Go apps, I use GoReleaser to generate the Scoop manifests. It looks like certigo already has a release process, so perhaps generate the Scoop manifest directly:

Generated Scoop manifest

{
    "version": "0.0.17",
    "architecture": {
        "64bit": {
            "url": "https://github.com/bbkane/fling/releases/download/v0.0.17/fling_0.0.17_windows_amd64.tar.gz",
            "bin": [
                "fling.exe"
            ],
            "hash": "93ca42d9b8db31bd1479c9bcba212c24fe43af85bc8a98475575dc701e99a762"
        }
    },
    "homepage": "https://github.com/bbkane/fling",
    "license": "MIT",
    "description": "fling computes and creates/removes the minimal amount of symlinks needed in a directory to refer to files and directories in another directory, similar to GNU Stow. I use fling to manage my dotfiles"
}

Scoop docs on App Manifests

If by some chance you do want to switch to using GoReleaser to release certigo, see the GoReleaser docs on Scoop Manifests and the GoReleaser yaml I use to generates the manifest.

aliesbelik commented 1 year ago

Fixed with ScoopInstaller/Main#4693. Now available in main bucket:

scoop install certigo