From 81d34e86a1a7eb3e10371e86949b7edf609389ac Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 7 Jan 2025 21:17:33 -0600 Subject: [PATCH] tracking down bugs --- Makefile | 7 ++++++- main.go | 5 ----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index edbfb38..aee2149 100644 --- a/Makefile +++ b/Makefile @@ -22,10 +22,15 @@ build: GO111MODULE=off go build \ -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" +clean: + rm -f go.* + -rm resources/*.so + touch resources/blank.so + install: goimports touch resources/blank.so -rm resources/*.so - -cp -a ~/go/src/go.wit.com/toolkits/*/*.so resources/ + # -cp -a ~/go/src/go.wit.com/toolkits/*/*.so resources/ touch resources/blank.so GO111MODULE=off go install \ -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" diff --git a/main.go b/main.go index b9ffe3d..b1f1191 100644 --- a/main.go +++ b/main.go @@ -120,11 +120,6 @@ func main() { loop := me.repos.View.ReposSortByName() for loop.Scan() { repo := loop.Repo() - if me.forge.Config.IsReadOnly(repo.GetGoPath()) { - repo.Status.SetReadOnly(true) - } else { - repo.Status.SetReadOnly(false) - } if me.forge.Config.IsPrivate(repo.GetGoPath()) { // repo.Status.SetPrivate(true) } else {