diff options
| author | Jeff Carr <[email protected]> | 2024-12-27 20:43:23 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-12-28 20:01:58 -0600 |
| commit | 7a8f54a192640c1a55db23f11ed8d8ca29cd1c22 (patch) | |
| tree | dad0478cf615ef7b57fd587ca27fb6976b1238a3 /repomap.go | |
| parent | 37500b94969863a210c5f1cf334491d1f9b57d14 (diff) | |
compute the timestamps each time
Diffstat (limited to 'repomap.go')
| -rw-r--r-- | repomap.go | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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") } |
