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
Harshavardhana
7848ffd99c
Rename isMcConfigExist to isMcConfigExists for brevity
2015-06-23 20:28:12 -07:00
Harshavardhana
4b88ad7786
Move to structure printing everywhere, fix incorrect iodine usage at few places
2015-06-22 15:29:36 -07:00
Harshavardhana
de16a72e29
Add session command, first cut
2015-06-19 17:31:21 -07:00
Harshavardhana
0ea95ce6eb
Add more elaborate tag this time in [STRING-EPOCH-GITREV] format
2015-06-16 18:30:34 -07:00
Harshavardhana
c04acf4d50
Convert all errors.New and fmt.Errorf to typed errors
2015-06-13 21:36:42 -07:00
Harshavardhana
7a3bfcfac5
Add gomaxprocs default to NumCPUs() and update version
2015-06-11 19:07:04 -07:00
Harshavardhana
eb5d6ab84f
Move to upstream progress bar, deleting our fork - needed patches merged by upstream maintainer
2015-06-11 14:47:18 -07:00
Harshavardhana
dae79df316
Add errInvalidTheme and .Before should reply back to cli as error
2015-06-11 14:36:35 -07:00
Harshavardhana
d320b5c0ec
Moving to 'go run make.go', all builds are release builds for now
2015-06-06 01:20:39 -07:00
Anand Babu (AB) Periasamy
425b46abab
rename to registerCmd
2015-06-05 16:43:27 -07:00
Anand Babu (AB) Periasamy
7ba6bce961
trim long filenames in progress bar caption
2015-06-04 16:37:06 -07:00
Harshavardhana
d98b419a6a
Why only modularize cmd, do flags as well
2015-05-31 02:01:02 -07:00
Anand Babu (AB) Periasamy
31d1c25aa7
further modularize command options
2015-05-30 19:39:06 -07:00
Anand Babu (AB) Periasamy
fefdbd35ed
global alias option
2015-05-30 17:49:08 -07:00
Anand Babu (AB) Periasamy
d57fdd909f
remove retry capability
2015-05-30 16:53:34 -07:00
Harshavardhana
25f847b3b6
Implement console.Fatals, Errors, Infos, Prints for structure input and printing
2015-05-26 17:59:35 -07:00
Harshavardhana
192285c2af
Remove console to depend on its own structures, instead let it deal with interface{}
2015-05-24 12:58:30 -07:00