packages: add more Go packages

Also remove shfmt, vale and templ (exist in AlpineLinux's repository)
This commit is contained in:
Hoang Nguyen 2023-12-02 00:00:00 +07:00
parent 18899b129d
commit 5552326eec
Signed by: folliehiyuki
GPG Key ID: B0567C20730E9B11
2 changed files with 24 additions and 22 deletions

View File

@ -23,9 +23,7 @@ local packages =
{ name: 'cueimports', url: 'github.com/asdine/cueimports/cmd/cueimports' },
{ name: 'protolint', url: 'github.com/yoheimuta/protolint/cmd/protolint' },
{ name: 'protoc-gen-lint', url: 'github.com/ckaznocha/protoc-gen-lint' }, // this is a protoc plugin, so requires protoc installed
{ name: 'shfmt', url: 'mvdan.cc/sh/v3/cmd/shfmt' },
{ name: 'editorconfig-checker', url: 'github.com/editorconfig-checker/editorconfig-checker/cmd/editorconfig-checker' },
{ name: 'vale', url: 'github.com/errata-ai/vale/v2/cmd/vale' },
{ name: 'dockle', url: 'github.com/goodwithtech/dockle/cmd/dockle' },
{ name: 'yamlfmt', url: 'github.com/google/yamlfmt/cmd/yamlfmt' },
]
@ -68,12 +66,15 @@ local packages =
{ name: 'dashboard-linter', url: 'github.com/grafana/dashboard-linter' },
{ name: 'oauth2l', url: 'github.com/google/oauth2l' },
{ name: 'oauth2c', url: 'github.com/cloudentity/oauth2c' },
{ name: 'templ', url: 'github.com/a-h/templ/cmd/templ' },
{ name: 'enry', url: 'github.com/go-enry/enry' },
{ name: 'dblab', url: 'github.com/danvergara/dblab' },
{ name: 'terramate', url: 'github.com/mineiros-io/terramate/cmd/terramate' },
{ name: 'zk', url: 'github.com/mickael-menu/zk' },
{ name: 'mods', url: 'github.com/charmbracelet/mods' },
{ name: 'garble', url: 'mvdan.cc/garble' },
{ name: 'konstraint', url: 'github.com/plexsystems/konstraint' },
{ name: 'diffoci', url: 'github.com/reproducible-containers/diffoci/cmd/diffoci' },
{ name: 'buildkit-nix', url: 'github.com/reproducible-containers/buildkit-nix/cmd/buildkit-nix' },
// Nifty Pulumi stuff
{ name: 'crd2pulumi', url: 'github.com/pulumi/crd2pulumi', tags: ['pulumi-addons'] },

View File

@ -93,13 +93,6 @@
tags:
- protoc-gen-lint
- linters
- command:
cmd: /usr/bin/go install -ldflags "-s -w" mvdan.cc/sh/v3/cmd/shfmt@latest
removes: /usr/bin/go
name: packages | Install shfmt
tags:
- shfmt
- linters
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/editorconfig-checker/editorconfig-checker/cmd/editorconfig-checker@latest
removes: /usr/bin/go
@ -107,13 +100,6 @@
tags:
- editorconfig-checker
- linters
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/errata-ai/vale/v2/cmd/vale@latest
removes: /usr/bin/go
name: packages | Install vale
tags:
- vale
- linters
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/goodwithtech/dockle/cmd/dockle@latest
removes: /usr/bin/go
@ -320,11 +306,6 @@
removes: /usr/bin/go
name: packages | Install oauth2c
tags: oauth2c
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/a-h/templ/cmd/templ@latest
removes: /usr/bin/go
name: packages | Install templ
tags: templ
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/go-enry/enry@latest
removes: /usr/bin/go
@ -350,6 +331,26 @@
removes: /usr/bin/go
name: packages | Install mods
tags: mods
- command:
cmd: /usr/bin/go install -ldflags "-s -w" mvdan.cc/garble@latest
removes: /usr/bin/go
name: packages | Install garble
tags: garble
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/plexsystems/konstraint@latest
removes: /usr/bin/go
name: packages | Install konstraint
tags: konstraint
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/reproducible-containers/diffoci/cmd/diffoci@latest
removes: /usr/bin/go
name: packages | Install diffoci
tags: diffoci
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/reproducible-containers/buildkit-nix/cmd/buildkit-nix@latest
removes: /usr/bin/go
name: packages | Install buildkit-nix
tags: buildkit-nix
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/pulumi/crd2pulumi@latest
removes: /usr/bin/go