Matthew Jaffee
d1f3b58861
remove inspect command
2022-02-03 11:25:31 -06:00
Matthew Jaffee
bff6b17a8e
remove check command (was for roaring backend files)
2022-02-02 20:56:18 -06:00
Ben Johnson
9ebf0e2119
Upgrade go.mod to featurebase/v3
2022-01-21 10:57:05 -07:00
Samir Patel
448289d609
add subcommand for key generation
2021-12-22 13:04:00 -06:00
reesporte
48aef0c8a4
add copyright notice back in
...
```bash
for file in `cat diffys`; do
printf '%s\n%s\n' "// Copyright 2021 Molecula Corp. All rights reserved." "$(cat $file)" >$file;
done
```
2021-12-10 11:01:04 -06:00
reesporte
4c53f86e82
removed license from each go file
...
i used this script, a little clunky but it got the job done
```bash
for file in `find . -type f -print | grep '\.go'`; do
sed '1,/^\/\/ limitations under the License.$/d' $file > $file.tmp;
result=`cat $file.tmp`
if [[ result != "" ]]; then
gofmt $file.tmp &> /dev/null;
if [[ $? == 0 ]]; then
mv $file.tmp $file && gofmt -w $file;
else
rm $file.tmp;
fi
else
rm $file.tmp;
fi
done
```
2021-12-10 09:17:17 -06:00
Mahesh Arumugam
bce6d91618
Merge branch 'master' into ma/cloud-109
2021-07-19 14:42:36 -07:00
Travis
7e718743d2
Rename pilosa binary to featurebase
2021-07-19 15:27:14 -05:00
Mahesh Arumugam
858f889745
FeatureBase Renaming: changing go.mod module name for featurebase
2021-07-19 09:20:30 -07:00
Mahesh Arumugam
48fcb3a198
FeatureBase renaming: version info in server log
2021-07-12 12:25:43 -07:00
Mahesh Arumugam
eb1cc304cf
FeatureBase Renaming: EnvPrefix
2021-07-09 14:52:40 -07:00
Todd Gruben
44281fa5c2
add chksum command for easier data validation
2021-06-23 16:10:52 -05:00
Todd Gruben
9d24fb07b7
wired in restore command
2021-05-21 09:27:08 -05:00
Ben Johnson
776b43a3cd
Backup CLI
2021-05-07 10:59:01 -06:00
Ben Johnson
7fa1a5edd2
Add RBF CLI commands
2020-10-27 08:12:22 -06:00
Jaden Weiss
aa1995073f
rebrand pilosa binaries
...
This change rebrands the Pilosa binaries from "Pilosa Enterprise" to "Molecula Pilosa" and simplifies the version info string.
2020-06-26 16:49:05 -04:00
Travis
9255d43e9a
tidy up some of the TODO comments
2020-05-09 22:26:12 -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
29a1db4550
add "holder" command to start up and shut down
...
It would be neat to be able to observe performance of
"just open the holder". So let's make that a verb.
2019-07-25 15:38:38 -05:00
Seebs
449c853850
address meta-lint or half-baked lint fixes
...
Clean up some spelling and consistency issues for the lint
fixes.
2019-04-16 12:08:40 -05:00
Seebs
77d49ded64
so much lint
...
So with the switch to a new linter, we get a lot of new warnings,
and the majority of them are harmless probably, but a few might be
real. Variously just use _ to suppress warnings, or report errors.
There's probably things here that deserve better fixes, but we can
always revisit it.
2019-04-16 12:07:18 -05:00
Cody Soyland
0b86bbb4f5
Fix linter issues: gochecknoinits
2018-07-18 11:58:27 -05:00
Cody Soyland
f9625ef4fa
Fix linter issues: unparam
2018-07-17 12:05:07 -05:00
alanbernstein
df32da1c8c
Merge pull request #1281 from alanbernstein/docs-intro-fixes
...
Assorted docs fixes
2018-05-15 16:34:28 -05:00
Cody Soyland
1c715aebe7
Improve enterprise build process
2018-05-15 10:16:55 -05:00
Alan Bernstein
b670afaa8d
Clean up CLI
2018-05-14 17:46:11 -05:00
Yuce Tekol
83bb0f97d4
Replaces dot in env variable name with underscore so they can be used in bash.
2017-10-10 06:15:22 +03:00
Michael Baird
f0c3fdcdda
Merge remote-tracking branch 'origin/master' into metrics
2017-05-30 15:36:19 -05:00
Linh Vo
51db1c7784
fix review
2017-05-25 12:07:09 -05:00
Linh Vo
0a19e9f413
#33 don't need reflect for get valid field
2017-05-23 14:44:16 -05:00
Linh Vo
0f45d27028
#33 validate config
2017-05-23 14:40:58 -05:00
Michael Baird
bf6ed942f0
Merge pull request #8 from alanbernstein/stats
...
Stats
2017-05-09 11:15:23 -05:00
Cody Soyland
42281f1c5d
Correct documentation link
2017-04-29 20:40:56 -05:00
Cody Soyland
3996b56b88
Apply Apache License 2.0
2017-04-28 14:22:03 -05:00
Alan Bernstein
78704dc55a
Remove SetupVersionBuild
2017-04-21 14:55:07 -05:00
Alan Bernstein
83e13bec74
Move version vars to pilosa package
2017-04-21 10:14:21 -05:00
Matt Jaffee
6f27930f89
add docs for cmd tests
2017-03-21 13:45:06 -05:00
Matt Jaffee
5f267c0a3a
support the various ways of specifying bind addr
2017-03-17 16:43:04 -05:00
Matt Jaffee
74b79dd928
add tests for subcommands
2017-03-17 16:43:04 -05:00
Matt Jaffee
a1d29537db
small tweaks - make dry-run hidden
2017-03-17 16:43:04 -05:00
Matt Jaffee
e144259a19
make config flag global, and add global dry run flag
...
config flag can be used by all subcommands. Dry run flag stops subcommand
execution after parsing of config - nice for testing.
2017-03-17 16:43:04 -05:00
Matt Jaffee
03eae77604
add cluster.hosts flag
...
had to work around a bunch of viper nonsense with handling string slices
changed the validator.Check to use reflect.DeepEqual
fixed a bug where env vars need to be reset between tests
had to change the structure of pilosa.config to enable the passing of hosts as a
slice of strings (it was a slice of structs which each just contained the string
host.) so we lose some generality, but we weren't using it anyway.
2017-03-17 16:43:04 -05:00
Matt Jaffee
372b7ca1c4
full testing support for pilosa server
...
1. fixed a couple bugs with config file reading.
2. made cmd.Serve a global variable so tests could inspect it.
3. added table style testing for pilosa server
4. added the ability to stop server programmatically which also causes the cobra
command running it to return.
2017-03-17 16:43:04 -05:00
Matt Jaffee
c3b7710d67
WIP on converting commands to be non-global and testable
2017-03-17 16:43:04 -05:00
Matt Jaffee
26a900843a
move setAllConfig and it's invocation to root cmd
2017-03-17 16:43:04 -05:00
Matt Jaffee
c7caea6b30
fix short help strings on commands
2017-03-06 16:45:37 -06:00
Matt Jaffee
a47f93329e
remove pilosactl and add version/build to root cmd
2017-03-03 15:24:39 -06:00
Matt Jaffee
02c3c6d3e6
use cobra/viper and move cmd/pilosa to server subcommand
2017-03-03 13:03:57 -06:00