all repos — elgit @ 4824077ca3d2cd326880229ba3985bcf70a1fafa

fork of legit: web frontend for git, written in go

prefetch main repo metadata

Alan Pearce
commit

4824077ca3d2cd326880229ba3985bcf70a1fafa

parent

ef83d4e55a4b8a65c982bfb80c00b2b00950cf06

1 file changed, 13 insertions(+), 6 deletions(-)

changed files
M data/entries.godata/entries.go
@@ -3,15 +3,22 @@
import ( "sort" "time" + + "alin.ovh/elgit/git" ) type Repository struct { - Name string - Category string - Path string - Slug string - Description string - LastCommit time.Time + Name string + Category string + Path string + Slug string + Description string + LastCommit time.Time + LastCommits []*git.CommitReference + ReadmeContent string + MainBranch string + Gomod bool + *git.Repo } type Entry struct {