Commit Graph
26 Commits
Author SHA1 Message Date
Harshavardhana dfd1b29d5f Improve error messages 2015-08-20 17:22:38 -07:00
Harshavardhana 192518d679 Add new version command 2015-08-13 20:50:32 -07:00
Harshavardhana b743f88353 Move quick to server and vendorize it 2015-08-13 16:38:24 -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 413ce3995e Simplify and enhance error strings 2015-08-12 01:05:02 -07:00
Harshavardhana 25e5ea2574 Move to server package for probe 2015-08-10 19:49:57 -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 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 e7dab5f1cf Migrating from iodine to probe 2015-08-03 11:04:34 -07:00
Harshavardhana 16fdb569c9 Add copy and cast limited tests 2015-07-27 15:25:34 -07:00
Harshavardhana 4eb519fa6c Autogenerate config, for the first time no more config generate 2015-07-26 00:24:08 -07:00
Harshavardhana c253ad76a8 Fix session delete bug in doCopy and doCast session 2015-07-25 21:02:03 -07:00
Harshavardhana e1c77841a7 Fix a windows bug, also rename Remove to Delete 2015-07-25 20:42:15 -07:00
Harshavardhana 04fbff76a9 Add Remove() method for session, Close() becomes the new Save() 2015-07-25 19:56:38 -07:00
Harshavardhana 322bba2353 Add session context tests 2015-07-24 22:13:04 -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 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 97f693ce1f Use console.JSON to print in API style for session, ls, cp and sync 2015-07-15 23:18:08 -07:00
Harshavardhana 25ada41480 Implement NewIodine() in a simpler way 2015-07-15 18:39:17 -07:00
Harshavardhana 8fa80fbf37 Revert "Add mc top level error handling without printing stack traces."
This reverts commit ab4f64b5e3.
2015-07-15 17:25:42 -07:00
Harshavardhana ab4f64b5e3 Add mc top level error handling without printing stack traces. 2015-07-15 16:53:28 -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
Harshavardhana 25237c4e20 Remove InfoMessage structs, we don't need to add this as API handling for json 2015-07-13 09:40:29 -07:00
Harshavardhana 7c7981658b Cosmetic changes for cmd cp 2015-07-13 09:33:08 -07:00
Anand Babu (AB) Periasamy 6dcd73551c Session V2 implementation for copy and sync 2015-07-12 20:47:49 -07:00