From 28f7599a8f91f55e0f6306349cda933b6b038a90 Mon Sep 17 00:00:00 2001 From: mpl Date: Tue, 3 Jul 2018 17:55:03 +0200 Subject: [PATCH] pk-web: push commit to perkeep repo instead of camlistore one We were still pushing to the camlistore repository. That worked, thanks to the redirect, but we might as well push directly to the correct one now. Change-Id: Ide4668ee587568cba928cb360289000aa106e955 --- website/pk-web/github.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/pk-web/github.go b/website/pk-web/github.go index c9d252b10..87b4c1650 100644 --- a/website/pk-web/github.go +++ b/website/pk-web/github.go @@ -88,7 +88,7 @@ func initGithubSyncing() error { // non-authenticated requests quota. func githubHEAD(gerritHEAD string) (string, error) { const ( - headAPI = "https://api.github.com/repos/camlistore/camlistore/commits/HEAD" + headAPI = "https://api.github.com/repos/perkeep/perkeep/commits/HEAD" mimeType = "application/vnd.github.VERSION.sha" ) req, err := http.NewRequest("GET", headAPI, nil) @@ -125,7 +125,7 @@ func syncToGithub(dir, gerritHEAD string) error { hostSSHDir: "/root/.ssh", } if err := emailOnTimeout("git push_github", 5*time.Minute, func() error { - cmd := execGit(dir, "push_github", mounts, "push", "git@github.com:camlistore/camlistore.git", "master:master") + cmd := execGit(dir, "push_github", mounts, "push", "git@github.com:perkeep/perkeep.git", "master:master") out, err := cmd.CombinedOutput() if err != nil { return fmt.Errorf("error running git push to github: %v\n%s", err, out)