Commit Graph

19 Commits

Author SHA1 Message Date
Brad Fitzpatrick d6a0b05df0 Rename import paths from camlistore.org to perkeep.org.
Part of the project renaming, issue #981.

After this, users will need to mv their $GOPATH/src/camlistore.org to
$GOPATH/src/perkeep.org. Sorry.

This doesn't yet rename the tools like camlistored, camput, camget,
camtool, etc.

Also, this only moves the lru package to internal. More will move to
internal later.

Also, this doesn't yet remove the "/pkg/" directory. That'll likely
happen later.

This updates some docs, but not all.

devcam test now passes again, even with Go 1.10 (which requires vet
checks are clean too). So a bunch of vet tests are fixed in this CL
too, and a bunch of other broken tests are now fixed (introduced from
the past week of merging the CL backlog).

Change-Id: If580db1691b5b99f8ed6195070789b1f44877dd4
2018-01-01 16:03:34 -08:00
Mathieu Lonjaret 286dbacc62 Merge "camweb: make syncing to github concurrent" 2017-12-15 00:08:13 +00:00
mpl 31389f8ab2 camweb: make syncing to github concurrent
Camweb is in charge of syncing the commits from the gerrit repository to
our mirror on github.

It also sends the commits as e-mails to the Camlistore mailing-list.

The former was only happening after the latter did, but there was no
reason to do it that way, as these tasks are independent. Moreover, when
sending e-mails is problematic (issue #980), it delays syncing to
github.

This change therefore makes syncing to github concurrent with
sending the e-mails.

Change-Id: I63a2b3f5b49df58ca30ec5153ce65eafb44b5b28
2017-12-15 01:05:56 +01:00
mpl d0ea11828a camweb: change the src dir on disk it uses to perkeep.org
Issue #981

Change-Id: I907bbb9c98dc8f9b62bd67c7785b3339f9ca3fad
2017-12-11 20:50:09 +01:00
mpl f86f8de294 camweb: use mailgun for sending commit e-mails
github.com/mailgun/mailgun-go vendored in at rev
17e8bd11e87cb660ba5da8d635bbeae44b9443ac

github.com/pkg/errors vendored in at rev
f15c970de5b76fac0b59abb32d62c17cc7bed265

Fixes #980

Change-Id: I824ee3aa7493e062e6d916030dd62e0bd51ce477
2017-12-06 20:43:07 +01:00
Paul Lindner b09cd377d7 Switch to stdlib context from golang.org/x/net/context
This switches most usages of the pre-1.7 context library to use the
standard library.  Remaining usages are in:

  app/publisher/main.go
  pkg/fs/...

Change-Id: Ia74acc39499dcb39892342a2c9a2776537cf49f1
2017-11-26 01:12:26 -08:00
mpl b211cd72b7 website: log when SMTP down
Change-Id: I37f9e6f72db04ef48d3e45226f6bd0223e998ed7
2016-12-15 17:19:30 +01:00
mpl 6297d0d570 website: update google cloud dependencies
This change follows the changes at
ab06dbd80d

google.golang.org/genproto/googleapis/datastore updated to
44808ed2d86e258615bb701d395cbbfe6686a3e6

As a consequence:
google.golang.org/genproto/protobuf added at
44808ed2d86e258615bb701d395cbbfe6686a3e6
google.golang.org/genproto/googleapis/api/{label, metric, monitoredres,
serviceconfig} added/updated to 44808ed2d86e258615bb701d395cbbfe6686a3e6
github.com/golang/protobuf/ptypes{any, struct, timestamp, wrappers}
added/updated to 1f49d83d9aa00e6ce4fc8258c71cc7786aec968a

Test locally, and in "pseudo-production", i.e. with -cloudlaunch but with
a different projectID (hence with some of the hard-coded stuff changed).

Change-Id: Iad0caa78b19619bf153bf05870e6cb3a2ab669dd
2016-09-30 18:08:44 +02:00
mpl 2ab4d44e79 website: clean up previous docker git container
All the camweb features depending on docker had been stuck for a couple
of weeks because one of the docker containers was wedged somehow. I
don't know exactly what was wrong, but I figure it can't hurt to add the
same kind of cleanup that we have for the demo blobserver.

So in this CL, we name each container running a git command, so we can
stop and remove said container the next time we run the same command.

Change-Id: I66592fbbde73ea30e4cee7477ada450e0c6a645e
2016-09-05 23:51:41 +02:00
mpl d9fa1ed87e website: do a full cloning of camlistore.org on startup
We used to have --depth=1 when cloning camlistore.org on startup, for
efficiency reasons.
But not having all the commits locally caused problems when pushing to
github, because it would see the remote had commits that we didn't.
So we're now doing a full cloning.

It looks like it's now taking ~4s (as opposed to ~2.5s before), and
consuming ~50MB diskspace (as opposed to 35MB before).

Plus a few bugfixes.

Change-Id: If7dbae1d3119d8b3336fb7d735f6bd0ba7606fc6
2016-04-25 17:30:17 -07:00
mpl fe8372e117 website: fix ssh for git push to github
issue #708

Change-Id: Ib01f6c378924becb03173724c452d42907b995e8
2016-04-25 14:00:10 -07:00
mpl 43f2e48dd0 website: sync commits to github
Fixes issue #708

Change-Id: I0e081724134ab08c736b00bd2ebe81eb9028ace7
2016-04-24 22:28:16 -07:00
Brad Fitzpatrick 833fbf0c85 website: use datastore to record which commits we've emailed about
Change-Id: I55d2b0e5f6de3377ef7240246e4ee44c8c2ebfa5
2015-12-28 21:08:17 -08:00
Brad Fitzpatrick 1ef5252da3 website: flag doc cleanup, and log before listening 2015-12-24 14:51:15 -08:00
Brad Fitzpatrick 96dc004af7 website: run on GCE under CoreOS. Containerize demo blob server. 2015-11-11 12:58:01 +00:00
mpl 7d2b1d78e1 website: serve latest git hash (for buildbots)
Change-Id: I5332e111609f0d9f957609a4dcee6030653397d4
2013-10-23 21:55:21 +02:00
Brad Fitzpatrick c8479f6fd4 camweb: fix git fetch command.
Change-Id: Ibf4203324ea182750815df4dee48bd30cc70920b
2013-08-23 00:08:13 -05:00
Brad Fitzpatrick 0c6c9d597f website: more debug logging
Change-Id: Idd7b42a0f518878f8b941dc79f8d94663ed4c697
2013-08-23 00:03:07 -05:00
Brad Fitzpatrick dac140ff52 camweb: also watch git and email list on new commits
Change-Id: I032b1c86226137f19b800d6fdebae0207e90f271
2013-08-22 23:33:23 -05:00