google.Endpoint is the only thing we were using from
third_party/golang.org/x/oauth2/google
And pkg google would in turn bring in lots of dependencies (that I had
forgotten in 22f45f14a5).
Replacing Endpoint with the hardcoded values hence allows us to not
vendor in all those dependencies.
Also fix make.go to build camdeploy as well.
Change-Id: I6ba51991187a11705c97c9546848303540f99aa1
Don't just trust all zembed_*.go files to be wanted. Instead, we now
ask genfileembed to write out its output files to stderr, parse that,
and add those to our set of wanted files. Then when we look for
unwanted files that aren't known outputs that now also potentially
includes zembed_*.go files.
This fixes a JavaScript breakage from when Aaron renamed some
JavaScript files recently.
Turns out I had 4 such files that were stale outputs.
In other news, I hereby declare a moratorium on updates to make.go.
It has become disgusting and is need of cleanup love before it is
disgraced further.
Change-Id: Ia1432d21ce486bfbca9e3c9db6f1852b859ebfc0
This saves people from needing to updating rxMirrored every time they add a
new type of file to their tests.
Change-Id: I32f87dbe92ae844e411ce77d0abe67c37a668ff3
And use the flag in integration tests.
devcam server already uses it.
Does not fully work yet with devcam test.
Change-Id: I0dbd2b28ff60090133abf0b9578e33d5788a6603
Problem: make.go creates an isolated temp gopath ./tmp/build-gopath. The
integration tests make use of that gopath (by running make.go) to build
the tools, and run the test world in it. Similarly, devcam test uses
make.go to setup that temp gopath, and runs the tests from the source
files in that gopath. Consequently, when the integration tests are run
through devcam test, even though they're run from the temp gopath, they
would use the make.go in it, which would create a nested temp gopath
(CAMLIROOT/tmp/build-gopath/src/camlistore.org/tmp/build-gopath) in
which to run the tests.
This patch addresses this issue by creating a new flag (-envGoPath), and
the corresponding env var (CAMLI_MAKE_USEGOPATH), which tells make.go
not to create a new temporary gopath (and hence not to mirror any
files), and to rely on the already set GOPATH env var instead.
Also refactored make.go a bit, and added a couple options and doc to
devcam test.
Change-Id: Ia8a5d7a31e6e317f05218d9e18fb886001cd19cb
Replace reindex.go deleted blob.Ref detection loop with a regexp.
Replace diskpacked.go's isDeletedRef with same regexp.
Add a test that verifies the returned blobs match expectations and verifies
multipack diskpacked works..
Add new extension '.blobs' to devcam test's list of suffixes to copy.
Tests fail without the changes to reindex.go.
Change-Id: I0743c1b1ea295324ae3a39e70e6a07e2d6aa70e9
New behavior for -targets:
- Empty only builds default binaries for this requested platform.
- * builds binaries and recursively builds pkg/..., server/..., and
third_party/... (old empty behavior).
- Or specify the packages you want to build separated by commas.
This should fix the failing build on FreeBSD.
Change-Id: I3e19fd26b7fa5526bb2139487f25a07fa01952c4
In camlistored, only react.min.js is served. In devcam all files in
the read directory are served.
Change-Id: I0cb8a4c328e550b5303edef4be7571d39d123340
To select an item, click the checkmark that overlays on rollover.
To navigate, just click anywhere else on the item.
Also move selection from additive by default rather than exclusive.
Change-Id: I47e6ca1942fe1fdaaf615f6ab0e0a547f1a51735