go-clone --build
This commit is contained in:
parent
6b424b0e89
commit
cf74b31214
2
http.go
2
http.go
|
@ -151,7 +151,7 @@ func okHandler(w http.ResponseWriter, r *http.Request) {
|
||||||
}
|
}
|
||||||
// dur := time.Since(gitAge)
|
// dur := time.Since(gitAge)
|
||||||
// log.Info(fmt.Sprintf("%-60s %s %s %s", repo.Name(), lastTag, shell.FormatDuration(dur), lastTag, tag.Name()))
|
// log.Info(fmt.Sprintf("%-60s %s %s %s", repo.Name(), lastTag, shell.FormatDuration(dur), lastTag, tag.Name()))
|
||||||
log.Info(fmt.Sprintf("%s %d %s", repo.Name(), gitAge.Unix(), lastTag))
|
fmt.Fprintf(w, "%s %d %s\n", repo.Name(), gitAge.Unix(), lastTag)
|
||||||
/*
|
/*
|
||||||
for _, tag := range repo.Tags.ListAll() {
|
for _, tag := range repo.Tags.ListAll() {
|
||||||
log.Info(fmt.Sprintf("%-60s %s", "", tag.Name()))
|
log.Info(fmt.Sprintf("%-60s %s", "", tag.Name()))
|
||||||
|
|
Loading…
Reference in New Issue