Commit Graph

6038 Commits

Author SHA1 Message Date
Mathieu Lonjaret c3d438abc3 Merge "doc: fix publishing link" 2016-05-11 13:14:30 +00:00
mpl 3ab8a13051 doc: fix publishing link
Change-Id: If0876ba116e100279465893d4df66787d17711d5
2016-05-11 02:25:27 +02:00
Mathieu Lonjaret fbe5656196 Merge "Add button to remove selection from current set." 2016-05-10 23:24:24 +00:00
mpl 044c7b32d0 make.go: mirror assembly code too
pkg/fs/fs_test.go depends on bazil.org/fuse/syscallx, which in turn
depends on golang.org/x/sys/unix
We already had the assembly code vendored in for golang.org/x/sys/unix,
but we weren't mirroring it in make.go

This didn't show with 'go run make.go' because it only affects a test.
And it didn't show with 'go test ./pkg/fs' either, because the assembly
would then be found in GOPATH.
Only devcam test would detect it.

Change-Id: Ibb90a5fb986a3d0308ff9f1f8df8d5866cfec8c5
2016-05-10 01:01:48 +02:00
Mathieu Lonjaret cf85c385f9 Merge "pkg/osutil: add arguments to RestartProcess" 2016-05-09 21:16:35 +00:00
Mathieu Lonjaret 069278f4bf Merge "make.go: remove --use_gopath" 2016-05-09 21:16:21 +00:00
mpl 93a7f46720 make.go: remove --use_gopath
Because it makes full integration with gopherjs impossible (without
polluting the user's GOPATH), as long as
https://github.com/gopherjs/gopherjs/issues/415 is not fixed.

Also it is kind of antithetical with the point of make.go anyway.

We still rely on CAMLI_MAKE_USEGOPATH for the integration tests that run
make.go to know that they shouldn't recursively create another temp
GOPATH (when they're already in such a temp dir, because they're started
through devcam test).

Change-Id: Icc6af46ec5976fdf08e9b8bf4249e307a15499cf
2016-05-09 17:22:39 +02:00
mpl af3d0dc1f2 pkg/osutil: add arguments to RestartProcess
use it to restart server with -reindex

Fixes #753

Change-Id: Iff4a8c725820f8204d9539b9bafe5f4d3b65780c
2016-05-09 16:18:39 +02:00
Brad Fitzpatrick 6f4def580d Merge "server: fall back to serving UI resources from GOPATH as last resort" 2016-05-06 23:16:59 +00:00
Brad Fitzpatrick d0be85b4b2 server: fall back to serving UI resources from GOPATH as last resort
This lets the UI work (and lets people hack on the UI) by installing
camlistored the normal Go way (go install) and just running
camlistored, without using devcam server.

Change-Id: I45779640c5b2286ca7061a626c07b3edcdc9c4ad
2016-05-06 16:05:22 -07:00
Mathieu Lonjaret 6fed5b3f9a Merge "foursquare: safely access venueItem.Location" 2016-05-06 15:26:35 +00:00
mpl bce9f2a1c9 doc: presentations
-fix fosdem 2014 date and slides link
-add fosdem 2015
-add GDG Seattle

Change-Id: Id038e0dc32a194805b88e0f5d0ca340903534f3d
2016-05-06 17:14:08 +02:00
mpl d2425fa0a7 foursquare: safely access venueItem.Location
Fixes #755

Change-Id: I74f67838bb80aba36689026cb85d53a63e2b3d48
2016-05-06 15:43:52 +02:00
Kate Pek 99a3dac0a8 Merge "search: search by "with" keyword" 2016-05-06 00:31:02 +00:00
Kate Pek ac0cc13beb Add links for the latest presentation
Change-Id: I47ab9b831167734892bca5cebc0f7bd3cac39bf6
2016-05-05 17:26:38 -07:00
Kate Pek 26d161db21 search: search by "with" keyword
Change-Id: Ic8c5d79a0367012aa24de2d13e66384c8cddd738
2016-05-05 16:57:34 -07:00
Mathieu Lonjaret df5af585ee Merge "misc/monthly.go: automatically generate a monthly release" 2016-05-05 21:20:41 +00:00
mpl 4232071cb3 misc/monthly.go: automatically generate a monthly release
Current version of doc/release/monthly.html generated with
go run ./misc/monthly.go -rev cdadfd650b

Change-Id: Icdebf60cb64dfcc12766976572f3a34eaeb135f3
2016-05-05 23:16:57 +02:00
mpl f7cee61985 misc/docker: update zip-source.go
Because some files have been renamed/deleted.

Change-Id: I7c09e44f8bcb07d8fd0440bc02f6ba25a450928a
2016-05-05 17:17:21 +02:00
Mathieu Lonjaret cdadfd650b Merge "server/camlistored: allow GCL for non-GCE" 2016-05-05 13:47:55 +00:00
mpl 1ddc5ec092 server/camlistored: allow GCL for non-GCE
This change enables camlistored to log on Google Cloud Logging even when
not running on Google Compute Engine.

The main reason is to help with debugging cloud logging bugs, because
it usually is easier to do so from a local camlistored than from one
running on GCE.

Related: issue #704

Change-Id: I7de23cf9365683f8641a6bbad0deab754fc579f7
2016-05-05 15:47:09 +02:00
Mathieu Lonjaret 92dec51723 Merge "pkg/search: RLock Describe requests" 2016-05-04 12:27:29 +00:00
mpl d1436410d9 pkg/search: RLock Describe requests
Describe requests need to be RLocked, so I added an RLock in func (sh
*Handler) Describe. However, since the Describe call in func (h
*Handler) Query is already in an RLocked context, I also added the
DescribeLocked to be used in such a case.

Fixes #750

Change-Id: Ia64e4946b6ac45fc9ec2a747afbcb11c5589235e
2016-05-04 14:24:57 +02:00
Mathieu Lonjaret c914e6cad5 Merge "pkg/serverinit: fix blobpacked_index genconfig for GCS" 2016-05-03 23:17:55 +00:00
mpl e9ae7b016c pkg/serverinit: fix blobpacked_index genconfig for GCS
The b.sortedStorageAt call had an empty filePrefix argument, which
means it would fail if the current index was not a DBMS (but a
file-based DB).

Also, this change adds a default "blobpacked_index" database name value
for the case when a user wants a DBMS index, but hasn't configured a
DBNames map.

Issue #693

Change-Id: Ie4386e789542c006530983e20bccc7a564bc4ee3
2016-05-04 01:15:33 +02:00
Mathieu Lonjaret 2ed2b175a2 Merge "pkg/search: RLock index around GetBlobMeta" 2016-05-03 15:08:14 +00:00
mpl d2818d5079 pkg/search: RLock index around GetBlobMeta
Because GetBlobMeta is a corpus read, we need to RLock around it.

Context: issue #750

Change-Id: I5b1e33d05b04aaecb0ad49f3af2d46d14b04dbfb
2016-05-03 17:06:49 +02:00
mpl 1fcacd8e85 pkg/index: add missing locking for some tests
As rev e93e4f3822 moved the responsibility
of locking the corpus to a higher up locking of the index, some tests
now need to add some locking of their own to avoid data races.

Context: issue #750

Change-Id: Ifaf87e275432fe5e66639fae2699d27b566c93aa
2016-05-03 15:07:49 +02:00
Eric Drechsel 0ddc0d7ef4 fs: remove noXattr type
The original change, as indicated by the accompanying comment, was to avoid returning ENOSYS,
which causes the OSX kernel to disable that call volume-wide.

bazil.org/fuse returns ENOTSUP for each unimplemented call, so this isn't needed anymore.
37bfa8be92/fs/serve.go (L1112)

This patch changes the default return values as follows:

    Getxattr: ErrNoXattr → ENOTSUP
    Listxattr: nil → ENOTSUP
    Setxattr: EPERM → ENOTSUP
    Removexattr: EPERM → ENOTSUP

Change-Id: I6adb744f76385d36eadd531a9f1dd1670b46f452
2016-05-02 20:43:37 -07:00
Will Norris 3c161fe40b website: fix remaining old links to /docs/
interestingly, I also discovered that GitHub will properly resolve links
that are relative to the root path (e.g. "/doc/foo")...  it properly
rewrites these links to reference the named file relative to the
repository root.

also add a /doc/contributing.md file.  This will never be served from
the website, since we have a redirect handler in place, but is added so
that we don't have broken links when browsing the docs on GitHub.

Change-Id: I47517a5f6303065df02ac11771dcee56cd06a4b7
2016-05-02 06:26:45 -07:00
Will Norris 7312e50924 website: strip directory index and file extensions
redirect to cleaner URLs without file extension or directory index
filename (index.html or README.md)

Fixes #732

Change-Id: I6332571b2d8ec1ea48e697d31017eb6a63fe1a12
2016-05-02 06:22:49 -07:00
Will Norris 1f0340b436 website: simplify docHandler
don't strip the "/doc" prefix, which simplifies some of the file
handling logic.  Also add a test case for the /docs/ => /doc/ redirect.

Change-Id: I96c60bc031daaeff7f78ca854b60bdc542913b3d
2016-05-01 21:53:22 -07:00
Will Norris a7a63cfd0d CONTRIBUTORS: update CLA link
Fixes #749

Change-Id: I36d33bc974c0fa3355d7f93f5bb74136fe4a65cc
2016-05-01 20:59:52 -07:00
mpl d2ee6fe5dd website: redirect builder to travis
Fixes #658

Change-Id: I16f7d840e74320aad518ae7bdfd5702bace85cd4
2016-04-30 17:35:29 -07:00
Mathieu Lonjaret 46fe23f05d Merge "make.go: just build website with -website" 2016-05-01 00:31:05 +00:00
mpl bc4dbb0b5a make.go: just build website with -website
That should make it easier to catch missing dependencies. Because
'go run make.go -website' will ignore whatever's in your GOPATH, and
only use what's in our vendor.

Change-Id: I94648633a9fa69a5742b7e83031dab34470b9cde
2016-04-30 17:29:12 -07:00
mpl 637c0571b7 vendor: fix more website (protobuf) deps
Fixes #747

Change-Id: I2baec20e730bee9d902dc57cf08acb599744e984
2016-04-30 17:07:13 -07:00
Brad Fitzpatrick e305847941 Merge "ui: fix reload menu item for broken websocket connection" 2016-04-30 21:28:24 +00:00
Brad Fitzpatrick b8b310ac14 Merge "Fix permissions for files" 2016-04-30 21:28:02 +00:00
Brad Fitzpatrick d9c986235c Merge "C+A: add Tilman Dilo (Individual CLA)" 2016-04-30 21:25:19 +00:00
Brad Fitzpatrick de4ab2ae55 Merge "importer/foursquare: import also the photo of the companion" 2016-04-30 21:24:53 +00:00
Brad Fitzpatrick ed5c30bbc3 Merge "importer/foursquare: increment importer version" 2016-04-30 21:24:46 +00:00
Brad Fitzpatrick fac5ce1915 Merge "A+C: add Stephen Searles (Individual CLA)" 2016-04-30 21:21:11 +00:00
Kate Pek 9122259e66 importer/foursquare: import also the photo of the companion
Change-Id: Ia7d60ed049a038fb1b729230ed9eb817b400b076
2016-04-30 09:52:43 -05:00
Kate Pek 0c7fd08d49 importer/foursquare: increment importer version
Change-Id: Ied05f79b3fe206186591282417f341443194f609
2016-04-29 23:21:10 -05:00
Will Norris 2a561536d4 Merge "vendor: update cloud,grpc,protobuf libraries" 2016-04-30 03:01:19 +00:00
Kate Pek e45087dd35 importer/foursquare: also import who checked in together
Change-Id: I036f673acc954c16ffa249126b4e7a4882e9a4a7
2016-04-29 21:43:46 -05:00
Will Norris 5dd8671051 vendor: update cloud,grpc,protobuf libraries
update additional supporting libraries needed with
219f966a95

github.com/golang/protobuf @ 7cc19b78d562895b13596ddce7aafb59dd789318
google.golang.org/grpc @ b062a3c003c22bfef58fa99d689e6a892b408f9d
google.golang.org/cloud @ 36e3752134d445180a77cd40c922c48850b6fe9c
 - same as before, just added missing 'internal' package

Tests:
 - go run make.go succeeds
 - camweb builds and runs
 - go test ./pkg/... has a couple of failures, but nothing that wasn't
 already failing before this change

Fixes #743

Change-Id: I0a81f471f79255fcb4e0d615630eecce1c5cd966
2016-04-29 19:42:33 -07:00
Brad Fitzpatrick 20e63e3530 Merge "schema/nodeaddr: add GivenName, FamilyName" 2016-04-30 02:35:03 +00:00
Kate Pek 96ed8597a4 schema/nodeaddr: add GivenName, FamilyName
Change-Id: I82b5365d24acf14537719e903e463f0030e80ec5
2016-04-29 21:32:48 -05:00