Commit graph

5199 commits

Author SHA1 Message Date
Ben Johnson
0b8d935f1c
Add inverse TopN() support.
The TopN() call now supports an `inverse` boolean argument to
specify if the call should operate on the standard view or the
inverse view.
2017-05-15 10:35:48 -06:00
Yuce Tekol
c8d03ff625
added goveralls 2017-05-15 19:35:04 +03:00
Todd Gruben
fbae0f4d15 asm build options for non amd64 2017-05-15 11:31:41 -05:00
Linh Vo
e20b9075e2 #413 set standard view as default for export command 2017-05-15 11:17:48 -05:00
alanbernstein
5d603f623b Merge pull request #537 from alanbernstein/webui-help
Add syntax hints tooltip to WebUI
2017-05-12 16:33:16 -05:00
Cody Soyland
a8a15a6f79 Merge pull request #546 from graphaelli/checksum-error-message
provide details on glide checksum mistmach
2017-05-12 17:26:41 -04:00
Gil Raphaelli
76354c69e9 provide details on glide checksum mistmach
before:

Step 6/13 : RUN wget ${GLIDE} -O /go/glide.tar.gz -q     && tar xf /go/glide.tar.gz     && mv /go/linux-amd64/glide /go/bin     && [ "$(sha256sum /go/bin/glide | cut -d' ' -f1)" = "$GLIDE_HASH" ]     && cd /go/src/github.com/pilosa/pilosa     && make vendor     && CGO_ENABLED=0 go install -a -ldflags "$ldflags" github.com/pilosa/pilosa/cmd/pilosa
 ---> Running in e2a6fcdf5930
The command '/bin/sh -c wget ${GLIDE} -O /go/glide.tar.gz -q     && tar xf /go/glide.tar.gz     && mv /go/linux-amd64/glide /go/bin     && [ "$(sha256sum /go/bin/glide | cut -d' ' -f1)" = "$GLIDE_HASH" ]     && cd /go/src/github.com/pilosa/pilosa     && make vendor     && CGO_ENABLED=0 go install -a -ldflags "$ldflags" github.com/pilosa/pilosa/cmd/pilosa' returned a non-zero code: 1
make: *** [docker] Error 1

after:

Step 6/13 : RUN wget ${GLIDE} -O /go/glide.tar.gz -q     && tar xf /go/glide.tar.gz     && mv /go/linux-amd64/glide /go/bin     && echo "${GLIDE_HASH}  /go/bin/glide" | shasum -a 256 -c -     && cd /go/src/github.com/pilosa/pilosa     && make vendor     && CGO_ENABLED=0 go install -a -ldflags "$ldflags" github.com/pilosa/pilosa/cmd/pilosa
 ---> Running in 5aaaab387641
shasum: WARNING: 1 computed checksum did NOT match
/go/bin/glide: FAILED
The command '/bin/sh -c wget ${GLIDE} -O /go/glide.tar.gz -q     && tar xf /go/glide.tar.gz     && mv /go/linux-amd64/glide /go/bin     && echo "${GLIDE_HASH}  /go/bin/glide" | shasum -a 256 -c -     && cd /go/src/github.com/pilosa/pilosa     && make vendor     && CGO_ENABLED=0 go install -a -ldflags "$ldflags" github.com/pilosa/pilosa/cmd/pilosa' returned a non-zero code: 1
make: *** [docker] Error 1
2017-05-12 16:48:47 -04:00
Cody Soyland
3a1bcc353e Add release target in Makefile 2017-05-10 14:04:09 -05:00
Cody Soyland
6c11746ac8 Fix vendor target as to not call "glide install" on every invocation 2017-05-10 13:59:34 -05:00
Cody Soyland
86c254bdbd Keep ldflags in one place 2017-05-10 13:57:41 -05:00
Alan Bernstein
3eff46b07a Use default row/column labels 2017-05-09 21:22:45 -05:00
Alan Bernstein
742ca5d18f Update autocomplete list 2017-05-09 17:53:47 -05:00
Alan Bernstein
43dac449b0 Fix broken html structure 2017-05-09 17:53:25 -05:00
Alan Bernstein
62d1c20eef Style fixes 2017-05-09 17:52:29 -05:00
Michael Baird
bd44949cb5 Merge remote-tracking branch 'origin/master' into metrics
Conflicts:
	config.go
	executor_test.go
	server/server.go
2017-05-09 11:31:14 -05:00
Michael Baird
bf6ed942f0 Merge pull request #8 from alanbernstein/stats
Stats
2017-05-09 11:15:23 -05:00
Alan Bernstein
4bb31d071e Change db to index 2017-05-09 11:07:09 -05:00
Travis Turner
92641ae7e1 Merge pull request #519 from travisturner/proto-license
Add LICENSE to internal/ folder.
2017-05-09 10:53:40 -05:00
Cody Soyland
deab589fc0 Merge pull request #535 from codysoyland/docker-update
Use Docker multi-stage build in Dockerfile
2017-05-09 10:44:00 -04:00
Alan Bernstein
c7e0168729 Add syntax hints tooltip to WebUI 2017-05-08 17:59:18 -05:00
Ben Johnson
b7a73e97fd Merge pull request #533 from benbjohnson/inverse-range
Support inverse Range() queries.
2017-05-08 15:04:40 -06:00
Cody Soyland
1f1a23accd Move maintainer info to release stage, switch to LABEL instruction 2017-05-08 15:47:47 -05:00
Cody Soyland
37d0c4ce23 Use Docker multi-stage build in Dockerfile
This utilizes Docker multi-stage builds to produce a minimal Docker
image. Requires Docker 17.05.0.
2017-05-08 14:41:33 -05:00
Ben Johnson
d4ddf3676c
Support inverse Range() queries. 2017-05-08 09:46:01 -06:00
Travis Turner
4c9ced4a0a Merge pull request #532 from kalimatas/fix-link-to-contributing-guide
Link Contributing guide to file in repo instead of external site
2017-05-07 10:00:48 -05:00
Alexander Guz
09eea27094 Link Contributing guide to file in repo instead of external site 2017-05-07 15:12:41 +02:00
Yuce Tekol
a298904868 Merge pull request #527 from yuce/docker-update
docker update
2017-05-05 00:01:33 +03:00
Linh Vo
f7c65198cb Merge pull request #529 from linhvo/webui-options
Webui options
2017-05-04 10:40:01 -05:00
Cody Soyland
6d3bc1f597 Merge pull request #526 from codysoyland/badges
Add CLA Assistant badge and change to open-source Travis CI badge
2017-05-04 10:09:55 -04:00
Cody Soyland
41c41b58ae Switch to open-source Travis CI 2017-05-04 09:00:12 -05:00
Cody Soyland
05ff5e3c44 Add CLA Assistant badge 2017-05-04 08:58:51 -05:00
tgruben
bc2ffaad94 Merge pull request #528 from dgryski/vet-assembly
roaring: fix vet issues with the assembly code
2017-05-04 08:35:07 -05:00
Damian Gryski
62d6edd1ca roaring: fix vet issues with the assembly code
assembly_amd64.s:3: [amd64] hasAsm: wrong argument size 0; expected $...-1
assembly_amd64.s:11: [amd64] POPCNTQ: wrong argument size 8; expected $...-16
assembly_amd64.s:12: [amd64] POPCNTQ: unknown variable x; offset 0 is memory+0(FP)
assembly_amd64.s:17: [amd64] BSFQ: wrong argument size 8; expected $...-16
assembly_amd64.s:18: [amd64] BSFQ: unknown variable x; offset 0 is memory+0(FP)
assembly_amd64.s:28: [amd64] popcntSliceAsm: invalid offset s+8(FP); expected s+0(FP), s_base+0(FP), s_len+8(FP), or s_cap+16(FP)
assembly_amd64.s:43: [amd64] popcntMaskSliceAsm: invalid offset s+8(FP); expected s+0(FP), s_base+0(FP), s_len+8(FP), or s_cap+16(FP)
assembly_amd64.s:63: [amd64] popcntAndSliceAsm: invalid offset s+8(FP); expected s+0(FP), s_base+0(FP), s_len+8(FP), or s_cap+16(FP)
assembly_amd64.s:82: [amd64] popcntOrSliceAsm: invalid offset s+8(FP); expected s+0(FP), s_base+0(FP), s_len+8(FP), or s_cap+16(FP)
assembly_amd64.s:101: [amd64] popcntXorSliceAsm: invalid offset s+8(FP); expected s+0(FP), s_base+0(FP), s_len+8(FP), or s_cap+16(FP)
2017-05-04 11:01:10 +02:00
Linh Vo
5669495574 Merge branch 'master' of github.com:pilosa/pilosa into webui-options 2017-05-03 23:23:40 -05:00
Linh Vo
565ed02713 #511 webui options 2017-05-03 23:23:24 -05:00
Yuce Tekol
df59037942
Update golang to 1.8.1; fix pilosa binary version and build time; download precompiled glide 2017-05-04 02:05:09 +03:00
Matthew Jaffee
0a81ce471d Merge pull request #524 from jaffee/ranked-default-2
change default cache type to ranked
2017-05-03 15:16:19 -05:00
Matt Jaffee
9fdb2e1460 differentiate error messages 2017-05-03 13:52:04 -05:00
Ben Johnson
d93ad0530a Merge pull request #503 from benbjohnson/prevent-matching-labels
Prevent row labels that match the column label.
2017-05-03 11:20:37 -06:00
Ben Johnson
35e8a75f25 Merge pull request #525 from benbjohnson/write-limit
Add max-writes-per-requests limit.
2017-05-03 11:19:17 -06:00
Ben Johnson
e3d6f96657
Add max-writes-per-requests limit.
A configurable limit has been added to restrict the number of
mutating calls in a `pql.Query`. This is to prevents requests from
timing out from large queries.

The default is set to 5000 writes per request and is configurable
through the configuration file and the command line flags.
2017-05-03 08:53:20 -06:00
Linh Vo
0bef10d4df Merge branch 'master' of github.com:pilosa/pilosa 2017-05-03 09:51:56 -05:00
Cody Soyland
d2d3f28865 Merge pull request #518 from codysoyland/badges
Add additional badges to README (#402)
2017-05-03 10:49:14 -04:00
Linh Vo
d8e4f67d74 Merge pull request #510 from linhvo/webui-updated
Webui updated
2017-05-03 09:07:55 -05:00
Matt Jaffee
36e11e4ba8 remove print 2017-05-02 17:53:22 -05:00
Matt Jaffee
11b84cec94 change default cache type to ranked
All tests which use MustOpenFragment now explicitly pass a cacheType parameter.
If this parameter is an empty string, it means that whether the test works
should not depend on the cache type of the fragment. Otherwise the test should
explicitly set the cache type it needs rather than relying on the default.
2017-05-02 16:58:03 -05:00
Linh Vo
69af3246db fix use command 2017-05-02 11:48:34 -05:00
Linh Vo
547c64397c break word into multiple lines 2017-05-02 11:35:29 -05:00
Travis Turner
d8b762c165 Merge pull request #520 from travisturner/default-parition-n
Default partition n
2017-05-02 08:51:11 -05:00
Travis
f429c87a56
new test function: MustCreateRankedFragmentIfNotExists 2017-05-01 23:57:43 -05:00