summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-13 02:59:22 -0500
committerJeff Carr <[email protected]>2025-10-13 03:43:10 -0500
commit3f328322dffb80488870ffd15b4663ac2637aec2 (patch)
tree0d0959ebabd17ae7b7ecbcc7b69186350cca24ef
parentb37626c1c23da54a7e068aabc6293277e75c65dc (diff)
always run locallyv0.0.21
-rw-r--r--Makefile17
-rw-r--r--doNewest.go4
2 files changed, 11 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index a5546ba..fab647e 100644
--- a/Makefile
+++ b/Makefile
@@ -4,16 +4,15 @@ VERSION = $(shell git describe --tags)
GUIVERSION = $(shell git describe --tags)
BUILDTIME = $(shell date +%s)
-all: reset goimports vet install
- mirrors walk
- mirrors incoming
- mirrors verify
- mirrors newest
- mirrors everything
- wit upgrade
+all: reset goimports vet build
+ ./mirrors walk
+ ./mirrors incoming
+ ./mirrors verify
+ ./mirrors newest
+ ./mirrors everything
-everything: install
- mirrors everything
+everything: build
+ ./mirrors everything
apt update
sleep 1
ls -l /var/lib/apt/lists/mirrors.wit.com*
diff --git a/doNewest.go b/doNewest.go
index aa50226..ad91d17 100644
--- a/doNewest.go
+++ b/doNewest.go
@@ -28,7 +28,9 @@ func doGetNewest(arch string) *zoopb.Packages {
if time.Since(curtime) > time.Since(newtime) {
log.Printf("%-20.20s %-20.20s %-80.80s %s\n", "found is newer", p.Package, p.Filename, durs)
} else {
- log.Printf("%-20.20s %-20.20s %-80.80s %s\n", "found is older", p.Package, p.Filename, durs)
+ if argv.Verbose {
+ log.Printf("%-20.20s %-20.20s %-80.80s %s\n", "found is older", p.Package, p.Filename, durs)
+ }
newest.Delete(found)
newest.Clone(p)
}