Commit Graph
2144 Commits
Author SHA1 Message Date
Harshavardhana c60d2ac8d7 Fix golint complaints 2015-09-17 18:58:19 -07:00
Harshavardhana 2a99791c71 Merge pull request #1107 from harshavardhana/bucket-exists
Stat() on a URL shouldn't fail, just treat as a regular directory
2015-09-17 14:44:28 -07:00
Harshavardhana 6166351774 Stat() on a URL shouldn't fail, just treat as a regular directory 2015-09-17 14:43:04 -07:00
Harshavardhana c4f3805619 Merge pull request #1106 from harshavardhana/new-changes
Now each large file uploads are done in parallel, bring changes from minio-go
2015-09-16 15:24:17 -07:00
Harshavardhana caca0105f9 Now each large file operations are parallel, bring changes from minio-go 2015-09-16 15:22:29 -07:00
Harshavardhana 56a87ff005 Merge pull request #1105 from harshavardhana/checkdeps
bump checkdeps GO_VERSION to 1.5.1
2015-09-16 13:09:14 -07:00
Harshavardhana c312d1f871 bump checkdeps GO_VERSION to 1.5.1 2015-09-16 13:06:25 -07:00
Harshavardhana abc72529be Merge pull request #1104 from harshavardhana/trim-prefix
Trim prefix from recursive multiple args output in ls
2015-09-16 03:12:47 -07:00
Harshavardhana 8adfb595b7 Trim prefix from recursive multiple args output in ls 2015-09-16 03:11:39 -07:00
Harshavardhana 3341299c5a Merge pull request #1103 from harshavardhana/ls-main
Change the 'ls' output behavior
2015-09-16 03:03:41 -07:00
Harshavardhana 8164410b4e Change the 'ls' output behavior
- do not add odd prefixes like GNU 'ls' since it clobbers users view
- add minio specific to differentiate the users view of 'ls' output

Rather than having output in the following manner

```
$ mc ls pkg vendor
pkg:
client console

vendor:
github.com
```

It should be

```
$ mc ls pkg vendor
pkg/client
pkg/console
vendor/github.com
```

This way the differentiation and the API is not disturbed.

This patch fixes this issue.
2015-09-16 03:01:29 -07:00
Harshavardhana 33b18def4e Merge pull request #1102 from harshavardhana/vadmeste-ls_show_folder_names
ls modifications - always print files first and folders at the end for multiple arguments
2015-09-15 23:05:52 -07:00
Harshavardhana dad28fbe16 ls modifications - always print for multiple arguments files first and directories second 2015-09-15 23:03:45 -07:00
Harshavardhana b7e6a4358b Changes to test framework, remove references to 'Cmd'wq 2015-09-15 21:47:38 -07:00
Harshavardhana 265d532237 Make changes over vadmestes changes 2015-09-15 20:55:32 -07:00
Anis ELLEUCH b7fbd307d4 Print folder names when the user asks to list several folders 2015-09-15 20:55:32 -07:00
Harshavardhana 6ebd998adf Merge pull request #1101 from harshavardhana/time-fix
Show seconds and minutes only when hours and days are non zero
2015-09-14 13:13:02 -07:00
Harshavardhana a46ac38207 Show seconds and minutes only when hours and days are non zero 2015-09-14 13:11:41 -07:00
Harshavardhana 725847bd49 Merge pull request #1100 from harshavardhana/null-ptr
Fix a null pointer bug in share URL migration
2015-09-14 13:04:39 -07:00
Harshavardhana 4365adea52 Fix a null pointer bug in share URL migration 2015-09-14 13:03:03 -07:00
Harshavardhana 70c57c1892 Merge pull request #1099 from harshavardhana/prefix-match
Add missing prefix match comment
2015-09-14 12:59:59 -07:00
Harshavardhana 788dd9efa1 Add missing prefix match comment 2015-09-14 12:57:54 -07:00
Harshavardhana 6fae61ba06 Merge pull request #1098 from harshavardhana/add-closest-command
when Invalid command is passed, print closest known prefix using trie structure
2015-09-14 01:43:20 -07:00
Harshavardhana e9be0976ab when Invalid command is passed, print closest known prefix using trie structure 2015-09-14 01:40:48 -07:00
Harshavardhana 9f7b950f66 Merge pull request #1097 from harshavardhana/share-migrate-v2
Share migrate to V2 version moving from type map to array.
2015-09-13 13:47:37 -07:00
Harshavardhana 1a74e98b23 Share migrate to V2 version moving from type map to array. 2015-09-13 13:45:54 -07:00
Harshavardhana 1323822596 Merge pull request #1096 from harshavardhana/printer
Each command messages now implement String()/JSON()
2015-09-13 02:23:44 -07:00
Harshavardhana 36e2c1813d Each command messages now implement
- String() for colorized output
  - JSON() for json marshalled output

All messages should adhere to this interface unless its
explicitly not necessary in some cases.
2015-09-13 02:20:43 -07:00
Harshavardhana 3014a25bf4 Merge pull request #1095 from harshavardhana/humanize-duration
Humanize time.duration properly
2015-09-12 21:55:24 -07:00
Harshavardhana a14d526dcd Humanize time.duration properly 2015-09-12 21:51:29 -07:00
Harshavardhana c60c48ad73 Merge pull request #1094 from harshavardhana/add-create
Create an empty urls.json if doesn't exist while reading.
2015-09-12 18:43:02 -07:00
Harshavardhana 303b94e8c3 Create an empty urls.json if doesn't exist while reading. 2015-09-12 18:41:35 -07:00
Anand Babu (AB) Periasamy 80b9d388a4 Merge pull request #1093 from abperiasamy/share-fix
share url bug fixes
2015-09-12 18:21:02 -07:00
Anand Babu (AB) Periasamy 47b8267b5f share url bug fixes 2015-09-12 18:12:33 -07:00
Harshavardhana bfef4b05fa Merge pull request #1092 from harshavardhana/share-list
Store list of shared URLs locally until their expiry, this implements…
2015-09-11 18:10:46 -07:00
Harshavardhana 46b740f07c Store list of shared URLs locally until their expiry, this implements 'mc share list' command 2015-09-11 18:04:10 -07:00
Harshavardhana 5f737eb2bc Merge pull request #1091 from harshavardhana/simplify
Simplify newVersion in runtime checks
2015-09-10 00:31:50 -07:00
Harshavardhana 848e06f922 Simplify newVersion in runtime checks 2015-09-10 00:28:48 -07:00
Anand Babu (AB) Periasamy 3a9b2064f6 separate mutex for internal and external locking 2015-09-09 22:21:06 -07:00
Harshavardhana 942a633c67 Merge pull request #1087 from harshavardhana/go-vet
Add go tool vet checks and also enable detecting invalid shadow variables
2015-09-09 16:01:20 -07:00
Harshavardhana 1f63bb2dfe Add go tool vet checks and also enable detecting invalid shadow variables 2015-09-09 15:58:59 -07:00
Harshavardhana 2e631a2552 Merge pull request #1086 from harshavardhana/verify-runtime
Disallow users running 'mc' as root
2015-09-09 15:52:34 -07:00
Harshavardhana 311a80b6e8 Disallow users running 'mc' as root 2015-09-09 15:49:22 -07:00
Harshavardhana cd29b01531 Merge pull request #1085 from harshavardhana/golang-runtime
Bump minGolangRuntimeVersion to 1.5.1
2015-09-09 15:00:07 -07:00
Harshavardhana 343f2a6acf Bump minGolangRuntimeVersion to 1.5.1 2015-09-09 14:58:20 -07:00
Harshavardhana 1616f7eaa4 Merge pull request #1084 from harshavardhana/shadow
Avoid shadowing by using unique variables as necessary
2015-09-08 23:31:48 -07:00
Harshavardhana abbfa4b13f Avoid shadowing by using unique variables as necessary 2015-09-08 23:28:56 -07:00
Harshavardhana 75046f2fe9 Merge pull request #1082 from harshavardhana/json
Remove hyphenated properties in json output, helps scripting and prog…
2015-09-07 17:15:50 -07:00
Harshavardhana f286159567 Remove hyphenated properties in json output, helps scripting and programming. 2015-09-07 17:12:49 -07:00
Harshavardhana 659f2368f1 Merge pull request #1081 from harshavardhana/documentation
Update documentation for mb, cp, mirror for files and folders with sp…
2015-09-07 01:23:18 -07:00