Harshavardhana
e9be0976ab
when Invalid command is passed, print closest known prefix using trie structure
2015-09-14 01:40:48 -07:00
Harshavardhana
1a74e98b23
Share migrate to V2 version moving from type map to array.
2015-09-13 13:45:54 -07:00
Harshavardhana
311a80b6e8
Disallow users running 'mc' as root
2015-09-09 15:49:22 -07:00
Anand Babu (AB) Periasamy
0fbcfa5de0
automatically enable quiet-mode if terminal capabilities are limited
2015-08-29 12:25:03 -07:00
Harshavardhana
957d4e08cc
Fix typo, pushing this in
2015-08-29 00:40:38 -07:00
Harshavardhana
7e5820a815
Fix config v3 for previous reverts
2015-08-29 00:27:11 -07:00
Harshavardhana
0dda19490e
Add nocolor flag to disable coloring if necessary proactively
2015-08-26 12:34:08 -07:00
Harshavardhana
40b93efd8b
Add remove alias command
2015-08-25 18:02:27 -07:00
Harshavardhana
c48a98de62
Add proper comments.
2015-08-25 16:54:55 -07:00
Anand Babu (AB) Periasamy
831db52dcf
thread-safe typed errors
2015-08-24 12:55:11 -07:00
Anand Babu (AB) Periasamy
40ff9f1033
re-vendorize probe and simplfy typed errors
2015-08-24 04:09:18 -07:00
Harshavardhana
f089dc1b68
End sentences with a . for readability
2015-08-23 01:35:32 -07:00
Anand Babu (AB) Periasamy
e61ad067cd
final review of all error messages
2015-08-22 23:15:30 -07:00
Harshavardhana
c08b44e419
Add pkg-add and pkg-remove Makefile options for easily removing and adding new packages
2015-08-22 21:25:12 -07:00
Anand Babu (AB) Periasamy
0de688948a
error messages and tiny bug fixes
2015-08-22 19:47:11 -07:00
Harshavardhana
a0e66ce640
Migrate to golang1.5 with new GO15VENDOREXPERIMENT enabled
2015-08-22 19:04:17 -07:00
Harshavardhana
878c8e2693
Migrate to newer version of config '2'
2015-08-20 21:03:39 -07:00
Harshavardhana
cf5290ad74
Merge themes as settable from outside console, add a default theme as well.
2015-08-19 22:59:05 -07:00
Harshavardhana
fa0c9e38bb
Add error messages to fatalIf and errorIf
2015-08-19 17:11:34 -07:00
Harshavardhana
34818f875d
Remove Version string from json prints, rename first-time.go to verify-runtime.go
2015-08-13 21:00:52 -07:00
Harshavardhana
192518d679
Add new version command
2015-08-13 20:50:32 -07:00
Harshavardhana
3caee383f0
Migrate to govendor to avoid limitations of godep
...
- over the course of a project history every maintainer needs to update
its dependency packages, the problem essentially with godep is manipulating
GOPATH - this manipulation leads to static objects created at different locations
which end up conflicting with the overall functionality of golang.
This also leads to broken builds on many platforms. There is no easier way out of
this other than asking users to do 'godep restore' all the time which perhaps as
a practice doesn't sound clean, also has its own set of problems.
- govendor on the other hand is a right tool but a stop gap tool until we wait for
golangs official 1.5 version which fixes this vendoring issue once and for all.
- govendor makes sure that the import paths are re-written instead of manipulating
GOPATH.
This has advantages
- no more compiled objects being referenced in GOPATH and build time GOPATH
manging which leads to conflicts.
- proper import paths referencing the exact package a project is dependent on.
govendor is simple and provides the minimal necessary tooling to achieve this.
For now this is the right solution.
2015-08-12 19:04:16 -07:00
Harshavardhana
abbf27ca01
Rename conf-dir to config-folder to be consistent with our naming convention regarding folders v/s directories
2015-08-12 16:17:29 -07:00
Harshavardhana
38a25410ef
Rename --alias to --mimic, remove --force flag
2015-08-12 16:02:11 -07:00
Harshavardhana
87d37521c8
Merge pull request #991 from krishnasrinivas/rename-config-to-conf-dir
...
rename --config to --conf-dir and do firstTimeRun() after setMcConfig…
2015-08-12 14:19:15 -07:00
Krishna Srinivas
22d7258a0e
rename --config to --conf-dir and do firstTimeRun() after setMcConfigDir()
2015-08-13 02:37:35 +05:30
Harshavardhana
40d096353d
Possible fix for SetTheme issue
2015-08-12 12:48:00 -07:00
Harshavardhana
ae2a20dffc
Move from Fatal/Error to fatalIf/errorIf
2015-08-09 22:41:49 -07:00
Harshavardhana
202f9e7646
Probe moves closer to mc, also brings in changes by avoiding it behave like an error interface{}
2015-08-07 00:53:37 -07:00
Harshavardhana
c36ed96f26
Add `share` command leveraging new PresignedURL API from minio-go
2015-08-06 21:52:53 -07:00
Harshavardhana
e6fd52f026
Rename ifFatal and ifError as Fatal, Error
2015-08-03 22:19:45 -07:00
Harshavardhana
e7dab5f1cf
Migrating from iodine to probe
2015-08-03 11:04:34 -07:00
Harshavardhana
ded42e0df2
Rename cast to mirror
2015-07-30 16:20:07 -07:00
Harshavardhana
4eb519fa6c
Autogenerate config, for the first time no more config generate
2015-07-26 00:24:08 -07:00
Harshavardhana
feca7e196e
Add go-version dependency, add first-time.go to check for golang version
2015-07-26 00:04:42 -07:00
Harshavardhana
e6a57e4afa
Allow migration for custom config location
2015-07-25 21:37:19 -07:00
Harshavardhana
df4184de88
use the new ExtraInfo functionality
2015-07-24 23:35:36 -07:00
Harshavardhana
5af70f5e49
Rename product to new convention
2015-07-24 18:23:12 -07:00
Harshavardhana
1afc92cb49
Add cast syntax check logic
...
-- TypeA for both cast and copy targetURL check shouldn't fail it it doesn't exist
such is a common occurrence of not having a target, instead we verify if it exists
is it a directory?
-- Rename all 'directory' references to folder
2015-07-24 14:43:47 -07:00
Harshavardhana
b90e016892
Add command context testing
2015-07-24 12:42:33 -07:00
Harshavardhana
2e23ca3ce9
Add migration code for migrating from config version 1.0.0 to 1.0.1
2015-07-23 14:32:21 -07:00
Harshavardhana
363c06d8f7
Rename sync to cast
2015-07-17 18:27:45 -07:00
Harshavardhana
f8eaa96b1d
Add force flag support to avoid over-writing destination
2015-07-16 22:39:48 -07:00
Anand Babu (AB) Periasamy
4990aafb10
fix version parsing for --version
2015-07-14 18:56:37 -07:00
Harshavardhana
3414a0fd3b
Remove cp and sync tests for now, bring them back with console.Test, additionally close DataFP inside session.Close()
2015-07-14 16:43:32 -07:00
Harshavardhana
d4047ca899
Cleanup minio, remote struct printing for Info, Error and Fatal - simplifying overall error handling
2015-07-14 11:02:04 -07:00
Anand Babu (AB) Periasamy
de8b99c4ff
support for custom --config dir
2015-07-13 15:35:53 -07:00
Anand Babu (AB) Periasamy
6dcd73551c
Session V2 implementation for copy and sync
2015-07-12 20:47:49 -07:00
Harshavardhana
694cc7bb8e
Simplify console removing lot of custom json unmarshal code
2015-07-12 09:18:20 -07:00
Harshavardhana
12680b6fbf
Going to use minio/pb forked version as primary, since we might make more changes in future.
...
While we submit all our changes upstream
2015-07-05 01:16:51 -07:00