This is a request for classic confinement for gomodrun. https://github.com/dustinblackman/gomodrun/
Gomodrun is the forgotten Golang tool that executes and caches binaries included in go.mod files. This makes it easy to version cli tools in your projects such as
ginkgo that are versioned locked to what you specify in
go.mod . Binaries are cached by go version and package version.
The TL;DR of it’s underlaying workings;
- Analyzing go projects
- Building binaries based off what exists in
$GOPATH/pkg/modsource directory that’s managed by
- Storing these binaries in a local cache within the project.
It requires classic confinements as it’s a language tool that requires the same access a developer would need to work on their projects.