Versions in this module Expand all Collapse all v0 v0.2.0 Nov 15, 2026 Changes in this version + const Data2G + func ExtractTree(archive, dir string) (string, error) type Env + func (e Env) PkgSteps(desc string, pkgs ...string) ([]Step, error) type Step + func Data2GPlan(ctx context.Context, e Env) ([]Step, error) v0.1.0 Nov 13, 2026 Changes in this version + const Direwolf + const GPSD + const Hamlib + const Mercury + const Pat + func Confirm(in io.Reader, out io.Writer, question string, def bool) bool + func DirewolfSourceNotice(e Env, version string) string + func Download(ctx context.Context, url, dest, wantSHA256 string) error + func ExtractAll(archive, dir string) (string, error) + func ExtractFile(archive, name, dest string) error + func GPSDNotice(e Env) string + func HamlibSourceNotice(e Env, version string) string + func InstallStaged(stage, prefix string) (int, error) + func MercurySourceNotice(e Env, version string) string + func Run(steps []Step, o Options) error + func SourceNotice(e Env, pkg catalog.Package, version, url string) string + type Env struct + Arch string + Distro distro.Info + Home string + Jobs int + Root bool + Sudo bool + func HostEnv() Env + func (e Env) Priv(cmd ...string) ([]string, error) + type ErrAUR struct + Pkgs []string + func (e ErrAUR) Error() string + type Options struct + DryRun bool + In io.Reader + Notice string + Out io.Writer + Yes bool + type Step struct + Cleanup func() + Cmd []string + Desc string + Dir string + Do func() error + Env []string + func AX25ToolsPlan(e Env) ([]Step, error) + func AppPlan(ctx context.Context, e Env, pkg catalog.Package, latest string, ...) (steps []Step, notice string, err error) + func DirewolfPlan(ctx context.Context, e Env, fromSource bool) (steps []Step, notice string, err error) + func GPSDPlan(e Env) ([]Step, error) + func GroupStep(e Env, group, username, why string) (Step, error) + func HamlibPlan(e Env) ([]Step, error) + func HamlibSourcePlan(ctx context.Context, e Env) ([]Step, string, error) + func MercuryPlan(ctx context.Context, e Env, latest string) ([]Step, error) + func PatPlan(ctx context.Context, e Env) ([]Step, error) + func RootFileStep(e Env, desc, path, content string) (Step, error) + func (s Step) Display() string