summaryrefslogtreecommitdiff
path: root/rill.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-13 01:31:15 -0500
committerJeff Carr <[email protected]>2025-09-13 01:31:15 -0500
commitce4af38e8b7f05a6d8b48bc957091de0b0b0a9e7 (patch)
treef0cb1da2b7ed858e6697045abbc9c091e20c398a /rill.go
parentd406ee5f214429f62a1f951780faababaabe451d (diff)
track changesv0.0.137
Diffstat (limited to 'rill.go')
-rw-r--r--rill.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/rill.go b/rill.go
index 882bc3a..024c1b2 100644
--- a/rill.go
+++ b/rill.go
@@ -5,6 +5,7 @@ import (
"time"
"github.com/destel/rill"
+ "go.wit.com/lib/config"
"go.wit.com/lib/protobuf/gitpb"
"go.wit.com/log"
)
@@ -81,8 +82,8 @@ func (f *Forge) RillReload() int {
if !repo.IsValidDir() {
log.Printf("%s %-50s\n", "got an invalid repo in forgepb.RillReload()", repo.GetFullPath())
f.Repos.Delete(repo)
- f.reposSave = true
log.Info("reposSave = true")
+ config.SetChanged("repos", true)
continue
}
all = append(all, repo)
@@ -146,8 +147,8 @@ func (f *Forge) RillRepos(rillf func(*gitpb.Repo) error) map[string]*RillStats {
if !repo.IsValidDir() {
log.Printf("got an invalid repo in forgepb.RillRepos() %-50s\n", repo.GetFullPath())
f.Repos.Delete(repo)
- f.reposSave = true
log.Info("reposSave = true")
+ config.SetChanged("repos", true)
continue
}
all = append(all, repo)