summaryrefslogtreecommitdiff
path: root/repomap.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-27 20:43:23 -0600
committerJeff Carr <[email protected]>2024-12-28 20:01:58 -0600
commit7a8f54a192640c1a55db23f11ed8d8ca29cd1c22 (patch)
treedad0478cf615ef7b57fd587ca27fb6976b1238a3 /repomap.go
parent37500b94969863a210c5f1cf334491d1f9b57d14 (diff)
compute the timestamps each time
Diffstat (limited to 'repomap.go')
-rw-r--r--repomap.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/repomap.go b/repomap.go
index 31a1fd3..cf53d10 100644
--- a/repomap.go
+++ b/repomap.go
@@ -67,10 +67,7 @@ func readRepomap() {
repo := forge.FindByGoPath(gopath)
if repo != nil {
- version := repo.GetLastTag()
- age := repo.NewestAge()
- log.Info("repo =", gopath, "real url =", repoMap[gopath], version, formatDuration(age))
- versionMap[gopath] = version + " " + formatDuration(age)
+ gitMap[gopath] = repo
} else {
log.Info("repo =", gopath, "real url =", repoMap[gopath], "not found")
}