Skip to content

Commit

Permalink
feat: unit dvstore (#228)
Browse files Browse the repository at this point in the history
feat: unit dvstore
  • Loading branch information
moul authored Dec 31, 2019
2 parents 39f69b0 + 70030f3 commit 03545e9
Show file tree
Hide file tree
Showing 28 changed files with 733 additions and 44 deletions.
3 changes: 2 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@
# Collapse vendored and generated files on GitHub
vendor/* linguist-vendored
rules.mk linguist-vendored
*/vendor/* linguist-vendored
vendor/* linguist-vendored
*.gen.* linguist-generated
*.pb.go linguist-generated
go.sum linguist-generated
go.mod linguist-generated
gen.sum linguist-generated
golden.*.* linguist-generated

# Reduce conflicts on markdown files
*.md merge=union
21 changes: 10 additions & 11 deletions go.mod

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

49 changes: 27 additions & 22 deletions go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion internal/dvcore/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,9 @@ func pullBatches(targets []multipmuri.Entity, h *cayley.Handle, githubToken stri
logger.Warn("failed to get last updated issue", zap.Error(err))

}
ghOpts.Since = &since
if !since.IsZero() && since.Unix() > 0 {
ghOpts.Since = &since
}
}

githubprovider.FetchRepo(ctx, repo, githubToken, out, ghOpts)
Expand Down
Loading

0 comments on commit 03545e9

Please sign in to comment.