diff options
| author | Jeff Carr <[email protected]> | 2025-10-04 20:38:39 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-04 20:38:39 -0500 |
| commit | ff3f7b58c3e3b462b8a8b1c8f61fe5a68e0905ff (patch) | |
| tree | 87bd240ed41018ec4ebfb33b221abe304abf5c2f | |
| parent | 80c33e855301eda7cdcf053a85e5f65373d7e624 (diff) | |
notes on aptlyv0.1.10
| -rw-r--r-- | doGit.go | 9 | ||||
| -rw-r--r-- | doUpgrade.go | 5 |
2 files changed, 13 insertions, 1 deletions
@@ -8,6 +8,7 @@ import ( "path/filepath" "strings" + "go.wit.com/lib/fhelp" "go.wit.com/lib/gui/shell" "go.wit.com/lib/protobuf/gitpb" "go.wit.com/log" @@ -36,6 +37,14 @@ func doGit() error { } if argv.Git.Who != nil { + if _, err := fhelp.CheckCmd("git-who"); err != nil { + if fhelp.QuestionUser("install git-who") { + log.Info("go install -v -x github.com/sinclairtarget/git-who@latest") + } else { + log.Info("not installing") + } + me.sh.GoodExit("git who should be installed") + } cmd := []string{"git", "who"} shell.RunVerbose(cmd) okExit("") diff --git a/doUpgrade.go b/doUpgrade.go index d73cf56..8f0ae4e 100644 --- a/doUpgrade.go +++ b/doUpgrade.go @@ -25,7 +25,10 @@ func doPackageList(all bool) { } else { installed.PrintTable() } - log.Info("put aptly help here") + log.Info("aptly repo -remove-files -force-replace add wit /home/aptly/incoming/autogenpb_0.5.16_amd64.deb") + log.Info("aptly repo remove wit basicwindow") + log.Info("aptly snapshot create wit-v0.8.3 from repo wit") + log.Info("aptly publish snapshot wit-v0.8.3") } func doUpgrade() error { |
