Commit Graph
1956 Commits
Author SHA1 Message Date
Harshavardhana dfd1b29d5f Improve error messages 2015-08-20 17:22:38 -07:00
Harshavardhana e254216106 Merge pull request #1015 from harshavardhana/mailmap-update
update AB's contributors email
2015-08-20 16:17:37 -07:00
Harshavardhana dfe5541f04 update AB's contributors email 2015-08-20 16:16:17 -07:00
Harshavardhana 09656f034e Merge pull request #1014 from harshavardhana/pr_out_print_progress_bar_messages
Print progress bar messages
2015-08-20 00:10:48 -07:00
Harshavardhana c4e5cc8127 Print progress bar messages 2015-08-20 00:10:00 -07:00
Anand Babu (AB) Periasamy e9980865f3 Merge pull request #1013 from abperiasamy/access-error-review
probe update and access command error messages updated
2015-08-19 23:25:35 -07:00
Anand Babu (AB) Periasamy 754dc8849e probe update and access command error messages update 2015-08-19 23:22:39 -07:00
Harshavardhana cc119a3b67 Merge pull request #1012 from harshavardhana/themes
Merge themes as settable from outside console, add a default theme as…
2015-08-19 23:10:33 -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 ec372eb47a Merge pull request #1011 from harshavardhana/addr_error_messages
Add error messages to fatalIf and errorIf
2015-08-19 17:15:00 -07:00
Harshavardhana fa0c9e38bb Add error messages to fatalIf and errorIf 2015-08-19 17:11:34 -07:00
Harshavardhana b323c96343 Merge pull request #1010 from harshavardhana/json_messages
Handle json and regular printing for all commands in their own respec…
2015-08-19 12:55:16 -07:00
Harshavardhana 4c521fa2b2 Handle json and regular printing for all commands in their own respective files for readability 2015-08-19 12:53:53 -07:00
Harshavardhana 9b07069623 Merge pull request #1009 from harshavardhana/syscall
piping cli help output leads to error, fix it by ignoring syscall.EPIPE
2015-08-19 11:33:08 -07:00
Harshavardhana fe594e1b26 piping cli help output leads to error, fix it by ignoring syscall.EPIPE
without this fix - template tries to write to /dev/stdout even after its closed leading to a crash as below

~~~
panic: template: help:21:20: executing "help" at < https://s3.amazonaw...>: write /dev/stdout: broken pipe
~~~

Ignore syscall.EPIPE since its an expected result
2015-08-19 11:27:50 -07:00
Harshavardhana 56705ec1c6 Merge pull request #1008 from harshavardhana/remove_indent
Remove json indent for easing parsing
2015-08-19 02:39:12 -07:00
Harshavardhana 60a29bae96 Remove json indent for easing parsing
Indentation while it is nice, leads to issues when parsing where delimiters on
readline() will fail since we are sending many self contained json's in a streaming
fashion, having a proper readline() based delimiter is helpful in terms of parsing.
2015-08-19 02:38:09 -07:00
Anand Babu (AB) Periasamy f8fc43d76a Merge pull request #1007 from abperiasamy/error-handling-update
error handling updates
2015-08-19 01:35:01 -07:00
Anand Babu (AB) Periasamy c50bc9c22f error handling updates 2015-08-19 01:27:40 -07:00
Harshavardhana d6e8bd5ca9 Merge pull request #1006 from harshavardhana/error
Separate out Cause and full Debug message
2015-08-19 00:42:01 -07:00
Harshavardhana 3b7801751a Separate out Cause and full Debug 2015-08-19 00:39:09 -07:00
Harshavardhana 4b1e5944e6 Merge pull request #1005 from harshavardhana/error
Remove redundant error usage, use *probe.Error containerized
2015-08-19 00:30:30 -07:00
Harshavardhana 6d5b6e1d09 Remove redundant error usage, use *probe.Error containerized 2015-08-19 00:29:36 -07:00
Harshavardhana 2f4dd5b9f3 Merge pull request #1004 from harshavardhana/vendorize_error
update mc to new changes in probe and minio-go (0.2.2)
2015-08-19 00:03:25 -07:00
Harshavardhana 6173eff288 update mc to new changes in probe and minio-go (0.2.2) 2015-08-19 00:02:01 -07:00
Harshavardhana 6d4a5173fd Merge pull request #1003 from harshavardhana/error
Probe error should be marshalled as json.RawMessage to avoid re-encod…
2015-08-16 11:54:29 -07:00
Harshavardhana 6313bb2c46 Probe error should be marshalled as json.RawMessage to avoid re-encoding of an already marshalled string 2015-08-16 11:23:51 -07:00
Harshavardhana 27016a122e Merge pull request #1002 from harshavardhana/content
Add JSON() printing for error and fatal messages
2015-08-14 07:14:51 -07:00
Harshavardhana b3f907b19b Add JSON() printing for error and fatal messages 2015-08-14 07:13:27 -07:00
Harshavardhana e4aa57521d Merge pull request #1001 from harshavardhana/remove_version
Remove Version string from json printer, rename first-time.go to verif…
2015-08-13 21:02:04 -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 7543b71aed Merge pull request #1000 from harshavardhana/version_cmd
Add new version command
2015-08-13 20:52:31 -07:00
Harshavardhana 192518d679 Add new version command 2015-08-13 20:50:32 -07:00
Harshavardhana ff27f3a0f3 Merge pull request #999 from harshavardhana/vendorize_quick
Move quick to server and vendorize it
2015-08-13 16:41:39 -07:00
Harshavardhana b743f88353 Move quick to server and vendorize it 2015-08-13 16:38:24 -07:00
Harshavardhana ab1f9aaaa8 Merge pull request #998 from harshavardhana/maintainers
Add maintainers file
2015-08-13 11:29:41 -07:00
Harshavardhana 05675cbd14 Add maintainers file 2015-08-13 11:28:13 -07:00
Harshavardhana c5e656372d Merge pull request #997 from harshavardhana/races-fixed
Fix test cases where cp and mirror would fail
2015-08-12 22:17:15 -07:00
Harshavardhana 99f53fe45d Fix test cases where cp and mirror would fail
- globalQuietFlag and globalJSONFlag should be checked in conjunction
  for terminal features to be disabled. Otherwise ioctl fails for
  calculating the term size.

- Avoid unnecessary scoping for probe, it has two different error sets now
2015-08-12 22:11:31 -07:00
Harshavardhana e2c4d25e86 Merge pull request #996 from harshavardhana/migrate-to-govendor
Migrate to govendor to avoid limitations of godep
2015-08-12 19:15:20 -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 7201658ee8 Merge pull request #995 from harshavardhana/improve-share
Improve share command
2015-08-12 17:01:12 -07:00
Harshavardhana 3185ca1146 Improve share command 2015-08-12 17:00:07 -07:00
Harshavardhana d7c730cd59 Merge pull request #994 from harshavardhana/folder
Rename conf-dir to config-folder to be consistent with our naming con…
2015-08-12 16:20:54 -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 1afd94c9d5 Merge pull request #993 from harshavardhana/rename-alias
Rename --alias to --mimic, remove --force flag
2015-08-12 16:03:50 -07:00
Harshavardhana 38a25410ef Rename --alias to --mimic, remove --force flag 2015-08-12 16:02:11 -07:00
Harshavardhana 1129bcec30 Merge pull request #992 from harshavardhana/turn-off-coloring
Turn off coloring when terminals are not tty even for os.Stdout
2015-08-12 15:12:34 -07:00
Harshavardhana 0571fe67a2 Turn off coloring when terminals are not tty even for os.Stdout 2015-08-12 15:11:15 -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