Commit Graph
1918 Commits
Author SHA1 Message Date
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
Krishna Srinivas 22d7258a0e rename --config to --conf-dir and do firstTimeRun() after setMcConfigDir() 2015-08-13 02:37:35 +05:30
Harshavardhana a62a936c9d Merge pull request #990 from harshavardhana/settheme-issue
Possible fix for SetTheme issue
2015-08-12 12:48:58 -07:00
Harshavardhana 40d096353d Possible fix for SetTheme issue 2015-08-12 12:48:00 -07:00
Harshavardhana 03542acc1d Merge pull request #989 from harshavardhana/rename-mainfuncs
Rename all main command actions into main<Command> from run<Command>Cmd
2015-08-12 01:27:50 -07:00
Harshavardhana 6a59d9a046 Rename all main command actions into main<Command> from run<Command>Cmd 2015-08-12 01:26:35 -07:00
Harshavardhana ac3e399d69 Merge pull request #988 from harshavardhana/deps-update
Update minio-go to latest release 0.2.1
2015-08-12 01:11:25 -07:00
Harshavardhana 703addae62 update minio-go to latest release 0.2.1 2015-08-12 01:10:24 -07:00
Harshavardhana e86395917b Merge pull request #987 from harshavardhana/simplify-strings
Simplify and enhance error strings
2015-08-12 01:09:57 -07:00
Harshavardhana 413ce3995e Simplify and enhance error strings 2015-08-12 01:05:02 -07:00
Harshavardhana abccc35d37 Merge pull request #986 from harshavardhana/print-json
Print json output for share urls as well
2015-08-11 23:18:46 -07:00
Harshavardhana ed70bbb7e3 Print json output for share urls as well 2015-08-11 23:17:23 -07:00
Harshavardhana 8ee45d8f72 Merge pull request #985 from harshavardhana/probe-from-server
Move to server package for probe
2015-08-10 20:25:21 -07:00
Harshavardhana 25e5ea2574 Move to server package for probe 2015-08-10 19:49:57 -07:00
Harshavardhana 6e9d7f40c2 Merge pull request #984 from harshavardhana/pr_out_move_from_fatal_error_to_fatalif_errorif
Move from Fatal/Error to fatalIf/errorIf
2015-08-09 22:42:41 -07:00
Harshavardhana ae2a20dffc Move from Fatal/Error to fatalIf/errorIf 2015-08-09 22:41:49 -07:00
Anand Babu (AB) Periasamy f1589263e7 Merge pull request #983 from abperiasamy/cat-rewrite
cat rewrite
2015-08-09 22:25:43 -07:00
Anand Babu (AB) Periasamy ed4bbaafaf cat rewrite 2015-08-09 22:22:18 -07:00
Anand Babu (AB) Periasamy b751fa2372 Merge pull request #982 from abperiasamy/quick-fix
remove unnecessary pointer to interface
2015-08-09 19:44:26 -07:00
Anand Babu (AB) Periasamy 0a42c4e9a3 remove unnecessary pointer to interface 2015-08-09 19:43:11 -07:00
Anand Babu (AB) Periasamy 64c73f9f9e Merge pull request #981 from abperiasamy/make-fix
handle grepping stdout and stderr of go tools properly
2015-08-09 19:37:25 -07:00
Anand Babu (AB) Periasamy 1c35f28f75 handle grepping stdout and stderr of go tools properly 2015-08-09 19:34:37 -07:00
Harshavardhana 36b9a4d3e6 Merge pull request #980 from harshavardhana/pr_out_move_to_new_changes_in_minio_go
Move to new changes in minio-go
2015-08-08 23:49:31 -07:00
Harshavardhana d76070aeda Move to new changes in minio-go 2015-08-08 23:44:27 -07:00
Harshavardhana d399d4f694 Merge pull request #979 from harshavardhana/pr_out_move_testing_into_its_own_package_test_and_probe_newerror_
Move testing into its own <package>_test, add probe.NewError() new changes
2015-08-08 11:18:20 -07:00
Harshavardhana c97c2a77b5 Move testing into its own <package>_test, add probe.NewError() new changes 2015-08-08 11:16:36 -07:00
Harshavardhana e4dbd19c9f Merge pull request #978 from harshavardhana/pr_out_handle_virtual_bucket_style_urls_too
Handle virtual bucket style urls too
2015-08-07 12:10:39 -07:00
Harshavardhana ca107a154c Handle virtual bucket style urls too 2015-08-07 12:08:51 -07:00
Harshavardhana 6358f0f3a4 Merge pull request #977 from harshavardhana/pr_out_probe_moves_closer_to_mc_also_brings_in_changes_by_avoiding_it_behave_like_an_error_interface_
Probe moves closer to mc, also brings in changes by avoiding it behave like an error interface{}
2015-08-07 00:57:20 -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 28e8be6f0a Merge pull request #976 from harshavardhana/pr_out_update_share_command_template
update share command template
2015-08-06 23:53:23 -07:00
Harshavardhana 75bf5d7c78 update share command template 2015-08-06 23:52:05 -07:00
Harshavardhana e2d5698fbb Merge pull request #975 from harshavardhana/pr_out_share_command_now_honors_expiration_option
share command now honors expiration option
2015-08-06 23:37:29 -07:00
Harshavardhana f752ac3ae4 share command now honors expiration option 2015-08-06 23:34:39 -07:00
Harshavardhana 2ec0c2c4f1 Merge pull request #974 from harshavardhana/pr_out_report_proper_errors_for_share
Report proper errors for share
2015-08-06 22:32:34 -07:00
Harshavardhana c0935724ce Report proper errors for share 2015-08-06 22:30:36 -07:00
Harshavardhana 7288668ec1 Merge pull request #973 from harshavardhana/pr_out_add_proper_scoping_for_probe_error_and_error_interface
Add proper scoping for *probe.Error and error interface
2015-08-06 22:11:47 -07:00
Harshavardhana 23378ff3ef Add proper scoping for *probe.Error and error interface 2015-08-06 22:10:48 -07:00
Harshavardhana edab06f3e4 Merge pull request #972 from harshavardhana/pr_out_add_share_command_leveraging_new_presignedurl_api_from_minio_go
Add ``share`` command leveraging new PresignedURL API from minio-go
2015-08-06 22:10:09 -07:00