Cody Soyland
d4117f3137
Vendor modules before building docker image so private modules can be downloaded
2019-12-20 16:05:18 -06:00
Matt Jaffee
fe0f57651e
build with distinct by default
2019-12-20 12:21:47 -06:00
Cody Soyland
49b2029656
Run "go mod vendor" outside of Docker so authenticated modules may use system credentials
2019-12-20 12:21:47 -06:00
Seebs
7e1fd8392f
go.mod/go.sum changes for using molecula/ext
...
This pins us to the initial external release of molecula/ext, which
with any luck will be the only one. (Narrator: It was not to be the
only one.) We also use GOPRIVATE so we don't need a replace directive.
2019-12-20 12:21:47 -06:00
Seebs
f51c2dbc42
use extensions through build tags
2019-12-20 12:21:47 -06:00
Cody Soyland
58182ff563
Pilosa Enterprise private CI
2019-11-18 13:30:32 -06:00
Seebs
03f3f424aa
don't lint PEG files
...
I was pretty sure I'd done this, but I guess not: Skip linting
the PEG files.
2019-11-12 12:15:13 -06:00
Matt Jaffee
a414cada4f
add decimal field support to Inspect
...
I tested this manually with BloomRPC and curl, but need to write real
tests. Also need to get floats for decimal fields coming out of QueryPQL.
2019-10-30 11:13:48 -05:00
Seebs
7a381f7eaf
allow years other than 2017 in licenses
...
Also clean up the license hash checking a bit. We trim vendor early
in find so we don't have to walk the whole vendor tree only to grep
the files out, and we don't check the license hashes of the exceptions,
and the exceptions are now a plain text file of non-regex strings
we match exactly. Also the license hash code is only written once.
This will help us a lot if development on Pilosa continues through
2018 or later.
2019-10-29 15:24:09 -05:00
Ben Johnson
c7c9c1e1d7
v2.0.0
...
Co-authored-by: Cody Soyland <codysoyland@gmail.com>
2019-10-08 14:56:17 -06:00
Seebs
3070c2d4ac
try suppressing modules for golangci-lint
2019-04-16 12:06:28 -05:00
Seebs
d491724461
don't go get -u for golangci-lint
...
golangci-lint is actually dependent on a specific not-quite
most recent version of golang.org/x/tools, fixing the dependency
is hard and requires changing one of the upstream packages,
just omitting the `-u` lets golangci-lint grab the version it
wants and use that.
2019-04-16 12:06:28 -05:00
Cody Soyland
258646a7d5
Add golangci-lint to Makefile and CI config
2019-04-16 12:06:28 -05:00
Cody Soyland
b8ab44eb62
Fix enterprise license header and add shardwidth files to license header check
2019-04-12 11:57:28 -05:00
Cody Soyland
3c1d3e3145
Use bash for check-license-headers target
2019-04-12 11:35:42 -05:00
Cody Soyland
fdbfc68f7c
Add license headers to files missing them and CI check to verify they are present. Fixes #1633
2019-04-12 11:30:41 -05:00
Matt Jaffee
836b467d3d
add support to modify shard width at build time
...
use "make <x> SHARD_WIDTH=nn"
fix tests to run and pass at different shardwidths
add shardwidth22 test to circle ci
2019-04-04 13:46:26 -05:00
Matt Jaffee
e9db8eb2c2
run fewer concurrency level benchmarks, add bench Makefile target
...
The benchmarks take an absurdly long time to run, and I think these are the
largest offenders. Dropping to two concurrency cases 2 and 16 should give a
pretty good idea.
2019-03-27 13:32:56 -05:00
Cody Soyland
a9b8b352fc
Go mod should be enabled here
2019-02-07 10:49:40 -06:00
Cody Soyland
8ffc4537b7
Ensure Go modules disabled during installation of tools
2019-02-07 10:44:46 -06:00
Cody Soyland
4bef33eaa9
Address code review feedback
2019-02-04 08:56:32 -06:00
Cody Soyland
188b977633
Add go module support
2019-01-29 14:53:03 -06:00
Yuce Tekol
1d3fafa207
trivial
2019-01-21 18:32:58 +03:00
Yuce Tekol
511f7de422
added staticcheck to gometalinter target
2019-01-21 18:29:42 +03:00
Yuce Tekol
7531c337a9
removed megacheck from metalienter target
2019-01-21 18:23:40 +03:00
Matt Jaffee
ab34df351d
add Gopkg.lock as a dependency for vendor target
2018-12-18 12:27:32 -06:00
Matt Jaffee
7e6c406212
fix bug where cluster goes into RESIZING instead of NORMAL
...
running
"make clustertests
DOCKER_COMPOSE=internal/clustertests/docker-compose-replication2.yml"
shows this issue (just remove the change in cluster.go).
Also removed two unrelated lines of code that appear to be doing absolutely nothing.
2018-12-11 09:22:03 -06:00
Cody Soyland
6b901fdc0b
Simplify "require-*" logic in Makefile
2018-11-26 08:46:24 -06:00
Matt Jaffee
37ac8b7a93
better use of docker-compose opts per code review
2018-11-12 17:44:23 -06:00
Matt Jaffee
deae8ce7c0
improvements to clustertests and fix cluster pause bug by state sharing
2018-11-09 11:28:19 -06:00
Cody Soyland
975e013deb
Increase gometalinter deadline so CI stops failing
2018-09-11 14:38:04 -05:00
Cody Soyland
9717dd2d6e
Add CircleCI
2018-08-21 10:41:33 -05:00
Cody Soyland
e76c523135
Merge branch 'master' into 1517-metalinter-unconvert
2018-08-02 11:45:24 -05:00
Cody Soyland
d344876587
Increase gometalinter deadline
2018-08-02 10:59:29 -05:00
Cody Soyland
dc50204846
Fix linter issues: unconvert
2018-07-20 11:51:55 -05:00
Cody Soyland
990780bd93
Fix linter issues: staticcheck (covered by megacheck, along with gosimple and unused)
2018-07-20 11:19:24 -05:00
Cody Soyland
e9523063b5
Fix linter issues: unused
2018-07-20 10:33:29 -05:00
Cody Soyland
f01d850b17
Fix linter issues: gosimple
2018-07-20 09:06:43 -05:00
Cody Soyland
de99b5720f
Fix linter issues: vet
2018-07-19 11:37:50 -05:00
Cody Soyland
187ded0a52
Fix linter issues: maligned
2018-07-19 11:07:59 -05:00
Cody Soyland
3ca51989c2
Merge branch 'master' into 1515-metalinter-nakedret
2018-07-19 07:52:58 -05:00
Cody Soyland
7bd2405765
Merge branch 'master' into 1510-metalinter-ineffassign
2018-07-18 16:28:49 -05:00
Cody Soyland
2aa4d6b12f
Fix linter issues: nakedret
2018-07-18 15:23:36 -05:00
Cody Soyland
d4510172d3
Fix linter issues: ineffassign
2018-07-18 14:02:56 -05:00
Cody Soyland
0b86bbb4f5
Fix linter issues: gochecknoinits
2018-07-18 11:58:27 -05:00
Cody Soyland
a962a0c526
Fix linter issues: deadcode
2018-07-17 17:17:42 -05:00
Cody Soyland
486edbec43
Merge branch 'master' into 1511-metalinter-interfacer
2018-07-17 13:41:11 -05:00
Cody Soyland
8efbb02fb1
Merge branch 'master' into 1514-metalinter-misspell
2018-07-17 12:38:12 -05:00
Cody Soyland
573ec91fc2
Fix linter issues: interfacer
2018-07-17 12:36:02 -05:00
Cody Soyland
2635759893
Fix linter issues: misspell
2018-07-17 12:22:41 -05:00