Payton Ward
77f82e18b5
Add --ldap-username and --ldap-password flags to mc idp ldap accesskey create-with-login ( #5258 )
...
Add ldap-username and ldap-password flags to "idp ldap accesskey create-with-login"
2025-11-06 08:25:29 -08:00
Klaus Post
ed0b962588
Modernize + Go version bump + Pin linter ( #5256 )
...
* Upgrade go version in CI.
* Add toolchain to pin version.
* Add linter/fumpt as pinned version in tools.
* Run `go run golang.org/x/tools/gopls/internal/analysis/modernize/cmd/modernize@latest -fix -test ./...`
2025-11-05 04:20:36 -08:00
dorman
7394ce0dd2
feat: beautify output for the ping command ( #5237 )
2025-08-13 01:35:41 -07:00
Daryl White
b01f0c7371
Update links to new docs site ( #5242 )
2025-08-13 01:35:23 -07:00
dorman
5bb5df85e2
Fix the abnormal exit of the ping command ( #5233 )
...
The ping command abnormally exits after being executed more than 1000 times.
2025-07-23 13:36:38 -07:00
M Alvee
ae1eab7d52
chore: clear error message with unauthorized credentials ( #5236 )
2025-07-23 13:36:17 -07:00
Yashwanth Krishnan
ee72571936
update dependencies to fix dependent library CVEs: CVE-2025-22874, CVE-2025-4673 ( #5235 )
2025-07-20 22:28:08 -07:00
Shreyas Mali
e5d2270535
fix: mirror active-active and race condition ( #5234 )
2025-07-19 07:45:24 -07:00
M Alvee
2676e50bc1
fix: redact sse key in debug logs ( #5231 )
2025-07-16 08:35:03 -07:00
dorman
f72d75db5a
mv:support set tag and checksum ( #5133 )
2025-07-13 11:52:53 -07:00
dorman
c305d62fd5
ping: support ping a specified node and remove duplicate port printing ( #5132 )
2025-07-13 11:48:37 -07:00
Matthieu OLIVIER
4e38f39e25
feat: add --storage-class option to mc put subcommand ( #5228 )
...
feat: add --storage-class option to mc put
2025-07-13 11:46:49 -07:00
dorman
8576e735b1
mirror and cp support set the maximum number of threads ( #5220 )
2025-07-02 09:49:52 -07:00
Klaus Post
9a180cece7
Some paths like url2Stat will send resource with backslashes on windows ( #5226 )
...
This will cause key paths to mismatch and not be sent.
Example:
```
λ go build&&mc stat -enc-c="play/testbucket/=MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTIzNDU2Nzg5MDA" play/testbucket/mc
Name : mc
Date : 2025-07-02 17:52:42 CEST
Size : 43 MiB
ETag : 398345f23dc2ad4dd277e437e6ca7a1d-3
Type : file
Encryption: SSE-C
Metadata :
Content-Type: application/x-msdownload
```
2025-07-02 09:49:02 -07:00
Menno Finlay-Smits
039be57dd2
Include ARN in "replicate list" output ( #5215 )
...
The "replicate resync start" command requires the remote bucket ARN.
This is currently difficult to obtain and requires picking through the
output of "replicate list --json". Worse still, the JSON output doesn't
contain the human-readable host for the bucket, making it difficult to
know that you've got the correct one.
This change solves the issue by including the ARN in the default list
output.
2025-06-25 08:26:44 -07:00
Klaus Post
3c9df3f2ea
Update build version ( #5218 )
...
Fixes #5217
2025-06-24 02:41:42 -07:00
Burkov Egor
00fb114bce
fix: add checks for nil HTTP in admin-trace matches func ( #5216 )
2025-06-23 08:14:30 -07:00
Harshavardhana
68f1d43f05
remove fips 'mc' container Dockerfile
2025-05-24 22:02:12 -07:00
Krutika Dhananjay
f71ad84bcf
Fix deletion of previously sync'd buckets and objects during mc-mirror ( #5205 )
2025-05-20 18:59:54 -07:00
angry-garden-salad
99c1b4365a
Add STATUS column to batch job list table output ( #5202 )
2025-05-19 14:17:46 -07:00
jiuker
18c1c94d85
fix: remove check if lock config exists before set ( #5203 )
2025-05-19 01:05:02 -07:00
Shreyas Mali
b9f30231ca
removing config cmd ( #5201 )
2025-05-19 00:46:25 -07:00
Shreyas Mali
19d87ba475
fix: support chained mirror properly for delete propagation #4558 ( #5197 )
2025-05-06 09:41:33 -07:00
Klaus Post
bbfe579fef
Change support profile defaults ( #5198 )
...
* Remove block and mutex as they are rather intensive and provide little information.
* Add 'runtime'. Small, not intensive and possibly useful. Ignored by non-AIStor.
* Do 15 seconds for better data.
2025-05-06 08:10:18 -07:00
angry-garden-salad
2c1e058767
Explicitly set file permissions for admin-cluster-{bucket,iam}-export… ( #5194 )
...
Explicitly set file permissions for admin-cluster-{bucket,iam}-export.go to 600 regardless of umask
2025-05-02 09:34:41 -07:00
Aditya Manthramurthy
0a686cf874
Add support for catalog batch job type ( #5150 )
...
- During batch yaml generation, we check if the server supports the kind
of batch job requested.
- Shows catalog job status
2025-05-02 09:33:45 -07:00
Taran Pelkey
719f121225
Add idp openid accesskey commands ( #5182 )
2025-05-02 09:33:10 -07:00
jiuker
b00526b153
feat: add deletemarker info for batch status ( #5191 )
2025-04-16 11:13:26 -07:00
Olli Janatuinen
391616f9cf
mirror: skip status message from excluded buckets ( #5190 )
2025-04-10 08:51:27 -07:00
Burkov Egor
ddda0fce2c
typo: fix typo in tracing error for path ( #5189 )
2025-04-10 08:51:05 -07:00
Burkov Egor
0b4d69bc57
fix: update better error handling ( #5188 )
2025-04-10 08:50:18 -07:00
Mark Theunissen
e929f89cee
ConsoleMsg is not set by open source or AIStor, we should remove this an… ( #5186 )
...
ConsoleMsg is not set by open source or eos, we should remove this and correctly show Message only
2025-04-08 08:39:49 -07:00
dorman
56f94fd375
fix the terminal is damaged when parameters are missing ( #5175 )
2025-04-03 10:07:56 -07:00
jiuker
2d305ce990
fix: error out when the source and destination might be subdirectories of each other ( #5173 )
2025-04-01 22:51:22 -07:00
Harshavardhana
3296636c25
fix: replace tag and point to relevant release
2025-03-31 15:31:04 -07:00
Taran Pelkey
5349af0082
Add admin accesskey sts-revoke and idp ldap accesskey sts-revoke ( #5160 )
2025-03-31 13:55:31 -07:00
dorman
ceb07bee89
fix return EOF failure on lines with trailing empty lines ( #5176 )
2025-03-28 02:05:40 -07:00
jiuker
5ce725ba7d
fix: no data transition will show error for when mc ilm info not found ( #5177 )
2025-03-28 01:26:11 -07:00
Harshavardhana
c652022dab
upgrade golang-lint to v2 ( #5178 )
2025-03-28 01:05:40 -07:00
Harshavardhana
d249b65941
pre-emptively disable sha256 payload if checksum is set ( #5167 )
2025-03-27 12:54:23 -07:00
dependabot[bot]
b2d265dcc6
build(deps): bump github.com/golang-jwt/jwt/v4 from 4.5.1 to 4.5.2 ( #5169 )
...
Bumps [github.com/golang-jwt/jwt/v4](https://github.com/golang-jwt/jwt ) from 4.5.1 to 4.5.2.
- [Release notes](https://github.com/golang-jwt/jwt/releases )
- [Changelog](https://github.com/golang-jwt/jwt/blob/main/VERSION_HISTORY.md )
- [Commits](https://github.com/golang-jwt/jwt/compare/v4.5.1...v4.5.2 )
---
updated-dependencies:
- dependency-name: github.com/golang-jwt/jwt/v4
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-24 08:40:50 -07:00
Aditya Manthramurthy
0f061900ee
batch: use server's generate API when available ( #5166 )
...
Uses the new GenerateBatchJobV2 API to request server to list supported
batch jobs and to request job templates in `mc batch generate`
2025-03-14 10:29:01 -07:00
Klaus Post
cf909e1063
Add ping sort to mc support top rpc ( #5158 )
...
Use key 'p' to sort by ping.
2025-03-13 01:02:18 -07:00
Aditya Manthramurthy
c1d5d4cbb4
Update all deps ( #5165 )
2025-03-12 10:29:24 -07:00
Shireesh Anjal
b3a00e0f8c
Update madmin-go to latest version ( #5161 )
...
and clear reference to the removed variable madmin.HealthDataTypeSysLoad
2025-03-11 10:47:28 -07:00
Aditya Manthramurthy
06520070bb
Update ssh and jws libs for fixed CVEs ( #5164 )
...
- https://pkg.go.dev/vuln/GO-2025-3488
- https://pkg.go.dev/vuln/GO-2025-3487
2025-03-11 09:36:39 -07:00
Harshavardhana
ce874fdc6a
rename rcp -> rpc
2025-03-07 15:46:22 -08:00
Shireesh Anjal
1e412f58a5
Remove logs feature from 'mc support callhome' ( #5157 )
...
Both the flags --logs and --diag are removed, and the command supports
only diagnostics callhome.
2025-03-06 08:30:58 -08:00
jinapurapu
b0f40b4db7
Reject add ILM rule with both day and date parameters ( #5155 )
2025-03-06 05:05:05 -08:00
jinapurapu
10035268c4
Fix transition days calculation ( #5154 )
2025-03-05 13:23:17 -08:00
Klaus Post
9eb205cb62
Mirror should delete on delete marker creation + ILM ( #5148 )
...
Fixes #5147
2025-02-21 08:00:46 -08:00
jiuker
0ba848a99e
fix: use tags package instead of s3utils ( #5146 )
2025-02-20 00:54:15 -08:00
Grahit
28909abaa4
fix empty ilm tier list output ( #5145 )
2025-02-19 20:27:26 -08:00
Harshavardhana
383560b1c3
update all dependencies ( #5143 )
2025-02-15 02:36:16 -08:00
Anis Eleuch
8585339d12
More fixes to custom arch hotfix building ( #5135 )
...
Set TARGET_GOOS and TARGET_GOARCH to specify the target architecture of
the built binary.
2025-02-14 08:49:56 -08:00
jiuker
468ab39f41
test: add tags copy test for mirror ( #5141 )
2025-02-14 08:49:41 -08:00
Klaus Post
217d92358b
Add CRC64NVME checksum type. ( #5142 )
...
Also adds `CRC32-FO` and `CRC32C-FO` for complete object checksums.
```
λ mc cp -checksum=crc64nvme mc.exe myminio/testbucket
...com\minio\mc\mc.exe: 41.95 MiB / 41.95 MiB
λ mc stat myminio/testbucket/mc.exe
Name : mc.exe
Date : 2025-02-14 13:59:05 CET
Size : 42 MiB
ETag : 7f130846cec6e6ece750565b1f3d9518-3
VersionID : f4daeb78-9eaf-4da9-b9ca-d8b65fbc69e3
Type : file
Checksum : CRC64NVME:TOfg0RHhpZk=
Metadata :
Content-Type: application/x-msdownload
λ mc cp -checksum=crc32-fo mc.exe myminio/testbucket
...com\minio\mc\mc.exe: 41.95 MiB / 41.95 MiB
λ mc stat myminio/testbucket/mc.exe
Name : mc.exe
Date : 2025-02-14 13:58:52 CET
Size : 42 MiB
ETag : 7f130846cec6e6ece750565b1f3d9518-3
VersionID : 1ec587dd-9127-42ee-ad82-58b48f9676d5
Type : file
Checksum : CRC32:3Dt3fQ==
Metadata :
Content-Type: application/x-msdownload
λ _
```
2025-02-14 08:13:46 -08:00
Mark Theunissen
c32317ef80
Improve docs to hint to the user that MD5 is not stored ( #5138 )
...
Improve docs to hint to the user that MD5 is the odd one out in this list
2025-02-13 10:19:41 -08:00
jiuker
089f833ce0
feat: support --custom-header flags ( #5127 )
2025-02-13 10:18:53 -08:00
Burkov Egor
42b78ded3a
fix: explicit fd close fix ( #5129 )
2025-02-13 02:41:18 -08:00
jiuker
147e8f5b3b
feat: add tags copy for mirror ( #5137 )
2025-02-13 02:39:59 -08:00
Klaus Post
e97f4324d5
Fix vet check ( #5134 )
...
... and pin toolchain.
2025-02-12 08:36:32 -08:00
Harshavardhana
859c5989a1
make custom ARCH based hotfixes
2025-02-11 15:37:45 -08:00
Harshavardhana
10c50368c5
remove fips build
2025-02-08 13:06:32 -08:00
dorman
bd925c01a1
mirror: add the duration time and beautify the output ( #5125 )
...
add the duration time and beautify the output
2025-02-08 11:14:21 -08:00
Burkov Egor
030c8125eb
fix: urls equals nil deref ( #5126 )
...
Now in checks we can get nil dereference while both struct has Content
field of nil. But in code we cheching for nil, and I believe that
testcase can be real:
```go
urls1 := URLs{};
urls2 := URLs{};
urls1.Equal(urls2);
```
2025-02-07 02:46:26 -08:00
Harshavardhana
6376279f15
add support for pre-2023 minio deployments ( #5122 )
2025-02-04 14:18:02 -08:00
Taran Pelkey
5aee0b1c9e
Change enable to "enable=" ( #5104 )
2025-02-04 12:34:19 -08:00
Sveinn ( keyb1nd )
8d713ff927
Giving mirror the option to exit early when --remove is not set ( #5116 )
...
* Giving mirror the option to exit early when --remove is not set
* Making sure always to cancel the context on exit
* Adding an internal flag to enable local listing only based on active/active and remove flags
* Renaming localListingOnly to sourceListingOnly
2025-02-04 12:32:54 -08:00
Klaus Post
318e707071
Add "mc support upload" encryption ( #5113 )
...
* Add `--enc` parameter to `mc support upload` to encrypt the file content.
* Add file size as zstd frame content size.
* Test opening the file before doing more.
* Uses same key as "mc support inspect".
2025-02-03 20:57:50 -08:00
Harshavardhana
423ef1ba2a
update go deps
2025-01-22 23:47:51 -08:00
Shubhendu
a4f20fe74c
Use latest madmin-go for policy content check ( #5109 )
...
Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io >
2025-01-22 23:41:01 -08:00
Mark Theunissen
5cfac09600
Improve the error message when trying to add multiple expiry options ( #5117 )
2025-01-22 22:51:38 -08:00
Klaus Post
b436cd2436
mc find - allow absolute times ( #5118 )
...
For `--newer-than` and `--older-than`, allow using absolute times.
Example:
```
λ mc ls play/testbucket
[2025-01-22 09:57:12 CET] 676KiB STANDARD Daily checks Procedure for Portainer.docx
[2025-01-22 16:40:07 CET] 22KiB STANDARD dovrennost_mobilizaciya_0-2.docx
λ mc find -newer-than="2025-01-22 09:57:00 CET" play/testbucket
play/testbucket/Daily checks Procedure for Portainer.docx
play/testbucket/dovrennost_mobilizaciya_0-2.docx
λ mc find -newer-than="2025-01-22 09:57:13 CET" play/testbucket
play/testbucket/dovrennost_mobilizaciya_0-2.docx
```
We allow the same timestamp types as `--rewind` and add the printed type for easy copy+paste.
2025-01-22 22:51:15 -08:00
dorman
0019b7b83c
fix: cp and mirror commands fail to be executed when the file length is 255 characters ( #5114 )
2025-01-21 02:19:00 -08:00
Harshavardhana
cc8758c88d
chore: update deps
2025-01-17 15:25:50 -08:00
qinyuren
95e1f70eb5
The version-id in the get command does not work ( #5110 )
2025-01-16 01:52:17 -08:00
Harshavardhana
b1a3941f22
chore: update deps ( #5102 )
2025-01-02 05:11:34 -08:00
Klaus Post
147852cb37
Add go runtime profile type ( #5098 )
...
Available on AIStor.
Requires https://github.com/minio/madmin-go/pull/322
Lower minimum duration to 1 second. Useful (pretty much required) for traces.
2025-01-02 04:55:34 -08:00
Poorna
bf7b5f620e
fix ilm rule edit for --expire-all-object-versions ( #5101 )
...
Editing a rule with --expire-all-object-versions should be applied
to existing rule properly
2025-01-02 04:10:56 -08:00
Harshavardhana
f4dd5e4a07
update all deps and update CREDITS ( #5097 )
2024-12-16 04:20:40 +05:30
Klaus Post
19017536cc
Add support top rpc ui nicities ( #5087 )
...
* Split to/from. t/f keys to go directly. <tab> to switch.
* Sort by queue size (q)
* Filter/Sort by reconnects (r)
* Add PgUp+PgDn
* Pause with <space>
2024-12-15 01:26:01 -08:00
Klaus Post
86907df91d
Improve trace stats ( #5095 )
...
Allows traces to be replayed in stats mode from `mc admin trace -json ALIAS >trace.json`, using `mc admin trace -in=trace.json`. `.zst` are automatically decompressed.
This is replayed at full speed, since I don't really see any value in keeping original speed.
Add scrolling to stats. Up+Down+Home+End
Add 'r' to reset min/max stats.
2024-12-15 01:25:34 -08:00
Anis Eleuch
1681e4497c
heal: Do not print a cryptic msg when scanning a dangling object ( #5084 )
...
Healing in server side will list with quorum 1, so it will pick stale
objects as well. This is currently not rendered well in mc that shows
this cryptic message:
Invalid parity shard count/surplus shard count given
Print the text sent by the server instead.
2024-11-21 09:21:54 -08:00
Allan Roger Reid
35cb4b8177
Return delete markers in mc find ( #5083 )
...
* Default to list delete flags if they are part of the result set, so that they are not hidden from the find function
* Add --with-delete-marker flag to toggle the listing of delete markers. Defaults to false
* List delete markers as well when using the --versions flag
2024-11-20 10:10:21 -08:00
Harshavardhana
bb4ff4951a
when --no-list is specified avoid every List() call ( #5082 )
2024-11-17 11:35:25 -08:00
Anis Eleuch
308a8ea9d0
heal: Simplify bucket healing status ( #5079 )
...
Avoid using the drive count concept to pick a color for a bucket healing
result. This was straightforward when we were healing a bucket per erasure
set, but now it becomes more complex to show a result.
Pick green if everything is okay, yellow if a bucket is missing in a
drive, red for any other drive state (unformatted, offline, ..), and
grey for any weird situation.
2024-11-13 08:33:49 -08:00
Anis Eleuch
63eb4a4609
lint: Fix new detected lint complaints ( #5080 )
2024-11-13 05:46:18 -08:00
Klaus Post
6ac18619cf
Only warn if less than 28 days to cert expires ( #5077 )
...
Fixes #5076 as much as reasonable.
2024-11-05 03:29:45 -08:00
dependabot[bot]
95a03f54da
Bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1 ( #5074 )
...
Bumps [github.com/golang-jwt/jwt/v4](https://github.com/golang-jwt/jwt ) from 4.5.0 to 4.5.1.
- [Release notes](https://github.com/golang-jwt/jwt/releases )
- [Changelog](https://github.com/golang-jwt/jwt/blob/main/VERSION_HISTORY.md )
- [Commits](https://github.com/golang-jwt/jwt/compare/v4.5.0...v4.5.1 )
---
updated-dependencies:
- dependency-name: github.com/golang-jwt/jwt/v4
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-05 02:22:23 -08:00
dorman
9f4659884d
Make the profiler easier to use ( #5068 )
2024-10-29 08:34:59 -07:00
Shubhendu
a814b5deaf
Mark batch job status properly ( #5066 )
...
Client side overall status was always shown as `in-progress` even if
job was successful or failed.
Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io >
2024-10-21 01:51:15 -07:00
Michael Fenn
65aa514dfa
Add string/json output string mc pipe ( #5065 )
...
This commit adds a string message and json output to mc pipe. The
implementation is heavily inspired by the one in mc cp, just adapted to
the different semantics of pipe.
2024-10-20 06:55:58 -07:00
Klaus Post
d9b81b2956
Add support rpc JSON replay. ( #5064 )
...
Add realtime replay of captured JSON data.
Example:
```
λ mc support top rpc --json myminio >rpc.json
λ mc support top rpc -in=rpc.json
```
2024-10-18 14:18:41 -07:00
Klaus Post
2c4e3ad46b
Report errors and better file names for mc support inspect ( #5062 )
...
Check the returned stream for errors and show them. Don't upload/keep pointless data
Use the request alias to create a better file name...
Example:
```
λ mc support inspect play/testbucket/testdat/**
mc: <ERROR> Unable to download file data. GetRawData: No files matched the given pattern.
```
Previously the error would just be ignored.
```
λ mc support inspect --airgap play/testbucket/testdata/**
File data successfully downloaded as inspect-play_testbucket_testdata.enc
```
Previously all files would be called `inspect-data.enc`, which would just be difficult to distinguish.
2024-10-15 08:15:39 -07:00
Klaus Post
bad9b2c737
Add basic RPC metrics via mc support top rpc ( #5060 )
...
Example:
```
λ mc support top rpc myminio
SERVER CONCTD PING OUT Q RECONNS STR IN STR OUT MSG IN MSG OUT
To 127.0.0.1:9001 5 0.5ms 0 0 -> 20 0 -> 60007 60089
From 127.0.0.1:9001 5 0.5ms 0 0 -> 0 20 -> 60089 60002
To 127.0.0.1:9002 5 0.0ms 0 0 -> 0 4 -> 34209 33937
From 127.0.0.1:9002 5 0.5ms 0 0 -> 4 0 -> 33938 34209
To 127.0.0.1:9003 5 0.0ms 0 0 -> 0 4 -> 99379 101165
From 127.0.0.1:9003 5 0.0ms 0 0 -> 4 0 -> 101166 99379
To 127.0.0.1:9004 5 0.5ms 0 0 -> 0 4 -> 33784 33029
From 127.0.0.1:9004 5 0.0ms 0 0 -> 4 0 -> 33030 33784
To 127.0.0.1:9005 5 0.0ms 0 0 -> 0 4 -> 33515 33135
From 127.0.0.1:9005 5 0.5ms 0 0 -> 4 0 -> 33136 33515
To 127.0.0.1:9006 5 0.0ms 0 0 -> 0 4 -> 33627 33161
From 127.0.0.1:9006 5 0.0ms 0 0 -> 4 0 -> 33162 33627
```
There is already server support for metrics.
2024-10-14 13:50:20 -07:00
Harshavardhana
e20dea646f
remove s390x support
2024-10-13 06:54:36 -07:00
Krutika Dhananjay
cf128de2cf
Do not fail mc-admin-policy-attach if policy already attached/detached ( #5058 )
...
Currently, attempts to attach a policy to a user who already has
the policy attached to them results in a 400.
This change handles cases where policy attach/detach operations
are automated using scripts/jobs. A re-run of the attach/detach
step should not fail the entire job.
2024-10-08 02:37:26 -07:00
Taran Pelkey
07eeb10c06
Add mc admin accesskey commands ( #5038 )
2024-10-04 04:29:36 -07:00
Harshavardhana
ce0b434152
upgrade dependencies ( #5053 )
2024-10-02 01:27:28 -07:00
Anis Eleuch
4616d11c20
heal: More UX changes ( #5052 )
...
- Do not show healing ETA anymore; there are some scenarios where the
ETA can be wrong. Show when healing is started and the progress of the
healing drive usage compared to nonhealing drives in the same erasure set.
- `--verbose` prints only offline/faulty and healing drives
- `--all-drives` to show information about all drives
- Add yes/no prompt when a user wants to heal the whole namespace
2024-10-01 15:14:33 -07:00
Harshavardhana
609f32a4ff
cleanup use of os.Environ() re-use env.List(prefix) ( #5048 )
2024-09-27 05:08:56 -07:00
Harshavardhana
97fe232a9a
add alias name to 'mc ready' ( #5044 )
2024-09-25 02:56:38 -07:00
llchry
a5a54b4429
put: Add --disable-multipart to make it easier to use. ( #5041 )
2024-09-24 10:47:33 -07:00
Klaus Post
be874766a7
Add --checksum param to pipe, put, cp, mirror ( #5043 )
...
Add checksums to pipe, cp, mirror commands.
> Add checksum to uploaded object. Values: MD5, CRC32, CRC32C, SHA1 or SHA256. Requires server trailing headers support like AWS, MinIO and possibly others.
`--md5` is hidden, but still applied.
Uploads to buckets with object locking will still use MD5.
Bonus: `mc stat` shows checksum information.
2024-09-24 08:25:16 -07:00
Poorna
3dac3d392f
fix quota info ( #5040 )
2024-09-20 05:49:53 -07:00
11ebe952ea
iam export:designate zip file name ( #4995 )
...
Co-authored-by: Harshavardhana <harsha@minio.io >
---------
Co-authored-by: Harshavardhana <harsha@minio.io >
Co-authored-by: Klaus Post <klauspost@gmail.com >
Co-authored-by: Aditya Manthramurthy <donatello@users.noreply.github.com >
2024-09-16 10:43:14 -07:00
dorman and Klaus Post
37095dadcc
mirror:Add the printing of event time ( #4953 )
...
* Add the printing of event time
* Update mirror-main.go
---------
Co-authored-by: Klaus Post <klauspost@gmail.com >
2024-09-16 10:30:02 -07:00
dorman
41aca25f6c
alias: mc alias list command outputs the alias information specified by MC_CONFIG_ENV_FILE ( #5028 )
...
* Update alias-list.go
2024-09-16 10:23:10 -07:00
Anis Eleuch and Anis Eleuch
bbfe577d2e
idp-ldap: Fix create-with-login command ( #5036 )
...
Currently, LDAP create-with-login command is not working properly when
the LDAP user does not have admin:CreateServiceAccount permission.
The permission is normally not needed since a user is allowed
to create a service account for itself. In that case, a temporary
account should be created and a new service account should be issued to
the temporary account access key, and not to the LDAP username as what
the code currently does.
This commit will send the correct target user in that case to make
create-with-login always successful.
Co-authored-by: Anis Eleuch <anis@min.io >
2024-09-14 20:56:26 -07:00
Shubhendu
04c5116c9b
Fix regression ( #5034 )
...
A regression was introduced by https://github.com/minio/mc/pull/5032
where new `mc` with old MinIO wont import the IAM configs properly.
Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io >
2024-09-09 00:53:10 -07:00
Anis Eleuch
f2d65b6c18
scanner-status: Support both old & new scanner metrics ( #4683 )
...
When the scanner uses parallel erasure sets scanning, the cycle concept
for the whole scan is no longer relevant. This PR will show the number
of ongoing bucket scans.
```
mc admin scanner status --bucket <bucket-name> ALIAS
```
Will print a detailed report of a particular bucket scan.
Like, when the last scan progress was saved for that bucket for all
erasure sets. Also it will print when a full scan of a bucket finished.
(A full bucket scan means the last time frame that was needed for each
of erasure sets to do sixteen cycles)
2024-09-08 01:15:30 -07:00
Anis Eleuch
3092b6bf14
tier: Add hidden --force to remove tiering command ( #5031 )
...
To ensure that the server can remove an internal tier configuration
when the tiering is unreachable or other corner cases where it is not
possible for the server to determine if the tier contains some data
or fully empty.
2024-09-06 11:28:18 -07:00
Shubhendu
25ea06308f
Update to print skipped entities during IAM import ( #5032 )
...
Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io >
2024-09-05 08:31:14 -07:00
Taran Pelkey
54268c4808
Add edit, enable, and disable to mc idp ldap accesskey ( #5033 )
2024-09-05 04:03:52 -07:00
Anis Eleuch
ba97441b5e
mirror: Print errors in --json format when --skip-errs is provided ( #5030 )
2024-08-29 19:25:07 -07:00
Harshavardhana
efc60a8a90
fix: docker buildx warnings
2024-08-26 09:48:09 -07:00
Harshavardhana
a55d9a8d17
upgrade pkg/v3, minio-go/v7 deps ( #5027 )
2024-08-26 03:49:58 -07:00
Anis Eleuch
6801d70e55
heal: Do not show heal ETA when there is a retry attempt ( #5025 )
...
There is no suitable mechanism to estimate the ETA of healing when it is
retrying, although in most cases, it is just a listing that should be
quick enough. Hide the ETA anyway for now.
2024-08-26 01:50:57 -07:00
Harshavardhana
2e10255b6d
allow cat to take part by part numbers ( #5026 )
2024-08-26 01:48:58 -07:00
Mark Theunissen
efa1b396f2
Add commands for managing Bucket CORS ( #5019 )
2024-08-22 08:46:05 -07:00
Anis Eleuch
aca5c185fe
heal: Adapt the status based on a new Finished flag ( #5017 )
...
In a new MinIO version, Healing can be set to false while HealInfo is
not nil. This indicates that the drive was healed and the healing is
finished. This commit adapts the code with the new concept. This will
not break with older MinIO versions since those versions will already
remove .healing.bin, in that case Healing will be false, HealInfo will
be nil.
2024-08-21 05:20:43 -07:00
jiuker
690f3f8bb3
fix: Use TLS for STS endpoint when STS endpoint uses https scheme. ( #5022 )
2024-08-17 15:15:59 -07:00
Taran Pelkey
2c94b8d039
policy entities now print group memberships per user ( #4961 )
2024-08-17 04:33:50 -07:00
Harshavardhana
456709a2a4
combine STS, SVC accounts into access keys with or without expiration ( #5004 )
2024-08-17 04:11:58 -07:00
Ramon de Klein
479171e7be
Fix warnings ( #5023 )
2024-08-15 08:50:11 -07:00
Harshavardhana
b34cd742cb
chore: update all deps ( #5018 )
2024-08-12 22:33:17 -07:00
Mark Theunissen
21ab58a03f
Import bucket metadata must show CORS and general errors if any are found ( #5001 )
2024-08-12 20:08:58 -07:00
Harshavardhana
32b7b72193
conditionally disallow list() when object does not exist ( #5016 )
...
allow users to avoid list() call when an object does not
exist when following flags are used with `mc stat`
```
--no-list (HEAD the latest version)
--version-id <vid>
```
Also avoid superflous url2Stat() calls while processing
the args, there is no real reason to do that.
2024-08-12 01:52:27 -07:00
dorman
e7d1e97852
stat: print information about all buckets when only alias are set ( #5002 )
2024-08-08 19:04:42 -07:00
Ravind Kumar
d6886b33d2
Update admin-service.go ( #5010 )
...
`mc admin service stop` is hidden as it is a dangerous/one-way command.
No need to reference it in the description
2024-08-08 17:46:32 -07:00
Sveinn
487b874a2e
Fixing invalid help menu for s3 type encryption ( #5008 )
...
* Fixing invalid help menu for s3 type encryption
* removing random comment
2024-08-08 17:46:22 -07:00
Andreas Auernhammer
58f15fca83
add global --resolve HOST[:PORT]=IP flag ( #5013 )
...
add global `--resolve HOST[:PORT]:IP` flag
This commit adds support for custom DNS overwrites via one or multiple
`--resolve` flags. It allows `mc` users to define custom DNS mappings
from a HOST (and optional port) to an IP address.
For example:
```
mc --resolve foo.com:9000=10.1.2.3 ls myminio/mybucket
```
The `--resolve` syntax is taken from cURL. Ref. `curl --help dns`
Use cases:
1. DNS overwrites. If there are no DNS resolvers available, e.g.
due to a temp. outage, this allows `mc` to connect to a defined
alias as long as the IP of the one or multiple cluster nodes are
known. It also allows `mc` to overwrite the current DNS responses.
This is useful for various tests in dev and staging environments.
2. TLS certificate verification. Often TLS certificates are issued
for some DNS names (via SAN) but not for IP addresses. IP addresses
are usually not static and might change anytime. Accessing a MinIO
cluster that serves a certificate containing only DNS SANs via an
IP address results in a TLS certificate verification error - even
if the certificate is issued by a trusted CA. The current workaround
is the `--insecure` flag which disables TLS certification completely.
Example for TLS verification:
```
$ mc alias set 'myminio' 'https://192.168.188.118:9000 ' 'minioadmin' 'minioadmin'
mc: <ERROR> Unable to initialize new alias from the provided credentials.
Get "https://192.168.188.118:9000 ": tls: failed to verify certificate:
x509: cannot validate certificate for 192.168.188.118 because it doesn't contain any IP SANs.
```
```
mc alias set --resolve foo.com:9000=192.168.188.118 'myminio' 'https://foo.com:9000 ' 'minioadmin' 'minioadmin'
Added `myminio` successfully.
```
Signed-off-by: Andreas Auernhammer <github@aead.dev >
2024-08-08 17:46:03 -07:00
Andrea Longo
a56899e13c
docs: explain scanner bucket quota check process ( #5011 )
2024-08-07 03:27:15 -07:00
Klaus Post
3cb570ff56
Normalize metadata values for compare ( #5006 )
...
Possible fix for https://github.com/minio/mc/issues/4997
2024-08-05 18:45:27 -07:00
Shireesh Anjal
28d64f224a
Fix wrong message shown when upload to SUBNET fails ( #5005 )
...
When upload of the inspect file to SUBNET fails, following wrong message
was getting printed:
`Object inspection data for '' uploaded to SUBNET successfully`
Fixed the if condition to ensure that following correct message is
printed:
`File data successfully downloaded as <filename>`
2024-08-05 01:06:03 -07:00
Taran Pelkey
f0d2ad4708
Rework mc idp ldap accesskey list to use new API endpoint ( #4946 )
2024-07-31 08:58:33 -07:00
Roman Chechyotkin
6a06daa1de
#4988 fixed prometheus metrics usage message ( #5000 )
2024-07-31 08:47:42 -07:00
Harshavardhana
8ad22bb694
trace: avoid aggregate statistics TX/RX with --all ( #4998 )
2024-07-26 06:08:44 -07:00
Klaus Post
73e614aee9
Make trace stats more compact ( #4999 )
...
Make `mc admin trace -stats` more compact, and hopefully more readable.
* Truncates durations more reasonably
* Use `-` for 0 TTFB.
* Use `↑151B ↓12K` instead of `↑ 151 B ↓ 12 KiB/m`
* Reduce FPS from 7 to 3 for less flickering.
2024-07-26 05:50:54 -07:00
Anis Eleuch
58c42bc91b
Allow STANDARD_IA as a AWS tier storage class ( #4994 )
2024-07-22 13:02:49 -07:00
Klaus Post
f6df01d750
Fix incorrect bool parsing ( #4991 )
...
For example `--json=false` would still print JSON.
Went through all usage, and I think I covered them all.
2024-07-18 09:08:30 -07:00
Anis Eleuch
ded36374e8
Show a warning when the server certificate duration is expiring soon ( #4989 )
...
When 90% of the validity time of a server is elapsed, print a warning
reminding the user to change the certificate.
2024-07-18 09:08:07 -07:00
mchtech
11034f9de1
mirror: let user decide whether to skip errors if client runs in watch / active-active mode ( #4986 )
...
Signed-off-by: mchtech <michu_an@126.com >
2024-07-15 10:46:06 -07:00
Klaus Post
4d498deb35
Fix non-recursive compares against alias+key on Windows ( #4983 )
...
Many listings would stop after the first version had been processed on Windows, since
For example, `mytls/testbucket/trace.json` != `mytls\testbucket\trace.json` would cause `mc undo` to only see one version since this would fail.
Use `getStandardizedURL` for both sides of these compares.
2024-07-11 11:01:28 -07:00
Shireesh Anjal
ddfd44cb35
Support metrics-v3 api in admin prometheus generate ( #4985 )
...
Add a flag --api-version with possible values of v2 and v3, with default
being v2.
So when this flag is not passed, the command will work exactly as it did
before.
When using v3, there is a different set of metric types supported. It
also supports a new flag:
bucket: the bucket for which the metrics are to be fetched. it is
applicable only for the metric types that are available at bucket level,
which currently are 'api' and 'replication'
2024-07-11 11:00:59 -07:00
Shireesh Anjal
ea33d018ca
Support metrics-v3 api in admin prometheus metrics ( #4982 )
...
Add a flag --api-version with possible values of v2 and v3, with the default
being v2. So when this flag is not passed, the command will work exactly
as before.
When using v3, a different set of metric types is supported. It
also supports two additional flags:
Bucket: the bucket for which the metrics are to be fetched. it is
applicable only for the metric types that are available at the bucket level,
which currently are 'api' and 'replication'
2024-07-11 01:33:12 -07:00
Harshavardhana
21d3ec0089
improve 'admin service restart' UI ( #4979 )
...
```
mc admin service restart local -w
Service status: ▰▱▱ [DONE]
Summary:
┌───────────────────────┬─────────────────────────────┐
│ Servers: │ 4 online, 0 offline, 0 hung │
│ Restart Time: │ 3.949842ms │
│ Background Init Time: │ 1.503707801s │
└───────────────────────┴─────────────────────────────┘
```
Existing UI didn't scale well for 100+ nodes, this
UI change is also made to provide clear guidance on
how soon the service is available v/s background
initialization time.
2024-07-08 13:59:24 -07:00
Harshavardhana
661e19b3b2
update deps ( #4978 )
2024-07-04 07:29:35 -07:00
Harshavardhana
d6ff970125
honor bucket-key S3 feature ( #4976 )
...
fixes #4973
2024-07-03 13:17:25 -07:00
Mark Theunissen
26680ab77c
Add ability to update tier credentials for Azure svc principal accounts ( #4975 )
2024-07-03 12:14:48 -07:00
Klaus Post
7e4b64d12a
Simplify go.mod ( #4977 )
...
Combine into direct and indirect sections. See https://github.com/golang/go/issues/67948 for why this is a mess.
Enables running `go mod tidy` without blowing up things.
2024-07-03 11:49:12 -07:00
Harshavardhana
74032bc16a
update govulncheck 1.22.5
2024-07-02 14:39:05 -07:00
Shubhendu
bbdd9638f2
Use new batch status api /status-job ( #4930 )
...
Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io >
2024-07-02 08:29:37 -07:00
Anis Eleuch
e0d2e95984
heal: Add hidden --pool and --set to heal a particular ES ( #4971 )
...
--pool and --set are hidden flags. They could be used to heal a
particular erasure set. --pool and --set start with 1 (not indexes)
2024-07-02 02:28:07 -07:00
Harshavardhana
f5b325d9d3
remove unused code
2024-06-29 12:08:46 -07:00
Harshavardhana
6811427b8b
provide a overall summary along with call-wise ( #4970 )
...
```
Duration: 1m3s ▱▱▱
RPM : 1168103.3
RX Rate:↑ 2.5 TiB/m
TX Rate:↓ 2.4 TiB/m
-------------
...
```
2024-06-28 16:17:44 -07:00
Harshavardhana
3548007d5b
fix: make sure to set the right sse-kms key ( #4967 )
2024-06-24 12:40:33 -07:00
Harshavardhana
dda9e96887
make 'mc admin service restart' more descriptive of what it does ( #4965 )
2024-06-20 07:50:54 -07:00
Harshavardhana
8876275c07
list versions including DEL marker when figuring out Stat() ( #4951 )
...
this is needed to avoid an inconsistent behavior when an
object exists v/s DEL marker or FreeVersion exists.
2024-06-19 22:57:53 -07:00
Prakash Senthil Vel
b72bd7992c
enable batch expiry option in trace ( #4964 )
...
add batch expiry option in trace
2024-06-19 22:17:42 -07:00
Harshavardhana
a289dae750
fix: support 'mc put --if-not-exists' ( #4963 )
...
Also allow 'mc get --version-id'
2024-06-18 14:15:26 -07:00
Sveinn
adaf70c7eb
Adding support for Hex keys ( #4962 )
2024-06-18 07:51:58 -07:00
Poorna
e7c9a733c6
fix replicate status display for older replication config ( #4957 )
...
that specified ARN in the Role field. This has since moved to
Destination.Bucket
2024-06-12 07:34:03 -07:00
Harshavardhana
a472e3d9ed
switch RX and TX arrow marks correctly
...
the arrow marks must be from server perpective
not `mc` perspective.
2024-06-11 12:50:18 -07:00
Anis Eleuch
7a0a8f54d9
info: Add --offline flag to show only offline nodes ( #4955 )
2024-06-10 09:44:15 -07:00
jiuker
e44a1c612d
fix: mc mirror got zero exit code when access denied ( #4952 )
2024-06-07 08:48:20 -07:00
Harshavardhana
17adf0abbb
add vulncheck with go upgrade
2024-06-05 11:13:30 -07:00
Harshavardhana
0bd92d778e
add space between upload/download indicators
2024-06-05 11:12:13 -07:00
Klaus Post
3997483ce7
Add sizes to mc admin trace ( #4949 )
...
```
Regular trace:
2024-06-03T14:18:37.303 [STORAGE] storage.ReadXL 127.0.0.1:9001 e:\data\distxl\s1\d3 warp-benchmark-bucket pz9WSPPj/4.TnpU8KEot9t4zl66.rnd 538.3µs 1003 B
With -v:
127.0.0.1:9001 [STORAGE storage.ReadXL] [2024-06-03T14:14:51.680] e:\data\distxl\s1\d3 warp-benchmark-bucket yvhiOPYp/117.hjDOOH6KmAhtC0Ty.rnd total-errs-availability=0 total-errs-timeout=0 0s 1003 B
With -stats
Duration: 21s ∙∙●
Call Count RPM Avg Time Min Time Max Time Avg TTFB Max TTFB Avg Size Errors
storage.ReadXL 15808 (67.2%) 44344.8 429µs 0s 69.9984ms 0s 0s 1.2 KiB 0
storage.Delete 3088 (13.1%) 8662.5 2.056ms 9.7075ms 305.0662ms 0s 0s - 3
http stats:
Duration: 14s ∙∙●
Call Count RPM Avg Time Min Time Max Time Avg TTFB Max TTFB Avg Size Errors
s3.GetObject 4532 (44.1%) 19502.8 1.121ms 267.5µs 67.9369ms 1.098ms 67.9369ms ↓77 B ↑1000 B 0
s3.HeadObject 3028 (29.4%) 13030.6 1.031ms 506.8µs 62.9893ms 0s 0s ↓77 B 0
s3.PutObject 1711 (16.6%) 7363.1 21.109ms 2.5496ms 181.8214ms 9µs 10.6771ms ↓1.3 KiB ↑0 B 0
s3.DeleteObject 1008 (9.8%) 4337.8 56.204ms 1.5859ms 411.1034ms 1.185ms 175.1619ms ↓77 B ↑4 B 0
s3.DeleteMultipleObjects 1 (0.0%) 4.3 316.358ms 316.3584ms 316.3584ms 315.306ms 315.3055ms ↓23 KiB ↑24 KiB 0
```
Backwards compatible, but will start displaying non-zero after: https://github.com/minio/minio/pull/19851 and https://github.com/minio/minio/pull/19864
2024-06-05 00:50:20 -07:00
voldikss
3cfa8642fd
fix: rm command with --newer-than not working ( #4944 )
2024-06-01 08:03:35 -07:00
Klaus Post
5040e61400
Fix support top net JSON ( #4948 )
...
JSON output was completely mangled.
Add switch to limit the number of responses.
2024-05-31 07:59:52 -07:00
jiuker
3774027cea
fix: avoid HeadObject call for mc get ( #4947 )
2024-05-31 07:53:51 -07:00
Harshavardhana
ac55cd1023
remote flaky bucket_replication test for now
2024-05-30 10:00:02 -07:00
Harshavardhana
a8fdcbe7cb
restructure credential creation with simplified expectations ( #4939 )
...
avoid weird coding style, simplify by using relatively
less number of variables and move things around to make
code more readable.
Improve HELP output readability.
2024-05-24 02:08:49 -07:00
Aditya Manthramurthy
d4b7b00d73
Bump up minio/pkg to v3 ( #4940 )
2024-05-23 00:59:47 -07:00
Harshavardhana
b46cf3c417
simplify histograms, make it based on the server return ( #4935 )
2024-05-13 09:31:11 -07:00
Harshavardhana
900235c14b
keep pool display order and also pretty it ( #4931 )
...
```
mc admin info play/
● play.min.io
Uptime: 4 minutes
Version: 2024-05-10T08:24:14Z
Network: 1/1 OK
Drives: 4/4 OK
Pool: 1
┌──────┬───────────────────────┬─────────────────────┬──────────────┐
│ Pool │ Raw Usage │ Erasure stripe size │ Erasure sets │
│ 1st │ 8.5% (total: 120 GiB) │ 4 │ 1 │
└──────┴───────────────────────┴─────────────────────┴──────────────┘
8.4 GiB Used, 479 Buckets, 3,585 Objects, 210 Versions, 27 Delete Markers
4 drives online, 0 drives offline, EC:1
```
2024-05-10 11:56:40 -07:00
jiuker
1b890948e8
fix: mirror --summary should work like -q ( #4923 )
2024-05-10 11:47:20 -07:00
Harshavardhana
fdb36acbb1
fix: test regression since #4920 ( #4928 )
...
use mc_cmd always inside `functional-tests.sh`
Bonus: run shell formatting
2024-05-09 10:04:24 -07:00
jiuker
0d8c4f8aa8
fix: mc find --metadata work without prefix ( #4926 )
2024-05-09 07:13:21 -07:00
Sveinn
a96123be2e
showing disable-pager flag as an option ( #4929 )
2024-05-09 07:13:07 -07:00
jiuker
5378c957f5
fix: mc rb --force return ok with bucketNotExists ( #4927 )
2024-05-09 03:32:30 -07:00
Kanagaraj M
45ae31533d
fix replication bandwidth unit conversion ( #4922 )
2024-05-09 03:04:18 -07:00
Shubhendu
62b110408f
Correct spelling in message ( #4924 )
...
Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io >
2024-05-09 01:41:56 -07:00
Shubhendu
2fb9e21122
Added test for bucket replication ( #4920 )
...
Make sure proxying of DEL markers doesnt happen to remote site
while stat calls.
Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io >
2024-05-09 01:40:35 -07:00
Shubhendu
646712d5e5
Fix panic in mc admin health command ( #4921 )
...
The globalFlags were getting added twice and so causing duplicate
error andso a panic.
Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io >
2024-05-07 08:20:21 -07:00
Klaus Post
b471de8d18
Add standard EC setting to admin info ( #4918 )
...
Discretely adds the standard EC setting to regular `mc admin info`.
```
λ mc admin info play
● play.min.io
Uptime: 1 hour
Version: 2024-04-15T10:03:01Z
Network: 1/1 OK
Drives: 4/4 OK
Pool: 1
Pools:
1st, Erasure sets: 1, Drives per erasure set: 4
945 MiB Used, 409 Buckets, 5,498 Objects, 52 Versions, 4 Delete Markers
4 drives online, 0 drives offline, EC:2
```
Will save many deep dives into JSON.
2024-05-03 04:21:07 -07:00
Harshavardhana
b317d0d63d
fix: honor S3v2 if configured ( #4917 )
...
fixes #4915
A regression was introduced in #4755 , we hardly test
with v2 anymore so this has never been covered.
2024-05-03 04:17:42 -07:00
Harshavardhana
dcb911bed9
make s3Config Transport a roundTripper ( #4914 )
2024-04-30 10:44:48 -07:00
Sveinn
9fad66d824
updating prefix validation and adding some tests ( #4907 )
2024-04-30 10:29:33 -07:00
jiuker
5b7b222371
fix: divde by zero for decom status ( #4908 )
2024-04-29 02:56:05 -07:00
Sveinn
4a3f5899c6
enabling MC_DISABLE_PAGER and --dp ( #4909 )
2024-04-29 02:55:40 -07:00
Ziyi Fan
770097b64f
Fix the percent of pool used ( #4910 )
...
Fix a the percent of pool used in rebalance status
2024-04-29 02:55:22 -07:00
Harshavardhana
afd408284e
scanner token buffer can overflow use bufio.NewReader() ( #4912 )
...
To avoid the following error on binary objects
```
bufio.Scanner: token too long.
```
2024-04-29 02:48:39 -07:00
Harshavardhana
5dfaa31d67
move to crypto/sha256 instead of sha256-simd ( #4911 )
2024-04-25 15:35:12 -07:00
Harshavardhana
2ed4cd91a7
fix: docker hotfix binaries
2024-04-19 09:41:02 -07:00
Harshavardhana
e59e453a14
fix: docker hotfix container builds
2024-04-19 09:33:18 -07:00
Shubhendu
bc47cebd91
Show ILM Expiry Replication status only if enabled ( #4900 )
...
In case Replication of ILM Expiry rules is disabled, mention the same
in `mc admin replicate status ALIAS` output.
Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io >
2024-04-19 01:52:20 -07:00
Anis Eleuch
3ec030eb26
cosmetic: Hide mc admin bucket and its subcommands visible ( #4905 )
...
Current mc admin bucket is visible under 'mc admin' however, mc admin
bucket will not show sub-commands, which is confusing.
Hide mc admin bucket and make mc admin bucket subcommands visible for
now, until removed later.
2024-04-18 09:45:29 -07:00
Harshavardhana
58a9cb37ec
upgrade deps to latest releases ( #4904 )
2024-04-18 07:46:46 -07:00
Sveinn
fe58afcd39
Large MC Update (new encryption flags, functional test suite, removal of session code, minor cleanup, vuln. updates ) ( #4882 )
2024-04-15 08:10:25 -07:00
Taran Pelkey
e701bce12c
Move mc idp ldap accesskey create --login to mc idp ldap accesskey create-with-login ( #4894 )
2024-04-12 00:00:53 -07:00
Aditya Manthramurthy
76c3674200
fix: build on linux/mips64 ( #4899 )
...
Also, add cross-compilation to CI. This includes all the archs we intend
to publish production binaries for.
`linux/mips64` was broken previously, and this is fixed by updating
github.com/shirou/gopsutil/v3 to the latest version.
2024-04-11 17:36:42 -07:00
Aditya Manthramurthy
6bac84d281
Update version for govulncheck ( #4898 )
2024-04-11 16:47:52 -07:00
Krishnan Parthasarathi
0b13328b3a
Move ilm-tier-info to use lipgloss/table ( #4892 )
2024-04-02 15:58:53 -07:00
Krishnan Parthasarathi
0e3d1d50bf
Use lipgloss's table package for ilm-tier-ls ( #4890 )
2024-04-02 02:14:13 -07:00
dorman
9f8147bf0e
doc update ( #4867 )
2024-03-30 08:29:52 -07:00
David Legrand
f740a6d40b
Functional tests: add a parameter for the full site cleaning test ( #4877 )
...
fixes #4876
The latest `mc rb` test cleans all the site data, and on the demo site,
there are sometimes WORM files put in by some users, which leads to
a failure. This test should only be run on sites where the user knows he can
clean everything without errors.
2024-03-30 08:29:28 -07:00
Shireesh Anjal
206d017878
Expose health diagnostics related functions ( #4885 )
...
So that dependent projects (e.g. console) can make use of them instead
of duplicating the logic.
2024-03-30 08:28:09 -07:00
Klaus Post
89d742a76d
Update madmin to existing master ( #4888 )
...
Proposed branch no longer exists.
2024-03-28 08:12:19 -07:00
Praveen raj Mani
7bac47fe04
fix resync to find peers by deployment ID instead of site names ( #4884 )
...
The site names may vary if configured on UI. The Deployment ID
is immutable and can be used instead in replicate resync commands.
2024-03-25 09:41:14 -07:00
Shireesh Anjal
9043bbf545
Expose getClusterRegInfo ( #4881 )
...
so that it can be used by other projects (e.g. console) instead of
duplicating the logic.
2024-03-20 14:07:29 -07:00
David Legrand
795ed1eb49
Fix functional-tests.sh file generation under macOS ( #4875 )
...
Fixes #4874
`head -c 0` leads to an `head: illegal byte count -- 0` error under macOS. We should also provide the input with `-i` parameter (it's ok under GNU/Linux too)
2024-03-16 03:01:31 -07:00
dependabot[bot]
2508db9c56
Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 ( #4872 )
...
Bumps google.golang.org/protobuf from 1.31.0 to 1.33.0.
---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-13 16:51:57 -07:00
Harshavardhana
53f59667f6
support node being part of multiple pools pick the actual number ( #4870 )
2024-03-13 12:22:53 -07:00
Harshavardhana
1ec55a5178
avoid stat and listing with --purge ( #4869 )
2024-03-08 22:43:06 -08:00
dependabot[bot]
6302f888a5
Bump github.com/lestrrat-go/jwx from 1.2.28 to 1.2.29 ( #4868 )
...
Bumps [github.com/lestrrat-go/jwx](https://github.com/lestrrat-go/jwx ) from 1.2.28 to 1.2.29.
- [Release notes](https://github.com/lestrrat-go/jwx/releases )
- [Changelog](https://github.com/lestrrat-go/jwx/blob/v1.2.29/Changes )
- [Commits](https://github.com/lestrrat-go/jwx/compare/v1.2.28...v1.2.29 )
---
updated-dependencies:
- dependency-name: github.com/lestrrat-go/jwx
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-08 14:29:25 -08:00
Harshavardhana
33a43e9c6e
update go to v1.21.8 for vulncheck
2024-03-06 16:31:49 -08:00
Shireesh Anjal
daf5b18e18
Add command for uploading file to SUBNET issue ( #4854 )
...
mc support upload --issue <issueNum> --comment <msg> <alias> </path/to/file>
Will upload the given file to the given SUBNET issue
2024-03-06 16:29:26 -08:00
Harshavardhana
98af07b69c
bring back the original progress bar ( #4866 )
...
also cleanup 'mc put/get' behavior
2024-03-02 16:13:08 -08:00
Shireesh Anjal
66daa906eb
mc support commands: allow --json in online mode ( #4859 )
...
There was a validation that said `--json` is supported only when
`--airgap` is also passed for SUBNET related `mc support` commands.
Remove this validation to allow `--json` to be passed even in online
mode. In this scenario, print a status JSON after upload to SUBNET.
2024-03-02 11:55:14 -08:00
dorman
c2bf38f647
mirror: add bucket exclusions ( #4861 )
2024-03-02 11:54:51 -08:00
dorman
94cf5edf7a
replicate: support alias ( #4864 )
2024-03-02 01:24:46 -08:00
jiuker
f17313e7ab
fix: emtpy progrese_bar and add change the color style white into green after upload success. ( #4857 )
2024-02-23 17:33:20 -08:00
Shireesh Anjal
744dc910d8
Do not validate deployment id from license if nil uuid ( #4856 )
...
In some very rare cases the license can contain a nil uuid
(00000000-0000-0000-0000-000000000000). Do not validate it against the
cluster's deployment id during registration.
2024-02-23 16:44:28 -08:00
jiuker
403bf6bc3a
fix: add showLastProgressBar ( #4855 )
2024-02-22 04:23:55 -08:00
Sveinn
e6288fa5f3
add help menu to put command when no parameters are present ( #4852 )
2024-02-21 18:35:53 -08:00
jiuker
5ff2208a2d
add mc get ( #4847 )
2024-02-21 18:34:48 -08:00
jiuker
e7ef65e655
fix: add error message to mc put ( #4849 )
2024-02-21 10:10:34 -08:00
Shubhendu
8156961333
Enable --expire-all-object-versions ( #4840 )
2024-02-20 06:47:42 -08:00
jiuker
1e69c2aadd
feat: add put action ( #4839 )
2024-02-19 22:36:31 -08:00
Poorna
7d5e4ed56d
fix example in admin replicate update ( #4846 )
2024-02-16 03:05:48 -08:00
dorman
6bb045a5e6
mirror: copy events also can mirror ( #4842 )
2024-02-14 13:19:52 -08:00
Harshavardhana
1466ae7b50
fix missing space while printing profile success message ( #4845 )
2024-02-14 13:18:56 -08:00
Sveinn
669cb0a9a4
Removing terminal whitelist for pager mechanism ( #4843 )
2024-02-09 14:18:24 -08:00
jiuker
62b12a2770
fix: mirror with local path ( #4825 )
2024-01-31 00:59:40 -08:00
Fexiven
e21762b5a7
Fix syntax in examples ( #4834 )
2024-01-31 00:58:34 -08:00
Poorna
1274167567
fix validation in replicate rm to allow stale target cleanup ( #4838 )
...
when --all --force is specified, send request to server even if
replication config is not found to allow stale target cleanup
2024-01-31 00:58:18 -08:00
Poorna
12f446e1de
fix prometheus metrics response on success ( #4835 )
2024-01-29 11:40:12 -08:00
Harshavardhana
ba9fc6a307
fix: remove prometheus metrics arbitrary body limit ( #4832 )
2024-01-28 08:23:14 -08:00
Harshavardhana
9a5ef7c56d
feat: service restart/update provides now per node status ( #4827 )
2024-01-26 12:32:20 -08:00
dependabot[bot]
1d42ad0df6
Bump github.com/lestrrat-go/jwx from 1.2.27 to 1.2.28 ( #4830 )
...
Bumps [github.com/lestrrat-go/jwx](https://github.com/lestrrat-go/jwx ) from 1.2.27 to 1.2.28.
- [Release notes](https://github.com/lestrrat-go/jwx/releases )
- [Changelog](https://github.com/lestrrat-go/jwx/blob/v1.2.28/Changes )
- [Commits](https://github.com/lestrrat-go/jwx/compare/v1.2.27...v1.2.28 )
---
updated-dependencies:
- dependency-name: github.com/lestrrat-go/jwx
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-25 15:59:36 -08:00
jiuker
ffade16689
feat: add skip-errors to mc mirror ( #4831 )
2024-01-25 15:10:12 -08:00
jiuker
ffa7a67bcf
fix: allow -q by turning of pipe progress bar ( #4828 )
2024-01-22 21:02:19 -08:00
Sveinn
1ff6818938
Adding screen-256color to pager enabled terms ( #4829 )
2024-01-22 21:01:39 -08:00
jiuker
bb25267eaa
feat: add action for mc undo recursive ( #4822 )
2024-01-17 23:03:39 -08:00
Klaus Post
1edb08e74f
Add ability to replay JSON file in scanner info ( #4824 )
...
Add (for now hidden) `-in` switch that opens a file that was output from `-json` and replays it.
```
λ go build&&mc admin scanner info -in=scanner-status.json
Scanner Activity: ∙∙●
Overall Statistics
------------------
Est. full scan time: 148d18h50m; Estimated 0.20/month
Current cycle: 5618; Started: 2024-01-06 14:14:39.745238158 +0000 UTC
Active drives: 2
Last Minute Statistics
----------------------
Objects Scanned: 402 objects; Avg: 91.974ms; Rate: 578880/day
Versions Scanned: 402 versions; Avg: 66.892µs; Rate: 578880/day
Versions Heal Checked: 0 versions; Avg: 0ms
Read Metadata: 402 objects; Avg: 91.74ms, Size: 649 bytes/obj
ILM checks: 402 versions; Avg: 1.909µs
Check Replication: 402 versions; Avg: 63.641µs
Verify Deleted: 0 folders; Avg: 0ms
Yield: 1m13.7s total; Avg: 183.311ms/obj
------------------------------------------- Errors --------------------------------------------------
peer is not reachable
peer is not reachable
------------------------------------- Currently Scanning Paths --------------------------------------
...
```
2024-01-17 09:02:52 -08:00
Sveinn
7484802005
Making cli pager optional + better visual indicators for scrolling ( #4819 )
2024-01-16 08:06:34 -08:00
Anis Eleuch
799ded568d
mirror: --preserve should not activate --overwrite ( #4821 )
...
Users would expect the mirror will not override anything unless --overwrite
flag is specified. However, currently --preserve will activate
--overwrite, which is not needed. This commit will fix this behavior.
2024-01-13 00:44:48 -08:00
Sveinn
2552dbf55e
Fixing PR template format ( #4820 )
2024-01-12 11:02:16 -08:00
Sveinn
bf2d21809a
Arranging command help menu alphabetically ( #4817 )
...
arranging commands alphabetically
2024-01-11 22:49:15 -08:00
Shubhendu
d4305a5bf9
Added option --exclude-folders ( #4566 )
...
This flag works in conjunction with `--recursive` and sets tags for all
the bucket objects minus the subdirs.
Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io >
2024-01-10 21:49:32 -08:00
Daniel Valdivia
74e889f95b
Workflow to add issues to tracking project ( #4815 )
...
Signed-off-by: Daniel Valdivia <hola@danielvaldivia.com >
2024-01-10 15:21:17 -08:00
Shubhendu
7f1da50991
allow aliases with single character strings ( #4812 )
...
Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io >
2024-01-08 11:17:23 -08:00
Krishnan Parthasarathi
59eca9fea8
ILM rule type filter flags should work with --json ( #4814 )
2024-01-04 21:04:32 -08:00
Shireesh Anjal
bad0ad9dfb
Add missing space between 'at' and filename ( #4813 )
...
When the report is generated in airgap mode, mc shows a message
MinIO diagnostics report saved at<filename>
Here a space is missing between 'at' and the filename. Add the same.
2024-01-03 08:51:10 -08:00
jiuker
0ffee47910
honor correct content-type for any files when passed via SQL query ( #4809 )
...
fixes #4518
2024-01-03 01:02:08 -08:00
jiuker
370b7483b1
feat: support summary for mc mirror ( #4811 )
2024-01-02 10:12:43 -08:00
Shubhendu
5386533bb9
Use correct target path during mirroring objects ( #4807 )
...
Currently if we don't use absolute paths in mirror command, absolute path of
source gets appended to the target path and so in destination object gets
mirrored to wrong prefix / path.
For example say source object path is `/tmp/source/prefix/a.txt` and mirror
command executed from `/tmp` dir as `mc mirror --json --watch source xyz`,
the object in target gets mirrored to location `xyz/tmp/source/prefix/a.txt`.
Also any new file created gets copied properly though.
```
mc mirror --json --watch source/ xyz/
{
"status": "success",
"source": "/tmp/source/prefix/a.txt",
"target": "xyz/tmp/source/prefix/a.txt",
"size": 0,
"totalCount": 1,
"totalSize": 0
}
{
"status": "success",
"source": "/tmp/source/b.txt",
"target": "xyz/b.txt",
"size": 0,
"totalCount": 2,
"totalSize": 0
}
```
With the fix now after running the command `mc mirror --json --watch source xyz`
the object would correctly get copied to location `/tmp/xyz/prefix/a.txt` as below
```
{
"status": "success",
"source": "/tmp/source/prefix/a.txt",
"target": "xyz/prefix/a.txt",
"size": 0,
"totalCount": 2,
"totalSize": 0
}
{
"status": "success",
"source": "/tmp/source/b.txt",
"target": "xyz/b.txt",
"size": 0,
"totalCount": 1,
"totalSize": 0
}
{
"status": "success",
"source": "/tmp/source/c.txt",
"target": "xyz/c.txt",
"size": 0,
"totalCount": 3,
"totalSize": 0
}
```
Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io >
2023-12-29 12:15:29 -08:00
jiuker
f88eb55911
fix: tree traversal issue with empty folders ( #4810 )
...
fixes #4794
2023-12-29 09:16:55 -08:00
Harshavardhana
176f657e53
properly ignore permission denied error with mirror ( #4803 )
2023-12-26 10:07:28 -08:00
Taran Pelkey
c27ddd4adf
Add ldap accesskey create, update accesskey list with new endpoint ( #4760 )
2023-12-23 00:47:21 -08:00
Shireesh Anjal
fb5dd2588c
Accept --license flag in mc license register ( #4795 )
...
If passed,
- validate and save it immediately in the subnet config
- extract API key from it and use it for online registration with SUBNET
(if `--airgap` is not passed)
- in case online registration with SUBNET fails for any reason, fallback
to airgap mode (show URL to be visited on SUBNET)
2023-12-20 00:45:13 -08:00
Klaus Post
8e1573ec1b
Set exitcode on copy/mirror source failure ( #4798 )
...
Also fixes errors potentially being swallowed by filtering.
Fixes #4773
```
λ go build&&mc cp s3/default/1.mp4 1.mp4
mc: <ERROR> Unable to prepare URL for copying. Unable to guess the type of copy operation.
λ echo %errorlevel%
1
λ _
```
2023-12-19 23:14:22 -08:00
Harshavardhana
60286667cc
update dependencies to address new CVE ( #4799 )
2023-12-19 23:13:54 -08:00
Anis Eleuch
9ad4ee9d08
tier: Support AWS web identity token file for MinIO EKS pods ( #4789 )
...
Add --aws-role-arn and --aws-web-identity-file to allow MinIO EKS pods
to use web identity token auth style to tier data to a AWS S3 bucket.
2023-12-15 13:36:29 -08:00
asce
c0462e64b2
use explicit operation handling for anonymous operations to prevent undesirable checks ( #4791 )
2023-12-15 13:36:12 -08:00
Anis Eleuch
34be0ed96a
decom: status clearly shows that the it is about raw disk usage ( #4792 )
...
Some users are confused about the 'Capacity' wording and think this is
about the objects usage, not disk usage; Change the wording to make this
is more clear.
2023-12-14 19:00:20 -08:00
Shireesh Anjal
28f44cb9a0
Read new key license_v2 from SUBNET response ( #4788 )
...
SUBNET now has a v2 license that is returned in the new key
`license_v2`. mc will start reading and storing the same.
2023-12-13 20:46:56 -08:00
Anis Eleuch
8da737f8fd
tier: Add support of service principal auth for Azure ( #4787 )
...
Add new flags to `mc ilm tier add` command to support Azure storage
authentication using a service principal account:
--az-sp-tenant-id
--az-sp-client-id
--az-sp-client-secret
2023-12-13 16:37:41 -08:00
Anis Eleuch
1facc1eef5
support: --debug flag will print http requests for easier debugging ( #4776 )
2023-12-13 15:31:01 -08:00
Harshavardhana
f78f391f8b
fix: broken 'anonymous get-json'
2023-12-13 15:29:52 -08:00
Shireesh Anjal
bb65ba8874
Use subnet package in pkg for license validation ( #4784 )
...
Most of the code related to license validation is now available in
`minio/pkg`. So remove it from mc and use the function(s) from `pkg`.
2023-12-11 09:06:09 -08:00
Shubhendu
1ba9435365
Fix a panic for bucket heal ( #4781 )
...
Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io >
2023-12-07 14:13:17 -08:00
Anis Eleuch
1e2c5cec0a
ready: Do not quit when the target server is offline or any other error ( #4783 )
...
Ready makes sense to not quit in any case, until the target server is
fully initialized
2023-12-07 14:13:04 -08:00
Krishnan Parthasarathi
d920e2b34b
Add support to batch-expire jobs ( #4677 )
2023-12-02 03:24:10 -08:00
Harshavardhana
f5f7147b9e
do not auto-decompress objects with content-encoding ( #4777 )
...
fixes #4769
2023-12-01 18:03:28 -08:00
Krishnan Parthasarathi
b7a7b05395
Update minio-go to incl ilm fix ( #4779 )
2023-11-30 10:39:50 -08:00
Harshavardhana
59e0e56b21
chore update minio/pkg and madmin-go ( #4774 )
2023-11-28 09:29:57 -08:00
r-sc
5e6ae2172e
set-json to fail on custom policies without .json ( #4745 )
2023-11-27 03:26:13 -08:00
Harshavardhana
2178568417
make STS support for 'mc' alias specific ( #4771 )
...
currently STS specific behavior is global,
`mc` however supports multiple aliases - we
need to make sure that `mc` treats this ENV
specific to an alias.
2023-11-26 01:35:13 -08:00
Krishnan Parthasarathi
16709e4bbc
ilm: Add support for size based filters ( #4770 )
2023-11-22 23:59:19 -08:00
Shubhendu
56d84e64b1
Option to enable disable ILM expiry for site replication ( #4698 )
...
Added options `replicate-ilm-expiry` and `disable-ilm-expiry-replication`
for `mc admin replicate add` and `mc admin replicate update` commands
respectively.
Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io >
2023-11-21 22:17:38 -08:00
Shireesh Anjal
937b34616f
Do not fail if deployment id not found in license ( #4767 )
...
SUBNET is being enhanced to generate account-level licenses instead of
deployment-level. So newer licenses may not contain the deployment id.
So validate the deployment id against the cluster only if present in the
license.
2023-11-20 08:30:59 -08:00
Harshavardhana
d8342b68a0
fix: docker container builds with proper container name
2023-11-16 19:34:18 -08:00
Harshavardhana
fe05b5bb42
fix: avoid crash with --stats -a ( #4765 )
2023-11-16 16:43:30 -08:00
Harshavardhana
4724c024c6
support missing role-arn and role-session-name ( #4763 )
2023-11-15 14:45:58 -08:00
Pedro Juarez
6c9cdc27bc
Refactor methods that initialize client to reuse code blocks ( #4755 )
2023-11-15 13:20:52 -08:00
jiuker
c3ebf165ee
fix: Incorrect batch status Throughput entry ( #4758 )
...
fixes https://github.com/minio/mc/issues/4756
2023-11-13 10:10:39 -08:00
Harshavardhana
5124a01ae7
add 'alias export' command ( #4759 )
2023-11-13 03:20:16 -08:00
Harshavardhana
8c8e625217
trace statistics add MaxTTFB column ( #4757 )
2023-11-13 02:26:37 -08:00
Pedro Juarez
b1d4341fcb
add STS support for mc admin command ( #4754 )
2023-11-11 23:08:33 -08:00
Krishnan Parthasarathi
d3773744a6
Transition doesn't support NewerNoncurrentVersions ( #4750 )
...
hiding --noncurrent-transition-newer flag to avoid confusion to MinIO
users.
2023-11-11 12:58:33 -08:00
Daryl White
56803d2167
Updating example with correct flag ( #4751 )
2023-11-10 13:37:17 -08:00
Shubhendu
6829c3fabc
Change go version to 1.21.4 to fix vulncheck failures ( #4749 )
...
Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io >
2023-11-09 14:43:59 -08:00
Harshavardhana
7db80b6ad9
fix: broken docker builds for microdnf command ( #4746 )
2023-11-08 13:00:21 -08:00
Shireesh Anjal
a5adf14769
Add anonymize flag to support-diag ( #4742 )
2023-11-08 01:36:09 -08:00
Daniel Valdivia
011c61b254
Add support for STS credentials ( #4744 )
2023-11-05 20:19:23 -08:00
Shireesh Anjal
b7dc9cc724
Show net info spinner in health diagnostics ( #4741 )
2023-11-02 09:52:34 -07:00
Harshavardhana
9f2fb2b6a9
upgrade madmin-go/v3 ( #4738 )
2023-10-30 11:43:32 -07:00
Sveinn
b82f6c60b2
Removing un-used variables and fixing an error condition ( #4737 )
2023-10-30 08:43:44 -07:00
Harshavardhana
01df0ff497
upgrade madmin-go/v3 ( #4735 )
2023-10-28 14:24:39 -07:00
Taran Pelkey
c1f61a1e06
Add idp ldap accesskey ( #4686 )
2023-10-26 14:23:45 -07:00
dependabot[bot]
dae819544b
Bump google.golang.org/grpc from 1.58.0 to 1.58.3 ( #4731 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.58.0 to 1.58.3.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.58.0...v1.58.3 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-26 10:53:29 -07:00
Harshavardhana
1bcbe9019d
add top locks owner as well ( #4733 )
...
```
Since Type Owner Resource
13 hours ago WRITE 10.68.100.18:9000 .minio.sys/leader.lock
13 hours ago WRITE 10.68.100.18:9000 .minio.sys/callhome/runCallhome.lock
13 hours ago WRITE 10.68.100.23:9000 .minio.sys/new-drive-healing/0/0
...
...
```
2023-10-26 07:52:18 -07:00
Andreas Auernhammer
b798764785
update container base image to ubi9 ( #4730 )
...
This commit updates the container base image
to ubi9/ubi-9.2. It is ~4 MB smaller than ubi-8.
Signed-off-by: Andreas Auernhammer <github@aead.dev >
2023-10-25 08:31:38 -07:00
r-sc
75e722216a
fix: print updates/merge multiple policy for a user ( #4691 )
2023-10-24 14:42:22 -07:00
Shireesh Anjal
39a57a14b8
revamp spinner in mc support diag ( #4727 )
...
The current spinner mechanism looks for the data categories (CPU,
drives, memory, etc) sequentially. If any of the category's data is not
received, it gets stuck there.
If a new data category is introduced without changing the version of the
HealthInfo struct, then `mc support diag` can get stuck for the new
category when talking to an older version of minio.
So instead of looking for the categories one by one, start a spinner for
each category at the beginning, and mark it as done as soon as the
corresponding data is received. When the last category (admin info) is
received, mark any pending category as done so that the command
continues with the rest of the processing.
2023-10-24 00:17:17 -07:00
Harshavardhana
2678c2c8e5
use Dockerfile ADD feature deprecate curl ( #4728 )
2023-10-23 23:32:21 -07:00
Harshavardhana
97cc12fdc5
Add average TTFB for statistics ( #4726 )
2023-10-23 22:18:28 -07:00
Andreas Auernhammer
0440badc41
use ubi-micro instead of ubi-minimal ( #4725 )
...
This commit replaces the UBI minimal with the
small and less bloated UBI micro image.
This reduces noise from security scanners flagging
components not used by mc and reduces the overall
size of the container.
Signed-off-by: Andreas Auernhammer <github@aead.dev >
2023-10-23 21:51:09 -07:00
Poorna
2c6ae7d1f7
Add --bucket-bandwidth flag to mc admin replicate update ( #4687 )
...
to allow default bucket bandwidth to be set in site replication
2023-10-23 15:46:02 -07:00
Sveinn
eb6f304e2e
Created a retry mechanism and added a --retry flag to mc mirror ( #4715 )
2023-10-20 02:03:26 -07:00
Klaus Post
d2a2bdb07b
Fix missing colours on windows ( #4721 )
2023-10-19 11:31:34 -07:00
Harshavardhana
903a1f202c
add support for min/max time in 'trace --stats' ( #4723 )
...
also change the UI to match a k8s'isk style
output.
```
mc admin trace play/ --stats
Duration: 12s ●∙∙
Call Count RPM Avg Time Min Time Max Time Errors RX Avg TX Avg
s3.GetBucketLocation 22 (48.9%) 107.8 431µs 205.196µs 1.360389ms 0 135 B 137 B
s3.ListObjectsV2 22 (48.9%) 107.8 1.615ms 520.96µs 6.821432ms 0 135 B 2.3 KiB
s3.ListBuckets 1 (2.2%) 4.9 2.302ms 2.301694ms 2.301694ms 0 135 B 29 KiB
```
2023-10-18 11:09:29 -07:00
Harshavardhana
062f28c9cc
allow 'mc' flags to have ENV equivalent ( #4720 )
...
it simplifies the codebase a bit and also
allows for `mc` to easily be configured in
containerized environments.
2023-10-16 22:51:25 -07:00
Sveinn
377b71641b
Preventing duplicate transfers during cp and mv when prefixes overlap ( #4719 )
2023-10-16 09:56:30 -07:00
Shubham Vernekar
fb8a20a780
chore: update docs to indicate where is present ( #4718 )
2023-10-16 08:44:12 -07:00
Anis Eleuch
d158b9a478
prom: Allow insecure TLS connections if --insecure is provided ( #4716 )
2023-10-13 18:57:03 -07:00
dependabot[bot] and Harshavardhana
54d12e95bd
Bump golang.org/x/net from 0.15.0 to 0.17.0 ( #4713 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.15.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.15.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Harshavardhana <harsha@minio.io >
2023-10-12 12:06:14 -07:00
Sveinn
87d6cd2d4f
Validation optimization - reduce HEAD calls during cp and mv operations ( #4710 )
2023-10-12 11:30:11 -07:00
Shubhendu
32311bb933
Use the new golang version 1.21.3 ( #4714 )
...
Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io >
2023-10-12 06:14:15 -07:00
Klaus Post
0793ce767b
Add --stats to traces ( #4669 )
...
Allows collecting live stats of all traced subsystems.
Examples:
```
λ mc admin trace --stats play
+----------------------------+-------------+------+-----------+--------+---------+---------+
| Call | Count | RPM | Avg Time | Errors | RX Avg | TX Avg |
| s3.GetObject | 247 (63.3%) | 82.5 | 2.391ms | 0 | 133 B | 179 KiB |
| s3.HeadBucket | 102 (26.2%) | 34.1 | 1.114ms | 0 | 147 B | 0 B |
| s3.GetBucketLocation | 18 (4.6%) | 6.0 | 1.942ms | 0 | 147 B | 149 B |
| s3.PutBucket | 6 (1.5%) | 2.0 | 4.146ms | 0 | 151 B | 0 B |
| s3.ListObjectsV1 | 4 (1.0%) | 1.3 | 4.276ms | 0 | 124 B | 577 B |
| s3.ListBuckets | 3 (0.8%) | 1.0 | 15.312ms | 0 | 135 B | 82 KiB |
| s3.PutObject | 3 (0.8%) | 1.0 | 4.304ms | 0 | 14 KiB | 0 B |
| s3.DeleteObject | 2 (0.5%) | 0.7 | 407µs | 0 | 88 B | 0 B |
| s3.HeadObject | 2 (0.5%) | 0.7 | 1.36ms | 0 | 108 B | 0 B |
| s3.CompleteMultipartUpload | 1 (0.3%) | 0.3 | 7.943ms | 0 | 301 B | 449 B |
| s3.NewMultipartUpload | 1 (0.3%) | 0.3 | 4.895ms | 0 | 160 B | 383 B |
| s3.PutObjectPart | 1 (0.3%) | 0.3 | 103.782ms | 0 | 8.8 MiB | 0 B |
+----------------------------+-------------+------+-----------+--------+---------+---------+
λ mc admin trace --stats -call=storage play
+------------------------------+---------------+----------+----------+--------+--------+--------+
| Call | Count | RPM | Avg Time | Errors | RX Avg | TX Avg |
| storage.ReadXL | 70780 (33.3%) | 174700.3 | 43µs | 200 | - | - |
| storage.RenameData | 70633 (33.2%) | 174337.5 | 1.165ms | 0 | - | - |
| storage.DiskInfo | 70540 (33.1%) | 174107.9 | 1µs | 0 | - | - |
| storage.ReadVersion | 280 (0.1%) | 691.1 | 70µs | 0 | - | - |
| storage.StatVol | 236 (0.1%) | 582.5 | 13µs | 0 | - | - |
| storage.DeleteAbandonedParts | 140 (0.1%) | 345.6 | 149µs | 0 | - | - |
| storage.CreateFile | 88 (0.0%) | 217.2 | 4.169ms | 0 | - | - |
| storage.ListVols | 88 (0.0%) | 217.2 | 426µs | 0 | - | - |
| storage.ReadFileStream | 18 (0.0%) | 44.4 | 28µs | 0 | - | - |
| storage.VerifyFile | 16 (0.0%) | 39.5 | 2.166ms | 0 | - | - |
+------------------------------+---------------+----------+----------+--------+--------+--------+
```
2023-10-10 10:12:06 -07:00
Shireesh Anjal
eca8310ac8
Add support for resource metrics ( #4689 )
2023-10-03 23:52:56 -07:00
Anis Eleuch
4be483de6d
scanner: Limit the active disks if no enough term space ( #4705 )
...
If the terminal height is not enough to show the number of active disks,
which is likely the case in a large deployment, print only a few entries
until the number of lines reaches the terminal height.
2023-10-03 08:31:31 -07:00
Anis Eleuch
67fa4aa7a3
Fix mirror stats with --quiet flag ( #4703 )
2023-10-02 08:03:54 -06:00
Harshavardhana
d8ace59107
add 'mc admin trace' filtering based on request queries ( #4704 )
2023-10-02 00:40:19 -07:00
Armin Weißer
d47a2ba53a
Add min, max and total request time to top api command ( #4702 )
...
Add min and max request time to top api command
2023-09-29 09:41:22 -07:00
Shireesh Anjal
86d5b64ffa
Use latest madmin-go (v3.0.21) ( #4701 )
...
This ensures that drive model is included in the partition data inside
the health diagnostics report.
2023-09-29 01:07:54 -07:00
Anis Eleuch
1a65176cee
perf net: Do not show Err: tag if there is no error ( #4700 )
2023-09-28 15:59:55 -07:00
Harshavardhana
103272612a
change 6->3 decimal resolution, to conserve terminal realestate
2023-09-28 10:48:30 -07:00
Armin Weißer
c3c899c365
Add ART and ATP to 'support top api' command ( #4699 )
...
Average Request Time (ART) = Total Duration / Calls
Average Throughput (ATP) = (RX+TX) / Total Duration
2023-09-28 08:33:49 -07:00
Taran Pelkey
618512cc92
broaden reach of --no-color flag ( #4697 )
2023-09-25 23:10:43 -07:00
Klaus Post
21ee2bd432
Show heal checks performed on missing ( #4692 )
...
Add stats for objects missing on current disk, but healed.
Visualizes stats for https://github.com/minio/minio/pull/18076
2023-09-25 10:32:06 -07:00
Harshavardhana
ae05d45173
upgrade minio/pkg v2.0.2 ( #4694 )
2023-09-21 22:07:46 -07:00
Anis Eleuch
38b8665e9e
perf net: Show the error with the bandwidth results ( #4688 )
...
An error in the result does not mean that the whole perf net test
failed, we can still show some results, with an error as well, to be
less confusing to the user.
2023-09-20 08:22:31 -07:00
Harshavardhana
79df949087
add exclude-storageclass flag for mirror ( #4684 )
...
this option exists to skip tiered objects such as
- "GLACIER"
- "DEEP_ARCHIVE"
users can use this option when migrating awss3 -> minio
```
mc mirror --exclude-storageclass GLACIER \
--exclude-storageclass DEEP_ARCHIVE s3/bucket minio/bucket
```
2023-09-19 22:47:55 -07:00
r-sc
f551d4b14d
Support multiple policies in 'mc admin user policy' command ( #4685 )
2023-09-19 09:27:38 -07:00
Harshavardhana
3adb6c93fd
hide all old deprecate heal options ( #4682 )
2023-09-18 23:02:58 -07:00
Klaus Post
f36429be69
Add download links ( #4681 )
...
Update README.md
Add more archs.
2023-09-18 10:00:11 -07:00
Harshavardhana
e561bc770e
update all dependencies ( #4679 )
2023-09-13 16:08:58 -07:00
Harshavardhana
9dcef8825f
fix: alignment issues in help for svacct sub-commands ( #4676 )
2023-09-07 15:48:55 -07:00
Harshavardhana
e088bd45a9
fix: alignment in 'replicate status' help ( #4675 )
2023-09-07 01:01:36 -07:00
Aditya Manthramurthy
e2056fb057
Update to minio/pkg v2 ( #4674 )
2023-09-02 14:28:03 -07:00
Poorna
5a5a9973c3
Change replicate status metrics to show additional info ( #4582 )
...
in `mc replicate status` for bucket replication
and `mc admin replicate status` for site replication.
2023-08-30 01:02:26 -07:00
Harshavardhana
9da0b405db
support all scanner events to be reported for excessive versions ( #4672 )
2023-08-29 15:55:06 -07:00
Shubhendu
38d4108458
Added mc admin kms key list ALIAS command ( #4663 )
...
Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io >
2023-08-29 15:36:30 -07:00
Harshavardhana
d973c0a9bb
update contribution license PR template
2023-08-29 09:39:46 -07:00
Poorna
acc25b8c50
fix: bandwidth displayed in mc replicate status ( #4664 )
2023-08-18 14:57:55 -07:00
Harshavardhana
df68f5cf89
add new PR template license terms and go1.21.x build ( #4662 )
2023-08-15 16:03:09 -07:00
Harshavardhana
f198b23e1a
fix: batch status responsiveness ( #4661 )
2023-08-15 14:15:45 -07:00
Anis Eleuch
469f770fe6
kms-status: Show unknown for decryption when encryption fails ( #4659 )
...
mc admin kms key status shows success for decryption when encryption is
failed, though the server does not test the decryption processs when the
encryption is failed. In such cases, this commit will show decryption with a
question mark instead of OK mark
2023-08-14 13:04:49 -07:00
Anis Eleuch
9d99cfbb7e
mv: Do not error out when a bucket has an object lock config ( #4654 )
...
It appears that this code is coming from the old days when locking was
implemented before versioning; It does not make sense now to make mv
errors out when a bucket has a locking configuration.
2023-08-14 13:04:26 -07:00
Shireesh Anjal
e112429e81
fix license register error in airgap mode ( #4653 )
2023-08-10 10:12:21 -07:00
jiuker
44ca181a93
feat: support perf client to show TX from client to server ( #4645 )
2023-08-10 07:16:40 -07:00
Shubhendu
01fb7c5a96
fix: provide an option for Prometheus config for node and bucket endpoints ( #4652 )
...
Earlier the command `mc admin prometheus generate ALIAS` used to
display only the scrape configuration for cluster metrics endpoint.
This change enables optionally to display scrape configuration for
node / bucket metrics endpoints.
Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io >
2023-08-08 10:23:59 -07:00
Harshavardhana
b8d6623a3d
update go1.20.7 for vulncheck
2023-08-08 09:44:00 -07:00
Harshavardhana
0a529d5e64
update deps to latest packages and update CREDITS ( #4649 )
2023-08-01 16:30:57 -07:00
Harshavardhana
3cf3095253
add TTFB as part of 'mc admin trace' in pretty form ( #4648 )
2023-07-31 20:31:06 -07:00
Shireesh Anjal
6b8680a2f7
Do not allow registration of play cluster ( #4647 )
...
Since play is a public demo cluster, it should not be allowed to
register with subnet.
2023-07-25 20:51:50 -07:00
Shubhendu
1c17ff4c99
Enabled option to show node and bucket metrics ( #4632 )
...
Earlier the command `mc admin prometheus metrics ALIAS` used to
display only the cluster-level metrics. This change enables
optionally to list node/bucket-specific metrics.
Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io >
2023-07-21 13:44:27 -07:00
Krishnan Parthasarathi
057470183f
admin-info: Include delete markers count ( #4642 )
2023-07-19 15:54:09 -07:00
Poorna
c04a480dd3
fix replicate update to check for older role ARN ( #4640 )
2023-07-19 13:11:09 -07:00
Harshavardhana
c5ea09b74d
properly report bandwidth if not configured ( #4641 )
...
report bandwidth if not configured
2023-07-19 12:42:18 -07:00
jiuker
493cd196b7
fix: remove count flag and show the byteRate for support top net ( #4639 )
2023-07-19 08:34:35 -07:00
jiuker
dd6e9c7fcd
fix: Enable byHost filtering by supplying server host list ( #4637 )
2023-07-19 00:45:16 -07:00
Harshavardhana
216aae32b9
fix: with --purge flag ignore path validation errors ( #4636 )
2023-07-18 14:05:38 -07:00
jiuker
48dd25742a
Support mc top net ( #4626 )
2023-07-18 13:11:00 -07:00
Sergey
c78ff23e77
Fixing misleading usage help for mc anonymous set-json ( #4621 )
2023-07-18 01:07:38 -07:00
Harshavardhana
1fbd97aa04
run gofumpt -extra on all source files ( #4634 )
2023-07-17 13:10:20 -07:00
Shireesh Anjal
e8f049cbb1
Ensure --airgap is available on all support commands ( #4633 )
...
- remove deprecated and unused flags from `support diag`
- add missing registration check-in
- call home status
- proxy set|show|remove
2023-07-17 09:02:50 -07:00
Shubhendu
15ea1125e3
Added endpoint and version attributes to KMS details ( #4591 )
...
Added endpoint and version attributes to KMS details
Now it would list details of all KMS instances with additional attributes
endpoint and version. In case of k8s based deployment the list would consist
a single entry.
Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io >
2023-07-13 09:10:43 -07:00
Poorna
09a06e2a75
Rename mc replicate diff as mc replicate backlog ( #4568 )
...
Rename `mc replicate diff` as `mc replicate backlog`
By default `mc replicate backlog` shows the most recent failures with additional
--nodes flag to filter output by node and --arn flag to filter by remote target.
This is a fast operation and provides a quick snapshot of backlog currently in failed
status.
`mc replicate backlog --full` does a full listing and reports all object versions in
pending or failed replication status.
2023-07-13 09:06:12 -07:00
Harshavardhana
355150151f
allow purge to happen on quorum lost objects ( #4629 )
2023-07-13 00:11:43 -07:00
Harshavardhana
c1193fc29d
add update UBI image to 8.8 ( #4625 )
2023-07-11 16:30:44 -07:00
Aditya Manthramurthy
1b992864ee
Enhance user info output with authentication info ( #4613 )
2023-07-06 22:25:51 -07:00
Poorna
a2c253c43b
admin replicate update: rename --sync flag to --mode ( #4623 )
2023-07-06 22:25:27 -07:00
jiuker
72958227ad
fix: miss count for 'mc support top drive' ( #4624 )
2023-07-06 08:46:12 -07:00
jiuker
00b68bfa16
support site perf replication ( #4608 )
2023-07-06 01:07:41 -07:00
Shireesh Anjal
eebdcdf365
Upgrade madmin-go/v3 to 3.0.4 ( #4618 )
...
Capture realtime metrics in health report
2023-06-28 14:54:17 -07:00
Kaan Kabalak
c96b42c8f2
Fix issues related to 'mc admin svcacct list --json' cmd ( #4619 )
...
- Fix table header being printed when the '--json' flag is present for
the 'mc admin svcacct list' command
- Fix sentinel date being marshaled when the '--json' flag is present
for the 'mc admin svcacct list' command
2023-06-27 22:52:26 -07:00
Harshavardhana
0ed2956757
improve user messaging in 'support perf' and 'mc rm --dry-run' ( #4617 )
...
- terminal messaging for 'mc rm --dry-run' was completely
wrong, it was using `fmt.Println` which shouldn't be done.
- mc support perf - printing was using a mix of color.New()
and console.Infoln() (use one)
- mc support profile - printing was using a mix of color.New()
and console.Info() (use one)
- mc support inspect - printing was using a mix of color.New()
and consoleInfo() (use one)
2023-06-26 09:20:51 -07:00
r-sc
f8f565c2b6
fix: allow cluster bucket export to export single bucket ( #4614 )
2023-06-24 01:38:52 -07:00
r-sc
dea3058aa1
Improve consistency in mc cmds ( #4609 )
2023-06-23 11:12:07 -07:00
Aditya Manthramurthy
4b06db8e17
Update minio dependencies ( #4610 )
2023-06-20 14:00:40 -07:00
Aditya Manthramurthy
5f39522e69
Add response details for policy attach/detach cmd ( #4602 )
...
For internal IDP.
Also updates madmin-go to v3 as part of this change
- Temporarily disable test_admin_users until minio side fix is merged
2023-06-19 12:31:19 -07:00
Poorna
bf3924b583
resync status: show current status ( #4604 )
...
Also exit tea.Program when resync is canceled.
2023-06-15 08:08:26 -07:00
dependabot[bot]
84f5724459
Bump github.com/lestrrat-go/jwx from 1.2.25 to 1.2.26 ( #4601 )
...
Bumps [github.com/lestrrat-go/jwx](https://github.com/lestrrat-go/jwx ) from 1.2.25 to 1.2.26.
- [Release notes](https://github.com/lestrrat-go/jwx/releases )
- [Changelog](https://github.com/lestrrat-go/jwx/blob/v1.2.26/Changes )
- [Commits](https://github.com/lestrrat-go/jwx/compare/v1.2.25...v1.2.26 )
---
updated-dependencies:
- dependency-name: github.com/lestrrat-go/jwx
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-14 12:40:22 -07:00
r-sc
2c67a3aaa7
Improve output readability for mc stat command ( #4597 )
2023-06-14 07:44:46 -07:00
Aditya Manthramurthy
916e05bc24
Fix unconfigured IDP output in idp info command ( #4600 )
2023-06-13 13:49:33 -07:00
Shubhendu
41926421f9
Set theme color for mc admin user svcacct set output ( #4599 )
...
Align with output theme for other commands like `enable`,
`disable` etc.
Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io >
2023-06-13 11:19:50 -07:00
Harshavardhana
f148db7ae0
remove unnecessary newline and contextualize the success ( #4598 )
2023-06-13 08:44:46 -07:00
Klaus Post
2ecd33086f
fix: copy progress crash ( #4596 )
...
Fix naked type assertion crash on `mc cp` with no output.
Fixes #4595
2023-06-12 13:48:33 -07:00
Harshavardhana
5e4ab1ec48
add ftp trace support ( #4590 )
2023-06-06 06:48:56 -07:00
Harshavardhana
04407b4199
print in tabular form for callhome status ( #4588 )
2023-06-03 08:09:50 -07:00
Kaan Kabalak
ca1d00741b
Implement '--expiry' flag for 'mc admin user svcacct add & edit' ( #4570 )
2023-05-30 15:41:38 -07:00
Klaus Post
c6d4b63785
Make mc ping useful for startup checks ( #4584 )
2023-05-29 20:36:19 -07:00
Shireesh Anjal
298dbc50ca
fix proxy not being used to test connectivity ( #4583 )
2023-05-28 11:02:33 -07:00
Shubhendu
9cb069e7af
Corrected message to align with other messages ( #4577 )
...
Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io >
2023-05-26 16:31:54 -07:00
Kaan Kabalak
0fac0e006e
List expiration dates for 'mc admin user svcacct list' command ( #4576 )
2023-05-26 10:55:37 -07:00
Krishnan Parthasarathi
68a3d5adec
Add updatedAt for ilm-rule-ls ( #4579 )
2023-05-26 09:37:48 -07:00
Klaus Post
96cb5cfc44
fix: limit manual GC to bigger objects ( #4581 )
2023-05-26 08:12:10 -07:00
Shubhendu
7415469c72
Show groups with their policy details while listing users ( #4578 )
...
Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io >
2023-05-23 10:15:19 -07:00
Aditya Manthramurthy
8c06f54d8b
Move mc admin idp to mc idp ( #4574 )
2023-05-19 15:10:28 -07:00
Anis Eleuch
7259e23679
Add sorting order to top drive command ( #4575 )
2023-05-19 08:41:17 -07:00
Aditya Manthramurthy
43745a9a59
Deprecate older idp commands ( #4572 )
2023-05-18 09:59:00 -07:00
Aditya Manthramurthy
052cf01a96
Add name and description for service accounts ( #4569 )
2023-05-17 11:46:09 -07:00
Thierry FOURNIER
c767a3705f
bug: panic on nil pointer dereference for "mc admin heal" when disk i… ( #4571 )
2023-05-17 10:03:17 -07:00
Anis Eleuch
aefb1db4db
Load Subnet proxy and API key from the env if found ( #4557 )
2023-05-09 10:11:27 -07:00
dorman
ada4096d0b
randomly generate AK and SK on mc client ( #4565 )
2023-05-09 09:14:34 -07:00
Anis Eleuch
6050568e66
info: Correctly show pool config with offline node(s) ( #4567 )
2023-05-09 08:13:26 -07:00
Shireesh Anjal
af0e241883
Support setting subnet url via env var in dev mode ( #4564 )
2023-05-07 23:34:22 -07:00
Anis Eleuch
5a0d5116f4
mirror: Fix removal of FS target without a trailing slash ( #4560 )
2023-05-04 11:10:16 -07:00
Shubhendu
b005b9a94d
Remove tags for object versions ( #4563 )
...
Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io >
2023-05-01 08:04:31 -07:00
Anis Eleuch and Anis Elleuch
a7e729fd38
mirror: Honor --fake for target bucket removal ( #4561 )
...
Co-authored-by: Anis Elleuch <anis@min.io >
2023-04-27 19:52:06 -07:00
Shireesh Anjal
36e26c448f
Ensure perf results file has an extension ( #4551 )
2023-04-25 11:41:52 -07:00
Anis Eleuch
7130c92043
info: Show nodes in initializing state ( #4556 )
2023-04-25 11:41:24 -07:00
Harshavardhana
0da22db3af
allow aliases to be / at the end and handle such cases ( #4554 )
2023-04-21 11:30:52 -07:00
Daniel Valdivia
6833118338
Consistent subcommand naming for list and remove with shortname ( #4548 )
...
Signed-off-by: Daniel Valdivia <hola@danielvaldivia.com >
2023-04-16 23:07:14 -07:00
Klaus Post
2ff87d64dc
Fix dry run message crash ( #4546 )
2023-04-16 23:04:51 -07:00
dorman
4bc0aa730d
doc: Update mc admin doc ( #4529 )
2023-04-16 23:04:33 -07:00
吴小白
b088b02adc
build: support loong64 ( #4549 )
2023-04-13 11:09:41 -07:00
Anis Eleuch
1843717c57
Remove diskInfo structure in heal report ( #4545 )
2023-04-11 19:21:51 -07:00
Anis Eleuch
83336dfab3
heal: Fix summary ETA with multiple disks healing in one set ( #4543 )
2023-04-11 10:03:28 -07:00
Harshavardhana
e668f4ad69
update minio-go/v7 -> v7.0.52 ( #4544 )
2023-04-11 10:03:12 -07:00
Anis Eleuch
50f11d8248
stat: fix printing bucket usage info ( #4542 )
2023-04-10 09:32:41 -07:00
Harshavardhana
a06e46677a
fix: remove replace directive merged incorrectly
2023-04-09 19:08:14 -07:00
Anis Eleuch
456c6fde8b
perf: Add --noclear flag to avoid doing cleanup ( #4473 )
2023-04-08 23:10:28 -07:00
Poorna
e94ce35608
Add trace for ilm call type ( #4538 )
2023-04-08 11:37:17 -07:00
Harshavardhana
c6db258e7d
do not crash on zero values ( #4536 )
2023-04-08 11:36:50 -07:00
Klaus Post
36aa65b791
Add metadata and tags to mc find ( #4531 )
2023-04-08 09:43:27 -07:00
Poorna
2c3f0e8ccf
Add flag to admin replicate update to toggle synchronous replication ( #4514 )
2023-04-08 08:54:39 -07:00
jinapurapu
a9fb9426f1
Improve errInvalidAlias ( #4532 )
2023-04-08 08:20:20 -07:00
Shubhendu
2d12a0a310
Dont send blank perf report to SUBNET ( #4533 )
...
Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io >
2023-04-08 08:04:27 -07:00
tomaszduda23
d385122bef
print RestoreInfo to check status of restored objects ( #4534 )
2023-04-08 08:03:46 -07:00
Taran Pelkey
1c6f4f48ab
Add errors for deprecated commands ( #4498 )
2023-04-06 09:51:10 -07:00
Poorna
b5768efc96
Add trace options for batch key rotation ( #4507 )
2023-04-04 14:00:02 -07:00
Shireesh Anjal
a9cf9103ef
Upgrade madmin-go to 2.0.18 ( #4535 )
2023-04-04 11:33:01 -07:00
Allan Roger Reid
ada99298b2
fix: redact secretKey from printed on screen ( #4526 )
2023-03-28 12:50:57 -07:00
Anis Eleuch
81453d7c8f
stat: Fix output when stat a prefix which has other prefixes ( #4501 )
2023-03-23 13:03:04 -07:00
Harshavardhana
8d6afee8fc
honor context cancellation on long-running lists ( #4519 )
2023-03-23 12:44:45 -07:00
Shubhendu
f3ff8b1556
Revert query parameter src while diag upload to SUBNET ( #4516 )
2023-03-23 12:36:06 -07:00
Anis Eleuch
8a67c25f53
cp: Descriptive error about why unable to locate the source ( #4517 )
2023-03-23 08:00:24 -07:00
Harshavardhana
381f016f61
add Expiration: info if present for sts/svc accounts ( #4515 )
2023-03-23 07:59:46 -07:00
Krishnan Parthasarathi
88896ae495
Incl. rules with NewerNoncurrentVersions > 0 ( #4505 )
2023-03-20 10:17:53 -07:00
Poorna
292f2dd960
Add batch cancel command ( #4506 )
2023-03-20 10:17:32 -07:00
Klaus Post
2e9b7e5ddc
Fix decommission status crash ( #4510 )
2023-03-20 10:17:00 -07:00
Harshavardhana
252421354c
update functional tests for admin_users with 'policy commands' ( #4508 )
2023-03-19 20:49:16 -07:00
Anis Eleuch
e290a426a1
heal: Summary output based on disks utilization ( #4474 )
2023-03-18 16:43:18 -07:00
Taran Pelkey
9401450402
Restructure adding and removing policies from users and groups ( #4428 )
2023-03-18 16:41:57 -07:00
Anis Eleuch
07fb372398
rm: --dry-run with --versions to print versions modtime ( #4495 )
2023-03-18 16:39:26 -07:00
Aditya Manthramurthy
0e97683460
fix: ldap commands don't accept config name ( #4499 )
2023-03-18 16:38:27 -07:00
Klaus Post
5d334f4960
fix: windows stat command ( #4503 )
2023-03-18 16:37:13 -07:00
Shubhendu
045430905a
Added query parameter src while diag upload to SUBNET ( #4504 )
...
Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io >
2023-03-18 16:36:36 -07:00
Poorna
d276bd7395
replicate ls: fix panic ( #4497 )
2023-03-13 06:07:16 -07:00
Poorna
dfeadd796a
replicate status - drop stale ARNs from stats ( #4494 )
2023-03-10 07:17:17 -08:00
Shireesh Anjal
107c6dd265
Allow support proxy set|remove without registration ( #4488 )
2023-03-09 00:10:42 -08:00
Shubhendu
aaed62cdd8
Skip subnet config get while --airgap mode of license register ( #4479 )
...
Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io >
2023-03-08 00:26:24 -08:00
Harshavardhana
bf4a825530
upgrade dependencies and move to go1.20.x ( #4490 )
2023-03-04 16:34:53 -08:00
Krishnan Parthasarathi
5fbe8c26ba
tier-add: --force flag to ignore in use check ( #4481 )
2023-02-27 16:12:59 -08:00
Anis Elleuch
1843bab500
subnet: Avoid general hard timeout for requests ( #4478 )
2023-02-21 09:32:38 -08:00
Anis Elleuch
40e51ee9af
inspect: Avoid memory usage in subnet upload ( #4477 )
2023-02-21 19:57:51 +05:30
Klaus Post
feccaabc78
Print custom info in trace ( #4476 )
2023-02-21 17:04:31 +05:30
Harshavardhana
54e2edd1be
support unix-pipes with bigger buffers for performance ( #4472 )
2023-02-16 11:20:11 -08:00
Harshavardhana
47a2f48284
add more debugging tools to 'mc' container ( #4475 )
2023-02-15 05:06:51 -08:00
Anis Elleuch
c02d5923fb
Update madmin-go library ( #4471 )
2023-02-13 08:27:27 -08:00
Harshavardhana
f5fec75b0a
fix: do not print empty logs on screen ( #4470 )
2023-02-13 00:11:27 -08:00
Anis Elleuch
616f1cdb1f
Implement 'mc admin user sts info' command ( #4377 )
2023-02-10 13:10:54 -08:00
Poorna
a0c075b387
Remove mc admin bucket remote bandwidth command and introduce ( #4430 )
2023-02-10 12:50:11 -08:00
Shubhendu
95f4443e35
Added code to print the copy resume information ( #4454 )
...
Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io >
2023-02-10 12:49:36 -08:00
Poorna
023e0cacc5
mc rm: disallow --purge with flags other than --force ( #4467 )
2023-02-07 03:42:57 -08:00
Anis Elleuch
663e082161
Fix parsing --response-duration in trace command ( #4466 )
2023-02-03 21:40:24 -08:00
Harshavardhana
3aebb3362b
remove replace flag for go-ieproxy to allow go install
2023-02-03 19:02:13 +05:30
Harshavardhana
2679713ec4
update to newer libraries ( #4464 )
2023-02-02 08:57:14 -08:00
Yauhen Matsiushonak
04ba6633f3
mc admin user list --json output doesn't include user groups ( #4433 ) ( #4463 )
2023-02-01 22:31:55 +05:30
Anis Elleuch
7afd7beddd
locks: Use timestamp when elapsed is zero ( #4462 )
2023-02-01 21:46:35 +05:30
Poorna
cb9de43544
Improve replicate ls output ( #4460 )
2023-01-31 16:25:23 +05:30
Poorna
c1c7561b4e
Fix replicate add/update cmds to allow prefix in rule ( #4459 )
2023-01-31 16:24:55 +05:30
Kanagaraj M
2e95a70c98
Use --api-key flag on register when provided ( #4458 )
2023-01-28 12:29:38 -08:00
Harshavardhana
58b7fc447d
fix: hide duration flag its not useful for users ( #4457 )
2023-01-27 02:07:09 -08:00
Krishnan Parthasarathi
f8d8667238
Add support for restoring SSE-C encrypted objects ( #4456 )
2023-01-26 01:44:04 -08:00
Harshavardhana
842a816385
use humanize.IBytes instead of humanize.Bytes ( #4455 )
2023-01-24 07:14:25 -08:00
Harshavardhana
34a67cb169
cleanup mc to use 'go' errs to be 'e' ( #4450 )
2023-01-24 02:03:57 -08:00
Shubhendu
468fc49d0f
Corrected the logic for calculating the expiration no of days ( #4451 )
...
Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io >
2023-01-23 07:11:38 -08:00
Shubhendu
e9e6c2231f
Corrected output for command mc admin info ( #4448 )
...
Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io >
2023-01-19 09:13:40 -08:00
Shireesh Anjal
58f9fec703
Support --airgap in unregister command ( #4441 )
2023-01-18 10:03:24 +05:30
Anis Elleuch
6e97f161c8
Add support of giving a comment to service accounts ( #4438 )
2023-01-14 21:22:28 +05:30
Shireesh Anjal
cc1606ff5c
Improve message when profile upload fails ( #4443 )
2023-01-14 05:09:44 +05:30
Aditya Manthramurthy
73727de391
Simplify/speedup container image publishing script ( #4442 )
2023-01-13 20:47:05 +05:30
Daniel Valdivia
14c2e506fa
Add confirm flag to mc admin update --yes ( #4439 )
...
Signed-off-by: Daniel Valdivia <hola@danielvaldivia.com >
2023-01-11 08:44:16 +05:30
Shireesh Anjal
7c6499b8a8
Renew license online if license file not passed ( #4429 )
2023-01-09 01:19:23 -08:00
Poorna
e6e2b57022
Rename admin replicate subcommands ( #4383 )
2023-01-06 14:29:42 -08:00
Harshavardhana
fbef5dd7f0
support concurrent uploads for 'mc pipe' ( #4435 )
2023-01-06 12:17:45 -08:00
Poorna
55a9d204db
rb: avoid throwing error for force delete of prefix ( #4436 )
2023-01-06 12:09:09 -08:00
Shireesh Anjal
cca1fd7c82
Upload inspect data to SUBNET ( #4420 )
2023-01-06 11:36:21 -08:00
Anis Elleuch
a933ca5ae6
trace: Add bootstrap tracing type ( #4416 )
2023-01-06 11:36:11 -08:00
Taran Pelkey
eedcbfe138
Allow mirror to continue syncing after an object fails to sync ( #4427 )
2023-01-06 11:11:42 -08:00
dorman
176072dee4
trace: Add input and output filters options ( #4353 )
2022-12-24 07:21:38 -08:00
Harshavardhana
0dffa062ea
upgrade UBI image to 8.7 ( #4425 )
2022-12-23 07:52:58 -08:00
Harshavardhana
a5c59c6190
avoid converting API types to local forms in 'mc' ( #4424 )
2022-12-22 14:23:48 -08:00
Taran Pelkey
4654d71164
Change formatting of mc stat ( #4397 )
2022-12-22 14:23:22 -08:00
Poorna
c32ab49547
Change mc replicate add|update to integrate create remote targets ( #4403 )
2022-12-22 11:00:13 -08:00
Krishnan Parthasarathi
2166c63e8f
admin-trace: Fix support for tracing scanner calls ( #4417 )
2022-12-22 10:58:17 -08:00
Anis Elleuch
8f0ae83bf8
fix: Correctly print svc accounts list ( #4422 )
2022-12-22 09:18:57 -08:00
Harshavardhana
e8792efe0a
fix: replicate remove show partial operations if any ( #4418 )
2022-12-22 09:13:46 -08:00
Krishnan Parthasarathi
f8a489be9d
reorganize ILM tier commands ( #4385 )
2022-12-19 16:48:28 -08:00
Anis Elleuch
7370e6bfd3
Print 'Cancel upon user request' when the global context is cancelled ( #4406 )
2022-12-16 23:26:04 -08:00
Harshavardhana
c24e9c7847
fix: improve the information on retention config ( #4411 )
2022-12-16 23:25:44 -08:00
Poorna
e4a840380c
show endpoint in the replication status ( #4412 )
2022-12-16 23:25:36 -08:00
Anis Elleuch
d0a496826d
heal: Reword new disks healing summary ( #4413 )
2022-12-16 23:25:24 -08:00
Aditya Manthramurthy
ce7b02a310
fix: IDP enable/disable command ( #4410 )
2022-12-16 23:24:56 -08:00
Klaus Post
802f2813e4
Upgrade golang.org/x/net ( #4405 )
2022-12-13 08:36:13 -08:00
Aditya Manthramurthy and Harshavardhana
4b4cab0441
Add LDAP policy attach/detach commands ( #4390 )
...
Co-authored-by: Harshavardhana <harsha@minio.io >
2022-12-12 16:23:28 -08:00
Anis Elleuch
b8974e5aed
mirror: continue operations even if source object goes missing ( #4402 )
2022-12-12 12:09:42 -08:00
Klaus Post
c18faa5ff6
Add full list of call types. ( #4401 )
2022-12-12 11:13:00 -08:00
Anis Elleuch
c4c0547a57
trace: Add two validations for passed arguments ( #4399 )
2022-12-12 08:43:09 -08:00
Anis Elleuch
97beb1108d
admin update: Add a prompt for confirmation ( #4400 )
2022-12-12 07:10:12 -08:00
Harshavardhana
daa06599e4
stat: avoid unix epoch time when printing date ( #4398 )
2022-12-09 11:38:22 -08:00
Anis Elleuch
62d07d5ea1
Stat: Do not append a slash when --rewind is specified ( #4396 )
2022-12-09 02:34:53 -08:00
Anis Elleuch
6b0f191643
find: Add support of --versions flag ( #4394 )
2022-12-09 02:34:30 -08:00
Poorna
84cbb788e2
Report data usage in mc stat of bucket ( #4392 )
2022-12-08 10:43:39 -08:00
Anis Elleuch
3aa2b3a755
Add staticheck to make lint ( #4395 )
2022-12-08 07:51:44 -08:00
Harshavardhana
c8f319d94b
add HiddenAliases to avoid printing aliases when deprecated ( #4393 )
2022-12-08 02:07:01 -08:00
Poorna
b61ad7a959
Move mc admin bucket quota to mc quota ( #4389 )
2022-12-07 12:11:52 -08:00
Harshavardhana
dbc1f6ada0
add support for upload/download limits ( #4388 )
2022-12-06 14:39:16 -08:00
Harshavardhana
76d49771d9
rename force-delete to purge hidden flag ( #4387 )
2022-12-06 08:45:49 -08:00
Klaus Post
52a931bfa7
Add staticcheck to CI ( #4386 )
2022-12-05 08:32:04 -08:00
Aditya Manthramurthy
a55d40caf7
fix: IDP remove commands ( #4384 )
2022-12-02 15:48:47 -08:00
Aditya Manthramurthy
854b4f123f
Bump up madmin-go to v2 ( #4382 )
2022-12-01 10:41:14 -08:00
Vladimir Garvardt
9fb024f8ec
Use NewArnFromString when parsing user-provided ARN string ( #4378 )
2022-12-01 07:55:07 -08:00
Shireesh Anjal
024656ba05
Move support logs to admin logs ( #4381 )
2022-11-30 19:34:01 -08:00
Shireesh Anjal
c64833c018
Add commands to set, show and remove proxy ( #4375 )
2022-11-22 16:07:43 -08:00
Shireesh Anjal
dc9794cdb0
Restructure mc support callhome command ( #4372 )
2022-11-22 09:06:25 -08:00
Krishnan Parthasarathi
6406549729
top-locks: Include lock duration in --json output ( #4366 )
2022-11-21 10:08:32 -08:00
Harshavardhana
12f9b4e241
fix: stat --json output for single alias ( #4376 )
2022-11-21 10:08:06 -08:00
Poorna
b38e144774
Add site resync commands ( #4269 )
2022-11-18 12:14:05 -08:00
Krishnan Parthasarathi
2770f13a73
ilm-ls: report ExpiredObjectDeleteMarker correctly ( #4373 )
2022-11-17 13:20:39 -08:00
Taran Pelkey
1192c2d468
fix cp --zip so it copies to given destination name ( #4358 )
2022-11-16 14:53:29 -08:00
Klaus Post
9051548c80
fix: mc stat for filesystem items ( #4371 )
2022-11-15 07:56:11 -08:00
Anis Elleuch
89b53a7e52
ls: Fix listing versions when the system clock is off ( #4370 )
2022-11-15 07:55:05 -08:00
Anis Elleuch
3ee6095c47
du: Do not count directories in FS mode ( #4369 )
2022-11-15 07:54:18 -08:00
Aditya Manthramurthy
a20ab1b3dc
fix: examples for mc admin idp commands ( #4368 )
2022-11-14 18:38:59 -08:00
adfost
fd7142e223
update license headers to 2022 ( #4360 )
2022-11-14 18:38:39 -08:00
adfost
bec340af65
fix: 'du' clean the input path to avoid extra counting ( #4361 )
2022-11-14 11:12:37 -08:00
Andreas Auernhammer
7cde242709
encrypt: remove sse-s3 example ( #4357 )
...
Signed-off-by: Andreas Auernhammer <hi@aead.dev >
2022-11-09 21:05:08 -08:00
Krishnan Parthasarathi
66e2075ebd
Improve ilm-add flags and ilm-ls output ( #4262 )
2022-11-09 12:19:18 -08:00
Aditya Manthramurthy
791080485b
Add LDAP Policy Entities command ( #4318 )
2022-11-08 17:01:53 -08:00
Aditya Manthramurthy
bc16bde337
Bump up madmin-go for IDP API client bugfix ( #4351 )
2022-11-07 15:47:39 -08:00
adfost
ec67a51185
Replicate-update instead of replicate-edit ( #4346 )
2022-11-07 15:47:23 -08:00
Poorna
631bf7822b
replicate diff: change ui ( #4347 )
2022-11-07 13:11:32 -08:00
adfost
8b1054cbdb
Handling newerNoncurrentVersions Expiry and Transition in validation ( #4348 )
2022-11-04 11:31:27 -07:00
Shireesh Anjal
e5c92be7db
More improvements in format of perf test results ( #4350 )
2022-11-04 08:24:54 -07:00
Aditya Manthramurthy
583d449e38
Update admin IDP commands with new design ( #4310 )
2022-11-02 17:02:58 -07:00
Shireesh Anjal
655258cf74
Update version of madmin-go to v1.7.3 ( #4344 )
2022-11-02 12:35:34 -07:00
dorman
a4a9b8f406
add help menu for cmd 'mc admin user add' ( #4337 )
2022-11-01 16:15:12 -07:00
dorman
2f5bf0c17f
modify operation type in message ( #4339 )
2022-11-01 14:10:26 -07:00
Anis Elleuch
b5ee028536
fix: stat command with a directory marker ( #4341 )
2022-11-01 14:09:57 -07:00
Harshavardhana
cf7e0ae050
generalize input for ctx.Command.Name ( #4338 )
2022-11-01 08:04:26 -07:00
Krishnan Parthasarathi
15e52fd862
Fix typo in rebalance-stop output ( #4336 )
2022-10-31 18:00:57 -07:00
Harshavardhana
e64706d7ea
fix up rebalance commands for 'mc' error conventions and usage ( #4333 )
2022-10-30 16:45:20 -07:00
Krishnan Parthasarathi
5b0fc3ef94
feat: admin-rebalance subcommands ( #4186 )
2022-10-29 22:10:17 -07:00
Anis Elleuch
1bf8a56adc
Add support for inspect data v2 ( #4185 )
2022-10-29 11:27:05 -07:00
Klaus Post
929062c86b
Add new healing summary ( #4323 )
2022-10-29 03:09:23 -07:00
Poorna
710fe47b9b
support inspect: bump up metadata version ( #4331 )
2022-10-28 02:49:37 -07:00
Shireesh Anjal
a2753bbaab
Improve format of perf tests output ( #4330 )
2022-10-27 23:28:06 -07:00
adfost
1f51635bc7
Updating usage for mc replicate edit ( #4328 )
2022-10-27 16:53:36 -07:00
Harshavardhana
88796ea618
improve retention CLI errors and comply with 'mc' style ( #4321 )
2022-10-21 20:39:29 -07:00
adfost
fd6846bc88
Fixing typo in MC ( #4320 )
2022-10-21 00:42:13 -07:00
Harshavardhana
ad254a8fe2
make sure to pass jobType to GenerateBatchJob() ( #4319 )
2022-10-20 16:26:33 -07:00
Poorna
dccbca774a
replication diff: add header ( #4288 )
2022-10-20 14:50:16 -07:00
Shireesh Anjal
3cc795610b
Add command to unregister a cluster ( #4314 )
2022-10-20 11:36:25 -07:00
Aditya Manthramurthy
b9b729a3c9
Add LDAP support for IDP Config commands ( #4296 )
2022-10-19 14:57:53 -07:00
Shireesh Anjal
e8afb9b135
Improve help text for support profile|perf ( #4311 )
2022-10-19 10:32:32 -07:00
Harshavardhana
8493f97e04
update new deps ( #4303 )
2022-10-18 17:42:56 -07:00
bh4t
28073441c0
change example bucket names to simple names ( #4308 )
2022-10-18 11:53:33 -07:00
Anis Elleuch
42c16b288c
Add number of offline disks in heal info summary ( #4305 )
2022-10-18 09:01:01 -07:00
Harshavardhana
839e44595c
avoid unnecessary tea program for 'license info' ( #4306 )
2022-10-18 02:06:57 -07:00
Shireesh Anjal
81c04723f9
Print license info table with solid lines ( #4301 )
2022-10-17 09:44:34 -07:00
Harshavardhana
3fe6778ee7
list jobTypes currently supported ( #4298 )
2022-10-12 11:12:50 -07:00
Harshavardhana
318569a861
use showAppAndExit() for pager help ( #4292 )
2022-10-12 09:39:40 -07:00
Harshavardhana
27322636ae
feat: Introduce 'mc batch' command ( #4225 )
2022-10-09 14:10:59 -07:00
Shireesh Anjal
02da50b05e
Support --dev flag in license info|update ( #4281 )
2022-10-09 12:48:40 -07:00
Anis Elleuch
be2e66c37c
Keep help output after quitting ( #4289 )
2022-10-09 12:09:37 -07:00
Mukta Puri
ec8687d57e
Replace 'policy' with 'anonymous' in readme ( #4287 )
2022-10-07 09:03:39 -07:00
Shireesh Anjal
d673ca79ea
Show airgapped registration link in different color ( #4282 )
2022-10-06 07:41:05 -07:00
Minio Trusted
1a832ed018
upgrade pkg and madmin-go deps
2022-10-05 18:20:06 -07:00
Anis Elleuch
d86f52c4bb
Upgrade minio/pkg dependency ( #4280 )
2022-10-05 18:08:12 -07:00
Harshavardhana
a7dd2810ae
fix: updateURL when customURL is not passed ( #4279 )
2022-10-03 15:00:41 -07:00
Minio Trusted
68ca2bf457
upgrade minio/pkg v1.4.3
2022-10-01 10:52:48 -07:00
Minio Trusted
f73adff238
update minio-go/v7 master
2022-10-01 00:56:14 -07:00
Harshavardhana
fa344d5cc0
remove 'mc policy' command ( #4276 )
2022-09-30 13:25:25 -07:00
Shireesh Anjal
99bfdfed4c
Remove perf tests from support diagnostics ( #4277 )
2022-09-30 12:43:41 -07:00
Harshavardhana
2f1d44eee2
convert tabs to spaces in all commands ( #4275 )
2022-09-29 11:14:57 -07:00
Shireesh Anjal
d0e71b13a8
Save API key if present in the license ( #4266 )
2022-09-29 00:30:40 -07:00
Harshavardhana
cd0c81165b
re-order the support perf UI ( #4268 )
2022-09-29 00:30:18 -07:00
Shireesh Anjal
e917b9513d
error out from support commands if not registered ( #4271 )
2022-09-28 14:52:11 -07:00
Anis Elleuch
f85086b153
Use a pager for help output ( #4245 )
2022-09-28 11:28:02 -07:00
Harshavardhana
2f08ccf0d5
avoid expensive threads profile by default ( #4270 )
2022-09-28 00:45:26 -07:00
Shireesh Anjal
ba5f9ac373
Upload results of perf tests to SUBNET ( #4254 )
2022-09-27 02:56:43 -07:00
Harshavardhana
698e9ad094
update minio-go to address missing userMetadata ( #4263 )
2022-09-26 14:27:53 -07:00
Klaus Post
efdda726bd
Fix mc admin scanner info --json ( #4264 )
2022-09-26 09:02:26 -07:00
Daryl White
37e726f100
Update documentation links with new URLs ( #4261 )
2022-09-22 14:05:27 -07:00
Anis Elleuch
f151b8ab42
Print supported flags only if there is at least one flag defined ( #4259 )
2022-09-19 07:03:22 -07:00
Harshavardhana
388ebe127f
rename disks -> drives almost everywhere ( #4257 )
2022-09-19 07:01:40 -07:00
Harshavardhana
ad4441ef2b
disks must be renamed to drives everywhere for display ( #4255 )
...
use helper for couple of functions
2022-09-16 02:16:47 -07:00
Shireesh Anjal
cdb6b179d3
Upload profile zip to SUBNET ( #4226 )
...
When the `--airgap` flag is not passed, the generated profile zip will
be uploaded to SUBNET.
2022-09-15 22:18:14 -07:00
Shireesh Anjal
6347b436ff
Export perf test result related types ( #4246 )
...
So that they can be used by `health-analyzer` when parsing the
performance test results data.
2022-09-15 01:22:42 -07:00
Krishnan Parthasarathi
1009a897d8
ilm-add: update flags related to tiering ( #4250 )
2022-09-14 13:53:00 -07:00
Harshavardhana
b34681d662
fix: use deadlineconn properly ( #4249 )
...
PR #4164 didn't use the set deadlines properly
2022-09-14 08:15:37 -07:00
Shireesh Anjal
97715cd215
Remove duplicate key in .golangci.yml ( #4247 )
...
The .golangci.yml file contains the root level key `linters-settings`
twice, resulting in following error when we run `make lint`:
```
> make lint
Running lint check
ERRO Can't read config: can't read viper config: While parsing config: yaml: unmarshal errors:
line 26: mapping key "linters-settings" already defined at line 1
make: *** [Makefile:36: lint] Error 3
```
Fixed by merging into a single key.
2022-09-13 09:45:58 -07:00
Klaus Post
048aab801a
Do Go vulncheck directly ( #4248 )
...
Skip action, just invoke it ourself.
This allows us to specify Go version in our code.
2022-09-13 07:57:16 -07:00
Harshavardhana
acd390f261
allow support for airgapped 'mc update' URL ( #4244 )
...
support airgapped environments to update `mc`
via a URL, similar to `minio server`
2022-09-12 12:51:52 -07:00
Anis Elleuch
145da32419
Add --request-header to trace cmd to filter http requests ( #4238 )
...
e.g:
`mc admin trace --request-header "User-Agent: *hadoop*" <alias>`
to print all S3 requests sent by Hadoop
`mc admin trace --request-header "!X-Minio-Source*" <alias>`
to avoid printing S3 requests related to replication
2022-09-12 10:12:06 -07:00
Andreas Auernhammer
b6c2a7bb85
add vulncheck action to CI ( #4243 )
...
Signed-off-by: Andreas Auernhammer <hi@aead.dev >
2022-09-12 10:11:52 -07:00
Harshavardhana
6f414de058
add hotfix build support ( #4240 )
2022-09-09 03:48:56 -07:00
Harshavardhana
ea96e2b2c8
allow terminal control back for 'top api/disk' ( #4239 )
...
similar to #4237 fix other command TUI's as well,
also no locking is needed to protect maps.
Update()/View() are serial so need to add mutexes.
2022-09-09 03:48:39 -07:00
Anis Elleuch
3142b54cc1
Avoid cutting policy name in admin policy list command ( #4241 )
...
`mc admin policy list` only shows policy names, it does not need
to cut the policy name to 20 characters when showing it.
2022-09-09 03:47:41 -07:00
Harshavardhana
30a9bb8b05
allow terminal control back after bubbletea UI ( #4237 )
...
terminal control was not relinquished since ui.Start()
must not be run in a go-routine as it is expected
to be a blocking call, and must be serialized with when
an application exits.
refactor the 'scanner info/status' to ensure we have
correct behavior.
This PR also renames 'info-> status', keeps the older
one as alias for now.
2022-09-08 08:18:07 -07:00
Ashish Kumar Sinha
f73e036b80
fix: alignment issue in mc ping. ( #4218 )
2022-09-07 15:27:40 -07:00
Anis Elleuch
1f7bce1ada
Add a pull request github template ( #4234 )
...
It will make it easier to remember that the documentation needs to be
updated.
2022-09-07 15:25:58 -07:00
Anis Elleuch
5bb0e38f94
Add objects sizes histogram to bucket info ( #4236 )
...
mc admin bucket info shows the object size histogram
2022-09-07 15:25:35 -07:00
Krishnan Parthasarathi
248f8efb36
Update minio-go to for recent pkg/lifecycle fixes ( #4235 )
2022-09-07 15:25:17 -07:00
Anis Elleuch
b3e1ac34c7
ls: Fix ls exit code related to some errors in FS ( #4233 )
...
The code that is being modified is from 2016. Currently, it does not set
an exit code status in the following cases, all of them are returned by
the FS layer:
BrokenSymlink
TooManyLevelsSymlink
PathNotFound
PathInsufficientPermission
There is no reason to avoid setting an exit code in this case. The only
functional change of this PR is by setting an exit code
2022-09-06 09:54:46 -07:00
Harshavardhana
5cd7ff8876
cleanup commands to use Go 'err' as 'e' ( #4232 )
...
many commands seem to have sort of had
stopped following the expected convention
in `mc` to differentiate *probe.Error.
To keep things readable this PR is the
first attempt at such a cleanup.
2022-09-06 08:03:25 -07:00
Klaus Post
2c9a733cae
Add mc admin trace --call=healing ( #4229 )
...
Provide healing operation traces.
See https://github.com/minio/minio/pull/15616 for basic implementation.
2022-08-31 08:17:02 -07:00
Harshavardhana
01fbd0f5ef
use go1.18 alpine image ( #4228 )
2022-08-30 08:18:40 -07:00
Harshavardhana
41e6cc5626
fix: use DurationFlag to response-threshold ( #4227 )
...
Also add missing flags from 'mc admin scanner trace'
2022-08-30 08:15:54 -07:00
Shireesh Anjal
a64491e101
Fix support callhome status command ( #4222 )
...
Because of recent changes in the way config is parsed in `mc`, we need
to pass `madmin.Default` as the target when looking for the callhome
config.
2022-08-28 13:08:11 -07:00
Harshavardhana
af1d0ee6da
change progress unicode style, simplify progress bar init() ( #4224 )
2022-08-26 12:45:12 -07:00
Klaus Post
55c5b96323
Fix mb with-versioning ( #4223 )
...
`mc mb --with-versioning` no longer works after https://github.com/minio/mc/commit/f70b7e537c908e2c426f87218d5a44f807588074 (no PR)
Use long param name.
2022-08-26 06:40:33 -07:00
Shireesh Anjal
85a50dbf91
Fix support logs status command ( #4221 )
...
Earlier, the parsed config contained the `target` of the form
`subsystem:target` e.g. `logger_webhook:subnet`. Now it contains only
the target e.g. `subnet`.
Updating the `support logs status` command code accordingly to ensure
that it prints correct output.
2022-08-25 08:03:03 -07:00
Aditya Manthramurthy
9f24a19aa8
Fix config parsing with updated madmin helper ( #4220 )
2022-08-24 23:33:40 -07:00
Harshavardhana
f022a57088
feat: support head with --zip ( #4219 )
2022-08-24 23:10:03 -07:00
Ashish Kumar Sinha
236b50d6db
trim response to two-decimal places in ping command ( #4214 )
2022-08-24 21:09:32 -07:00
Shireesh Anjal
07fffc3bc8
Enhancements in registration and diagnostics ( #4200 )
...
- When the cluster is registered but either license or api-key
are available in the config, and when `--airgap` is not passed
to the command, try to automatically fetch and store the other
both.
- Add `--api-key` flag to `mc support diag`
- Use header-based auth with subnet
- Introduce a common function to initialize/check connectivity with subnet
- Make the health report upload function generic so that it can be used
by other commands like profile in future
- Add a global variable for airgapped mode
- Add more examples to `mc license register`
2022-08-22 22:45:20 -07:00
Harshavardhana
f70b7e537c
remove 'mc mb' short flag to avoid confusion
...
Bonus: fix `od` build issues since removal of madmin.KVS
instead keep a `mc` version of `argKVS` for future use.
2022-08-22 22:10:41 -07:00
Taran Pelkey
68a36788aa
Add od command ( #4180 )
2022-08-22 22:02:23 -07:00
Harshavardhana
488b277e36
feat: --with-versioning flag to create bucket as versioned ( #4216 )
2022-08-22 10:52:19 -07:00
Anis Elleuch
c57671a0d4
Introduce disk IO statistics UI ( #4201 )
2022-08-22 10:52:00 -07:00
Aditya Manthramurthy
8c239d16aa
Update madmin dep to fix a crash ( #4215 )
2022-08-18 09:53:41 -07:00
Aditya Manthramurthy
1529bb83bf
Move config parsing logic to madmin ( #4212 )
2022-08-17 17:07:58 -07:00
Anis Elleuch
3cb806d011
Add --disable, --enable and --prefix to ilm commands ( #4209 )
...
Passing the prefix in the aliased url is problematic for ilm edit
command when the user wants to modify something in the ILM rule: no
prefix in the url means the user wants to set an empty prefix or maybe
nothing. To fix this, add --prefix flag and make it a default choice in
the document.
Also, ilm edit will try to only apply passed flags. LifecycleOptions
fields are all pointers to apply only non nil fields to the ILM rule.
2022-08-17 17:07:42 -07:00
Harshavardhana
de65258a7f
fix: ping must call AdminInfo only with '--distributed' ( #4208 )
2022-08-16 07:14:12 -07:00
Anis Elleuch
7a276b6111
Update github.com/minio/cli version ( #4192 )
2022-08-15 19:05:49 -07:00
Aditya Manthramurthy
088aa3f04f
Update config output JSON format ( #4207 )
...
This change allows for the JSON format of config output from the server
to show both the environment variables' and config system variables'
value.
2022-08-15 19:05:19 -07:00
Taran Pelkey
eb7a7206a3
Clarify error when user has no policy ( #4206 )
2022-08-14 15:13:33 -07:00
Aditya Manthramurthy
c2c2ab4299
Make environment variables output highlighted ( #4205 )
...
For `mc admin config get|export`
2022-08-10 17:30:48 -07:00
Ashish Kumar Sinha
c12f6e46c3
rename mc admin top to mc support top ( #4191 )
2022-08-10 13:02:42 -07:00
Harshavardhana
c2f1770cec
update minio-go/v7 v7.0.34 ( #4203 )
...
fixes #4202
2022-08-10 11:15:32 -07:00
Krishnan Parthasarathi
d691fc4c9f
Add trace support for decommissioning ( #4195 )
2022-08-10 10:14:21 -07:00
Harshavardhana
c307963422
upgrade CI/CD go1.19 ( #4204 )
2022-08-10 08:46:41 -07:00
Anis Elleuch
3e990e3525
Change the JSON output of mc support perf ( #4198 )
...
Change the JSON output of mc support perf
The new change will still print multiple JSON lines for each conducted
performance test but now we have a new field called 'type' field to
difference between network, drive and object tests.
This change also adds 'final' field to indicate this is the final json of a
particular performance testing.
Also, errors when conducting those tests will have a field 'err' as well
in the JSON output.
2022-08-10 08:09:05 -07:00
Anis Elleuch
73b157e4b1
Print a better error msg when net perf is unsupported ( #4194 )
...
Netperf is not supported in a standard deployment, this PR will print a
better error message in that case.
2022-08-08 15:20:18 -07:00
Anis Elleuch
d43c25ffa3
restart: Use health check instead of service info API ( #4190 )
...
`mc admin service restart` currently uses ServerInfo() API which is costly.
2022-08-08 09:32:27 -07:00
Shireesh Anjal
de706ef096
Fix example description for mc support perf ( #4193 )
...
The current description seems incomplete as it doesn't mention object
storage performance.
2022-08-08 08:35:51 -07:00
Harshavardhana
7838be4a7f
apply --status-code only for HTTP traces if present ( #4189 )
...
fixes #4188
2022-08-08 08:33:23 -07:00
Ashish Kumar Sinha
63d0e213c3
update ping command with new terminal UI ( #4163 )
2022-08-08 00:04:14 -07:00
Harshavardhana
6cee296d04
rename Remove -> Removed in 'mc rm' ( #4187 )
2022-08-05 21:54:56 -07:00
Taran Pelkey
1381bf2168
Update examples for admin-config-reset ( #4160 )
2022-08-05 20:29:15 -07:00
Poorna
351d021b92
Change ui for admin cluster bucket import ( #4184 )
...
Report on all errors encountered during import
2022-08-05 01:01:28 -07:00
Anis Elleuch
4e42a9e3eb
rb: Better error message when the user passes an object name ( #4183 )
...
The new error message is:
```
$ mc rb --force play/testbucket/dir/
mc: <ERROR> Failed to remove `play/testbucket/dir/`. Bucket name `testbucket/dir/` not valid.
```
2022-08-03 08:43:41 -07:00
Anis Elleuch and Anis Elleuch
554905ac46
rm: Fix successful message for operations on the filesystem ( #4182 )
...
Names of the removed files when mc operatres on the filesystem are
not shown properly. The code is splitting the removed path into bucket
and prefix which doesn't make sense for filesystem.
The commit will just send the path of the removed object.
Co-authored-by: Anis Elleuch <anis@min.io >
2022-08-03 08:33:04 -07:00
Harshavardhana
cf428f1188
support in-place rewrite of objects in heal and convert the format ( #4175 )
2022-08-03 05:46:31 -07:00
Harshavardhana
69c0129cc7
remove sysinfo from errorIf with globalDebug ( #4178 )
...
remove sysinfo from errorIf without globalDebug
Bonus remove unused error BucketNameTopLevel and
fixes #4177
2022-08-02 17:00:08 -07:00
Ashish Kumar Sinha
16ff57a0ef
add errors to admin top api command ( #4176 )
2022-08-01 12:43:32 -07:00
Shireesh Anjal
edd633ff2f
Save api key passed as argument in config ( #4157 )
...
When the account api key is passed to `mc license register` via the
`--api-key` flag and after the registration is successful, save it to
minio config, so that it can be used automatically in subsequent calls.
Also stop extracting and storing api key from the response of SUBNET
register api.
2022-07-31 22:44:23 -07:00
dorman
37a83f23f0
change rm color on the terminal ( #4171 )
...
fixes #4165
2022-07-29 12:17:16 -07:00
dorman
11d3bace31
rm: add fake message with --fake ( #4170 )
...
fixes #4166
2022-07-29 11:03:24 -07:00
Anis Elleuch
624e3c1606
Remove isURLPrefixExists() call ( #4173 )
...
isURLPrefixExists() is used after url2Stat() function to check if the
given aliased URL corresponds to an existing prefix in the server. However,
url2Stat() is already doing that and returns valid information for
those prefixes.
Removing isURLPrefixExists() all together.
2022-07-29 10:43:20 -07:00
Shireesh Anjal
3d2dea913f
Use madmin-go version 1.4.9 ( #4169 )
2022-07-28 13:10:30 -07:00
Shireesh Anjal
a80947bfe8
Validate license against deployment id ( #4161 )
...
The command `mc license update` should error out in case the deployment
id from the license doesn't match the cluster.
2022-07-28 08:37:47 -07:00
Harshavardhana
c7570bd54a
introduce net.Conn deadlines to avoid hung connections ( #4164 )
...
fixes #4133
2022-07-27 08:21:05 -07:00
Shireesh Anjal
9de421ffd4
New offline registration flow ( #4156 )
...
Instead of asking the user to
- open the subnet register page
- paste the registered token
- copy the generated license token
- paste it back on mc
Now we will simply ask the user to visit a subnet URL (which contains
the registration token as a query parameter). On visiting this page,
subnet will automatically register the cluster and generate a license
for it.
User can then optionally update the license on mc using
the `mc license update` command
2022-07-26 23:21:06 -07:00
Anis Elleuch
c32a438045
Add admin bucket info command ( #4109 )
...
Print bucket usage and configuration (encryption, policy, ILM, etc..)
2022-07-25 10:42:12 -07:00
Poorna
015134b2b7
Add mc replicate diff cmd to show unreplicated objects ( #4127 )
2022-07-23 19:25:13 -07:00
Anis Elleuch
657b6315fc
support perf to execute all speed tests ( #4158 )
...
This commit will make `mc support perf <alias>` to execute all
performance tests, networking, drive and object speed tests.
perf will only have --duration and --verbose flags.
The user can still test with 'drive', 'object', and 'net' but they will
be hidden for now along with their flags.
2022-07-23 18:58:57 -07:00
Harshavardhana
95e6947f9c
remove sysinfo from --json mode without --debug ( #4159 )
2022-07-23 18:57:57 -07:00
Taran Pelkey
537ad9468a
Add support for NewerNoncurrentVersions ( #4153 )
2022-07-22 15:29:30 -07:00
Anis Elleuch
1c1ee7a5a4
info: Show pools summary of a erasure cluster ( #4162 )
...
Also fix the assumption that each node has one pool, so print all pools
indexes that belong to a particular node
2022-07-21 07:30:50 -07:00
Klaus Post
cb7f9b6db2
Add mc cat --tail and --offset ( #4149 )
...
Allow range requests for cat operations, either specifying tail or an absolute offset.
If tail is longer then fail, the entire file is listed.
2022-07-18 21:22:10 -07:00
Shireesh Anjal
603857371c
Add license update command ( #4155 )
2022-07-18 18:54:45 -07:00
Klaus Post
48e9183957
Move mc admin top scanner -> mc admin scanner info ( #4151 )
...
Also, add `mc admin scanner trace` which gives a simplified trace
with only relevant options.
2022-07-15 02:20:55 -07:00
Harshavardhana
288e8e3678
update madmin-go to v1.4.5 ( #4154 )
2022-07-13 22:22:35 -07:00
Shireesh Anjal
7b20dc2958
Move support register to license register ( #4150 )
...
Also, introduce a new command `license info` to print information
from the license (when the license is available)
2022-07-13 18:25:30 -07:00
Ashish Kumar Sinha
add7b7b881
add mc ping command ( #4074 )
2022-07-11 09:16:12 -07:00
Minio Trusted
afa79f2bd7
update minio-go to v7.0.31
...
for local files there is a significant
memory reduction by moving back the
multipart upload implementation to use
unbuffered implementation.
2022-07-10 22:32:40 -07:00
Krishnan Parthasarathi
11771955b3
fix: tier-add help ( #4148 )
2022-07-08 08:47:12 -07:00
Shireesh Anjal
81c4a5ad6e
Add --api-key flag to mc support register ( #4144 )
2022-07-06 07:54:36 -07:00
Aditya Manthramurthy
811d7e5edb
Add commands to manage external IDPs ( #4131 )
...
This adds the set, info, ls and rm commands
2022-07-05 18:19:13 -07:00
Klaus Post
01b87ecc02
Upgrade madmin ( #4145 )
...
Upgrade madmin to fix trace regression.
2022-07-05 11:08:30 -07:00
Harshavardhana
58860ccb15
reset timer after the function body is finished ( #4143 )
...
reset timer after the function body is finished
this is needed to make sure to wait "expected" amount
of time, otherwise the timer has already fired (negating
the wait of your function body)
2022-07-02 08:45:00 -07:00
Klaus Post
82a6c4f20f
Add admin top scanner & trace --call=scanner ( #4130 )
...
mc: Add admin top scanner & trace --call=scanner
Examples:
```
λ mc admin top scanner myminio
Scanner Activity: ●∙∙
+-------------------------------------------------------------------------------------------------------+
| Last full scan time: 0d0h5m; Estimated 7358.44/month |
| Current cycle: 129439; Started: 2022-06-22 18:01:50.5775259 +0200 CEST |
| Active disks: 1 |
| -------------------------------------- Last Minute Statistics --------------------------------------- |
| Objects Scanned: 101 objects; Avg: 3.775ms; Rate: 145440/day |
| Versions Scanned: 10001 versions; Avg: 31.998µs; Rate: 14401440/day |
| Versions Heal Checked: 200 versions; Avg: 1.394ms; Rate: 288000/day |
| Read Metadata: 101 objects; Avg: 0ms |
| ILM checks: 10001 versions; Avg: 408ns |
| Check Replication: 10001 versions; Avg: 3.646µs |
| Verify Deleted: 0 folders; Avg: 0ms |
| Yield: 59.083s total; Avg: 584.978ms/obj |
| ------------------------------------- Currently Scanning Paths -------------------------------------- |
| 127.0.0.1:9002/d:/data/distxl-plain/s2/d1/warp-benchmark-bucket/qwrShN3c/405.M(nsCrNI(PZhkAqA.rnd |
+-------------------------------------------------------------------------------------------------------+
```
```
λ mc admin trace --call=scanner myminio
2022-06-22T18:04:12.705 [SCANNER] scanner.ScanFolder 127.0.0.1:9002 d:\data\distxl-plain\s2\d4 warp-benchmark-bucket/ajJkH6Ic/2425.mLeCC9gkg)7aQxfJ.rnd 15.2171467s
2022-06-22T18:04:28.022 [SCANNER] scanner.ScanObject 127.0.0.1:9002 d:\data\distxl-plain\s2\d4 ajJkH6Ic/304.SAWTkh9)WJrnZF7l.rnd/xl.meta 1.0691ms
2022-06-22T18:04:27.922 [SCANNER] scanner.ScanFolder 127.0.0.1:9002 d:\data\distxl-plain\s2\d4 warp-benchmark-bucket/ajJkH6Ic/304.SAWTkh9)WJrnZF7l.rnd 209.3969ms
2022-06-22T18:04:28.232 [SCANNER] scanner.ScanObject 127.0.0.1:9002 d:\data\distxl-plain\s2\d4 ajJkH6Ic/405.(kO1pyUPMdhsaXev.rnd/xl.meta 1.0531ms
2022-06-22T18:04:28.131 [SCANNER] scanner.ScanFolder 127.0.0.1:9002 d:\data\distxl-plain\s2\d4 warp-benchmark-bucket/ajJkH6Ic/405.(kO1pyUPMdhsaXev.rnd 207.7757ms
2022-06-22T18:04:28.440 [SCANNER] scanner.ScanObject 127.0.0.1:9002 d:\data\distxl-plain\s2\d4 ajJkH6Ic/506.E726EiB(GNLfSLro.rnd/xl.meta 1.0317ms
...
```
2022-07-01 16:04:04 -07:00
Praveen raj Mani
c29c4a38a6
Implement mc ready to check if the cluster is ready or not ( #4101 )
...
Also adds option to check if the cluster has enough read quorum and if
the cluster is taken down for any maintenance.
Uses madmin.AnonymousClient for invoking the requests
2022-07-01 12:02:25 -07:00
Shireesh Anjal
5afc2bdfad
Add support status command ( #4140 )
...
Will print following information:
- Is the cluster registered
- Is pushing logs to SUBNET enabled
- Is pushing callhome info to SUBNET enabled
2022-07-01 11:20:35 -07:00
Harshavardhana
bf1145af1e
update minio-go/v7 to v7.0.30 ( #4136 )
2022-06-28 05:09:02 -07:00
Eng Zer Jun
264d21c65a
refactor: replace strings.Replace with strings.ReplaceAll ( #4135 )
...
strings.ReplaceAll(s, old, new) is a wrapper function for
strings.Replace(s, old, new, -1). But strings.ReplaceAll is more
readable and removes the hardcoded -1.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com >
2022-06-27 03:59:09 -07:00
Minio Trusted
5212e42ded
update to RedHat UBI 8.6
2022-06-26 12:44:40 -07:00
Ashish Kumar Sinha
40ee1a4ed6
change admin console to support logs show ( #4132 )
2022-06-26 11:51:48 -07:00
Poorna
b1d8ca83f2
admin: add admin cluster iam import/export cmd ( #4102 )
2022-06-26 11:36:48 -07:00
Shireesh Anjal
78f844a357
Save license at the time of registration ( #4123 )
...
Currently we only extract the `api_key` from SUBNET's registration api
response and store it in the minio subnet config. The response contains
license also, and it can be useful in getting information about the
subscription. So this PR enhances the register command to extract and
store the license also.
2022-06-26 11:35:31 -07:00
Harshavardhana
17f5b7b11c
add further license banners in default 'help' output ( #4129 )
2022-06-22 09:41:02 -07:00
Aditya Manthramurthy
2754c91048
Switch to last commit time based release ( #4128 )
2022-06-17 11:16:51 -07:00
Anis Elleuch
0e44ad30db
Update version printing to include more information ( #4125 )
...
Show licence, copyright header and platform in addition to mc version.
2022-06-16 13:17:03 -07:00
Harshavardhana
fc1d65b6e8
filter out hidden flags from error printing ( #4122 )
2022-06-16 09:45:16 -07:00
Anis Elleuch
b0e8574969
Healing finish estimation time relies on disk usage space ( #4124 )
...
Do not rely on the disk scanner's total object numbers.
Also, remove healing MRF from the calculation for simplicity.
2022-06-16 09:43:53 -07:00
Harshavardhana
a9a7b7a225
fix: help output formatting for cluster bucket export/import
2022-06-15 13:34:24 -07:00
Harshavardhana
ce9e444740
add unfreeze command to 'unfreeze' S3 API calls ( #4121 )
2022-06-15 13:29:14 -07:00
Shireesh Anjal
80ae287b02
Add commands to enable/disable callhome and logs ( #4107 )
...
- Remove the get/set options under `callhome`
- Move logs settings to a separate command (`mc support logs`)
- Provide toggle options (`enable, disable, status`) for both the
commands
In case of logs (`mc support logs enable|disable|status`),
`enable` configures minio to push logs to SUBNET in real-time by
configuring the webhook `logger_webhook:subnet`
`disable` disables the webhook
`status` displays whether it is enabled or disabled
In the case of call home (`mc support callhome enable|disable|status`),
`enable` configures minio to automatically push callhome info to SUBNET
every 24hrs by setting the config `callhome enable=on`
`disable` disables callhome by setting `enable=off`
`status` displays whether it is enabled or disabled
2022-06-15 09:14:52 -07:00
Harshavardhana
127d84854d
improve UI for driveperf inspired from object perf test ( #4118 )
2022-06-14 23:09:58 -07:00
Poorna
a59de0d37e
add import/export bucket metadata command ( #4087 )
2022-06-14 10:55:58 -07:00
Harshavardhana
d2960d67ce
extend Go's time.ParseDuration to support days, weeks and years ( #4116 )
2022-06-13 04:18:38 -07:00
Harshavardhana
36d5749991
improve UI for netperf inspired from object perf test ( #4117 )
...
Refer for the behavior https://asciinema.org/a/501270
2022-06-13 04:17:28 -07:00
Harshavardhana
fc64e84829
fix: 'mc admin top api' IOPs, RX/TX remove them ( #4115 )
...
The current implementation didn't cater to concurrency
factor i.e X calls happening in parallel so the
resulting values for IOPs, RX, and TX were all skewed,
change this to print totals instead.
We need to bring moving average behavior to know
the overall IOPs, RX, TX per second here.
Will bring this change subsequently, keep it simple
for now.
2022-06-10 17:37:20 -07:00
Shireesh Anjal
7a6a43046c
Improve success message in support register cmd ( #4108 )
...
Change the success message on cluster registration to `{alias}
registered successfully`.
When the `mc support register` command is run for an already registered
cluster, show the message `{alias} updated successfully` to indicate
that updated information about the cluster was sent to SUBNET.
2022-06-10 15:12:40 -07:00
Harshavardhana
50669cafa6
ignore remove errors for WORM protected objects ( #4111 )
...
this error is similar to insufficient permission
on local folders, we can proceed to remove whatever
objects we can.
2022-06-10 15:12:16 -07:00
Aditya Manthramurthy
d42880acb1
Bump up linter version ( #4114 )
...
- Add Go 1.18 to CI
- Appears to be needed for Go 1.18
2022-06-10 15:12:05 -07:00
Harshavardhana
250c0e4e59
update help for 'mc admin top api'
2022-06-10 11:09:54 -07:00
Harshavardhana
e19fcb8daf
feat: Add 'mc admin top api' for realtime view ( #4112 )
...
This is just a beginning but this can be enhanced further
to have different views of S3 calls, internal calls, and
disk/storage calls.
2022-06-10 11:02:26 -07:00
Anis Elleuch
abfc6709b0
heal: Fix single disk healing ETA reporting ( #4113 )
...
ETA disk during healing was not accurate especially when the number of
files is low. The reason is that the estimation is based on time.Now()
though heal info in the server side is only updated each minute.
Use heal info last update field instead of time.Now().
2022-06-10 07:17:00 -07:00
Shireesh Anjal
e9d27aef5c
fix: callhome get error when subnet hook not set ( #4089 )
...
When there is no SUBNET webhook configured in the cluster (which is the
default state), the `mc support callhome get` command fails as it tries
to fetch the `logger_webhook:subnet` setting which doesn't exist.
Fixed by ignoring the specific error that says the sub-system target
doesn't exist, and printing `logs=off` in such cases.
2022-06-03 10:24:25 -07:00
Poorna
591858cd1a
Fix replicate status detail summary ( #4104 )
...
refactor display to report consistent status by ARN
Fixes issue: #4105
2022-06-02 20:11:09 -07:00
Harshavardhana
6e2ed46cb4
add hidden force-delete option ( #4097 )
2022-05-30 12:51:43 -07:00
Harshavardhana
30fd595df6
cleanup print message for 'support profile' ( #4099 )
...
use single logging style, we do not use
`go` logger in `mc` avoid it.
2022-05-30 06:24:31 -07:00
Harshavardhana
8f7accb135
update go deps for yaml.v3 and minio-go
2022-05-29 17:56:24 -07:00
Claudio B
1cff14a109
regression: update golang.org/x/crypto ( #4096 )
2022-05-26 20:07:32 -07:00
Shireesh Anjal
03e876aeaa
Hide mc support callhome command ( #4091 )
...
As the functionality is not fully ready yet.
2022-05-23 09:58:29 -07:00
Anis Elleuch
6c0d5e4b65
alias: Enable self signed TLS prompt in darwin platforms ( #4094 )
...
Not trusted TLS error message has another string representation in
Darwin platform. Since there is no another way to test for this specific
error with Golang API, we will need to support this alternate error message.
2022-05-23 06:36:11 -07:00
Harshavardhana
83d81ea590
fix: SubKeyId may not be same AuthorityKeyId for self-signed CA ( #4093 )
...
In situations when cert is its own CA the SubKeyId is not
same as AuthorityKeyId
Refer
https://cs.opensource.google/go/go/+/refs/tags/go1.18.2:src/crypto/x509/x509.go;l=1525
This PR handles this by validating the SubKeyId with correct value
that is expected, extends the current TOFU style.
2022-05-23 05:13:20 -07:00
Shireesh Anjal
907555c849
Deprecate --name flag from support diag ( #4092 )
...
Earlier the `support diag` command used to work even when the cluster
was not registered with SUBNET. In such cases, it used to pass the value
of `--name` flag as the cluster name to be set on SUBNET.
Now it errors out if the cluster is not registered. i.e. It expects the
cluster to be already registered with SUBNET, which means it already has
a name. Hence the `--name` flag is meaningless.
Removing the code that used this flag, and marking it as hidden and
deprecated.
2022-05-19 10:35:19 -07:00
Harshavardhana
1b1a5940ab
add JSON flag support for decom status ( #4086 )
2022-05-16 16:09:53 -07:00
Ashish Kumar Sinha
aa60a8db1e
modify support profile command ( #4061 )
2022-05-12 06:43:21 -07:00
Anis Elleuch
8ca59cdebf
trace: Show milliseconds in trace output ( #4083 )
...
Trace output without --verbose was always missing milliseconds precision
due to a typo in the code. This commit fixes the issue.
2022-05-11 10:17:36 -07:00
Krishnan Parthasarathi
b5a0640899
Prefix version suspension ( #4064 )
2022-05-08 18:15:17 -07:00
Pablo Hinojosa
b5937c68bc
doc: Fix broken link ( #4072 )
2022-05-08 17:19:27 -07:00
Harshavardhana
0d9d42166a
avoid cascading deletes for active-active setups ( #4079 )
...
This PR in-turn ends up supporting cascading deletes
for `mc mirror` setups when you have
```
mc mirror --watch alias1 alias2
mc mirror --watch alias2 alias3
```
IT still avoids cyclical deletes such as
```
mc mirror --watch alias1 alias2
mc mirror --watch alias2 alias1
```
2022-05-06 16:14:21 -07:00
Poorna
844139d52d
Fix example for mc admin replicate edit ( #4080 )
2022-05-06 11:42:07 -07:00
Ashish Kumar Sinha
d62c1e2418
Add admin prometheus metrics ( #4049 )
2022-05-05 23:38:16 -07:00
Shireesh Anjal
4e8402e46f
Use latest version of madmin-go (1.3.13) ( #4075 )
...
Contains a new structure for Kubernetes information that will be
returned in the health report (mc support diag)
2022-05-05 04:21:35 -07:00
Krishnan Parthasarathi
f126341342
Add support for minio warm tier ( #4009 )
2022-05-04 16:45:46 -07:00
DanielMcKracken
5619a78ead
update golang.org/x/crypto ( #4068 )
2022-04-29 07:42:08 -07:00
Harshavardhana
04161f5e19
fix: support autocompletion for command aliases ( #4070 )
2022-04-28 13:55:44 -07:00
ksonj
c586b4c06e
Document setting multiple policies ( #4065 )
...
*
2022-04-28 12:50:32 -07:00
Anis Elleuch
19952de324
Fix client-s3 Stat() for prefix with parallel lower prefixes ( #4069 )
...
client-s3.Stat() does not properly detect a prefix when there is another
lower one,
e.g: Stat() of 'dir/' fails when there is 'dir-name/' in the same parent
prefix.
2022-04-28 12:50:01 -07:00
Klooven
7c229abb05
fix: README.md rename config to alias ( #4062 )
2022-04-26 17:27:16 -07:00
Prakash Senthil Vel
276e1db70d
Error message when update failing due to permissions ( #4057 )
2022-04-26 04:30:21 -07:00
Anis Elleuch
162609d6d0
info: Add the count of total versions details ( #4060 )
...
admin info command will show the total number of versions of a
deployment, if available.
2022-04-25 22:05:56 -07:00
Harshavardhana
32dfeaaf6b
update minio/pkg to v1.1.22
2022-04-25 19:45:34 -07:00
Ashish Kumar Sinha
cc4ff3a0cc
Remove cpuio as default in profiling ( #4056 )
2022-04-19 08:54:41 -07:00
Nick Doornekamp
0530f5a471
Update documentation for --older/newer-than flags ( #4039 )
2022-04-16 08:10:14 -07:00
Harshavardhana
e964a37a3f
update minio/pkg deps
2022-04-15 19:51:00 -07:00
Anis Elleuch
606cdd3453
Load proxy config when probing for server TLS certificate ( #4052 )
...
mc alias set recently started to probe the TLS certificate for
the remote server, however it should load the proxy environment
configuration if any.
2022-04-15 16:49:57 -07:00
Anis Elleuch
1187be0ad2
mirror: Do not create remote bucket with --dry-run ( #4054 )
...
In a site wide mirroring, non existing buckets in the destination site
are still created if --dry-run is passed. This commit will avoid this.
This commit also prints a mirror message of the newly created buckets
in a site wide mirroring.
2022-04-15 16:49:28 -07:00
Anis Elleuch
6a61b286b1
mirror: Stop minio-go bucket listen when watch is cancelled ( #4053 )
...
When mirror in --watch mode is restarted, the previous minio-go
ListenNotification/ListenBucketNotification call is not properly
canceled. This commit creates a new context for that listen call and
cancels it when client-s3 Watch() is asked to be stopped.
2022-04-15 16:49:13 -07:00
Harshavardhana
792c6c1475
update minio-go/v7, minio/pkg deps
2022-04-15 00:38:49 -07:00
Ashish Kumar Sinha
1a504e6e64
Replace fake with dry-run ( #4050 )
2022-04-14 06:49:57 -07:00
Gabriel Dolberg
8e6b9c8a49
fix usage message wording ( #4048 )
2022-04-13 13:27:25 -07:00
Ashish Kumar Sinha
8df32e87d6
Add mutex, threads and cpuio as default in profiling ( #4046 )
2022-04-12 00:08:34 -07:00
jinapurapu
45c6f376c4
Error handling for remove alias request if alias not found ( #4017 )
2022-04-11 13:26:40 -07:00
Harshavardhana
2a5195f2d2
update to latest madmin-go v1.3.11
2022-04-08 16:20:13 -07:00
Anis Elleuch
3f0953f9f4
Do not rely on contentCh to print removal messages ( #4041 )
...
Removal is an asynchrounous operation. We should not use structures that
we send to the removal goroutine and use them in removal messages.
2022-04-07 11:52:55 -07:00
Shireesh Anjal
dbc09a8bf0
Get speedtest results as part of support diag ( #4034 )
...
Also remove the `--full` flag and run the new perf tests (that run quite
fast) always (if the minio version supports it).
In case of older versions of minio that have the older versions of the
performance tests, mc will not request for those tests to be run, and
subsequently will not look for their results in the response.
2022-04-07 08:12:51 -07:00
Daniel Valdivia
42bb4df233
Simplify mc ilm ls ( #4042 )
...
Signed-off-by: Daniel Valdivia <hola@danielvaldivia.com >
2022-04-05 12:56:01 -07:00
Anis Elleuch and Anis Elleuch
d9feb87286
Compute bucket/object correctly for some endpoints ( #4040 )
...
Removing an old code that calculates incorrectly the bucket and object
from the client-s3.targetURL. The old code assumed that
client-s3.targetURL can have this style
http://bucket.endpoint/prefix/object but this is not true.
client-s3.targetURL will always have this endpoint style
https://endpoint/bucket/object whenever vhost is enabled or not for a
given alias.
Co-authored-by: Anis Elleuch <anis@min.io >
2022-04-04 18:47:08 -07:00
Anis Elleuch and Anis Elleuch
661afae983
mirror: Do not exit upon errors when --watch is passed ( #4032 )
...
Currently, when mirror is not able to copy an object (e.g. corrupted)
and watch is specified, mirror will restart mirroring again to stop
again at the same problematic object.
Co-authored-by: Anis Elleuch <anis@min.io >
2022-04-02 16:16:34 -07:00
Anis Elleuch and Anis Elleuch
033969a0bf
rm: Fix sending an object/version to removal with --no-current flag ( #4038 )
...
Do no miss sending object/version to contentCh when there is deletion
result available.
This commit fixes issues seen when some objects/versions are not deleted
when --no-current is passed.
Co-authored-by: Anis Elleuch <anis@min.io >
2022-04-02 16:14:23 -07:00
Poorna and Poorna Krishnamoorthy
5a3ad93ab9
`mc rm --non-current should remove top level deletemarker ( #4037 )
...
Earlier commit #8eae2e3bbfafe952ecb33904c0d9073871a32169 reverted
this behavior, bringing it back
Co-authored-by: Poorna Krishnamoorthy <poorna@minio.io >
2022-04-01 16:39:16 -07:00
Poorna and Poorna Krishnamoorthy
dc2a851b54
Make sure to print mc rm dry run message ( #4033 )
...
Co-authored-by: Poorna Krishnamoorthy <poorna@minio.io >
2022-04-01 01:19:02 -07:00
Poorna and Poorna Krishnamoorthy
8eae2e3bbf
Fix mc rm --non-current to use --older-than filter if specified ( #4030 )
...
This PR also changes the interpretation of --non-current flag to delete
all non current versions that qualify irrespective of whether top level
version is a delete marker.
Co-authored-by: Poorna Krishnamoorthy <poorna@minio.io >
2022-03-30 16:21:42 -07:00
Shireesh Anjal
4d7b58bac5
Fix message in admin subnet health ( #4019 )
2022-03-30 12:03:50 -07:00
Gabriel Dolberg
9c34f6c94b
Typo: Fix error messages on service account operations ( #4026 )
2022-03-30 11:55:55 -07:00
Poorna
d6ffdbc8fb
admin trace: convert trace type to string in json fmt ( #4029 )
2022-03-25 01:52:53 -07:00
Harshavardhana
84a7b83eda
use globalRootCAs always do not initialize new certPools
...
automatic prompt for certs broke system trusted tls endpoints
since it ignored the currently loaded certs as trusted.
if they are available and we can establish TLS we should
proceed instead of failing and asking users to always use
`--insecure`
2022-03-17 12:56:43 -07:00
Anis Elleuch
de063f9252
Fix alias add when --insecure is passed in a non tty ( #4025 )
...
--insecure does not have an effect when running mc in a non-terminal. This
commit fixes the behavior by ignoring the prompt from trusting self
signed certificate when --insecure is passed as well.
2022-03-17 10:35:24 -07:00
Harshavardhana
b01f48836a
replicate add should enable all replication types by default ( #4021 )
...
fixes #4020
2022-03-16 13:06:05 -07:00
Andreas Auernhammer
3252573ed2
alias: fetch peer certificate when adding an alias ( #4010 )
...
This commit adds an extension to the `alias set`
command. When adding an alias fails due to a TLS
trust error - i.e. remote peer certificate verification
fails - `mc` fetches the remote peer certificate,
computes the public key fingerprint and asks the user
to confirm the fingerprint.
When the user confirms the fingerprint, the certificate
is added to the `CAs` directory.
This allows users to use a TOFU authentication with
self-signed certificates - similar to SSH.
Signed-off-by: Andreas Auernhammer <hi@aead.dev >
2022-03-16 10:00:25 -07:00
Anis Elleuch
0f31ce23b9
mv: Fix regression when checking lock in target bucket ( #4015 )
...
A recent commit changed the behavior of client-s3.GetObjectLockConfig()
without properly checking the behavior of the callers introducing a bug
during mv command where the target is an S3 server.
Add some tests for the mc mv command as well.
2022-03-11 15:10:02 -08:00
Anis Elleuch
869c875967
svcacct: Show successful message after deletion ( #4016 )
...
Fix some typo that prevented the command to print a success message
when a service account is deleted.
2022-03-11 15:09:46 -08:00
Poorna
bd00af5a71
Allow remote target endpoint to point to different host ( #4012 )
2022-03-08 17:42:16 -08:00
Krishna Srinivas
def1988b92
Implement "mc support perf net" for network throughput test ( #3998 )
2022-03-08 11:30:42 -08:00
Harshavardhana
f13defa545
update some wording and docs under tier commands ( #4007 )
2022-03-01 17:12:26 -08:00
Shireesh Anjal
a7a9b65237
Remove --schedule flag from support diag command ( #4003 )
...
Going forward, periodic upload of diagnostics is not expected to be
performed using the `support diag` command.
2022-03-01 10:53:59 -08:00
Anis Elleuch
88b984a6e2
more validation for retention commands ( #4004 )
2022-03-01 10:53:43 -08:00
Krishnan Parthasarathi
9aa7712c43
Add support for tier-rm/tier-verify ( #3996 )
2022-03-01 10:53:09 -08:00
Klaus Post
0d5acd8820
Fix arm FreeBSD build ( #4006 )
...
Fixes #4005
Tested with `GOOS=freebsd GOARCH=arm go build .`.
2022-03-01 10:23:05 -08:00
supriyo-biswas
9de0045882
Quote special characters in share curl command ( #4000 )
...
* Quote special characters in share curl command
* Add testcases and other unsafe chars
2022-02-28 12:25:19 -08:00
Anis Elleuch
cce6451b63
watch: Clean up watch when restarting mirror after an error ( #3993 )
...
Add cleanup for watch code when it exits and mirroring is restarted.
2022-02-25 20:15:21 -08:00
Harshavardhana
a1d6c3d4af
remove trimming of top level path
2022-02-25 18:10:25 -08:00
Klaus Post
5488be0c8b
Add cpuio profile type ( #3988 )
2022-02-25 10:46:22 -08:00
jinapurapu
9cf722a3aa
Updated help text to clarify alias ( #4001 )
2022-02-24 16:04:29 -08:00
Anis Elleuch
096fbbf24a
mirror: Proper cleanup after exit ( #3994 )
2022-02-24 14:24:22 -08:00
Harshavardhana
af342c3780
update wording of svacct command line
2022-02-24 13:31:00 -08:00
Harshavardhana
d7846dab9e
update CREDITs file for new deps
2022-02-24 12:59:29 -08:00
Harshavardhana
b44a7642ed
update go mod tidy -compat=1.17
2022-02-24 12:58:21 -08:00
Krishnan Parthasarathi
2cae86c783
tier-info: Add bar charts for 24hr dailys tier-stats ( #3928 )
2022-02-24 12:51:21 -08:00
Harshavardhana
620455a22c
update minio-go/v7 to v7.0.23
2022-02-22 18:50:59 -08:00
Harshavardhana
dec8d91dbc
fix: rename 'perf drives' to 'perf drive' ( #3991 )
2022-02-22 10:13:07 -08:00
Shireesh Anjal
f4f5932d3f
Add mc support callhome get command ( #3986 )
...
* Add `mc support callhome get` command
Will print all the callhome settings (currently just `logs=on|off`)
* Rename retrieveCallhomeSetting to printCallhomeSetting
As it doesn't need to return anything, and only prints the setting.
2022-02-21 15:47:31 -08:00
Anis Elleuch
3902b3b03f
Refactor profiling and add goroutines ( #3992 )
...
Running mc like this,
`MC_PROFILER=mem,goroutine mc ...` will start profiling and save
profiling data when mc quits with Control-C.
2022-02-21 14:50:51 -08:00
Harshavardhana
c7a8815414
fix: rm should reject --non-current with --recursive ( #3987 )
2022-02-18 02:59:34 -08:00
Shireesh Anjal
99bdf20c64
Remove cli flag subnet-proxy ( #3989 )
...
System now supports setting the subnet proxy as a config, so the command
line flag is not required anymore.
2022-02-17 11:05:53 -08:00
Harshavardhana
3b15bec803
update minio-go to v7.0.22
2022-02-16 10:40:26 -08:00
Harshavardhana
c5e56141bd
fix: admin info output for multiple pools ( #3985 )
...
fixes #3984
fixes #3976
2022-02-16 10:35:24 -08:00
Shireesh Anjal
220f7c217a
Fix cluster registration failing when proxy not set ( #3983 )
2022-02-15 04:03:39 -08:00
Klaus Post
2f42260f98
Add remote zip support to mc ls/cp/cat ( #3977 )
...
--zip flag is hidden for now
2022-02-15 03:09:39 -08:00
Harshavardhana
a11a264933
extend 'mc support inspect --export=json' to export JSON directly ( #3981 )
...
this is essentially the same code at
https://github.com/minio/minio/tree/master/docs/debugging/xl-meta
--export option provides exporting 'xl.meta' information as 'JSON'
or export the inlined-data 'JSON' that represents 'version-id' and
the corresponding size of the inlined data.
This essentially now provides full visibility of the inspected data
that is captured, extracts and converts into some parseable
JSON.
2022-02-15 01:52:18 -08:00
Shireesh Anjal
c7537a171f
Improve descriptions of support commands ( #3982 )
2022-02-14 02:48:56 -08:00
Shireesh Anjal
65efe40a82
Use subnet proxy from minio config if available ( #3969 )
...
minio now supports storing the proxy to be used for connecting to subnet
in the `subnet proxy` config. So mc can use it if available when
communicating with subnet during cluster registration or diagnostics
upload.
2022-02-13 22:13:27 -08:00
Shireesh Anjal
f65871e305
Move admin speedtest to support perf ( #3966 )
...
related to drives and objects sub-commands
2022-02-13 22:13:06 -08:00
Shireesh Anjal
ab2bce93ea
Move admin profile to support profile ( #3972 )
...
As part of reorganization of support related commands
2022-02-13 16:08:52 -08:00
Shireesh Anjal
7b93343803
Move admin inspect to support inspect ( #3971 )
2022-02-13 15:38:06 -08:00
Poorna
c579c0b403
Add subcommands to mc replicate resync ( #3964 )
...
This PR adds `start` and `status` subcommands for
managing replication resync
2022-02-13 15:36:24 -08:00
Harshavardhana
c595efe440
fix: some inconsistencies in 'mc support' command
2022-02-13 15:21:46 -08:00
Harshavardhana
cb1daf1567
simplify wording for mc replicate edit and default sane values ( #3980 )
2022-02-11 17:07:53 -08:00
Harshavardhana
2be75594d0
simplify wording for mc replicate add and default sane values ( #3978 )
2022-02-11 16:36:37 -08:00
Harshavardhana
ed42cdc3a8
fix: alias import comment formatting ( #3979 )
2022-02-11 13:27:48 -08:00
jinapurapu
8e3b5ebc46
Add alias import command ( #3958 )
2022-02-11 10:15:02 -08:00
Shireesh Anjal
5d50c9beb9
Error out from support diag if cluster not registered ( #3970 )
...
If user tries to run `mc support diag` for a cluster that is not yet
registered, error out asking the user to register the cluster first.
2022-02-11 09:28:15 -08:00
Poorna
9b6f6cdbb4
Add admin replicate remove command to allow removal of sites ( #3919 )
2022-02-10 18:50:11 -08:00
Sidhartha Mani
006c48c51c
add admin speedtest drive command ( #3939 )
2022-02-10 17:53:39 -08:00
Klaus Post
e71b1c80b4
Skip Shell check on Windows ( #3973 )
...
Fixes `mc: <ERROR> Failed to enable autocompletion. Cannot
determine shell-type and SHELL environment variable found: exit status 1.`
on Windows.
2022-02-10 17:52:02 -08:00
jinapurapu
548dc0fd99
Added help message if no arguments passed to mc alias set command ( #3963 )
2022-02-09 03:14:03 -08:00
Harshavardhana
3a7a724753
error out when bucket not found with proper exitcode ( #3959 )
...
fixes #3953
2022-02-08 12:23:17 -08:00
Shireesh Anjal
5960c628f3
Move admin-subnet commands to support ( #3949 )
2022-02-08 10:05:36 -08:00
Harshavardhana
dabc6c598e
set bucketName always in RemoveResult response ( #3957 )
2022-02-04 12:21:02 -08:00
Harshavardhana
cb7674133a
make sure backendType is looked up properly
2022-02-04 12:14:06 -08:00
Harshavardhana
98bc432b53
add pool id as part of 'mc admin info' output ( #3954 )
2022-02-04 12:05:16 -08:00
Christian Muehlhaeuser
e048c85d71
fix: don't query terminal on startup ( #3956 )
...
This change bumps the lipgloss and termenv dependencies, which prevents
the terminal from being OSC-queried on startup. Additionally, OSC
queries will never be run if the process isn't in control of the
terminal, for example when started in the background / detached.
Fixes #3955 .
2022-02-03 20:46:44 -08:00
Harshavardhana
f5cd21bcf0
update container images for ubi-8.5
2022-02-03 09:40:49 -08:00
Klaus Post
8ad226ca83
du: Add object counts ( #3950 )
2022-02-03 09:39:15 -08:00
Harshavardhana
fd6d470242
update container image to ubi-8.5 ( #3948 )
2022-02-02 10:15:49 -08:00
Poorna
a7147d221d
Change mc admin replicate status ui to have additional filters ( #3936 )
2022-02-01 15:51:09 -08:00
Shireesh Anjal
af7c550f26
Add command to configure callhome options ( #3940 )
2022-02-01 15:50:39 -08:00
Harshavardhana
f5596de2fe
ignore expiration and expires from JSON output ( #3947 )
2022-02-01 15:50:09 -08:00
Christian Muehlhaeuser
8a0d1134bb
fix: don't block if terminal does not respond to OSC query ( #3946 )
...
This aborts OSC queries after a timeout, and prevents mc from getting
stuck when encountering unresponsive or non-compliant terminals, like
CircleCI's.
Fixes #3938 .
2022-02-01 10:01:06 -08:00
apendragon
3f23cdd921
honor --bypass flag for 'mc retention' command ( #3945 )
...
Fixes #3944
2022-01-29 09:20:38 -08:00
Harshavardhana
829153f47c
update go.sum - go mod tidy
2022-01-28 16:23:20 -08:00
Poorna
ccbc1ff725
Add mc admin replicate edit command ( #3908 )
2022-01-28 16:22:14 -08:00
Harshavardhana
3e28003f82
fix: admin speedtest verbose output \n ( #3943 )
2022-01-28 16:21:37 -08:00
Aditya Manthramurthy
6d12396b47
Add option to mc admin policy info to save policy JSON to file ( #3914 )
2022-01-28 16:21:28 -08:00
Villena Guillaume
9914c8187e
Allow storageclass to be specified on mc ls ( #3915 )
2022-01-28 14:42:21 -08:00
Harshavardhana
43524f7978
remove quota FIFO support ( #3942 )
2022-01-28 14:41:44 -08:00
Harshavardhana
f06a4b20a3
add missing 'mc admin inspect' examples ( #3934 )
2022-01-28 14:41:35 -08:00
Anis Elleuch
0c58d62a1f
Fix mirror with relative fs path ( #3929 )
...
mc diff <alias>/<bucket>/ ./dir/ is not calculated correctly because the
difference code relies on the format of the argument, for example,
whether it is dir/ or ./dir/ or ../my/dir/.
This commit will calculate the absolute path of the passed argument if
it is a filesystem path and uses it through the code.
2022-01-28 10:19:21 -08:00
Christian Muehlhaeuser
068e19a7e4
fix: do not query terminal when running in a CI context ( #3941 )
...
This prevents mc from querying the terminal via OSC when running in a
CI context, like CircleCI. As the CI never responds to the query we
get stuck in a read we can not cancel.
Fixes #3938 .
2022-01-28 08:57:53 -08:00
Harshavardhana
16249f3587
add amount of time 'service restart' took ( #3935 )
2022-01-24 14:18:11 -08:00
d-tork
7656636373
docs: add example instructions for IBM cloud storage ( #3932 )
2022-01-24 08:37:25 -08:00
Anis Elleuch
fd70dd59c6
heal: Add verbose flag to heal command ( #3927 )
...
For deployments which has many disks, it is annoying to list all disks
by default. Add --verbose flag to only show the status of all disks.
2022-01-21 08:51:18 -08:00
Anis Elleuch
2f9bcdf344
typo: Error out if the policy is already set in policy update cmd ( #3931 )
...
Fix a typo when checking if a policy is already set to a user or a
group.
2022-01-21 08:46:49 -08:00
Harshavardhana
dd01c71445
use actual UTF-8 characters instead of \u for readability
2022-01-16 16:57:51 -08:00
Harshavardhana
ac39184c35
make UI changes to speedtest bring a more cleaner spinner ( #3921 )
...
- Removes flickering of spinner
- Moves to a more maintained library bubbles spinner
- Adds better visual formatting for table output
2022-01-16 12:21:55 -08:00
Poorna
d2b7c3c3ac
update admin replicate info output format ( #3920 )
2022-01-14 18:53:23 -08:00
Harshavardhana
91278da28d
'decom status' progress and UI improvements
2022-01-12 21:52:33 -08:00
Harshavardhana
0ddf3e2691
implement pool decomission commands ( #3769 )
2022-01-10 22:35:35 -08:00
Harshavardhana
1264168162
sufficiently colorize svacct command outputs ( #3917 )
...
also print help when no args passed, instead of asking
for `--help`
fixes #3803
2022-01-10 08:55:23 -08:00
Poorna
aed4d3062f
Add admin replicate status command ( #3887 )
2022-01-06 13:50:28 -08:00
Harshavardhana
61db086b10
run gofumpt as part of golang-ci
2022-01-06 13:21:58 -08:00
Harshavardhana
a59f9e4d30
add gofumpt support, automated cleanup ( #3911 )
2022-01-06 10:55:40 -08:00
Harshavardhana
8b3935e24d
error out if --non-current is used without --versions ( #3910 )
2022-01-06 02:05:21 -08:00
Harshavardhana
0373840f42
turn-off auto-tuning only when --concurrent is specified ( #3909 )
2022-01-05 15:36:59 -08:00
Harshavardhana
8132c286e4
rm: fix printing when deleting content
2022-01-05 00:28:46 -08:00
Klaus Post
eef80d47cd
find: Fix --exec parsing ( #3907 )
...
Find would replace placeholders before splitting input, meaning files with spaces would be executed as separate args.
Split before replacing args, and use shell-style parsing.
Technically, this requires quotes in input to be escaped, so to specify `--exec='echo {""}'` you must escape them like this: `--exec='echo {\"\"}'`. Quoted inputs aren't documented, but it is a change.
Errors would not be displayed, like `./mc find play/test123/ --exec='unknown {}'` would just exit. Instead it now prints `exec: "unknown": executable file not found in $PATH`.
Fixes #3906
2022-01-03 23:56:55 -08:00
Harshavardhana
37e0f8ba27
update all dependencies for mc
2021-12-31 14:58:08 -08:00
Harshavardhana
05c3ae8716
fix: admin heal info output for multiple pools ( #3905 )
...
locally setup multiple pools was showing incorrect
values where secondary pool was ignored, also fix
possible estimate correction if needed.
2021-12-28 22:50:11 -08:00
Harshavardhana
f06a0987a3
rm: print proper paths instead of just objectnames for S3 endpoints
2021-12-28 18:37:48 -08:00
Anis Elleuch
3391f39521
mirror: Sort bucket names with slash for site wide scenarios ( #3894 )
...
mc diff/mirror command fails to compare source & target when doing
an S3 site-wide listing.
The reason is that client-s3.List(), when doing a site-wide listing,
lists buckets first and list objects inside each bucket with the order
returned by S3 ListBuckets API.
However this can produce a non properly sorted listing output,
e.g.:
```
$ mc ls -r myminio/
[2021-12-14 15:58:27 CET] 227KiB bucketname/object1
[2021-12-14 15:58:24 CET] 227KiB bucketname-0/object2
```
Though it should be
```
$ mc ls -r myminio/
[2021-12-14 15:58:24 CET] 227KiB bucketname-0/object2
[2021-12-14 15:58:27 CET] 227KiB bucketname/object1
```
because '/' has a higher ASCII value than '-'
This commit fixes the behavior by always sorting bucket names with
a fake trailing slash when doing a site-wide recursive listing.
2021-12-28 17:49:45 -08:00
Harshavardhana
e08ded6d28
display when delete markers are created ( #3904 )
2021-12-28 17:48:54 -08:00
Harshavardhana
3144cb97ed
remove retry in difference() comparator ( #3903 )
...
it is potentially harmful when retrying
a lot of buckets where in this might
trigger a retry - continous Listing()
however this retry is not needed as the
callers restart as needed when --watch
or --active-active are used.
2021-12-27 09:16:15 -08:00
Klaus Post
12012eafad
du: Fix double counting of objects ( #3901 )
...
`mc du play` would count objects twice since it was doing a recursive listing AND travering into folders.
Compare total to `mc du play --depth=2` and `mc du play --recursive`.
2021-12-22 08:21:52 -08:00
Dean Kleissas
385bc1b23a
Set default value for --event flag of omitted ( #3752 )
2021-12-21 02:16:36 -08:00
Ravind Kumar
0b2f0c9b48
Fix mc ilm restore --help ( #3897 )
2021-12-20 14:23:47 -08:00
Krishnan Parthasarathi
409ccc7c07
Update go.mod to include NewerNoncurrentVersions support ( #3898 )
...
With this `mc ilm import` accepts NewerNoncurrentVersions tag.
2021-12-20 14:23:35 -08:00
Anis Elleuch
7bd5c343f7
heal: Show healed objects count even if healing start time is unknown ( #3896 )
...
mc summary should still show some information when some disks report
healing in progress but without started time.
2021-12-16 08:36:38 -08:00
Anis Elleuch
68a9e3f52e
ux: Fix admin heal display with multiple zones ( #3893 )
...
mc admin heal was showing additional unnecessary entries
of nodes with empty disks listing when that node does not
belong to the current pool number. A node only belongs to
one pool, so remove the extra entries.
2021-12-14 09:43:38 -08:00
Aditya Manthramurthy
7031efb55a
Update admin policy/user commands with new policy info API ( #3877 )
...
will support older minio versions as well
2021-12-11 09:04:32 -08:00
Harshavardhana
2d516d350a
Allow specifying many aliases in MC_CONFIG_ENV_FILE ( #3885 )
...
Allows for getting ENV secrets remotely, or from
secure vault secrets.
2021-12-11 08:29:11 -08:00
Harshavardhana
2a84f0f1f9
disable IPv6 locally for all interfaces before docker build
2021-12-09 17:51:31 -08:00
Harshavardhana
9bdd7660f6
remove support for go1.16
2021-12-09 12:16:18 -08:00
Shireesh Anjal
b6c50a92a1
Use subnet api key instead of license ( #3876 )
...
The earlier approach of using a license token for communicating with
SUBNET is being replaced with a simpler mechanism of API keys. Unlike
the license which is a JWT token, these API keys will be simple UUID
tokens, and don't have any embedded information in them. SUBNET would
generate the API key on cluster registration, and return in the API
response. mc then stores it in the `subnet api_key` config of minio,
to be used for subsequent communication with SUBNET.
In case the api_key is not available in the config, but the cluster's
license is available, it will be used as auth in the subnet API call,
and api_key will be set after the call succeeds. This will help in
smooth migration from older versions of MinIO.
2021-12-09 09:40:27 -08:00
Krishnan Parthasarathi
23a05f5a17
Update ilm-add examples ( #3884 )
...
Hide date options like expiry-date and transition-date to
avoid unintended consequences explained here -
https://docs.aws.amazon.com/AmazonS3/latest/userguide/intro-lifecycle-rules.html#intro-lifecycle-rules-actions
> If you specify an S3 Lifecycle action with a date that is in the past,
> all qualified objects become immediately eligible for that Lifecycle action.
2021-12-07 15:06:06 -08:00
Anis Elleuch
bd7a49f500
tags: Show how to assign two tags to an object ( #3881 )
...
mc cp --tags is able to assign more than one tag to an object,
enhance the example to show that.
2021-12-06 09:39:13 -08:00
Harshavardhana
8a207df2ab
avoid double formatting svacct policy ( #3878 )
2021-12-02 08:48:13 -08:00
Krishnan Parthasarathi
cb73b76c81
Add tier-info command for tier-specific stats ( #3827 )
2021-11-29 09:10:00 -08:00
Anis Elleuch
e84871950a
speedtest: Ask the user to increase duration with empty result. ( #3875 )
...
Sometimes, with slow machines, speedtest will not able to accomplish
any PUT/GET operations though no errors is met. In that case, this
commit will show an adequate error message asking the user to increase
the --duration flag.
2021-11-29 09:05:33 -08:00
Anis Elleuch
a064265d0c
svcacct: Validate policy document and error out if needed ( #3873 )
2021-11-27 14:47:48 -08:00
Harshavardhana
4793c40bf6
remove HTML tags from README.md
2021-11-22 00:42:08 -08:00
Harshavardhana
18a579da0b
Set theme jekyll-theme-minimal
2021-11-22 00:37:50 -08:00
Shireesh Anjal
df75eed32e
Use latest version of madmin-go ( #3866 )
...
It contains a new field `TLSInfoAvailable` which will get added under
the `tls` node in health report, helping `health-analyzer` perform the
TLS related checks more reliably.
2021-11-18 14:30:26 -08:00
Harshavardhana
26e7e49cd7
honor cgroup memory limits in parallel-manager ( #3871 )
2021-11-18 14:30:02 -08:00
Shireesh Anjal
d0c62eb584
Fix health upload to subnet failing ( #3870 )
...
The writer needs to be closed before creating the request. Otherwise the
call to subnet api fails with error like:
HTTP/1.x transport connection broken: http: ContentLength=6235 with Body length 6303.
2021-11-16 08:37:08 -08:00
Harshavardhana
3a4e469334
feat: detect starting from windows explorer ( #3869 )
...
Windows users often click on the binary without
knowing `mc` is a command-line tool and should be
run from a terminal. Throw a message to guide them
on what to do.
2021-11-16 00:21:48 -08:00
Harshavardhana
ae66e893c7
with --force flag no need for exit code ( #3868 )
...
fixes #3673
2021-11-15 10:00:12 -08:00
ebozduman
7fd441ec6c
Removes Windows path adjustment for prefixes ( #3614 )
2021-11-14 21:21:00 -08:00
Krishnan Parthasarathi
6460d2facf
Update go.mod to include support for MaxNoncurrentVersions ( #3863 )
2021-11-12 16:18:15 -08:00
Harshavardhana
b2ff347c69
cleanup 'admin health' command ( #3862 )
...
- reach subnet, upon failure provide `--airgap` command line
to allow them to upload report manually.
- use a proper httpClient when reaching out to subnet
with a 10sec timeout, and also support custom proxies
with self signed certs.
- also fix some error messages and cleanup help with correct
wording and grammar.
2021-11-12 09:34:29 -08:00
Shireesh Anjal
b882f3e484
Better message on reset of dynamic config ( #3861 )
...
When a dynamic config is reset, the minio api response has `true` as
value of the header `x-minio-config-applied`. In such cases, mc should
not show the message asking the user to restart `minio`.
2021-11-11 06:49:13 -08:00
Shireesh Anjal
1461b652d9
Introduce admin health command ( #3847 )
...
It will be a hidden command and will behave
exactly same as `mc admin subnet health`
Also, remove the deprecated command `admin subnet obd`
2021-11-09 16:36:02 -08:00
Poorna K
a776222b33
Uppercase tier name in admin tier add cmd ( #3849 )
2021-11-09 16:35:32 -08:00
Harshavardhana
e7c79413d7
fallback to bucket retention info for only bucket names ( #3860 )
2021-11-08 09:49:56 -08:00
Harshavardhana
9b5d0ba1ef
update Dockerfile files
2021-11-05 03:29:49 -07:00
Harshavardhana
9f6b500142
update go.sum
2021-11-04 23:51:20 -07:00
Krishna Srinivas
9e8fea96ca
Show live updates for speedtest ( #3855 )
2021-11-04 23:50:28 -07:00
Robert Lützner and Robert Lützner
6e1d044f91
admin-trace: Add missing asterisk to --path example in usage ( #3857 )
...
Limiting tracing to a specific path requires an asterisk at the end. I
don't know if this is a regression or the example was always wrong. I
only ever figured this out by trial and error.
This fixes #3856 .
Co-authored-by: Robert Lützner <robert.luetzner@iternity.com >
2021-11-03 09:34:32 -07:00
Shireesh Anjal
c0cfc9c507
Fix usage validation in mc admin service restart ( #3859 )
...
The command needs exactly one argument, but was allowing two and
ignoring the second if passed. Fixed the validation.
Signed-off-by: Shireesh Anjal <shireesh@minio.io >
2021-11-03 09:33:01 -07:00
Shireesh Anjal
905502e311
Fix subnet health crash on passing invalid flag ( #3858 )
...
The custom `String()` function written for the `HealthDataTypeFlag` was
resulting in a crash as it did not contain `\t` character on which the
usage gets split when printing the error message.
Fixed by reusing the `FlagStringer` from cli package, which is used by StringFlag.String() as well.
2021-11-03 09:32:36 -07:00
Poorna K and Poorna Krishnamoorthy
14303ec6cf
fix --disable-proxy flag in admin bucket remote add command ( #3851 )
...
Co-authored-by: Poorna Krishnamoorthy <poorna@minio.io >
2021-10-29 12:05:56 -07:00
Harshavardhana
7866f97ef5
Revert "Remove unused Transport option. ( #3818 )"
...
This reverts commit bc69976481 .
This option is used by console
2021-10-26 19:49:40 -07:00
Harshavardhana
6339784743
update gjson to avoid CVE-2021-42836
2021-10-25 20:56:15 -07:00
Shireesh Anjal
b9bfcb50a3
Fix subnet login during registration not working ( #3841 )
...
Subnet doesn't return `ContentLength` in it's api response, and hence
using it as the limit with `LimitReader` doesn't work. Fixed by using a
sufficiently large (1 MiB) limit.
2021-10-20 21:15:00 -07:00
Shireesh Anjal
b493f01699
Update go.mod to use latest version of madmin-go ( #3839 )
...
So that the TLS config related data gets added in the health report.
2021-10-20 10:26:36 -07:00
Shireesh Anjal
e45d648ce9
Rename --offline flag to --airgap ( #3837 )
...
Retain `--offline` as hidden for backward compatibility (won't show up
in help)
2021-10-18 09:49:52 -07:00
Aditya Manthramurthy
3177a62819
Add functional tests to test sanity of users in internal IDP ( #3838 )
2021-10-18 08:41:14 -07:00
Harshavardhana
ae271e7645
add new linters and fix unnecessary type conversions ( #3835 )
2021-10-14 15:33:31 -07:00
Klaus Post
0eef0174a7
inspect: Save data unencrypted by default ( #3832 )
...
By default decrypt the data. Add `--encrypt`.
2021-10-12 11:49:49 -07:00
Daniel Jakots
b880f09931
fix: build on 32-bit systems ( #3732 )
2021-10-12 02:08:54 -07:00
Ori Hoch
6047ef858a
fixes minio/mc#3830 servers without lock returns locking disabled ( #3831 )
2021-10-11 14:26:23 -07:00
Shireesh Anjal
e4d4bf6641
Add register sub-command to mc admin subnet ( #3808 )
...
By default, it will run in `online` mode and try to register the cluster
on subnet. If the subnet license is not available in minio/mc config, it
will
- ask the user for login credentials
- use the credentials for authentication and call the registration api
- get the license from response of the api and store it in config
- use the stored license for any subsequent calls
In case the user belongs to multiple organizations in subnet, they will
be prompted to choose the appropriate organization from the list.
If the client machine is in an airgapped environment, user can choose to
use the `--offline` flag when running the command. In this case, it will
- generate and print the registration token
- ask the user to paste it in the subnet registration screen
- accept the license generated by subnet and store it in config
As part of this work, the `health` sub-command is also enhanced to:
- run in `online` mode by default, which tries to upload the health
report to subnet. Here the user will be prompted for subnet credentials
(if license not available in config) _before_ generating the health
report as it is a long running process.
- support a new flag `--offline` which can be used when subnet is not
reachable. When used, the health report will be generated in a local
json.gz file, which can then be uploaded on subnet.
The examples in help text of both the sub-commands are enhanced to list
multiple use cases.
When saving license to config, first preference is given to minio
config. If the minio server supports the `subnet license` key, the
license will be stored here. In case it is an older version of minio
that doesn't support this key, then the license will be stored in mc
host config.
2021-10-07 11:20:28 -07:00
Aditya Manthramurthy
198bca9cdf
Add new admin replicate subcommand ( #3810 )
...
This change adds support for enabling site replication
2021-10-06 16:57:01 -07:00
Krishnan Parthasarathi
054cfa0103
ilm-edit: Accept zero days for transition ( #3824 )
2021-10-06 13:34:41 -07:00
Anis Elleuch
6b329ce01f
rb: Fix side wide removal of an alias ( #3796 )
...
* rb: Fix side wide removal of an alias
rb --force --dangerous should remove all buckets under an alias. This
PR fixes a recent regression.
2021-10-06 09:56:57 -07:00
Harshavardhana
44a597a9f9
allow removal of replica/ilm event-types ( #3823 )
2021-10-06 09:24:12 -07:00
Shireesh Anjal
55c6a1fccc
fix: incorrect spinner for network perf test ( #3813 )
...
In case of non-distributed setup, the server doesn't return network perf
data. Because of this, the network spinner doesn't finish, and is closed
explicitly outside the loop, resulting two lines (one incomplete, one
complete) for it.
Fixed by explicitly checking the number of servers when checking for
completion of the network spinner.
2021-10-05 17:00:41 -07:00
Anis Elleuch
026cfa16c5
admin info: Show 'OK' in yellow when offline networks/disks ( #3814 )
...
In mc admin info output, it is better to show 'OK' status in yellow and
not in green when there is a failed disk or a failed network link so it
is easier for users to detect something wrong.
2021-10-05 17:00:27 -07:00
Krishnan Parthasarathi
924df70b33
Add support for immediate tiering ( #3816 )
2021-10-04 12:19:48 -07:00
Shireesh Anjal
6c41669342
health: perform only lightweight tests by default ( #3820 )
...
Perform only lightweight tests by default, and include the long running
tests only if specified through a `--full` flag in the `admin subnet
health` command.
2021-10-04 09:03:19 -07:00
Anis Elleuch
1aa0f47736
ilm: Correctly show tags in tabular info when this non AND tag ( #3819 )
...
Tag can be set directly under Filter tag and not always under
Filter.And in the lifecycle document. In that case, the tag won't be
properly showed in the tabular info of the ILM listing. This PR fixes
it.
2021-10-01 11:59:15 -07:00
Klaus Post
bc69976481
Remove unused Transport option. ( #3818 )
2021-10-01 11:41:34 -07:00
Harshavardhana
88544fee85
update all dependencies in go.mod ( #3812 )
2021-09-29 22:05:43 -07:00
Klaus Post
7e6f46fba6
Bump CI Go versions ( #3811 )
...
* Bump CI Go versions
* Fix changed fmt.
* Only check vet on one version.
* Bump minimum go version in go.mod
* Add Darwin test.
Replaces #3807
2021-09-28 09:19:52 -07:00
Anis Elleuch
1bcd5df300
Add ilm restore command ( #3790 )
2021-09-24 09:32:39 -07:00
Krishnan Parthasarathi
368b4106d7
Disallow updating azure tier account-name ( #3805 )
2021-09-23 10:57:39 -07:00
Anis Elleuch
445414dc0c
svcacct: Colorize svcacct output ( #3806 )
2021-09-23 10:01:37 -07:00
Harshavardhana
2d01434415
update madmin-go and minio-go dependency
2021-09-22 15:08:05 -07:00
Anis Elleuch
fa0aa1e45f
heal: More verbose information ( #3795 )
...
heal info now shows the list of all MinIO nodes and the status of disks,
OK, unformatted, healing with an estimation of the time of healing
completion. It also shows the tolerance of nodes/disks, meaning how many
nodes or disks we can turn off before losing read operation in the
cluster.
2021-09-22 14:39:59 -07:00
ebozduman
5a8f677304
Windows support for copying local files to object storage ( #3666 )
2021-09-22 14:38:56 -07:00
Anis Elleuch
4e4c912b37
Order mc admin info output by endpoint ( #3804 )
...
To make easy for users to navigate through the list of servers.
2021-09-21 09:08:28 -07:00
Ashish Kumar Sinha and sinhaashish
a8bf2a463b
Add global flags to edit tier command ( #3802 )
...
Co-authored-by: sinhaashish <ashish@minio.com >
2021-09-17 07:09:00 -07:00
Krishna Srinivas
e576844f0f
Erase the spinner on speedtest completion ( #3800 )
2021-09-16 17:25:17 -07:00
Krishna Srinivas
d7bc62efa6
Show spinner during speedtest ( #3799 )
2021-09-16 15:39:12 -07:00
Poorna Krishnamoorthy
77a4c9f9e5
update minio-go dependency ( #3797 )
2021-09-16 15:30:10 -07:00
Harshavardhana
1f997000a3
trace: multiple values for headers are ',' separated ( #3798 )
2021-09-16 08:55:08 -07:00
Ashish Kumar Sinha
1f2429c336
validation for namespace removal ( #3783 )
2021-09-15 11:34:41 -07:00
Poorna Krishnamoorthy
6bf64d9704
Add multisite replication support in mc replicate cmd ( #3766 )
...
Also adding a flag to `mc replicate reset` to allow
granular replication reset by target
2021-09-15 10:32:28 -07:00
Krishna Srinivas
24456eb990
Support speedtest autotuning on the server side ( #3777 )
2021-09-14 23:29:49 -07:00
Shireesh Anjal
56b22c37fc
fix: subnet health spinners not working properly ( #3788 )
...
The "admin info" step was moved from being the first step to the last
step in minio at some point, but the sequence of spinners in mc was not
updated with this change. Because of this, the first spinner itself used
to get stuck for the whole duration of report generation.
Fixed by correcting the sequence of spinners to make them in sync with
the processing in minio.
Signed-off-by: Shireesh Anjal <shireesh@minio.io >
2021-09-08 08:01:55 -07:00
Kaan Kabalak
4e56329bae
Replace 'none' in 'mc anonymous get/set' with 'private' ( #3792 )
...
This commit replaces the 'none' policy with 'private' for the
'mc anonymous get/set' command without breaking
backward compatibility
2021-09-07 19:10:13 -07:00
Harshavardhana
e7d3f4637a
update CREDITS, add quay.io/minio/mc:latest
2021-09-02 11:24:57 -07:00
Klaus Post
f661334f3d
doc: Update diff table ( #3778 )
2021-09-01 16:47:57 -07:00
Anis Elleuch
7f37854b02
parallel-manager: Reduce parallelism when there is not enough memory ( #3629 )
...
Some users with low memory and good connection uploading some big files
can see memory crash, since mc will increase upload parallelism over
time when the bandwidth and the server is able to carry the load.
This PR will check the free OS memory before starting mirror/cp and will
estimate current memory usage based on uploaded objects sizes, it will
stop parallelism until the memory gets some room.
2021-09-01 09:07:26 -07:00
Shireesh Anjal
ef90b8b3dd
Add sys services and config spinner in subnet health ( #3772 )
...
Signed-off-by: Shireesh Anjal <shireesh@minio.io >
2021-08-31 11:17:58 -07:00
Artem Yarmoliuk
855333e4ab
Update x/sys to support go 1.17 ( #3779 )
...
See: https://github.com/golang/go/issues/45702
2021-08-25 10:56:52 -07:00
Anis Elleuch
0667914d16
rb: --force flag forces bucket removal after BucketNotEmpty err ( #3780 )
...
Some users struggle to remove a bucket when they don't use recommended
setups, such as NFS disks.
This command will force bucket removal in server side, using
x-minio-force-delete during DELETE bucket call.
2021-08-23 07:10:41 -07:00
Harshavardhana
c19d58bb88
add 'mc update' progress bar support ( #3782 )
2021-08-21 21:01:31 -07:00
Anis Elleuch and Anis Elleuch
a88acb58d4
fix: Avoid crash when asking for no existing transition/expiry info ( #3771 )
...
mc ilm ls has --expiry and --transition to show for only expiry or
transition information, but if one of them doesn't exist, mc crashes.
The PR fixes this.
Co-authored-by: Anis Elleuch <anis@min.io >
2021-08-17 14:11:09 -07:00
Harshavardhana
43b03a8532
support 'mc rm --non-current' to delete non-current objects ( #3768 )
2021-08-10 18:29:22 -07:00
Klaus Post
b3ce21fb72
Add mc admin inspect ( #3754 )
...
Add function to download data from server with admin privileges.
For https://github.com/minio/minio/pull/12635
2021-08-06 06:42:23 -07:00
Shireesh Anjal
539a6b5654
Add sys errors spinner in subnet health output ( #3760 )
...
The subnet health report generation now includes collection of system
errors. So add a spinner for this step too in the screen output of the
command.
Signed-off-by: Shireesh Anjal <shireesh@minio.io >
2021-08-05 22:30:19 -07:00
Krishna Srinivas
bc5835e680
feat: admin speedtest implementation ( #3759 )
2021-07-29 18:18:58 -07:00
Harshavardhana
4af8b2d20b
do not prematurely default multipart to 16MiB
2021-07-27 08:42:07 -07:00
Harshavardhana
addaf66de8
fix: do not prematurely error out during Heal() ( #3762 )
2021-07-26 08:01:59 -07:00
Harshavardhana
c3ab68ed1e
allow configuring multipart size for testing ( #3761 )
...
add MC_UPLOAD_MULTIPART_SIZE, MC_UPLOAD_MULTIPART_THREADS
to test in situations when default values are not enough
for showing proper bandwidth usage.
2021-07-23 09:21:59 -07:00
Harshavardhana
7dafdaf88e
rename policy to anonymous command ( #3755 )
...
although keep `policy` command hidden
for backward compatibility.
2021-07-19 08:49:28 -07:00
Harshavardhana
c319567430
do not print config values in base64 ( #3757 )
...
fixes #3696
2021-07-19 08:29:20 -07:00
Anis Elleuch
bfafb96632
heal: Refactor info output ( #3730 )
...
mc admin heal <alias> will show simplifed output which aggregates MRF &
new disks healing.
e.g.:
```
$ mc admin heal myminio/
Objects Healed: 7/27 (25.9%), 31 MB/110 MB (0%)
Heal rate: 3 obj/s, 10 MB/s
Estimated Completion: 11 seconds
```
2021-07-16 09:51:00 -07:00
Emir İşman
05ec684549
deps: update jwt-go dependency ( #3756 )
2021-07-10 13:37:58 -07:00
Harshavardhana
5e95eea60c
fix: openbsd/amd64 cross compilation
2021-07-04 00:46:58 -07:00
Shireesh Anjal
db1b1bd811
fix: health report incompatibility with old minio ( #3751 )
...
When the subnet health command from current mc is used with the MinIO
versions before the latest health data structure changes (v2) were
introduced, the generated report doesn't contain the cluster information
(minio -> info).
This is because these old versions of minio don't return this
information in the output of the `healthinfo` api.
Fixed this by explicitly pulling the server info separately when we
detect that the health schema version is not v2.
2021-07-01 10:04:08 -07:00
Klaus Post
a1ba511f16
trace: Display times in local timezone ( #3750 )
...
Make sure times are converted to local time zone.
2021-06-29 08:48:12 -07:00
Harshavardhana
cebf331854
update minio/pkg to v1.0.8
2021-06-25 17:21:08 -07:00
Poorna Krishnamoorthy
2c52cdf27c
Add flag to mc replicate for existing object replication ( #3698 )
...
This allows triggering a resyncing of previously
replicated objects when existing object replication is
enabled. It is useful in scenarios where replication target
is entirely lost and content needs to be replicated again.
2021-06-12 18:02:25 -07:00
Harshavardhana
776643ff2a
fix: remove legacy path for prometheus ( #3743 )
...
additionally add `--public` flag for unauthenticated
prometheus config.
2021-06-12 09:47:30 -07:00
Anis Elleuch
b70da9cbcb
mirror: Add S3 latency metric ( #3679 )
...
Add a new metric called: `mc_mirror_replication_duration`, which shows
the histogram of replication time of different categories of object
sizes
2021-06-11 21:21:15 -07:00
Harshavardhana
9242dbdf69
add support for quay.io mirror
2021-06-11 16:51:03 -07:00
Klaus Post
7c0ab1b2d5
Add single line json output ( #3739 )
2021-06-11 14:40:16 -07:00
Harshavardhana
27d0ea67cb
remove legacy errors from docs
...
fixes #12474
2021-06-09 10:24:38 -07:00
Poorna Krishnamoorthy
c8d9eee2b4
Add options to enable|disable proxy,sync for remote target ( #3701 )
...
Also allow URL endpoint, bandwidth limit, healthcheck-duration
and path to be updated for an ARN.
2021-06-07 18:11:38 -07:00
Poorna Krishnamoorthy
6a2b118473
tier: support using aws role for s3 ( #3736 )
...
Signed-off-by: Poorna Krishnamoorthy <poorna@minio.io >
2021-06-07 13:44:30 -07:00
Anis Elleuch and Klaus Post
a06096f8ee
du: Use recursive listing when no detailed report is asked ( #3737 )
...
mc du will always count the size of all objects under a specified
path, du -r will show the disk usage in a more detailed fashion, but if
not specified, let's do a recursive LIST call instead of calling du()
multiple times.
Co-authored-by: Klaus Post <klauspost@gmail.com >
2021-06-03 08:19:04 -07:00
Harshavardhana
87092404e0
fix: 'mc admin tier' CLI fix typos ( #3734 )
2021-06-01 15:00:06 -07:00
Harshavardhana
4b7e85d7e9
reduce memstats information in 'admin info'
2021-06-01 11:25:23 -07:00
Bala FA
fbbae711bd
Add new health data structure support. ( #3687 )
...
`mc admin subnet health` command supports new health data structure
and versioning of health API.
Signed-off-by: Bala.FA <bala.gluster@gmail.com >
2021-05-30 20:02:40 -07:00
Harshavardhana
5b972bb7b0
update latest colorjson v1.0.1
2021-05-30 19:45:00 -07:00
Harshavardhana
91efd0c066
migrate mc to minio/pkg ( #3731 )
...
remove all dependency for minio/minio
2021-05-29 09:30:33 -07:00
Anis Elleuch and Anis Elleuch
9740a09584
restart: Avoid bad empty line ( #3729 )
...
Print '...' instead, for a distributed cluster, other characters will
follow to indicate the status of the restart command.
Co-authored-by: Anis Elleuch <anis@min.io >
2021-05-27 19:46:30 -07:00
Harshavardhana
8d65ee7130
fix: enhance support for special access/secretkeys in remote targets ( #3725 )
...
it latest release and master `mc admin bucket remote add` cannot
parse accesskeys/secretkeys with special characters such as `@`,
this is due to an incorrect implementation.
use the technique used in parsing MC_HOST_alias here to allow
for more complex use-cases.
2021-05-18 22:29:47 -07:00
Poorna Krishnamoorthy
6e251456d2
Add flag for replica sync to mc replicate command ( #3722 )
...
Signed-off-by: Poorna Krishnamoorthy <poorna@minio.io >
2021-05-17 14:11:51 -07:00
Shireesh Anjal
9714e1cf49
Use new URL for upload to subnet ( #3720 )
...
Old path: /api/auth/health_reports
New path: /api/health/upload
Signed-off-by: Shireesh Anjal <shireesh@minio.io >
2021-05-15 22:20:22 -07:00
Harshavardhana
60d3646baf
attr is optional for mc pipe
...
fixes #3718
2021-05-12 09:27:36 -07:00
Harshavardhana
7d142be711
support parsing special tags after releaseTag
2021-05-11 19:51:36 -07:00
Krishnan Parthasarathi
deb714784c
Add mc admin tier subcommands ( #3566 )
...
Signed-off-by: Krishnan Parthasarathi <kp@minio.io >
2021-05-11 19:42:49 -07:00
Klaus Post
757b9d6872
pipe: Add custom attributes and tags ( #3706 )
...
Support adding custom attributes and tags.
Examples included.
2021-05-11 19:35:58 -07:00
Harshavardhana
954f0a5fd1
add fips build support for mc
2021-05-11 18:25:46 -07:00
Harshavardhana
ac08bf41a7
fix: gofmt on some files
2021-05-11 17:46:41 -07:00
Harshavardhana
077fff35dd
update CREDITS file with latest deps
2021-05-11 17:45:49 -07:00
Harshavardhana
1402987ccb
change license to AGPLv3
2021-05-11 17:45:08 -07:00
Anis Elleuch
0c11cf9f28
Update minio-go for a fix in ILM ( #3716 )
...
Signed-off-by: Anis Elleuch <anis@min.io >
2021-05-11 14:11:15 -07:00
Shireesh Anjal
e207f3bfa4
Fix incorrect error related to "name" flag ( #3714 )
2021-05-10 19:48:14 -07:00
Harshavardhana
073c9c6308
remove fetchUserKeys _contrib
2021-05-10 10:13:23 -07:00
Harshavardhana
8cf4031ef5
add some self contained functions to contrib
...
remove chinese doc translations, move docs to CC-BY 4.0 license
2021-05-10 09:38:59 -07:00
Harshavardhana
dfbedf9f3a
update madmin-go to v1.0.2
2021-05-06 16:34:09 -07:00
Harshavardhana
6c3ac00e18
update madmin to github.com/minio/madmin-go ( #3710 )
2021-05-06 13:33:17 -07:00
Shireesh Anjal
8c4a2698d9
Add --schedule and --name flags to subnet health ( #3685 )
...
* Add --schedule flag to subnet health command
If passed along with --license, the health diagnostics will be executed
and uploaded to Subnet at given schedule (in days).
Also, delete the generated file after succesful upload to subnet.
* Add --name flag to subnet health command
If passed along with the --license flag, this will be passed as the name
of the cluster in the subnet upload request. Subnet uses this only for
the 1st upload of the given cluster.
If not passed, the alias of the cluster will be passed as default value
for the cluster name.
2021-05-06 10:31:33 -07:00
Anis Elleuch and Anis Elleuch
a62d2b4659
svcacct: Print password when generating a new service account ( #3709 )
...
Sometimes passwords are auto-generated, print them so the user can
easily copy it somewhere.
Signed-off-by: Anis Elleuch <anis@min.io >
Co-authored-by: Anis Elleuch <anis@min.io >
2021-05-05 17:22:38 -07:00
Poorna Krishnamoorthy
c4890d949b
trace: display time in UTC format ( #3708 )
2021-05-03 11:52:16 -07:00
Bala FA
af1676e6ec
admin.subnet.health: add-flag-to-support-subnet-proxy ( #3692 )
...
Signed-off-by: Bala.FA <bala.gluster@gmail.com >
2021-04-26 09:45:50 -07:00
Anis Elleuch
4eae7ec7ed
Add support of service account commands ( #3650 )
...
Signed-off-by: Anis Elleuch <anis@min.io >
2021-04-22 10:17:34 -07:00
Harshavardhana
36c17891d6
update build to use go1.16
2021-04-22 10:07:50 -07:00
Harshavardhana
37f5eff195
fix: use madmin constants
2021-04-21 16:52:21 -07:00
Poorna Krishnamoorthy
20e5905de0
Add mc replicate status command ( #3684 )
2021-04-21 14:05:17 -07:00
Anis Elleuch
a17153cf9e
admin: Implement a better restart command UX ( #3618 )
...
mc admin restart service clearly indicates to the user that restarting
the process is started and also shows progress using:
`.` in red to indicate the cluster is still offline
`!` in yellow to indicate the cluster is up but still initializing
2021-04-21 14:05:06 -07:00
Anis Elleuch
c00c7e3a35
admin: Add policy subcommand to user ( #3648 )
...
mc admin user policy will download all
policies JSON linked to a user and
merge them into one.
2021-04-19 07:35:52 -07:00
Harshavardhana
d8393a365e
fix: mirror monitoring cli to be --monitoring-address ( #3695 )
...
fixes #3693
fixes #3694
2021-04-18 09:11:45 -07:00
Anis Elleuch
78e3c94f5a
trace: Make evaluation filters more user friendly ( #3642 )
...
Currently trace filters are like OR operations, but I think in debugging
we want AND instead.
Currently, --status-code 503 --path 'bucket/path' will show 503 requests or
requests with 'bucket/path', this PR will require having both conditions
in the requests in order to be shown in the trace.
2021-04-16 08:56:26 -07:00
ebozduman
ef59238007
Adds error exit codes for SIGINT, SIGTERM and SIGKILL ( #3662 )
2021-04-15 16:58:49 -07:00
Poorna Krishnamoorthy
b537ee408b
report bandwidth limit in --json mode ( #3688 )
...
for `mc admin bucket remote ls`
This PR also removes label for a remote target
2021-04-15 16:58:13 -07:00
Anis Elleuch
4380288249
trace: Add support of older admin tarce API ( #3683 )
2021-04-07 12:25:53 -07:00
Shireesh Anjal
1ac898c382
Fix net perf spinner not finishing in subnet health ( #3676 )
...
In case of single server setups, the network performance data is empty.
Because of this, the condition that indicates that the network test step
is over never evaluates to true and hence the spinner doesn't finish
(doesn't show the tickmark indicating the step has completed).
While this is a nigligible issue in normal execution of the subnet
health command, it has a weird side effect when the `--license` flag is
passed. In such cases, the network test spinner finishes _after_ the
message about succesful generation of the report is printed.
Ensuring that all the spinners are stopped explicitly after the api call
returns resolves this issue.
2021-04-07 12:14:25 -07:00
Anis Elleuch
a093f822e2
Avoid automatic copy of storage class ( #3681 )
2021-04-06 10:24:34 -07:00
Klaus Post
9f9f7ec542
trace: Add goroutines by default ( #3664 )
...
Goroutines are very often useful. Include them by default.
2021-04-06 09:23:01 -07:00
Harshavardhana
e513a4f68f
improve bandwidth monitor UI ( #3680 )
...
make the reporting UI more succint as below
```
┌──────────────────┬──────────────────────────┬───────────────────┐
│ Bucket │ Configured Max Bandwidth │ Current Bandwidth │
├──────────────────┼──────────────────────────┼───────────────────┤
│ testbucket │ N/A │ 4.4 kb/sec │
└──────────────────┴──────────────────────────┴───────────────────┘
```
2021-04-05 16:07:00 -07:00
Harshavardhana
6074aa43ff
add nodeName and path properly for os/storage calls ( #3670 )
2021-03-28 08:07:34 -07:00
Anis Elleuch
9914d28527
trace: Add support of Storage & OS tracing ( #3663 )
2021-03-27 05:38:57 -07:00
Poorna Krishnamoorthy
0ee9471197
trace: fix missing client info for ipv6 ( #3661 )
...
fixes: https://github.com/minio/minio/issues/11833
2021-03-24 03:50:02 -07:00
Anis Elleuch
c3cae160b3
mirror: Add total_s3uploaded_bytes metric ( #3646 )
...
The new metric will track the total bytes of copied objects in the
target during mirroring.
2021-03-22 13:27:01 -07:00
Shireesh Anjal
1f71fdc03a
Add option to upload health report to Subnet ( #3641 )
...
Add an optional text flag `license` to the `subnet health`
command. If this flag is passed, upload the generated health report to
Subnet by passing the license key as auth.
2021-03-22 09:26:09 -07:00
Harshavardhana
49e85e9109
reduce default part size upto 16MiB ( #3654 )
2021-03-19 09:10:36 -07:00
Anis Elleuch
bac257a6e0
dep: Update minio/minio dependency for disk metrics ( #3649 )
...
After updating minio/minio dependency, mc admin info --json shows the
latency and the number of calls of each API in the POSIX layer.
2021-03-17 23:28:01 -07:00
Anis Elleuch
e10c82f9ad
cp: Add --tags to tag uploaded objects ( #3644 )
...
Applying tagging to objects copied in an S3 object using --tags flag.
2021-03-16 08:46:28 -07:00
ebozduman
501b791408
Fixes conflicting Failure&Successful msgs in 'mc rb' output ( #3616 )
2021-03-10 23:13:55 -08:00
Anis Elleuch
ccb35f1672
mv: Fix panic and simply the code a little bit ( #3640 )
...
Also, mv did not consider --fake flag, fix it as well.
2021-03-10 23:12:04 -08:00
Ritesh H Shukla
faa895dd75
Track remote replication bandwidth consumption ( #3609 )
2021-03-10 17:30:36 -08:00
Harshavardhana
dde89f7604
add release build-arg for multiarch builds
2021-03-10 00:10:53 -08:00
Anis Elleuch and Anis Elleuch
28d8677578
mirror: Add monitoring endpoint for mirroring operations ( #3636 )
...
* mirror: Add monitoring endpoint for mirroring operations
The following are the added metrics:
mc_mirror_failed_s3ops 3
mc_mirror_time_last_activity 9
mc_mirror_total_restarts 3
mc_mirror_total_s3ops 199920
Also, --watch automatically restarted if an error is detected
Co-authored-by: Anis Elleuch <anis@min.io >
2021-03-09 09:38:35 +05:30
Anis Elleuch
1d9873c512
admin policy: Add unset & update command ( #3638 )
...
`unset` will remove policies from a user or a group
`update` will add new policies to a user or a group
2021-03-06 13:14:49 -08:00
Harshavardhana
a8c6f751a7
update to latest minio master with healing struct changes
2021-03-04 17:09:55 -08:00
Harshavardhana
13cf091af6
update to latest minio master
2021-03-02 18:00:29 -08:00
Jackson Borchardt
cb577322fd
fix typo ( #3631 )
2021-03-02 09:53:28 -08:00
Shireesh Anjal
f9d36f9b52
Update minio dependency to latest master branch ( #3628 )
2021-03-01 08:22:50 -08:00
Harshavardhana
56ea65a78e
update go CREDITS
2021-03-01 00:21:17 -08:00
Harshavardhana
8bbd07802e
update 'madmin' deps to latest master
2021-03-01 00:17:22 -08:00
Anis Elleuch
e3b84c39df
ilm: Fix edit ILM versioning parameters ( #3626 )
...
After the introduction of versioning parameter in mc ilm document, we
didn't test mc ilm edit. This PR fixes this behavior and add more
lifecycle validation for versioning parameters
2021-02-27 09:08:28 -08:00
ebozduman
cb909f5ce5
Stops 'mc cp --attr' preserve file attributes without '--preserve' ( #3625 )
2021-02-25 09:32:44 -08:00
Anis Elleuch
18da584d5a
session: Fix resuming cp/mv session ( #3580 )
...
Session files contained a colored json which leaded a problem with
unparsing it, use jsoniter instead of the colorjson when marshal
unmarshal session data.
2021-02-19 10:51:48 -08:00
Shireesh Anjal
b3c692d6eb
Ignore parallel net perf data when its empty ( #3607 )
...
When parallel net perf tests are not performed, for example in FS mode,
the server response contains an empty node for the net pef data with
value of `addr` as empty string (`""`).
This data should be ignored when mapping the server response to the
health report format. Otherwise we end up with a health report with an
empty server node under `hardware` section.
2021-02-16 19:35:39 -08:00
Anis Elleuch
0053d58648
rm: Better messages when buckets are empty ( #3606 )
2021-02-16 13:53:04 -08:00
Harshavardhana
97482653ac
update go mod for latest changes in pkg/iam
2021-02-16 12:05:04 -08:00
Harshavardhana
7672841f8c
update go mod for latest changes in pkg/iam
2021-02-13 00:45:25 -08:00
Anis Elleuch
d759f195f2
trace: Add source IP in verbose mode ( #3612 )
...
Add the source IP information in the REQUEST trace line when the verbose
mode is enabled.
2021-02-12 21:32:08 -08:00
Anis Elleuch
006cb0c0cf
mirror: Fix behavior under Windows when source url is S3 ( #3611 )
...
Removed one block of code which seems to be useless and no comment with
it. This was causing issue doing mirroring under Windows.
2021-02-12 21:31:34 -08:00
Aditya Manthramurthy
4eb6f999a6
fix: crash on invalid input to policy set ( #3610 )
2021-02-12 11:22:02 -08:00
Aditya Manthramurthy
7c0fb6a99e
Fix user/group argument parsing ( #3602 )
2021-02-09 14:25:11 -08:00
Ritesh H Shukla
f782b462c6
Do not print v2 prometheus metrics for older releases ( #3600 )
2021-02-09 10:34:39 -08:00
Shireesh Anjal
4942cffc2c
Update minio dependency to latest master branch ( #3601 )
2021-02-09 09:50:40 -08:00
Poorna Krishnamoorthy
c44387cb32
Add --sync flag to admin bucket remote add command ( #3549 )
2021-02-05 15:21:31 -08:00
Anis Elleuch
e93ec078dc
ilm: Fix adding ExpiredObjectDeleteMarker alone ( #3596 )
...
It is not possible to add rule with only ExpiredObjectDeleteMarker
activated. This commit fixes the issue.
2021-02-04 21:13:53 -08:00
Anis Elleuch
650a4b8d66
cp: Fix crash with recursive copy with non existant resource ( #3592 )
...
Fixing a recent regression introduced when copying a non
existent bucket or prefix when --recursive flag is passed.
2021-02-02 08:37:30 -08:00
Harshavardhana
ade302d969
fix: suggestion format with 'mc admin config set'
2021-01-27 18:27:58 -08:00
Ritesh H Shukla
169aa24ae0
Update the URL for metrics ( #3584 )
2021-01-25 17:32:58 -08:00
Harshavardhana
24ebcf13cf
fix: make listing consistent with top level delete marker ( #3587 )
...
```
~ mc ls s3/tbucket13/x.txt
[2021-01-25 13:24:09 PST] 525B z.txt
```
```
~ mc ls s3/tbucket132/x.txt
[2021-01-25 13:31:41 PST] 525B x.txt/z.txt
```
2021-01-25 14:39:16 -08:00
Anis Elleuch
130f4393bb
cp: Copy recursive paths having the passed prefix ( #3563 )
2021-01-24 00:06:40 -08:00
Anis Elleuch
7e19044d98
ilm: Import aborts when lifecycle config does not have a rule ( #3576 )
...
Currently, there is a success message misleading the user, while what is
really happened is that minio-go SetLifecycle removes any existing
lifecycle configuration in the bucket.
2021-01-23 23:05:15 -08:00
Harshavardhana
1fd739cc50
update admin docs with expected 'admin info' output
2021-01-22 12:13:46 -08:00
Stuart Thomson
93d579a936
doc: Add section to README for use in GitLab CI ( #3577 )
2021-01-21 20:50:17 -08:00
Frederick Zhang and Ersan
8760185bc3
Remove IsInstalled() call before auto-completion installation ( #3548 )
...
At the moment posener/complete [1] doesn't allow specifying shell for
IsInstalled(), which might lead to confusing error messages, since it
just returns true if it's able to find completion definition in *any*
shell configurations even if it's not what the user currently uses.
Hence we should remove this check and call Install() directly, and user
can get more details in this case.
[1] https://github.com/posener/complete
* Improve auto-completion installation handling as per @ebozduman
* Improve messages when user's using an unsupported shell
* Refactors mc auto-complete logic
Co-authored-by: Ersan <ersan.bozduman@gmail.com >
2021-01-21 20:48:22 -08:00
Harshavardhana
f73987fc34
fix: invalid user-agent release tag for mc ( #3575 )
...
fixes #3529
2021-01-20 09:51:52 -08:00
Harshavardhana
1c3e6516f0
allow trace filters on handler names ( #3568 )
...
also convert the filter options to slice flags, for example
if you wish to trace only for status code 404 and 503 then
you would specify the following command
```
mc admin trace --status-code 404 --status-code 503 myminio/
```
Refactor and make implementation more readable.
2021-01-19 02:20:34 -08:00
Maxime Bochon
419a6935db
fix: extra spaces prevent italic formatting in doc ( #3459 )
2021-01-18 15:40:03 -08:00
Anis Elleuch
f1f3003e5e
Update minio-go to fix lcp bug ( #3572 )
2021-01-14 03:26:28 -08:00
Anis Elleuch
5fcb069e8a
Add missing lifecycle versioning config parameters ( #3565 )
...
Add the following flags to mc ilm command:
--expired-object-delete-marker
--noncurrentversion-expiration-days
--noncurrentversion-transition-days
--noncurrentversion-transition-storage-class
2021-01-12 23:47:39 -08:00
Anis Elleuch
c1fe60f7ad
admin info: Show yellow dot when the cluster is not fully initialized ( #3555 )
2021-01-05 09:13:08 -08:00
Anis Elleuch
e7df97d1e0
trace: Add more filters options ( #3556 )
...
Filter options are necessary if the server receives a lot of requests,
especially when the verbose mode is passed.
2021-01-04 21:00:48 -08:00
Harshavardhana
95ee8f0714
list with maxKeys=1 for url2Stat() calls ( #3557 )
2021-01-03 11:34:53 -08:00
Harshavardhana
c041d86f03
fix: add hidden flag to return count number of locks ( #3552 )
2020-12-30 14:58:00 -08:00
Anis Elleuch
e13737383f
mirror: FS should ignore some non supported S3 events ( #3554 )
...
Bucket creation & removal are events only supported by MinIO server and
they are not meaningful for FS. Just ignore them at FS level and avoid
reporting an error.
2020-12-30 07:02:10 -08:00
Damien Degois
c00afbc516
Fix code block issue in remote section ( #3531 )
2020-12-24 15:53:57 -08:00
Poorna Krishnamoorthy
766b69802c
Remove transition targets ( #3547 )
...
Remove transition targets from `mc admin bucket remote` command
and references to transition s.c label in `mc ilm add` command and docs.
This is being deprecated in favor of an improved approach
to transition in the works.
2020-12-24 14:09:26 -08:00
Anis Elleuch
864e4589ac
doc: Update missing versioning documentation ( #3417 )
2020-12-22 09:23:04 -08:00
Harshavardhana
41c804b179
fix: update to minio/pkg/console changes ( #3545 )
2020-12-20 10:10:29 -08:00
Anis Elleuch
fca6cb2815
cp: Add unit test for copying directories ( #3540 )
...
Add unit tests to copy a directory in S3 with and without a trailing
slash.
2020-12-18 09:19:36 -08:00
Anis Elleuch and Anis Elleuch
d0e1456be3
client-s3: Stat() should return data for passed directories ( #3539 )
...
Co-authored-by: Anis Elleuch <anis@min.io >
2020-12-18 02:42:34 -08:00
SaintMalik
2b99236a22
Fix broken url in docs ( #3537 )
...
## Summary
Easy navigation and easy reading for others
2020-12-17 08:53:22 -08:00
Harshavardhana
5023905a3a
use minio/pkg/certs instead of custom implementation ( #3536 )
...
also depends on https://github.com/minio/minio/pull/11123
for k8s automatic trust for MinIO deployments under operator
2020-12-16 19:41:15 -08:00
Poorna Krishnamoorthy
5ed74df9ed
Add mc admin bucket remote edit to edit credentials ( #3480 )
2020-12-16 15:51:29 -08:00
Anis Elleuch
4e8e67fb04
mirror: Add support of site-wide mirroring ( #3467 )
2020-12-14 14:10:09 -08:00
Harshavardhana
1967d38dd4
remove arm32 binary
2020-12-12 17:29:33 -08:00
Chengyou Liu and Harshavardhana
74fc02e5eb
Add --summarize for ls ( #3517 )
...
Co-authored-by: Harshavardhana <harsha@minio.io >
2020-12-09 15:26:29 -08:00
Harshavardhana
52fc5e8c15
fix extra space character in docker files
2020-12-07 16:17:40 -08:00
Nitish Tiwari
7ef637884c
Move to Red Hat UBI ( #3514 )
...
Also use multi-arch Dockerfile instead of separate
files for each arch.
2020-12-07 16:09:05 -08:00
Harshavardhana
24101f18aa
update minio/minio deps to honor dynamic config settings ( #3526 )
2020-12-07 16:02:56 -08:00
Harshavardhana
b6969bc501
add support for watching for replication/ilm events ( #3525 )
2020-12-07 12:23:11 -08:00
Harshavardhana
4dc0a44ebf
docs: update 'mc admin config' doc ( #3522 )
2020-12-03 23:56:18 -08:00
Harshavardhana
c691cc5488
update dependencies to minio master ( #3518 )
2020-12-03 13:43:12 -08:00
Anis Elleuch
d4fbfb5975
Show better looking help when a wrong flag is passed ( #3461 )
2020-12-02 22:19:26 -08:00
Harshavardhana
00873e4b93
update dependencies ( #3515 )
2020-12-01 18:44:48 -08:00
Harshavardhana
b1f5e78980
fix indentation/help across commands ( #3512 )
2020-12-01 16:34:43 -08:00
Ritesh H Shukla
bd7442fbc6
Add under what condition overwrite flag will copy data from source to target ( #3513 )
2020-12-01 12:26:01 -08:00
Lenin Alevski
c7989d06bc
Support for setting custom Transport in S3Client configuration ( #3510 )
2020-11-30 20:52:08 -08:00
Harshavardhana
681cbb06de
use directly S3 event types instead of re-defining them ( #3511 )
2020-11-30 09:10:34 -08:00
Shireesh Anjal
3dffa04f66
Implement new format of the health report ( #3492 )
2020-11-26 05:41:14 -08:00
Poorna Krishnamoorthy
060b0762fb
Remove trailing slash for mc admin bucket remote ls ( #3506 )
...
if any, after alias/bucket
2020-11-25 13:12:43 -08:00
Poorna Krishnamoorthy
df5f03a109
Fix cutoff header in mc admin bucket remote ls ( #3502 )
2020-11-25 12:05:37 -08:00
Harshavardhana
465e6cf63c
fix: indent help properly ( #3504 )
2020-11-25 12:05:05 -08:00
Anis Elleuch
25fd302af6
More flags check in replicate add command ( #3503 )
2020-11-25 10:20:43 -08:00
Poorna Krishnamoorthy
bf2f7f0292
do not append default port to target in bucket remote cmd( #3501 )
2020-11-24 17:12:37 -08:00
Poorna Krishnamoorthy
138587816a
Rename ilm set as ilm edit ( #3420 )
2020-11-23 13:46:44 -08:00
Cesar N
d4f9ea859d
Change GetOptions' fields to public ( #3498 )
...
This allows minio/console to take advantage of the current
S3Client Get function for downloading objects with version
2020-11-19 13:43:35 -08:00
Harshavardhana
adafa0024f
fix: allow mirror to perform 'dir/ -> alias/' ( #3493 )
...
fixes a regression introduced in #3488
2020-11-16 15:52:34 -08:00
Anis Elleuch
9ac1bf4a29
fix: copy bucket policy/lock config only with new buckets and with -a ( #3488 )
...
mc did not require -a to trigger mirroring of bucket policy & locking
configurations, this commit enforces this requirement. Besides, the config
mirroring will only happen if the mirror command is creating new buckets in
the target server.
2020-11-16 11:36:50 -08:00
Anis Elleuch
f3dd24f578
Implement barrier in parallel manager ( #3469 )
...
Mirroring watch supports parallel manager to run actions of the received
events in parallel, but sometimes the order of the execution of those
actions matter.
For example:
- A new bucket is created
- A new file is uploaded in the new bucket
This PR will bring support of the barrier concept. A task with a barrier
will only executed after all the previous tasks finish, the
subsequent tasks will also be only executed when the barrier task is
finished.
Later, we will bring support of tasks dependency to optimize the
parallelism.
2020-11-15 13:26:38 -08:00
Harshavardhana
3792e9f906
multiple bug fixes for mirror, ls, rm ( #3491 )
...
- fixes errant top level directory creation, regression introduced in #3313
- fixes `mc ls -r` regression introduced in #3476
- fixes other bugs such as `mc mirror` would perpetually hang if the
destination bucket doesn't exist, create and proceed instead.
- removes DirOpt style implementations for List, ListIncompleteUploads
these are not useful anymore.
2020-11-15 13:24:00 -08:00
Harshavardhana
f1c04ad4b8
fix: no reason to look for file extensions ( #3490 )
...
fixes #3489
2020-11-13 12:12:49 -08:00
Anis Elleuch
e216394765
Better autocompletion msg ( #3481 )
...
This commit also removes checking for msgp generated files since snap
command is not merged yet.
msgp check will be added in snap change.
2020-11-12 16:27:05 -08:00
Anis Elleuch
6ab70467cc
Always send MD5 when creating an empty directory ( #3487 )
...
Otherwise it could fail with a bucket with locking enabled.
2020-11-12 10:25:20 -08:00
Harshavardhana
b2ab462551
add workers per GOMAXPROCS ( #3483 )
2020-11-11 09:22:39 -08:00
Poorna Krishnamoorthy
786a53672b
Add flag to allow delete marker replication ( #3395 )
2020-11-10 19:36:48 -08:00
Harshavardhana
63ce578c46
update go mod tidy
2020-11-06 13:56:50 -08:00
Anis Elleuch
965747e45d
Fix client-s3.Makebucket behavior with object in path ( #3470 )
2020-11-06 09:38:43 -08:00
Anis Elleuch
0289d32164
errorIf(): Convert context canceled to canceling upon request ( #3463 )
2020-11-06 09:37:59 -08:00
Ritesh H Shukla
40e328eac2
Add support for setting bandwidth limit ( #3430 )
2020-11-03 16:02:17 -08:00
Harshavardhana
470ae1ee5f
allow empty buckets listed with mc ls -r ( #3476 )
2020-11-02 15:49:07 -08:00
Shireesh Anjal
50bfa26724
Remove logging info from health report ( #3465 )
2020-11-01 21:50:46 -08:00
Poorna Krishnamoorthy
ab396ae957
Add a --label flag to mc admin bucket remote add command ( #3443 )
2020-10-29 10:58:36 -07:00
Poorna Krishnamoorthy
7838365102
fix mc stat with --versions flag to show versionID correctly ( #3471 )
...
If --versions flag is specified, instead of HEAD currently
repeated listing is being done and latest version ID reported
for all the versions instead of actual version ID.
2020-10-27 16:54:05 -07:00
Anis Elleuch
6c2325129f
Simply queueing to parallel manager ( #3468 )
2020-10-24 14:02:35 -07:00
Anis Elleuch
fa4da03a4f
ls: Fix listing buckets with --versions ( #3462 )
...
mc ls --versions alias/ has an unexpected output due to missing
consideration of this use case. This commit fixes the behavior.
2020-10-22 17:35:51 -07:00
Maxime Bochon
d1232dc089
fix: missing closing part of code block and italic ( #3460 )
2020-10-22 09:23:59 -07:00
Harshavardhana
91c9364f3c
add context for mirror failures ( #3464 )
2020-10-21 13:42:18 -07:00
Shireesh Anjal
440f6dccbc
Deprecate admin health, add admin subnet health ( #3455 )
...
The existing command `admin health` is being restructured to `admin
subnet health` as the reports generated by this command are primarily
intended to be uploaded to Subnet.
If user runs the `admin health` command, they'll be asked to run `admin
subnet health` command.
2020-10-21 09:29:58 -07:00
Anis Elleuch
6bae0eb218
More fixes for retention/legalhold docs ( #3458 )
2020-10-19 14:00:02 -07:00
Ravind Kumar
b47b2e19a8
Update mc retention, remove mc lock links. ( #3457 )
2020-10-19 09:20:48 -07:00
Anis Elleuch
00f655ac41
Fix missing completion rules for new/modified cmds ( #3454 )
...
Add a unit test to check new or any command modification as well.
2020-10-18 11:35:15 -07:00
Anis Elleuch
b7a3dff287
Fix 'did you mean' message ( #3448 )
2020-10-12 09:53:51 -07:00
Anis Elleuch
8a8611cf74
s3: Stat() to filter object name when falling back to listing ( #3449 )
...
client S3 Stat() API tries to use HEAD requests but fall back to regular
listing when there is a permission issue with HEAD or when the object is
encrypted using SSE-C.
However the code accepts any entry from the minio-go listing API
which is wrong. It needs to only accept the object name as passed
by the the upper layer.
2020-10-10 15:24:39 -07:00
Anis Elleuch
bb2bfdc918
Show a better err msg when Control-C is hit ( #3446 )
...
Currently the error message is "context canceled" which is cryptic
2020-10-08 11:46:11 -07:00
Anis Elleuch
0324fdcc6e
mv: Fail only if bucket locking is enabled in source urls ( #3444 )
2020-10-08 11:04:49 -07:00
Anis Elleuch
2b36376bbc
retention: Fix status msg with info --default command ( #3445 )
...
Make the output little more prettier as well.
2020-10-08 11:04:33 -07:00
Shireesh Anjal
f11c3a9733
Update minio dependency and go version ( #3440 )
...
Update the minio dependency to latest master branch, and bump the go
version number to 1.14 (same as minio)
2020-10-07 22:19:11 -07:00
Anis Elleuch
3b65e9cba6
client-s3: List sends bucket names when bucket not specified ( #3439 )
...
This commit also has some simplifications in the the listing code.
2020-10-06 11:17:58 -07:00
Harshavardhana
f11ae85566
allow selection of tests in 'mc admin health' ( #3434 )
2020-10-02 12:02:03 -07:00
Cesar N
7f2df96e48
Change ListOptions' fields to public ( #3433 )
2020-10-01 09:50:56 -07:00
Anis Elleuch
4b34df590a
Makefile should check for possible changes in the generated code ( #3427 )
...
We should not release mc while the code is not according to the
generated code, like when we forgot to run go generate command.
2020-10-01 08:13:52 -07:00
Anis Elleuch
177f15db2e
Fix help for cp and head commands ( #3418 )
2020-09-30 16:06:38 -07:00
Anis Elleuch
2568f9e7bf
rm: Remove a delete marker ( #3422 )
...
A code refactor made rm to invoke HEAD request instead of LIST to stat
object to remove, and this introduced a problem removing a delete-marker
since HEAD of a delete-marker returns 405 Method Not Allowed
2020-09-30 15:13:19 -07:00
Harshavardhana
217f5fcbae
rename obd->health - keep the alias for now ( #3429 )
...
Also additionally fix colorjson usage
2020-09-30 13:10:29 -07:00
Poorna Krishnamoorthy
1ca2182203
Change mc stat output format for bucket info ( #3318 )
2020-09-30 13:07:19 -07:00
Harshavardhana
150d2494e9
update admin top locks implementation ( #3424 )
2020-09-29 09:18:00 -07:00
Harshavardhana
db1b508d8b
update minio to pkg/madmin changes
2020-09-23 13:00:06 -07:00
Harshavardhana
d24de97cde
pretty print KMS key status ( #3412 )
2020-09-23 08:32:57 -07:00
Nugine
3776dff20f
fix: make assert_failure exit properly ( #3415 )
2020-09-22 10:41:53 -07:00
Anis Elleuch
9ff6c146b4
rm: Show deleted error msg when delete marker is found ( #3407 )
...
HEAD object returns 404 with a delete-marker header when the object is a
delete-marker in a versioning bucket. This PR will show a better error
message in that case.
Use url2Stat() and ignore 400 bad request error.
2020-09-21 11:42:31 -07:00
Harshavardhana
ce0c109ae3
update json flag help to indicate the correct format ( #3411 )
...
some users may get confused without reading the docs
might end up assuming that --json is a full JSON document.
2020-09-21 00:43:41 -07:00
Andreas Auernhammer
0449df8887
admin: add new command for creating KMS master keys ( #3287 )
...
This commit adds a new admin command for creating
KMS master keys:
```
mc admin kms key create <alias> <key-name>
```
2020-09-19 22:00:46 -07:00
Anis Elleuch
a5d03c51e2
ls: New output format when versioning is enabled ( #3392 )
2020-09-19 21:56:37 -07:00
poornas
0c1f1e29f1
vendorize pkg/madmin needed for mc admin remote fixes ( #3410 )
2020-09-17 16:06:07 -07:00
Harshavardhana
1dde65d9c0
fix: display objects endpoint with / properly ( #3408 )
2020-09-17 15:34:47 -07:00
Anis Elleuch
f7b1b4a139
obd: Add log spinner ( #3406 )
2020-09-17 15:30:07 -07:00
Anis Elleuch
fede0756d4
Implement undo command ( #3394 )
2020-09-16 18:59:28 -07:00
John Hixson
64fb8f0a8f
FreeBSD build fixes ( #3404 )
...
commit a80eca5af8 broke mc from building
on FreeBSD. This commit seperates out the files to have individual NetBSD files.
2020-09-15 09:46:57 -07:00
Harshavardhana
93209e842c
re-implement metadata handling to preserve nanosecs as well ( #3402 )
2020-09-12 10:20:03 -07:00
Anis Elleuch
8f2ffbfa86
cp: Fix url check not considering version-id in some cases ( #3401 )
...
cp checks the existance of the source object in Type A and Type B, but
forgets to pass version-id as well. Fix this behavior.
2020-09-08 07:08:35 -07:00
Anis Elleuch
af6cff00a5
retention: Refactor and add support of versioning ( #3347 )
2020-09-06 10:33:15 -07:00
Anis Elleuch
7f550f9482
legalhold: Refactor & add versioning support ( #3343 )
2020-09-05 17:11:38 -07:00
Harshavardhana
19c49468b7
handle admin info output for offline nodes properly ( #3397 )
...
```
● localhost:9002
Uptime: 11 minutes
Version: 2020-09-03T23:04:07Z
Network: 3/4 OK
Drives: 1/1 OK
● localhost:9003
Uptime: offline
Drives: 0/1 OK
● localhost:9005
Uptime: 11 minutes
Version: 2020-09-03T23:04:07Z
Network: 3/4 OK
Drives: 1/1 OK
● localhost:9004
Uptime: 11 minutes
Version: 2020-09-03T23:04:07Z
Network: 3/4 OK
Drives: 1/1 OK
3 drives online, 1 drive offline
```
2020-09-04 14:33:41 -07:00
Harshavardhana
f992322606
fix encrypt info UI ( #3393 )
2020-09-02 10:28:22 -07:00
Harshavardhana
b7e4a633d8
rename all 'cannot' messages to 'unable to' ( #3388 )
2020-09-01 15:40:31 -07:00
Harshavardhana
5649deee40
fix ls output when latest version is delete marker ( #3391 )
2020-09-01 13:46:07 -07:00
poornas
b55e3e2d29
Update minio-go dependency ( #3390 )
2020-08-31 19:11:41 -07:00
飞雪无情
05d63c9aba
upgrade minio module to fix mc admin trace bug. ( #3385 )
...
fixes https://github.com/minio/minio/issues/10369
2020-08-31 18:11:45 -07:00
Harshavardhana
d5b4a04592
allow specifying a custom region override for any endpoint ( #3386 )
2020-08-31 09:04:22 -07:00
poornas
d584adda01
Add ilm set command ( #3384 )
2020-08-28 11:57:54 -07:00
Harshavardhana
25a043b508
continue to remove content upon any error ( #3383 )
2020-08-28 08:13:35 -07:00
Anis Elleuch
85cce08a85
cat: Fix a regression when copying from stdin ( #3381 )
...
`mc cat >/tmp/output` is not working properly due to mc cat versioning
changes, this commit fixes the issue to make mc cat works as expected.
It also adds a unit test for it.
2020-08-27 10:31:53 -07:00
Cédric Roger
8f1ce3c59f
Update minio-client-complete-guide.md ( #3382 )
2020-08-27 09:30:14 -07:00
Harshavardhana
41d337e95c
fix: messages for version-id and rewind ( #3380 )
2020-08-26 15:48:47 -07:00
Anis Elleuch
e10c597425
stat: Add support of --rewind, --versions and --version-id ( #3350 )
2020-08-26 15:04:52 -07:00
Harshavardhana
6fc39cdf8e
imply rewind correctly what it does ( #3373 )
2020-08-26 14:51:37 -07:00
Anis Elleuch
35632bc1af
head: Add support of --version-id and --rewind ( #3354 )
2020-08-26 10:38:35 -07:00
Anis Elleuch
a104aa1cb2
tag: Add --version-id support ( #3364 )
2020-08-25 21:40:09 -07:00
ebozduman
2a6bdd8164
preserve the same dir structure for backup and restore ( #3313 )
2020-08-25 17:16:48 -07:00
Harshavardhana
c58148a421
avoid calling get bucket object lock config for same bucket ( #3378 )
2020-08-25 10:50:40 -07:00
Anis Elleuch
b1ca6482d5
share: Support --version-id in Download command ( #3365 )
2020-08-21 00:08:55 -07:00
Anis Elleuch
54fab0ad8f
du: Add support of --rewind and --versions ( #3367 )
2020-08-21 12:10:24 +05:30
Harshavardhana
ebb05ce469
fix: rm --version-id option ( #3372 )
2020-08-19 16:55:02 -07:00
Harshavardhana
ce7ffc38df
fix: alignment in help for multiple commands ( #3371 )
2020-08-19 15:44:12 -07:00
poornas
ff9731a0d2
fix functional test test_copy_object_with_sse_rewrite ( #3369 )
...
`mc rm` on sse-c encrypted object needs encrypt-key flag passed.
2020-08-19 14:22:48 -07:00
Harshavardhana
b604a89a9c
rename 'config host add' to 'alias set' ( #3366 )
2020-08-17 22:41:42 -07:00
Harshavardhana
fe5e714593
migrate CI to go1.14, go1.15 ( #3361 )
2020-08-17 08:40:27 -07:00
Anis Elleuch
cd41dbc0a2
tree: Add --rewind flag ( #3359 )
2020-08-14 22:11:38 -07:00
Anis Elleuch
24e58fce38
ls: --rewind without --versions shows correct version number ( #3360 )
2020-08-14 15:46:12 -07:00
Anis Elleuch
6f2dc37ad8
cat: Add version-id flag ( #3352 )
2020-08-14 14:07:03 -07:00
poornas
eafc9ee7b4
Add --remote-bucket as flag in mc replicate add/set ( #3349 )
2020-08-14 13:59:52 -07:00
Tobias Nygren
a80eca5af8
fix mc build on NetBSD ( #3358 )
2020-08-13 15:09:23 -07:00
Harshavardhana
091a109e5a
fix: set replace metadata to preserve ( #3356 )
2020-08-12 19:41:44 -07:00
Harshavardhana
cdb458c987
fix: do not close contentCh prematurely without versioning
2020-08-12 16:03:30 -07:00
Harshavardhana
f9dc22561c
fix: mc rb site-wide removal with versioning ( #3355 )
2020-08-12 14:19:10 -07:00
poornas
5ad2d36f5c
Add ReplicationStatus to stat cmd output ( #3351 )
2020-08-11 14:19:17 -07:00
Anis Elleuch
6313ee7dab
Add versioning support for rm cmd ( #3339 )
2020-08-10 15:19:06 -07:00
Anis Elleuch
73d8b35425
cp: Add support of --version-id flag ( #3342 )
2020-08-08 20:15:34 -07:00
Harshavardhana
4d70066990
use credits file from master
2020-08-07 23:05:18 -07:00
Anis Elleuch
7e52c104be
ls: New printing format for versions ( #3341 )
2020-08-07 17:56:14 -07:00
kannappanr
588a8fcd17
rename versioning to version ( #3345 )
2020-08-07 13:32:11 -07:00
poornas
0ba1633a04
Change admin bucket remote cli args ( #3340 )
...
Add support to list all remote targets for a tenant
2020-08-07 10:52:09 -07:00
poornas
069968c8aa
Change replicate command cli ( #3335 )
2020-08-07 08:15:27 -07:00
Anis Elleuch
0c4b649369
stat: Show lifecycle expiration date if set ( #3344 )
...
Add a new field in the stat output to show if the object has any
expiration date due to lifecycle expiration rules. The expiration date
is show in machine local time.
2020-08-06 14:19:41 -07:00
Harshavardhana
bd03dfbb15
fix: docs command line typo
2020-08-03 18:26:58 -07:00
Harshavardhana
9498227542
fix: fallback listing to regular objects ( #3338 )
2020-08-03 17:22:33 -07:00
Harshavardhana
32c13f2977
fix: rb command regression deleting bucket ( #3337 )
2020-08-03 15:32:42 -07:00
Harshavardhana
6f8859262c
fix go mod tidy
2020-08-03 14:01:50 -07:00
poornas
cd1f28e20c
Rename mc admin bucket replication command ( #3328 )
...
Rename to `mc admin bucket remote` to manage generic
bucket targets
2020-08-03 13:57:54 -07:00
Anis Elleuch
b1aa159838
rb: Delete object versions as well ( #3322 )
2020-08-03 13:54:07 -07:00
Harshavardhana
3c0bc7ec33
update CREDITS with new deps ( #3336 )
2020-08-01 11:53:13 -07:00
Harshavardhana
6a98216c53
rename all bucket commands ( #3334 )
2020-07-31 15:18:57 -07:00
poornas
7ffa755cd9
Move version commands to top level ( #3329 )
2020-07-30 09:53:15 -07:00
kannappanr
0631315535
Fix mc encrypt documentation ( #3330 )
2020-07-29 23:12:26 -07:00
poornas
2be7f6dd13
Fix example for mc admin bucket quota ( #3326 )
2020-07-29 21:27:07 -07:00
poornas
ceb216f8a3
Add mc encrypt command ( #3312 )
2020-07-29 21:26:42 -07:00
Anis Elleuch
d93b7f7638
More fixes in the doc for mc alias command ( #3327 )
2020-07-28 15:04:27 -07:00
Anis Elleuch
ec734d0f71
Add --rewind flag for cat command ( #3321 )
2020-07-28 13:19:56 -07:00
Anis Elleuch
90dc31f6ba
Move from mc config host to alias command ( #3311 )
...
```
mc alias set
alias remove
alias list
```
are new commands that replace mc config host sub-commands.
mc config host will still be available but hidden for backward
compatiblity. The JSON output is also kept if the user is running mc
config host command.
2020-07-28 10:26:41 -07:00
Harshavardhana
9c09f78982
add license section about Apache2.0
2020-07-26 01:02:14 -07:00
Harshavardhana
90d22b271f
move 'mc ilm' to 'mc bucket ilm' ( #3320 )
...
update relevant docs and use the same
usage message consistently
2020-07-25 11:31:42 -07:00
poornas
2750c4bfe6
Add replication commands ( #3272 )
...
`mc admin bucket replication` command
manages replication targets on MinIO server
`mc bucket replicate` allows setting replication
configuration on the source bucket
2020-07-24 12:34:13 -07:00
poornas
c61a26269f
Move mc lock to mc bucket lock ( #3309 )
2020-07-24 01:18:55 -07:00
Anis Elleuch
65d564dd87
ilm: Add ignores bucket lifecycle not found error ( #3315 )
2020-07-23 11:31:13 -07:00
Anis Elleuch
442facedd1
Implement rewind flag in ls and cp commands ( #3304 )
...
--rewind will go back in time and select specific object versions that are
the latest at the specified time.
--versions will display all the versions
cp will just ignore if the latest version is a delete marker
ls will print delete markers with a (deleted) at the end
2020-07-23 11:18:38 -07:00
Anis Elleuch
a2592cef84
mirror: Exit with status code 1 if source does not exist ( #3314 )
2020-07-22 17:48:15 -07:00
poornas
023e56e0a1
Add mc bucket version command ( #3308 )
2020-07-21 10:10:57 -07:00
Anis Elleuch
c8a3b7bff0
ilm: Add doc to the complete mc guide ( #3270 )
2020-07-19 12:46:30 -07:00
Harshavardhana
12acca5abd
upgrade minio-go to fix lifecycle removal issue ( #3310 )
2020-07-19 12:40:37 -07:00
Harshavardhana
67f2472d24
api: upgrade to minio-go v7.0.1 ( #3306 )
2020-07-17 08:03:04 -07:00
Dmitry Afanasiev
f19a10dce2
fix attr argument parsing - support quoted keys and values ( #3294 )
2020-07-16 19:23:35 -07:00
Harshavardhana
ea8c0db96e
update minio-go/v7 APIs again ( #3305 )
2020-07-16 18:03:17 -07:00
Harshavardhana
0b0acc611f
Revert "cli: Load global flags in initBeforeRunningCmd ( #3283 )" ( #3302 )
...
This reverts commit 712ff33319 .
2020-07-16 11:10:35 -07:00
ebozduman
7b5d5ea990
Fixes --attr regression ( #3303 )
2020-07-16 08:59:38 -07:00
Anis Elleuch
56c2c1a5c5
Fix object copying after upgrading to v7 ( #3298 )
2020-07-15 16:53:38 -07:00
Harshavardhana
f3c9e9172a
honor preserve flag during Copy operation ( #3299 )
...
continuation of #3285 which wasn't complete
2020-07-15 16:39:04 -07:00
Harshavardhana
9193388568
fix go mod tidy
2020-07-14 15:50:12 -07:00
Anis Elleuch
a419bb4130
Use minio-go v7 and madmin master ( #3295 )
2020-07-14 11:15:19 -07:00
Harshavardhana
469665f886
update the correct cross platform qemu
2020-07-10 23:02:15 -07:00
Harshavardhana
5d98d19608
for release use the dl.min.io for containers
2020-07-10 22:40:06 -07:00
kannappanr
9d762f5aa6
Fix typos in the examples ( #3289 )
2020-07-07 21:08:33 -07:00
P R
51a3d287bb
mc ilm list cell alignment for text ( #3291 )
2020-07-07 20:52:01 -07:00
Harshavardhana
fbb7d75c1c
support proper proxy for all transports ( #3290 )
...
fixes #3225
2020-07-07 17:07:49 -07:00
Harshavardhana
53dc65c92a
move to latest released minio to fix policy ( #3288 )
...
fixes #3265
2020-07-07 12:19:48 -07:00
ebozduman
d811d416a5
Fixes copy with partial metadata failure ( #3282 )
2020-07-06 17:22:06 -07:00
Harshavardhana
ba37e08f1f
support goreleaser for mc ( #3286 )
2020-07-05 18:37:43 -07:00
ebozduman
5c713e5ecb
Adds support to preserve X-Amz-Meta-Mc-Attrs when os -> fs ( #3285 )
2020-07-03 15:31:27 -07:00
Anis Elleuch
712ff33319
cli: Load global flags in initBeforeRunningCmd ( #3283 )
...
app.Before receives a cli.Context but without flags parsed. There is no
point calling ctx.Bool() or ctx.IsSet() at that stage.
However, flags are parsed in commands, so minio initialization and
setting global variables (globalJSON, globalQuiet, etc..) can be moved
to the Before function of all commands.
Avoid setting command.Before for non leaf commands, otherwise Before
function will be called multiples times until it reaches the leaf
command.
2020-07-01 17:28:43 -07:00
Anis Elleuch
90d6e7df24
policy: Recalculate permission mode after setting a new one ( #3280 )
...
`mc policy set` can confuse users by showing that a bucket has 'none'
policy mode although issuing `mc policy get` will show it is `custom`
when the bucket already other policy statements for some sub-resources.
For better UX, mc will issue another request to get the real policy
mode.
2020-07-01 09:22:22 -07:00
poornas
b8570a9a0b
Fix mc cp regression for recursive copy ( #3278 )
...
Fixes #3267 . Revert commit dc430afe07
which attempted to preserve similar behavior across mc cp and mc
mirror, but introduces a regression for cp when wildcards are
specified.
2020-06-29 20:33:31 -07:00
Anis Elleuch
360d094828
s3: Use list object v1 in case of GCS ( #3274 )
2020-06-24 05:22:29 -07:00
Harshavardhana
08685bae6a
make sure active/active enables watch by default ( #3271 )
...
- effectively use context everywhere
- effectively look for source-mtime in all
variations
- `mc diff` should do metadata diff as well
2020-06-23 16:56:08 -07:00
Harshavardhana
4989d51e2c
fix: overwrite is implicit with active-active ( #3268 )
...
refactor lengthy options as mirrorOptions{} for
ease of readability and usage.
2020-06-22 23:41:24 -07:00
Harshavardhana
a62a539399
fix: support STS for admin commands ( #3264 )
2020-06-19 12:37:57 -07:00
ebozduman
d5b6931a1e
Apply global context for all apis ( #3240 )
2020-06-16 16:55:31 -07:00
poornas
397f41c71c
Fix mc cp when legal-hold or retention is set ( #3257 )
...
- Send Content-MD5 header if default retention is set on the bucket
- legal-hold needs to be case insensitive
2020-06-16 12:13:35 -07:00
Harshavardhana
707f46c32b
rename multi-master to active-active ( #3255 )
2020-06-15 18:16:31 -07:00
Anis Elleuch
133dd1f7da
add helpers for repeated code in bucket and object info ( #3251 )
...
Use bucketInfo2ClientContent() and objectInfo2ClientContent()
extensively to avoid code duplication.
2020-06-12 07:40:49 -07:00
Klaus Post
bdefdc0169
cp: Fix Windows paths ( #3250 )
...
Paths without `/` separator were not trimmed correctly.
Fixes #3241
Regression originating from #3115
2020-06-10 09:31:59 -07:00
Anis Elleuch
c51e3b3ec9
Return 1 as exit code when the cmd is unknown ( #3249 )
2020-06-09 08:52:04 -07:00
Harshavardhana
88223f96be
simplify FS put behavior for partial files ( #3246 )
2020-06-08 12:26:03 -07:00
Harshavardhana
fa520cbd1a
enable golang-lint CI run and -race tests ( #3247 )
2020-06-08 05:55:10 -07:00
Justin Hutchings
166db95464
Add CodeQL security scanning ( #3243 )
2020-06-05 10:26:11 -07:00
Federico Pellegrin
0e27dd4ed4
Fix policy command flags order online help and partially doc ( #3244 )
2020-06-05 01:09:38 -07:00
kannappanr
2403e7a744
Check if destination and source are same ( #3234 )
...
Fixes #3229
2020-05-27 20:15:08 -07:00
Anis Elleuch
ea03e61fac
Avoid annoying error when alias has a leading slash ( #3236 )
...
```
mc config host list
mc config host add
mc config host remove
mc admin prometheus generate
```
The above mc commands generate an annoying error message complaining
about the leading slash in the alias argument.
Although alias does not support any slash or backslash, we allow the
user to enter it for convenience and the code will just clean it before
using it.
2020-05-27 14:23:31 -07:00
poornas
f55e9c1997
Add admin bucket quota command to manage quota ( #3179 )
2020-05-26 22:56:53 -07:00
kannappanr
7664bb2c8d
mirror: check if bucket exists before creating it ( #3233 )
...
Fixes #3228
2020-05-26 20:04:20 -07:00
kannappanr
09f832f597
copyobject: Do not ignore storage class in the target ( #3232 )
...
Fixes #3230
2020-05-24 14:23:28 -07:00
Anis Elleuch
4cc297ba4e
diff: Disable comparing modtimes when multimaster context is not found ( #3226 )
2020-05-21 23:50:29 -07:00
Harshavardhana
bf731558cd
remove panic on double close watch channel ( #3223 )
2020-05-19 14:31:24 -07:00
Anis Elleuch
949dd282f9
fix copy issue when the source is not seekable ( #3216 )
...
The downloaded data will be stored in [file].part.minio
first and then renamed to [file]
The code also does not behave correctly when the source
reader is not seekable. the reader is wrapped by a reader
hook and then tested if it is seekable or not, though the
reader hook is always seekable.
2020-05-18 20:05:46 -07:00
P R
61b74e90bf
mc ilm fix some functionality changes ( #3221 )
2020-05-18 19:57:08 -07:00
Harshavardhana
3b479cf92e
refactor cleanup ilm command to make it more maintainable ( #3220 )
2020-05-15 16:54:34 -07:00
Bala FA
09c31c4ab2
add bucket tagging support ( #3182 )
2020-05-15 12:10:50 -07:00
Anis Elleuch
71196b1013
completion: Complete path starting with ~/ ( #3217 )
...
posener/complete library does not support paths starting
with a tilde. This commit implements a workaround for that.
2020-05-15 08:12:47 -07:00
P R
72c8e92459
Add ilm command. ( #3097 )
2020-05-14 08:55:21 -07:00
César Nieto
a6d82862cd
make WatchOptions and WatchObject fields public ( #3218 )
2020-05-12 10:42:34 -07:00
ebozduman
672390b86a
fix a simple typo #3159
2020-05-09 21:33:26 -07:00
Harshavardhana
2e586e6b9d
support session tokens as part of ENV ( #3213 )
2020-05-07 15:21:12 -07:00
P R
ad0bc4c33d
progress bar update on obj write failure ( #3195 )
...
Fixes #3193
2020-05-07 10:28:27 -07:00
ebozduman
a75dca16bd
fix: cp preserve ownership issue ( #3202 )
2020-05-07 09:00:48 -07:00
Bala FA
4e3b501528
add --storage-class flag to pipe command. ( #3204 )
...
Fixes #3157
2020-05-06 23:06:01 -07:00
Harshavardhana
dc2ad27429
fix mirror crash if source is deleted ( #3206 )
2020-05-05 23:55:35 -07:00
Harshavardhana
b99c313366
cleanup legal-hold/retention and update docs ( #3197 )
2020-05-04 20:09:36 -07:00
kannappanr
e13751f5d5
doc: Remove example related to object locked bucket ( #3201 )
...
mv does not support this command for object locked buckets.
2020-05-04 10:09:49 -07:00
Bala FA
ca650e227a
fix: create empty probe error to fatalIf() ( #3199 )
...
Fixes #3198
2020-05-04 07:58:28 -07:00
Harshavardhana
df8bb795ba
refactor watch mirror for performance ( #3196 )
2020-05-02 12:07:21 -07:00
Harshavardhana
2fe7d04043
run go mod tidy
2020-04-26 15:34:57 -07:00
Nitish Tiwari
138d7656ba
fix: Update to use minio-go with jsoniter ( #3191 )
...
Also remove unused args in doMirror()
2020-04-24 23:56:51 -07:00
Anis Elleuch
2018319125
sql: Adapt the code to the change in minio-go SQL API ( #3161 )
2020-04-24 09:34:51 -07:00
Harshavardhana
c8c5c15249
fix auto-complete for missing commands ( #3189 )
2020-04-23 20:11:35 -07:00
Chloe Kudryavtsev
32d8ef24ef
feat: allow fetching arbitrary object puburls ( #3043 )
...
This fix should be backward-compatible, since strings do not need
to be initialized by default, and JSON explicitly allows it to be omitted
when empty.
2020-04-22 18:36:41 -07:00
ebozduman
f82a7b13c1
fix: copy filesytem to objectstore regression ( #3183 )
2020-04-22 18:28:50 -07:00
BigUstad
49c2beec79
check object stat first before continuing with sql select call. ( #3188 )
2020-04-22 18:28:30 -07:00
Harshavardhana
24a72e4a33
fix add disable-multipart/md5 options for mirror ( #3174 )
2020-04-21 13:05:01 +05:30
Anis Elleuch
c7166eac3a
mirror: Use source time attr in multi-master mode ( #3162 )
2020-04-20 17:03:47 -07:00
Harshavardhana
20dd7011b9
Add lock/stale bot
2020-04-19 13:42:05 -07:00
Harshavardhana
f23f814764
fix: allow watch to use queueCh from parallel manager ( #3180 )
2020-04-19 10:59:05 -07:00
kannappanr
e1617a504b
Canonicalize metadata recevied as part of events ( #3181 )
2020-04-19 10:10:40 -07:00
Harshavardhana
89930fed29
rb shouldn't hang on empty folders ( #3178 )
...
fixes #3176
fixes #3177
2020-04-19 09:50:18 -07:00
Marco Perrando
8c262e1f3f
Fix: sql does not accept --encrypt-key flag. ( #3175 )
2020-04-18 23:09:07 -07:00
Harshavardhana
e6a6cfcebf
Update issue templates
2020-04-17 12:12:42 -07:00
Harshavardhana
bb43b2adf1
add bug_report template
2020-04-17 12:09:51 -07:00
Harshavardhana
2d6a960f94
fix avoid multiple HEAD operations ( #3173 )
...
- Get() already has the metadata to preserve
- Stat() doesn't need to be sent multiple times
do preserve attributes, use it once.
2020-04-17 01:01:34 -07:00
Harshavardhana
4036009dc2
fix optimize content-type detection for only FS ( #3172 )
...
Also avoid a secondary Stat() operation during
GetObject(), when preserving the metadata
Fixes #3170
2020-04-16 19:03:02 -07:00
BigUstad
ab2500e2ef
match S3 within URL in full appropriately ( #3163 )
...
Fixes #3140
2020-04-16 18:25:40 -07:00
Harshavardhana
5c4add2000
optimize client admin transport ( #3168 )
2020-04-16 18:24:11 -07:00
Anis Elleuch
59187f2ef7
s3: Use head API before listing in client.Stat() ( #3156 )
...
Stat() is supposed to return valid information for existing
objects and existing prefixes as well.
The current mechanism issues a listing request and searches
for the object or prefix in the returned list, but this could take
time if there are a lot of entries under a parent prefix.
The new commit changes the internal behavior but not the
functional output. It issues a HEAD request first, if there
is no object then assumes it is a prefix and does listing
in order to find it.
2020-04-16 16:23:37 -07:00
Nitish Tiwari
37ee28a051
Enforce issue templates for new issues ( #3171 )
2020-04-16 12:13:11 -07:00
Harshavardhana
91ca683b03
improve signature probe avoid repeated code ( #3169 )
2020-04-16 11:45:28 -07:00
Harshavardhana
68b638f2f9
update mc to latest minio ( #3167 )
2020-04-15 12:37:18 -07:00
Daniel Valdivia
42023a1298
allow mc event remove to remove individual events ( #3145 )
2020-04-14 18:44:29 -07:00
BigUstad
150bc75a2c
Documentation for mc tag ( #3136 )
2020-04-14 18:40:29 -07:00
Harshavardhana
4388f6d69b
trim alias from obd filename avoid local write failure ( #3164 )
2020-04-14 17:37:31 -07:00
Sidhartha Mani
9e4e435c56
make admin obd deadline configurable ( #3154 )
2020-04-14 13:12:06 -07:00
Bala FA
dfa1e42b25
add mc mv command ( #3134 )
...
Fixes #3077
2020-04-14 11:59:16 -07:00
Harshavardhana
cb9e103714
upgrade to latest pkg/madmin package ( #3151 )
2020-04-10 08:57:45 -07:00
ebozduman
dee04e3d73
Adds and rewords policy examples ( #3146 )
2020-04-08 18:53:34 -07:00
Nitish Tiwari
18f81e5458
cp: Add object lock related flags ( #3127 )
...
- Adds --retention-mode,--retention-duration &
--legal-hold flags in cp command
- Adds --bypass flag in rm command
2020-04-07 19:51:20 -07:00
Harshavardhana
8cae137525
fix all the build errors
2020-04-03 22:22:20 -07:00
Bala FA
3b31837927
add disableMultipart option to Copy() ( #3141 )
2020-04-03 20:14:05 -07:00
Harshavardhana
f0f56ac906
update to minio-go latest release v6.0.52 ( #3142 )
2020-04-03 18:16:56 -07:00
Daniel Valdivia
4d36c1f8b8
Make NewS3Config and NewAdminFactory Public ( #3138 )
2020-04-02 19:41:31 -07:00
César Nieto
a9e875b503
set S3Client struct as public ( #3139 )
2020-04-02 19:33:44 -07:00
Bala FA
51ef254a41
add --disable-multipart flag in cp ( #3135 )
2020-04-02 08:21:33 -07:00
Harshavardhana
e05f02d9f4
add build trimpaths to remove gopath ( #3137 )
2020-04-01 15:09:42 -07:00
Daniel Valdivia
0ea8d1d479
Make BuildS3Config public ( #3132 )
2020-04-01 07:41:53 -07:00
Sidhartha Mani
eeeca2332d
Onboard Diagnostics ( #3114 )
...
Also colorize JSON output in all admin commands
2020-04-01 01:35:46 -07:00
BigUstad
080414009e
mc watch windows URL/absolute path event path ( #3133 )
2020-03-31 09:50:29 -07:00
poornas
25de1da81b
Add legalhold command ( #3095 )
2020-03-31 09:18:26 -07:00
kannappanr
1fb87a492e
cleanup tag command ( #3126 )
2020-03-23 09:23:52 -07:00
BigUstad
71eb7f6689
Add tag command ( #3117 )
2020-03-22 20:59:49 -07:00
Anis Elleuch
64a78e7811
Add global context and adapt context change in admin API ( #3125 )
...
This commit adds a new global context, monitors os signals
and cancels the global context in such cases to exit
on going process gracefully.
It will also update minio-go and adapts the code with
the new context changes in the admin API.
2020-03-21 13:42:41 -07:00
Harshavardhana
b010699112
cleanup legacy metadata handling ( #3118 )
2020-03-19 17:00:20 -07:00
poornas
3230acae32
mc retention: add --recursive and --bypass flags. ( #3100 )
...
--bypass flag allows overriding governance if user
has override permissions
2020-03-19 12:24:09 -07:00
ebozduman
91da0da183
fix for incorrect mtime handling ( #3121 )
2020-03-18 11:33:53 -07:00
Anis Elleuch
fc04dc6463
info: Add missing new lines in the output ( #3119 )
2020-03-17 15:28:21 -07:00
poornas
fd43df09a1
mc cp: Fix prefix handling in TypeC ( #3115 )
...
for copy from filesystem to objectstorage.
Avoid prefixing dirname to file on target side
when doing a `mc cp /tmp/dir myminio/bucket --r`
to make `mc mirror` and `mc cp` behavior consistent
2020-03-15 17:47:35 -07:00
Anis Elleuch
b621ae58f5
heal: Show scheduled next healing ( #3111 )
...
mc admin heal alias command will show the next healing time.
Also, show 'Never completed' when the server returns zero last healing activity
2020-03-14 22:30:27 -07:00
Jeffrey Clark
bcbbfa7352
Secret key prompt ( #3083 )
2020-03-14 00:03:44 -07:00
Anis Elleuch
5b5d65a142
info: Fix showing offline nodes in the pretty output ( #3112 )
...
Also do some simplification in the code.
2020-03-13 18:16:17 -07:00
Klaus Post
1a27f7f51d
mc cp -continue: Fix escape/colorization of JSON ( #3116 )
2020-03-13 13:21:39 -07:00
poornas
1092f6932f
fix: Make sure Ctrl-C cancels mc cp right away ( #3113 )
2020-03-11 21:42:38 -07:00
Nitish Tiwari
128f81461c
Update docs for mc admin update ( #3110 )
2020-03-10 21:34:54 -07:00
Kody A Kantor
7a26f993a2
resolve build issues on illumos ( #3098 )
2020-03-09 21:23:21 -07:00
Anis Elleuch
c170a2db6c
Update minio-go to bring some fixes ( #3106 )
2020-03-06 15:21:06 -08:00
Harshavardhana
d58cf3c8c6
fix go mod tidy
2020-03-06 12:14:00 -08:00
Anis Elleuch
a7dd97f140
Add support of threads & goroutines profiling type ( #3108 )
2020-03-06 12:12:38 -08:00
kannappanr
093bf0d54a
deprecate 'mc session' documentation ( #3104 )
2020-03-05 09:27:51 -08:00
kannappanr
a0d9e26dc7
Support arm32, 386 compilation: ( #3103 )
2020-03-05 09:27:20 -08:00
Harshavardhana
24e7caa146
Use listObjectsV1 for GCS S3 implementation ( #3101 )
...
Fixes #3073
2020-03-03 23:13:10 +03:00
poornas
b65d6797cd
retention - cleanup unused code ( #3094 )
2020-02-26 10:56:49 +05:30
Harshavardhana
67e90b8fcb
fix handling of directories in Stat ( #3092 )
...
Fixes #3089
Fixes #3091
2020-02-25 18:08:20 +05:30
Dmitry Wagin
fd89251270
added pkg/disk/stat_freebsd.go ( #3090 )
2020-02-25 09:26:56 +05:30
Harshavardhana
4152714126
fix go mod tidy again
2020-02-19 12:05:24 +05:30
ebozduman
3862184a8a
honor prefix for object and directory names in 'rm -r' ( #3012 )
2020-02-19 10:42:41 +05:30
Harshavardhana
7e1e91d9c9
go mod tidy ( #3081 )
2020-02-19 09:02:21 +05:30
Harshavardhana
5d9a04bac6
allow mirror to copy zero byte file ( #3084 )
...
this PR also cleans up code and avoids
extra calls for source target
2020-02-18 11:09:42 -08:00
kannappanr
2f2aecb09d
use latest minio-go version ( #3080 )
2020-02-14 11:22:22 -08:00
poornas
e03d8d99a3
Fix crash in mc admin console ( #3079 )
...
Fixes : #3078
2020-02-14 10:54:22 -08:00
Harshavardhana
f7c366ae3d
add debug support for 'config host add' ( #3076 )
2020-02-13 21:36:10 +05:30
Harshavardhana
0724774bd8
Fix go.sum file missing entries ( #3071 )
2020-02-06 12:02:46 +05:30
Andreas Auernhammer
551a124804
add the mc admin kms subcommands ( #2882 )
...
This commit adds the first set of KMS admin
commands.
For new there is only the
`mc admin kms key status <endpoint> [key-ID]` command
that can be used to fetch status information for a
KMS master key. Listing and rotation commands are
planed.
2020-02-05 10:29:17 -08:00
Reinhard Koehn
609274326b
Ensure 64bit alignment on 32bit builds for atomics ( #3065 )
...
Keep elements that are used with atomic.* functions as first element
of struct because it guarantees 64bit alignment on 32 bit machines.
atomic.* functions crash if operand is not aligned at 64bit.
See https://github.com/golang/go/issues/599
2020-02-04 13:17:27 -08:00
ebozduman
ac9b942397
check for bucket exists in 'admin heal' ( #3059 )
2020-02-01 10:55:13 -08:00
Harshavardhana
b70a79e39b
fix: handle symlinks by reading/following as needed ( #3053 )
...
Avoid using filepath.EvalSymlinks and let the caller
fail appropriately for symlinks.
Fixes #3011
2020-01-23 02:33:58 -08:00
Harshavardhana
0baee49a66
fix: update admin docs for latest changes ( #3054 )
2020-01-20 16:51:06 -08:00
Harshavardhana
6a2da1a6ef
upgrade to latest server to remove replace tags ( #3051 )
2020-01-18 17:01:00 -08:00
Harshavardhana
28aae43c8c
fix: best effort save permissions always ( #3050 )
2020-01-17 14:02:12 -08:00
Harshavardhana
0596acea95
admin/console: Fix a crash in console string generation ( #3049 )
2020-01-17 05:51:01 -08:00
Harshavardhana
8694ddb3ee
Update pkg/madmin to support multiple profilers ( #3048 )
2020-01-16 12:31:49 -08:00
Maël Valais
c27941bc2a
cp: add missing } in help template ( #3047 )
2020-01-15 01:43:14 -08:00
Harshavardhana
79e183fd0f
fix: update minio-go to support snowball data-transfer ( #3042 )
2020-01-11 15:15:30 -08:00
Anis Elleuch
632f0949bd
retention: Error out early when url argument does not point to S3 server ( #3041 )
2020-01-10 16:53:09 -08:00
Harshavardhana
374100da7e
fix: update docs for --attr command ( #3040 )
...
Also canonicalize metadata headers automatically
before, minio-go consumes it.
2020-01-10 19:18:42 +05:30
Harshavardhana
3f87064138
fix: du to ignore too many recursive symlinks ( #3033 )
2020-01-08 07:30:44 -08:00
Harshavardhana
63821bbe3f
fix: crash in cp when cpURLs return error ( #3035 )
2020-01-07 12:17:00 -08:00
Klaus Post
2a66f9ba2b
Only rename config directories ( #3032 )
...
If the user placed an `mc.exe` in the user directory and wasn't used it, it would be renamed.
2020-01-07 10:45:39 -08:00
poornas
27a033440e
Add lock and retention docs ( #3034 )
2020-01-06 15:16:47 -08:00
Bala FA
50766862c1
fix default flag behaviour in du command ( #3031 )
...
- `mc du` without args should print help like other `mc` commands
- `mc du` should behave like `du -h --max-depth=1` as default
- optional `--recursive` if they want capacity for each folder.
fixes #2871
2020-01-04 12:56:35 -08:00
Harshavardhana
6d1a41458b
Use colorjson to indent json properly in cp ( #3030 )
...
Additionally also do not initialize progress bar in json
or quiet mode in mirror.
Fixes #3029
Fixes #3017
2020-01-03 12:14:39 -08:00
Harshavardhana
9663319e9e
Update mc dependencies to recent dep change on MinIO ( #3026 )
2019-12-31 11:27:59 -08:00
kannappanr
8f0b923312
Mirror: Generate STag and ETag on destination only in Multimaster mode ( #3021 )
2019-12-26 12:54:28 -08:00
Harshavardhana
7c9ea88742
Update to latest minio/minio ( #3020 )
2019-12-24 05:46:13 -08:00
Harshavardhana
ee283811a3
fix: ignore APINotImplemented errors from filesystem ( #3018 )
2019-12-19 15:24:34 -08:00
Harshavardhana
d92d2f0d4f
Upgrade to new Listen bucket API ( #3008 )
2019-12-14 08:53:55 -08:00
Anis Elleuch
f2f8f858a6
cp: Only use session when -c is passed ( #2989 )
2019-12-13 10:20:56 -08:00
ebozduman
64e0c36e3b
Extraneous line in 'mc admin info' output ( #3010 )
2019-12-12 12:01:22 -08:00
ebozduman
85f814eb44
Stops showing usage info if Bucket#=0 ( #3007 )
2019-12-11 20:46:30 -08:00
ebozduman
2616a1d051
New admin info ( #2982 )
2019-12-11 18:25:55 -08:00
BigUstad
7038207039
Replace Timestamp separator ( #3002 )
...
Replace time stamp separator to use `-`
2019-12-11 17:33:17 -08:00
Klaus Post
23aab5b458
mc sql: Use compression parameter ( #2996 )
...
The compression parameter is not actually used, but always guessed from the file extension.
Only guess the compression type if it is not explicitly set.
Uploading a file called `out.csv.geezipd`:
Before:
```
λ mc sql -e="SELECT * from s3object LIMIT 1" --compression=GZIP --csv-input "rd=\n,fh=USE,fd=;" local/test/out.csv.geezipd
�""���k↔��Xs��W.v� ��)��{2#��,r���:�|D▲�.��f♫��→�i�p�2l�♫��ʭ���Q��v▲�5ر�c
```
(content actually not ungzipped)
After:
```
λ mc sql -e="SELECT * from s3object LIMIT 1" --compression=GZIP --csv-input "rd=\n,fh=USE,fd=;" local/test/out.csv.geezipd
"281,1285,159625,159627,2637,20000827.0117590018,1239029,1663,-6.7535419,1533,0.53597438,8"
```
We leave validation of the compression value to the server.
2019-12-11 09:24:45 -08:00
Harshavardhana
e109a5370a
Multi-master only run single startMirror at a time ( #3003 )
...
Also randomize the sleep appropriately based
on Unix() time source.
2019-12-10 23:00:41 -08:00
poornas
871b8da9a6
Fix mirroring of PutObjectRetention event ( #3004 )
2019-12-10 16:23:42 -08:00
Harshavardhana
34757e2ce2
Mirror with fallback list in multimaster mode, copy missing files ( #2999 )
2019-12-09 07:56:18 -08:00
Harshavardhana
dff0f0318c
Avoid mirror fatalIf in multi-master ( #2998 )
2019-12-09 18:50:11 +05:30
Harshavardhana
45df811a89
update minio-go to master ( #2995 )
2019-12-09 01:36:25 -08:00
Krishna Srinivas
8a488ba0e4
Do full scan diff+mirror in multi-site mirror mode ( #2994 )
2019-12-09 01:32:58 -08:00
Krishna Srinivas
ea0a4b2142
Fix multi-master setup help text ( #2993 )
2019-12-09 00:52:47 -08:00
kannappanr
4482063fb9
Retry mirror forever on watch ( #2992 )
2019-12-08 19:44:46 -08:00
Krishna Srinivas
2d8bd7aecc
Support for multi master sites ( #2991 )
2019-12-08 16:25:50 -08:00
Harshavardhana
69bea2eb96
Continue listing upon error during diff and mirror ( #2988 )
2019-12-08 14:34:52 -08:00
Anis Elleuch
c5112d4a0f
watch: Add site wide level support ( #2987 )
2019-12-08 11:35:35 -08:00
Krishna Srinivas
a8064ff644
Continue mirroring inspite of error events ( #2986 )
2019-12-07 18:00:58 -08:00
Harshavardhana
fccdcfe803
fix: Source content can be nil when updating progress bar ( #2984 )
2019-12-07 10:06:16 +05:30
Harshavardhana
543ea4bd90
change target to name in config help ( #2983 )
2019-12-07 10:05:32 +05:30
Harshavardhana
da47ed8ac4
Avoid re-parsing config history elements ( #2981 )
2019-12-06 07:17:35 +05:30
Harshavardhana
f3b2d5471f
Add finalized command line options ( #2979 )
2019-12-04 21:03:34 -08:00
Harshavardhana
3f426ff7e0
Update export command to print disabled sub-sys as comments ( #2978 )
2019-12-03 12:10:12 -08:00
Harshavardhana
1e1480f408
Fix progress bar update regression ( #2976 )
...
Regression introduced in cf6defe025
2019-11-30 17:19:23 -08:00
poornas
4e316c3a40
Remove duplicated API method(s) for object retention ( #2973 )
2019-11-27 09:44:39 -08:00
Harshavardhana
cb110f7403
Add support for auto-complete in 'mc admin config' commands ( #2975 )
2019-11-27 09:36:40 -08:00
Harshavardhana
21a79b4a44
Add import/export command ( #2974 )
2019-11-26 10:08:41 -08:00
Harshavardhana
cf6defe025
Fix totalSize and totalCounts calculation ( #2969 )
2019-11-25 18:27:01 +05:30
kannappanr
6eaf0dd05e
Retention command to apply retention to objects with a Prefix ( #2963 )
2019-11-22 12:39:46 -08:00
poornas
c2a771f51c
Handle PutObjectRetention notification events correctly ( #2966 )
2019-11-22 09:38:36 -08:00
Harshavardhana
6cfbc809cf
Add mirror command to compare metadata and copy ( #2965 )
...
mirror now uses the newly introduced
ListObjectsV2WithMetadata API in minio-go
2019-11-21 22:25:46 -08:00
Harshavardhana
3dc37f1ecd
Add default values in 'get' ( #2962 )
2019-11-21 14:35:40 +05:30
poornas
5dda155f81
mirror object lock configuration to dest bucket ( #2964 )
...
if bucket does not exist on the target side.
2019-11-20 16:17:07 -08:00
Harshavardhana
c51267871c
help command is now part of mc admin config get/set ( #2961 )
2019-11-19 15:15:10 -08:00
Ashish Kumar Sinha
9a9a6d853d
Rectify usage section of policy help ( #2959 )
2019-11-15 10:37:32 -08:00
Harshavardhana
9aebf1e818
update to latest minio ( #2957 )
2019-11-13 22:35:23 -08:00
poornas
3df8101903
Fix encrypt-key flag parsing ( #2955 )
2019-11-12 10:24:00 -08:00
Harshavardhana
94943334d4
update to latest minio ( #2956 )
2019-11-12 03:26:52 -08:00
Bala FA
27d1131825
add lock command ( #2880 )
...
`lock` command enables to set, get and clear object lock configuration
of given bucket.
2019-11-11 11:36:04 -08:00
Harshavardhana
e0c6fabda6
Fix config history to list in git style format ( #2951 )
...
```
~ mc admin config history list -n 2 myminio
RestoreId: df0ebb1e-69b0-4043-b9dd-ab54508f2897
Date: Mon, 04 Nov 2019 17:27:27 GMT
region name="us-east-1" state="on"
region name="us-east-1" state="on"
region name="us-east-1" state="on"
region name="us-east-1" state="on"
RestoreId: ecc6873a-0ed3-41f9-b03e-a2a1bab48b5f
Date: Mon, 04 Nov 2019 17:28:23 GMT
region name=us-east-1 state=off
```
2019-11-05 14:41:52 -08:00
Praveen raj Mani
71f5a7568f
Fix the storage prints for xl/fs disks in admin info server ( #2947 )
2019-10-31 10:14:53 -07:00
Wesley Collin Wright
2a33d28cb9
print disk usage as a plain integer when formatting as json ( #2946 )
2019-10-31 10:05:55 -07:00
Harshavardhana
9927c0d5c7
mc admin config set/get/del/history/help ( #2835 )
...
Related to https://github.com/minio/minio/pull/8392
2019-10-30 21:36:41 -07:00
Ashish Kumar Sinha
42898064f2
Add options to preserve filesystem attributes ( #2938 )
2019-10-30 00:35:25 -07:00
kannappanr
810978720f
Fix typo in error message ( #2945 )
...
Change the error message from `Cannot remove new user` to
`Cannot remove <User>`, when a non-existent user is removed.
2019-10-30 09:08:00 +05:30
kannappanr
90a60d3b6a
Avoid index out of range errors ( #2943 )
...
Fixes #2941
2019-10-28 12:01:56 +05:30
Nitish Tiwari
f6240587db
Fix arrow signs to use more common U+2191 & U+2193 ( #2942 )
2019-10-27 20:55:36 -07:00
Praveen raj Mani
80aecfddff
Adapt new changes in StorageInfo ( #2889 )
2019-10-23 08:47:38 -07:00
Bala FA
72403ecbd1
fix mc cp termination on signals ( #2934 )
2019-10-21 22:12:56 +05:30
Ashish Kumar Sinha
16965bc19a
continue flag: Fix inconsistent punctuation in usage text ( #2933 )
2019-10-21 14:32:46 +05:30
Bala FA
d7078ae153
Refactor mc cp and make session optional. ( #2910 )
...
Now `mc cp --recursive --continue` creates copy session on failure or
resumes if previous failed session is found.
Fixes #2893
2019-10-18 22:52:20 +05:30
Harshavardhana
bced96ee98
Update mc to use secure-io package ( #2931 )
2019-10-17 03:04:05 -07:00
poornas
990a7b6d51
Add --type flag to mc admin console ( #2914 )
...
This allows filtering error logs by type
2019-10-15 00:47:09 +05:30
poornas
735aa139b1
Fix removing empty prefixes with mc rm command ( #2912 )
...
Fixes: 2909
2019-10-12 09:49:14 +05:30
Klaus Post
aa4a4774da
Fix Windows config path ( #2898 )
...
Remove '.exe' (case insensitive) from executable name for consistent config folder.
Potentially breaking: If people (for whatever reason) used 'mc.exe', this will potentially break their setup.
2019-10-12 00:07:10 +05:30
yiranzai
c389ee4aa0
Fix zh_CN doc about policy errors ( #2927 )
2019-10-11 04:21:20 +05:30
kannappanr
f93fe1330a
Update minio-go to v6.0.39 ( #2924 )
2019-10-09 09:08:39 -07:00
ebozduman
3710c443bb
No 'Removing ...' messages for prefixes(dirs) ( #2925 )
2019-10-09 06:58:55 +05:30
poornas
0f8345b207
trace - Add TimeToFirstByte to output in --json mode ( #2904 )
2019-10-09 01:25:54 +05:30
Oleg Utkin
6f478d0a6f
update docker alpine base image to 3.10 ( #2920 )
2019-10-08 07:16:43 +05:30
Andy Boyett
d902705d90
README: update minimum go version ( #2923 )
...
PR #2888 bumped the minimum go version from 1.12 to 1.13 but did not
update README.md to reflect the change. This commit updates the readme
to be in line with the code.
Attempting to build `mc` from source on go 1.12 yields this error:
```
$ GO111MODULE=on go get github.com/minio/mc
go: finding github.com/minio/mc latest
package github.com/minio/mc: build constraints exclude all Go files in /home/andy/go/pkg/mod/github.com/minio/mc@v0.0.0-20191004065813-f79aefa79713
```
2019-10-08 01:04:46 +05:30
poornas
f79aefa797
mc sql - default to json output if global json flag set ( #2921 )
2019-10-04 12:28:13 +05:30
kannappanr
196723372c
Doc: Remove text on s3V4 incompatibility with GCS ( #2916 )
...
GCS right now works with S3V4, so removed the documentation
where it says that GCS only supports s3V2.
Fixes #2915
2019-10-04 10:17:58 +05:30
Harshavardhana
f687722587
Add default query for sql ( #2919 )
2019-10-02 21:09:10 -07:00
kannappanr
26b9044a86
mod: update minio-go package to v6.0.38 ( #2917 )
2019-10-03 00:47:43 +05:30
ebozduman
a9c606f119
Customize service help for Windows/Linux users ( #2908 )
2019-09-28 08:33:28 +05:30
poornas
26b71711e8
Show server startup messages on admin console cmd ( #2897 )
2019-09-26 00:27:22 +05:30
Harshavardhana
6438350130
Update minio-go to latest ( #2905 )
...
- Change LDAP XML names to follow server changes (#1164 )
- Fix listObjects hang when listing special characters (#1165 )
2019-09-24 07:00:03 +05:30
Praveen raj Mani
508869e3f1
Prometheus config generation ( #2781 )
...
Add `admin promethes --generate` to generate the prometheus config
2019-09-22 20:28:17 +05:30
Harshavardhana
1db7a3bbed
Add go.yml github workflow ( #2902 )
2019-09-20 05:56:49 +05:30
Harshavardhana
57a9c6fab2
Fix mc functional tests to work with new changed behavior ( #2901 )
...
- mc rm doesn't fail for SSE-C encrypted objects because
we use multi-object delete - this behavior is S3 compatible
- changes needed to ensure that keys are set appropriately
when doing server side copy.
2019-09-20 04:48:02 +05:30
Harshavardhana
93297260be
Remove 'mc update' prompt just update automatically ( #2900 )
2019-09-19 09:01:24 -07:00
Harshavardhana
dff077e34b
Add support for attr flag in mirror ( #2892 )
2019-09-19 08:22:45 -07:00
Harshavardhana
a8380a00ef
Remove codecov for mc builds
2019-09-18 17:43:50 -07:00
Vivian Kong
5afb0a3aa7
Build staticcheck as pre-built binaries are not available on s390x ( #2890 )
2019-09-12 23:59:34 +05:30
Harshavardhana
54ee3a2800
Migrate to go1.13 ( #2888 )
2019-09-09 02:54:43 +05:30
poornas
9f75caef55
fix mc rb to accept bucket or alias as valid args ( #2886 )
...
Fixes : #2869
2019-09-07 12:13:52 +05:30
poornas
bc1c6bde1d
admin console - fix output format ( #2885 )
2019-09-07 06:44:31 +05:30
poornas
1dd2b4494d
Fix error message wording in mc admin commands ( #2887 )
2019-09-06 17:09:44 -07:00
Harshavardhana
5fc35b6682
Fix admin help messages and docs ( #2884 )
2019-09-06 10:07:30 -07:00
poornas
22ab93da0f
Add mc admin console command ( #2794 )
...
Also replace thrift package location
2019-09-05 07:04:25 +05:30
Ashish Kumar Sinha
1582b1cf35
Add support for passing non-printable charachter as key ( #2851 )
2019-08-29 16:57:04 -07:00
Harshavardhana
bd7564a2d4
Add 'mc admin update' command ( #2857 )
...
Also this PR deprecates `service status` command
2019-08-28 15:57:25 -07:00
Daniel Valdivia
af7d551010
Add support for Total Space and Available Space on mc admin info ( #2872 )
2019-08-23 09:33:38 -07:00
Ashish Kumar Sinha
3acbeda9c2
Merge mc monitor to mc info ( #2838 )
2019-08-23 00:26:51 +05:30
Praveen raj Mani
89d30e9aa2
Recognise dot prefixed endpoints in admin info ( #2868 )
...
Fixes #2867
2019-08-18 10:25:03 +05:30
Sidhartha Mani
64d45ac35a
fix formatting for admin trace ( #2854 )
2019-08-16 16:57:40 -07:00
poornas
f8661fd87e
Fix broken link to go installation docs ( #2866 )
2019-08-15 15:23:12 -07:00
Harshavardhana
12add870fc
Add missing commands to autocomplete ( #2862 )
2019-08-15 12:20:31 -07:00
jgkirschbaum
00a2f81589
Clarified the used JSON format ( #2864 )
2019-08-15 11:33:53 -07:00
jgkirschbaum
617b5e39f5
Clarified the used JSON format ( #2863 )
2019-08-15 10:51:27 -07:00
Aditya Manthramurthy
1555979f96
Fix help message bug in group disable command ( #2860 )
2019-08-14 15:04:55 -07:00
Praveen raj Mani
418c8e7182
Remove empty parent directories while mirroring fs ( #2849 )
...
Fixes 2826
2019-08-14 09:26:57 -07:00
Aditya Manthramurthy
3b94d4d3e0
Add policy set command ( #2852 )
...
This is a BREAKING change.
- This command sets policy for user and group
- `mc admin user set-policy` is now removed.
- `mc admin uesr add` no longer accepts a policy to set on the user.
Add user info command to show groups of a user
2019-08-13 14:11:27 -07:00
Praveen raj Mani
e541715e42
Fix error message in mc tree ( #2855 )
2019-08-13 13:35:47 -07:00
Harshavardhana
37bdbd037e
Colorize du output appropriately ( #2856 )
2019-08-12 18:05:17 -07:00
Bala FA
d399b1e70b
add du command support ( #2802 )
...
This command works like `du` command in unices i.e. summarize disk
usage of given TARGET recursively.
2019-08-07 21:02:09 -07:00
Ashish Kumar Sinha
fef437bdd6
Modify policy command ( #2768 )
...
Add set, set-json, get , get-json sub-commands.
Example:
mc policy set download s3/mybucket
mc policy set-json path-to-json-file s3/mybucket
mc policy get s3/mybucket
mc policy get-json s3/mybucket
2019-08-06 21:09:28 -07:00
Harshavardhana
809741e161
Update README.md for source builds
2019-08-06 15:46:32 -07:00
Harshavardhana
0f360131cb
Remove runtime checks use go build tag ( #2848 )
...
Project can be only built with go1.12 or newer
other build related changes to use new go1.12
features.
Fixes #2815
2019-08-06 15:41:04 -07:00
Aditya Manthramurthy
cb3ce8fb97
Add mc admin group command ( #2841 )
...
This change is in preparation to add user-groups support to MinIO
server.
- Adds add, remove, enable/disable, list and info sub-commands for the
group command
2019-08-05 11:37:07 -07:00
poornas
b56e297be0
fix admin trace crash on 32 bit systems ( #2847 )
2019-07-31 17:06:42 -07:00
Harshavardhana
81eb54d146
Fix broken functional tests ( #2843 )
2019-07-30 14:28:13 -07:00
Ashish Kumar Sinha
9fabc08520
Accept metadata of form Cache-Control=max-age=xxxxxxx ( #2840 )
2019-07-30 06:52:31 -07:00
kannappanr
b885d13060
Windows stat: Compare URLs in windows style path ( #2774 )
...
Convert user provided URL into windows style to compare in statURL
Fixes #2772
2019-07-25 17:37:52 -07:00
poornas
67dbada736
Minor changes to admin trace output fmt ( #2834 )
2019-07-23 17:31:31 -07:00
Harshavardhana
c25461640b
Fix tree docs and error handling ( #2833 )
...
Fixes #2832
2019-07-22 13:02:49 -07:00
poornas
c727be5a48
Add error filter flag to mc admin trace command ( #2824 )
2019-07-21 06:30:33 +01:00
Harshavardhana
ae098462c9
Fix admin info dot coloring ( #2830 )
2019-07-19 08:20:14 +01:00
poornas
74a7c3dc9a
Show call stats in admin trace command ( #2823 )
...
- Add call latency, input and output bytes to trace
2019-07-19 02:20:08 +01:00
Harshavardhana
c2fcfe6512
Make sure to error out if depth is -1 ( #2828 )
...
Current code silently converts -1 to 0, which
is not needed and we should fail instead.
2019-07-18 14:40:51 +01:00
Praveen raj Mani
bdcb9dcb2f
Add tree listing ( #2804 )
2019-07-17 22:23:02 -07:00
Aditya Manthramurthy
6200a34522
Add "mc admin policy info" command to display policy content ( #2818 )
2019-07-18 01:43:10 +01:00
Ashish Kumar Sinha
9a25e66e87
Add --ignore-existing/-p flag in mc event add command ( #2773 )
...
If the event is already present the server throws an error. With the --ignore-existing/ -p flag these error messages are discarded
2019-07-16 10:40:06 +01:00
Harshavardhana
7c454d8f94
Migrate to new minio/cli, fix all extra spaces across commands ( #2825 )
2019-07-15 19:59:28 +01:00
Harshavardhana
ab3e70ae9f
Fix escape characters in trace command ( #2822 )
2019-07-13 09:07:34 +05:30
Mauricio Scheffer
1818191dca
Fix inner link ( #2820 )
2019-07-12 10:21:15 +05:30
Harshavardhana
31e5ac02bd
Fix auto-completion code ( #2819 )
...
Reverts the code in #2812
Fixes #2816
2019-07-11 10:41:14 -07:00
Harshavardhana
aa3c9f58df
Remove port 9000 for play.min.io ( #2817 )
...
Most corporate environments block port 9000,
since we already allow access from port 80 and
port 443 just default to https port instead.
2019-07-10 21:16:45 +01:00
Anis Elleuch
df9320134b
autocompletion: Add control flag and a prompt ( #2812 )
...
*) Add --no-autocompletion to disable the automatic install of
the auto completion
*) Add a prompt to ask for permission to install automatic
auto completion when not installed yet
2019-07-04 22:40:56 -07:00
Harshavardhana
6003da8daa
update command with json flag shouldn't throw prompt ( #2809 )
2019-06-27 15:43:14 -07:00
kannappanr
41e3ea5664
Update latest minio-go version in go.mod ( #2811 )
2019-06-27 12:58:04 -07:00
Krishnan Parthasarathi
8b33b2809c
Improve next action suggestion in mc admin config set ( #2810 )
2019-06-27 12:15:21 -07:00
Ashish Kumar Sinha
56309a4999
mc command cleanup ( #2783 )
2019-06-27 14:47:08 +05:30
Anis Elleuch
2d691508c2
Show background heal stats in mc admin heal ( #2808 )
2019-06-26 15:14:20 -07:00
Harshavardhana
98e88c2ff0
Add proper JSON status field for API compatibility ( #2807 )
2019-06-26 10:51:17 -07:00
poornas
675618574a
Change short trace message display format ( #2798 )
...
to abridge function name,time format and
add client ip in the output
2019-06-24 15:43:23 -07:00
Harshavardhana
d97cfaa55d
Fix trace formatting ( #2805 )
2019-06-19 15:11:03 -07:00
Adara
ec76f67668
doc: add info about --attr flag for cp command ( #2793 )
2019-06-19 12:13:20 -07:00
Harshavardhana
a12c507bec
Update minio-go to v6.0.29 ( #2799 )
2019-06-15 10:12:32 -07:00
poornas
ca26dac8e2
Add mc admin trace command. ( #2655 )
2019-06-11 16:25:33 -07:00
Harshavardhana
5d0a9c0803
Make sure to preserve region specific URLs ( #2791 )
...
This is to ensure that restricted access
to certain buckets is allowed on certain
regions.
This is a continuation of last commit
2019-06-11 13:59:10 -07:00
Harshavardhana
b85dabd6b4
Update to minio-go v6.0.28 ( #2790 )
2019-06-06 18:11:49 +05:30
Harshavardhana
e978c71b7c
Add staticcheck based builds ( #2788 )
...
Additionally this PR also supports
multi-platform builds to avoid cross
platform build issues.
2019-06-03 11:22:31 -07:00
Anis Elleuch
eb9493458e
autocomplete: update github.com/posener/complete to include macOS fix ( #2784 )
...
https://github.com/posener/complete/commit/afda8e00c6d48e7d20bff281c321bc8aca00699a
is sent to fix a rare macOS issue with installing completion command.
The commit will require a specific commit in posener/complete to have our fix
included.
2019-05-29 17:55:15 -07:00
Harshavardhana
f4bb0b8850
Update minio-go to latest release v6.0.26 ( #2782 )
2019-05-29 08:27:18 -07:00
Aditya Manthramurthy
dd4e356c64
Fixup go.mod and go.sum files ( #2777 )
2019-05-24 20:02:30 -07:00
Harshavardhana
c1ed052638
Update madmin API deps with new retry functionality ( #2769 )
2019-05-11 00:04:08 -07:00
Andreas Auernhammer
88a3c2b1e1
remove admin-credential command ( #2767 )
...
This commit removes the admin credentials command
to fix the build since github.com/minio/minio
ae002aa7241bd35d5fd9b47e8b62df2176ad2ab1 removes
the admin API for updating the admin credentials.
2019-05-05 22:32:41 -07:00
Ashish Kumar Sinha
f0f156aca8
Skip error upon deletion of non existing object and force flag ( #2765 )
...
On the similar lines of standard linux rm command.
mc retruns exit status as 0 and skips the error message when --force argument is used.
2019-05-02 10:18:15 -07:00
Harshavardhana
b1aa2232ef
Disable http2.0 for now until upstream bugs are fixed ( #2764 )
2019-05-01 15:42:36 -07:00
Ashish Kumar Sinha
4b4555b811
Policy list: Return error if policy doesn't exist ( #2760 )
2019-04-25 13:41:46 -07:00
poornas
ecdeb3934d
Remove Insufficient permission error from ignored errors ( #2755 )
...
Remove Insufficient permission error from ignored list of errors.
Fixes #2752 - When mirror fails due to insufficient
permissions of user on a bucket, this should be
displayed
2019-04-22 12:22:21 -07:00
fgma
abceea8fa1
fix crash when parsing empty/invalid MC_HOST_* env variable ( #2757 )
2019-04-22 21:53:31 +05:30
ebozduman
83a9d8b91d
Adds missing codebase MinIO and min.io changes ( #2745 )
2019-04-16 22:31:54 -07:00
kannappanr
68a9eeae18
Fix: do not check if object listed equals object being removed ( #2748 )
...
List within the statURL function considers object name as a prefix
and lists objects that have the same prefix.
currently, it errors out if the object is a subset of another object.
This PR will fix this.
Fixes #2746
2019-04-16 20:44:57 -07:00
kannappanr
5729a01e69
doc: Document top command ( #2672 )
2019-04-10 15:48:45 -07:00
kannappanr
ea469140d5
Display request header in anonymous mode ( #2733 )
...
Currently if authorization header is missing, then request is not displayed
This resulted in just the response being displayed, in anonymous mode.
This PR fixes that issue.
2019-04-05 14:04:16 -07:00
ebozduman
b5b7a56eca
Replace Minio refs with MinIO and links in mc docs ( #2742 )
2019-04-05 14:03:18 -07:00
Harshavardhana
66677d7c21
alpine 3.7 is eol'ed migrate ( #2743 )
...
Alpine 3.7 is EOL. This PR migrates to Alpine 3.9
2019-04-04 12:07:53 -07:00
Harshavardhana
7805774cf3
Instead of rename use moveFile for cross device renames ( #2738 )
2019-04-03 12:19:53 -07:00
poornas
8ae04b41b0
mirror: fix 0 byte files not getting mirrored ( #2739 )
...
Fixes : #2737
2019-04-03 08:15:17 -07:00
Harshavardhana
b27cd5ada8
Make csv-input optional for default cases ( #2741 )
...
Fixes #2740
2019-04-03 18:31:23 +05:30
Tufan Barış YILDIRIM
a1355e50e2
Documented --json for diff command ( #2736 )
2019-03-31 20:01:44 -07:00
kannappanr
2ad65c0799
ls: Remove space between size and unit ( #2735 )
...
With the move to go.mod, the latest humanize package is being used.
This introduces a space between size and the unit. Manually removing the space
to make it consistent with the older mc releases.
2019-03-29 15:02:26 -07:00
kannappanr
7f2770e68f
updating go.mod to use latest sha256-simd pkg ( #2732 )
2019-03-28 13:02:39 -07:00
Harshavardhana
c34dec5495
Set correct compressionType for compression select request ( #2730 )
2019-03-28 10:52:13 -07:00
Harshavardhana
ba92305de0
Migrate to go1.12, deprecate vendor directory ( #2727 )
2019-03-27 10:08:19 -07:00
poornas
0a790a1a2e
ls: consistent output while listing directories on file system ( #2723 )
2019-03-21 19:19:11 -07:00
Harshavardhana
3ea090fe18
Fix rm to behave properly deleting prefixes ( #2720 )
2019-03-20 13:08:36 -07:00
poornas
0490231b34
For non-canned policies, show policy status as custom ( #2716 )
2019-03-19 09:11:16 +05:30
Anis Elleuch
030aa5aba5
Add normal/deep scan flag to admin heal cmd ( #2692 )
2019-03-15 15:40:51 -07:00
kannappanr
09d04326dc
Deprecate MC_HOSTS_ env variable ( #2718 )
...
MC_HOSTS_ env variable will be replaced with MC_HOST_ as it is more
appropriate
MC_HOSTS_ will be removed in the near future.
2019-03-14 17:29:07 -07:00
Sidhartha Mani
cfb25fe81b
mc admin info changes ( #2712 )
2019-03-14 18:20:29 +05:30
Anis Elleuch
ecfd4526a3
tests: Clean per test created buckets ( #2717 )
...
In addition to the general bucket name created for functinal tests,
some tests inside this latter creates separated buckets but remove
them using rm command which does not support removing buckets anymore.
2019-03-13 10:38:18 -07:00
Anis Elleuch
affc127af0
mirror: Return non-zero exit code for errors occuring during mirror ( #2705 )
...
An error, such as, `Bad Request` when copying an object without supplied
keys is not reflected in the exit code.
This commit simplifies a bit the mirror code. It makes mirror before and
after starting to send the status to mj.status.
2019-03-12 16:36:14 -07:00
Anis Elleuch
a498b9b3a2
rm: Force removing an object when it is encrypted without key specified ( #2700 )
...
Currently, a single remove HEAD an object, but this latter can return
400 Bad Request when the object is encrypted and the user doesn't specify
any encryption key.
So when HEAD fail, this PR will use GET listing to find the object and
remove it if existent.
We can avoid calling HEAD in the first place and use only listing, but this
has some penality on the server.
2019-03-12 14:03:59 -07:00
poornas
e684b48cfe
Add --dangerous flag for mc rb sitewide removal ( #2709 )
...
Also fix mc rb bug while deleting folders on file system
2019-03-11 22:27:35 -07:00
poornas
5b585c4759
Additional flags for mc sql command ( #2687 )
...
add sql select options
change flag names and remove parquet option
add csv-output-header option
2019-03-11 22:23:45 -07:00
Ashish Kumar Sinha
2e612b23d6
Add metadata in mc copy ( #2671 )
...
Example : mc cp --attr key1=value1,key2=value2
play/mybucket/burningman2011/ ~/latest/
2019-03-11 12:47:28 +05:30
Anis Elleuch
4a130c60a8
rb: Fix removing an empty bucket when passed as argument ( #2703 )
...
rb was relying on client.List() to find all elements that needs to be
removed. However it doesn't include 'alias/bucket' in the listing
when 'alias/bucket' itself is passed as an argument in rb command.
This PR will always attempt to delete the passed argument as this is
what the user wants in the first place.
This PR also fixes teardown() in functional-tests.sh to remove
the bucket using rb instead rm since rm does not remove buckets
anymore.
2019-03-08 17:07:06 +05:30
Anis Elleuch
b72d2d9cc5
tests: Use rb instead of rm to clean test bucket ( #2708 )
...
rm command is not able to remove buckets anymore, so use the new rb
command instead.
2019-03-07 09:04:32 -08:00
Harshavardhana
b3229507a9
Fix functional tests to use --older-than ( #2706 )
...
Change missed in previous PR 1761b338f9
2019-03-06 02:33:07 -08:00
Ashish Kumar Sinha
1761b338f9
OlderThan & NewerThan configured for Days, Hours and Minutes ( #2614 )
...
Previously OlderThan and NewerThan was configured for day
which has been changed to Days, Hours and minutes.
Also, changed the `flag` in `find` command to be `newer-than` and `older-than` to be consistent with other commands.
2019-03-03 20:18:34 -08:00
poornas
c63c5732e9
Fix policy set error ( #2701 )
...
When policy is being set,json does not need to be indented - it
is causing a policy has invalid resource error
2019-03-02 10:38:16 -08:00
poornas
dba70c0b92
Stat: display Expires header if present ( #2697 )
2019-03-01 13:03:53 -08:00
Sidhartha Mani
c75abbb3f9
use colorjson for all other mc outputs ( #2683 )
...
- Update to MarshalIndent instead of Marshal
- Allow unmarshalling
2019-02-28 14:33:13 -08:00
Harshavardhana
19e14db50a
Avoid ListBuckets to keep Stat() ops on bucket simpler ( #2699 )
...
Due to multi-user feature on Minio and mc adoption in
many different restrictive environments, most users disable
access to ListBuckets() calls. We can avoid such network
operations as they only add marginal value.
2019-02-28 14:23:47 -08:00
Eco
bd5372f165
Update mc complete guide with PPC binary link ( #2675 )
...
Linux specific
2019-02-22 11:03:35 -08:00
Anis Elleuch
a3203d4fe7
complete: Add support of rb completion ( #2689 )
...
Add completion for rb command:
- Support filesystem paths
- S3 paths only supports this format: `alias/bucket/`, for that s3Complete{}
has deepLevel parameter to configure maximum path deep level.
2019-02-20 14:35:23 -08:00
poornas
e538599e2f
Add mc rb command to remove empty bucket ( #2662 )
...
Change mc rm --recursive behavior to
delete objects in bucket but not the
bucket itself.
Fixes #2635
2019-02-16 20:12:38 -08:00
Anis Elleuch
4b62f520e8
Add support of bash completion ( #2592 )
...
Users of bash/zsh will have completion config enabled in the next
shell session start. This commit provides completion for commands
and all subcommands, their flags and completion of filesystems paths,
mc aliases, buckets and prefixes.
2019-02-14 22:17:43 +05:30
Anis Elleuch
bc1a108e5c
pb: Do not exceed the specified total transfer bytes ( #2685 )
...
mc, via minio-go, can retries some requests for many reasons, such as, network
disconnect. This commit ensures that the progress bar does not show transfered
bytes greater then the total transfered bytes to avoid confusing users.
2019-02-13 11:02:00 -08:00
Anis Elleuch
38965dd432
mirror: Proper exit when preparing diff returns an error ( #2681 )
...
A bad synchornization between startMirror() and its caller mirror() happens when preparing the difference of objects between source & target returns an error: mirror() quits when it receives an error from startMirror() without give a chance for that latter to properly stop the parallel mirror manager.
This PR will:
1. Quit mirroring when listing returns an error: this means calculating diff needs to stop and no further action needs to be taken since it can be dangerous especially when --remove flag is passed.
2. Properly stop parallel mirroring manager before quitting.
2019-02-12 14:28:38 -08:00
Eco
30491f369d
Update mc quickstart guide with PPC binary link ( #2677 )
2019-02-11 21:51:40 -08:00
Eco
1941a2532a
Update mc admin guide with PPC binary link ( #2676 )
...
fixes #2644
2019-02-12 10:26:36 +05:30
Harshavardhana
3a22044471
Vendorize all the latest dependencies with go mod ( #2674 )
2019-02-08 18:32:17 -08:00
kannappanr
da3e027145
Strip trailing separator in URL in config host add ( #2680 )
...
Also, in the case of find command for existing configs that has a
trailing separator in the URL, trim the separator from the URL.
Fixes #2645
2019-02-07 21:10:38 -08:00
Sidhartha Mani
7bc792e745
Add json pretty print ( #2661 )
...
Enable jq style color output in github.com/minio/mc/pkg/json
- Drop in replacement of encoding/json
- Bold struct keys in blue
- Strings in green
- Numbers in default color
- Indenting and spacing matches exact jq specifications
Additionally, color coding needs '\x1b[...m' to be whitelisted in encoding/json's parser
2019-02-05 11:52:33 +05:30
Sidhartha Mani
939e1006cc
add mc admin monitor command ( #2657 )
2019-02-02 22:44:21 +05:30
Harshavardhana
57faed2725
Add go mod support and update dependencies ( #2668 )
2019-01-31 20:37:08 -08:00
Harshavardhana
f9a6d70bc0
Add IAM docs about AWS S3 users ( #2667 )
2019-01-31 15:39:29 -08:00
kannappanr
e3854b077a
List oldest locks currently used in a distributed XL setup ( #2549 )
2019-01-31 12:37:04 -08:00
poornas
75a36b4831
Change mc config host list format to record style ( #2659 )
2019-01-28 16:52:50 -08:00
Praveen raj Mani
30965763d6
Support setting of custom policies from a JSON file ( #2649 )
...
Fixes #2633
2019-01-28 13:30:31 -08:00
kannappanr
e940856fee
Vendorize minio-go ( #2660 )
2019-01-25 15:19:04 -08:00
Harshavardhana
07169d421e
Add sql docs ( #2658 )
2019-01-24 15:56:09 -08:00
Anis Elleuch
a5ea937df2
mirror: Fix double printing of remove object msg ( #2639 )
...
Mirror code depends on rm code which naturally prints delete messages,
this PR will make mirror uses its own delete code since it is simple
enough to do.
Also add size information to remove message
2019-01-24 07:13:46 -08:00
kannappanr
539cd245d6
ls: Add Stat call to determine bucket/directory ( #2656 )
2019-01-23 17:17:35 -08:00
Harshavardhana
ede0911de2
Support parquet select implementation ( #2643 )
2019-01-22 11:13:58 -08:00
Harshavardhana
733d3c5d54
Avoid making Stat calls on listing ( #2650 )
2019-01-22 16:02:56 +05:30
Harshavardhana
0854af6e6d
Migrate to mitchellh/go-homedir from minio/go-homedir ( #2641 )
...
We don't use this fork of ours anymore and we don't need
to maintain it anymore as we haven't made any significant
changes to upstream code or fixed bugs.
2019-01-08 00:23:51 -08:00
Harshavardhana
d8d3a3dec1
Remove incorrect OutputSerialization
2019-01-07 03:08:41 -08:00
Harshavardhana
59ef9fe468
Support SSE without keys ( #2626 )
2019-01-04 11:56:43 -08:00
Harshavardhana
9ddc45162a
Add new vendored minio-go ( #2638 )
...
Fixes https://github.com/minio/mc/issues/2610
2019-01-02 16:42:06 -08:00
Harshavardhana
bda754d07f
Migrate to go1.11.4 for CI builds ( #2634 )
2018-12-28 16:47:22 -08:00
Anis Elleuch
124b9fa4d9
Avoid remove freeze when server returns an error ( #2631 )
...
Minio can return during deletion sometimes, like missing quorum,
but mc can block in that case. The reason is that Remove() in
client-s3 doesn't actively listen for errors reported by minio-go
RemoveObjects() API because that would also block this latter.
2018-12-27 17:38:17 -08:00
Harshavardhana
45578f0ed2
Implement head command ( #2630 )
2018-12-27 13:17:44 -08:00
Praveen raj Mani
4e7eeb0725
Ignore broken symlink durring mirror ( #2607 )
...
Fixes #2604
2018-12-21 13:38:12 -08:00
KnutAtteslander
f0309e33e1
Fix typo in admin-user-add.go ( #2629 )
2018-12-20 06:56:50 -08:00
Anis Elleuch
8964876217
error msgs: Add punctuations when needed ( #2628 )
...
This commit will automatically add ':' or '.' after scanning
the generic and the detail error messages. This will simplify
maintaining error messages.
2018-12-18 23:18:28 -08:00
Harshavardhana
e3b84ac010
With bracket characters in URL, curl requires globbing turned off ( #2627 )
...
This PR fixes an issue present when curl commands
are used with IPv6 SERVER_ENDPOINTs
2018-12-17 20:38:27 -08:00
Harshavardhana
d541a7f6ef
Add support for IPv6 endpoint in functional tests ( #2622 )
2018-12-12 17:43:48 -08:00
Praveen raj Mani
69f967b3f3
mc mirror should not stop incase of errors (#2624 )
...
Fixes #2623
2018-12-12 10:48:48 -08:00
Harshavardhana
1bb64f0bf0
Fix typo policies to policy ( #2621 )
2018-12-09 11:21:27 -08:00
Harshavardhana
2073642656
Allow copying file onto itself ( #2617 )
...
This allows encrypting an unencrypted file
using server side CopyObject API.
2018-12-06 10:18:16 -08:00
Harshavardhana
f3eaa54a32
Breaking change --config-folder is now --config-dir ( #2620 )
2018-12-05 14:10:36 -08:00
Harshavardhana
a91204ea6f
Fix typos in complete and README.md ( #2616 )
2018-11-29 16:52:53 -08:00
Harshavardhana
5117f74fce
Allow empty objects to be uploaded ( #2613 )
2018-11-28 17:14:07 +05:30
Harshavardhana
57414cbb6e
Add in-place update feature ( #2605 )
2018-11-26 20:04:55 +05:30
Harshavardhana
24d4c28aa9
Pass query down on all objects when recursive ( #2603 )
2018-11-20 08:45:01 +05:30
Harshavardhana
cb4f46854b
Fix command line names and documentation ( #2602 )
2018-11-19 17:19:53 -08:00
Harshavardhana
0992c3a50d
Fallback detecting filetype from magic numbers ( #2598 )
2018-11-16 07:45:46 -08:00
Zachary Zhao
c5eaa30253
Change USERNAME to ACCESSKEY and PASSWORD to SECRETKEY ( #2594 )
...
Since `ACCESSKEY/SECRETKEY` is common knowledge for S3 user,
we should make it clear to avoid confusing people.
2018-11-13 18:19:00 -08:00
Harshavardhana
6faac81eb0
Remove all unused dependencies ( #2599 )
2018-11-13 15:52:12 -08:00
kannappanr
2fc5413002
Fix: Remove local file during a mirror operation ( #2593 )
...
Fixes #2586
2018-11-09 13:31:15 -08:00
Kale Blankenship
8137e79d0c
Close readers returned by Client.Get ( #2595 )
...
Change Client.Get to return an io.ReadCloser instead of io.Reader
so that it can be closed.
2018-11-08 17:02:14 -08:00
Harshavardhana
b827fac635
Fix help message usage for some commands ( #2591 )
2018-11-05 10:37:33 -08:00
Harshavardhana
4479667d4c
Allow resuming and stopping an active heal operation ( #2584 )
2018-11-04 19:25:14 -08:00
Harshavardhana
9226796558
Fix a typo in config set success message ( #2588 )
2018-11-01 16:46:44 +05:30
Harshavardhana
fd340638bb
Update mimedb to set correct content-types ( #2587 )
2018-10-31 14:45:10 -07:00
Harshavardhana
6ca902d13a
Add additional error message in heal ( #2583 )
2018-10-27 02:53:24 -07:00
kannappanr
73a61b4203
Parse alias set via env variable while prsing encryption key ( #2581 )
...
Check MC_HOSTS_ env variable also while looking for the alias to set encryption key
Fixes #2580
2018-10-26 12:51:57 -07:00
Harshavardhana
96378448c5
Fix admin docs add 'mc admin info' ( #2578 )
...
Fixes https://github.com/minio/minio/issues/6695
2018-10-25 13:32:03 -07:00
Harshavardhana
eab117c07c
Allow access key minimum to be 3 characters ( #2579 )
2018-10-25 19:21:52 +05:30
Harshavardhana
7b69f0064d
Add 'mc admin restart' message ( #2574 )
2018-10-18 17:46:20 -07:00
Anis Elleuch
0dd32c1b26
Add admin profiling command ( #2557 )
...
Implement profiling command to start & download profiling data of
a standalone or all nodes of a cluster.
```
1. Start CPU profiling
$ mc admin profiling start --type "cpu" myminio/
2. Download latest profiling data under save under profiling.zip
$ mc admin profiling stop myminio/
```
2018-10-17 17:06:12 -07:00
Harshavardhana
c707a17f30
Add 'users policy' command( #2573 )
2018-10-17 15:21:11 -07:00
Harshavardhana
502e28d2be
fix admin docs
2018-10-16 16:49:35 -07:00
Harshavardhana
b7e87b623d
Add admin users ( #2554 )
2018-10-16 14:54:25 -07:00
Anis Elleuch
7bbc81ffa4
Change golint import path ( #2566 )
2018-10-11 15:58:02 -07:00
Praveen raj Mani
449cad0eb8
Migrate from "mime" to "github.com/minio/minio/pkg/mimedb" ( #2563 )
...
The content-type resolutions are standardized across platforms.
Fixes #2559
2018-10-02 17:17:44 -07:00
Harshavardhana
7260b0f9ea
Ignore errors during mirror ( #2562 )
...
S3 lists 1000 objects in batches, but once this batch is being
processed to be copied over there is no way to lock across the
entire batch for mirroring. Due to this we introduce a scenario
when objects might have been deleted in parallel from another
application.
In such a scenario simply ignore such objects and proceed to
copy other files.
Fixes #2537
2018-10-01 15:33:18 +05:30
Harshavardhana
a83ffe321c
Implement select command ( #2538 )
2018-09-30 23:18:33 -07:00
Johan Guldmyr
a215fbb718
Update docs with --api flag examples ( #2555 )
2018-09-26 18:30:11 +05:30
Anis Elleuch
87f7e65c4c
Disallow copying/mirroring a folder into itself ( #2553 )
...
As unix cp command complains when you copy a directory into itself,
(such as `cp -r ~/Desktop/ ~/Desktop/sub/`), mc will follow the
same behavior with this commit.
The main reason is that copy or mirror command can be unpredictable
with the style of copy.
Example:
```
$ mc ls -r myminio/testbucket/
[2018-09-25 19:28:17 CET] 8B dir/object
[2018-09-25 19:28:40 CET] 8B object
$ mc -q cp -r myminio/testbucket/ myminio/testbucket/dir/
`myminio/testbucket/dir/object` -> `myminio/testbucket/dir/dir/object`
`myminio/testbucket/object` -> `myminio/testbucket/dir/object`
```
We can notice that `myminio/testbucket/dir/object` is both source and target
in the copy operation. The last copy operation that will occur will rule the
result of the total copy operation and `myminio/testbucket/dir/dir/object`
will have a different content in each copy operation.
Due to the unpredictability mentionned above, we will disallow copying or
mirroring a folder into itself.
2018-09-25 17:34:40 -07:00
Praveen raj Mani
ab31cf97da
Remove extraneous bucket on target while mirroring ( #2550 )
...
Fixes #2527
2018-09-25 10:20:14 -07:00
Praveen raj Mani
b2d2e09105
mc heal and mc mirror should respond with proper exit code (#2543 )
...
respond with os.exit(0) incase of errors
Fixes #2534 #2474
2018-09-20 15:23:40 -07:00
kannappanr
c9f33698fc
Display the config in correct format when json flag is used ( #2544 )
...
Fixes #2530
2018-09-19 11:48:21 -07:00
Harshavardhana
044a95b6cf
update notify library native macOS compilation ( #2540 )
...
Fixes #2535
2018-09-13 18:02:27 -07:00
kannappanr
c352cadd4b
Display restart failures in admin service restart command ( #2533 )
...
Fixes #2532
2018-09-10 16:23:17 -07:00
Harshavardhana
40971c0b93
Vendorize updated crypto/blake2b to compile with go1.11 ( #2531 )
...
Fixes #2524
2018-09-10 16:21:09 -07:00
Harshavardhana
0d0638b398
vendorize latest minio-go and madmin ( #2529 )
2018-09-06 16:01:18 -07:00
Harshavardhana
12627c35e4
Fix parallel upload performance issues ( #2521 )
...
Tested by transferring 29GiB data, around 246569 files
over 100Gig network.
- master branch
```
time mc mirror /root myminio/testbucket/
real 2m10s
```
- after changes
```
time mc mirror /root myminio/testbucket/
real 1m2s
```
By default runtime.NumCPU() workers are started.
2018-08-30 22:31:08 +05:30
poornas
1d5870b2a2
Fix url parsing of MC_HOSTS_ env variable ( #2523 )
2018-08-30 22:22:53 +05:30
Nitish Tiwari
ae88af8b1b
Use go1.10.4 for AppVeyor ( #2525 )
2018-08-30 08:38:03 -07:00
Harshavardhana
bc756e3dbd
Fix cp crash when resuming from session ( #2520 )
...
We should make sure to handle errors properly
when reading from the session and also parsing.
Current master ignores all these situations
which leads to crash, this PR handles this to avoid
nil pointer crashes.
2018-08-27 12:03:40 -07:00
Aarushi Arya
bc679788ac
mirror watch: Exit on error while copying. ( #2511 )
...
mirror: exit, if copy error occurs while watching.
Fixes #2505
2018-08-23 15:58:14 -07:00
Harshavardhana
a1110bc022
Add docs for config get/set commands ( #2518 )
2018-08-20 22:53:31 +05:30
Harshavardhana
073ed250fe
Update madmin API with latest server changes ( #2516 )
2018-08-17 18:55:05 -07:00
Harshavardhana
3b78c115f6
Remove workaround for http response tracer ( #2514 )
2018-08-17 17:15:03 -07:00
Harshavardhana
f8aafcc774
Vendor pkg/madmin changes in GetConfig/SetConfig ( #2513 )
2018-08-15 03:06:43 -07:00
Durgadas Kamath
22b8ab43bd
ISSUE-2507 : Add s390x support for minio-client ( #2508 )
2018-08-09 14:53:38 -07:00
Anis Elleuch
5eab7c2698
Updating minio-go library ( #2506 )
2018-08-07 16:57:32 -07:00
Harshavardhana
26f5102eae
Remove/deprecate admin lock commands ( #2503 )
2018-08-06 12:59:13 -07:00
Ashish Kumar Sinha
9998e077df
Remove error statement in mc mirror ( #2500 )
...
mc mirror complains about extra file in destination,
but this is not an error so removed the error message.
Fixes : #2470
2018-08-02 22:45:54 +05:30
Nitish Tiwari
480bc8aa2a
Use randString() to generate random string for S3 sign probe ( #2498 )
...
newRandomID() func may return string with uppercase letters. Such
strings will make invalid bucket name as S3 doesn't allow
uppercase lettes in bucket names.
randString() always returns strings with lowercase letters or
numbers.
Fixes #2496
2018-07-31 20:53:39 +05:30
Ryan Boehning
a8c97b467d
Replace legacy httplex import with current x/net/httpguts ( #2494 )
...
The import path of the httplex package has changed.
2018-07-29 00:45:12 -07:00
Harshavardhana
7f01db2cda
create bucket automatically when prefix is created ( #2488 )
2018-07-27 15:29:53 -07:00
Anis Elleuch
d83e73b85b
Pick a random bucket name when probing for signature version ( #2491 )
...
Probing buckets is a mechanism used to automatically detect supported
S3 signature version. However, it seems that probe-bucket-sign is already
used by someone, the thing that makes probing fails with 403 error. This
PR changes the code to pick a random bucket name when probing.
2018-07-24 20:19:26 -07:00
smouli
7e49e2d519
fix for mc find --ignore option ( #2489 )
2018-07-22 15:03:09 -07:00
ebozduman
5a962a7cf5
Vendorizing changes required for PR#6067 ( #2481 )
2018-07-16 08:27:22 -07:00
Harshavardhana
70dcf20d74
Pass down encrypt-key handling across command validators ( #2483 )
...
Currently even if the command supports encrypted objects,
the syntax verification would fail on them in certain
cases. Since syntax validation of source/targets doesn't
use the parsed encrypt key pairs. This PR fixes this
behavior.
2018-07-12 11:13:51 -07:00
Harshavardhana
c57a2dc4c2
update minio-go dependency to support single statement policies ( #2480 )
2018-07-06 11:09:59 -07:00
Harshavardhana
4ab7f30f99
Handle directories properly in cp and mirror ( #2478 )
...
Fixes #2477
2018-06-29 16:56:02 -07:00
Harshavardhana
29f2dbca6b
Fix 'mc mb' to guide the user when bucket is not passed ( #2476 )
...
Additionally this PR also allows for creating
prefixes on S3 compatible object storage backends
in the following form
```
mc mb s3/harshavardhana/object/prefix/
```
2018-06-29 14:56:07 -07:00
Harshavardhana
4070902cda
Allow creating directories from S3 to filesystem ( #2471 )
...
Fixes #2460
2018-06-20 17:47:26 -07:00
kannappanr
556bbc2de5
Vendorize minio-go inside mc ( #2473 )
...
Fixes 2465
2018-06-20 15:25:47 -07:00
ebozduman
7e879edabc
Removes unsupported flags and fixes the examples in the doc ( #2469 )
...
Removes old flags and fixes the examples in the doc
2018-06-19 12:28:36 -07:00
Rafael Peria de Sene
f48ac0de19
Add support for ppc64le ( #2468 )
...
Signed-off-by: Rafael Peria de Sene <rpsene@br.ibm.com >
2018-06-19 11:23:28 -07:00
kannappanr
1a5aab3ff4
Makefile: Create bin directory if it doesn't exist ( #2466 )
2018-06-18 07:42:13 -07:00
Harshavardhana
8cf797da5f
Update madmin API changes ( #2462 )
2018-06-08 18:00:52 -07:00
Arjun Mishra
023b38fe3f
Document adding host configuration through environment variable ( #2458 )
2018-06-08 12:07:14 -07:00
Harshavardhana
afcfe758f3
Fix joinPath function to handle directories properly ( #2459 )
2018-06-06 11:29:05 +05:30
Anis Elleuch
c0b89a7aec
Add support of empty directories in ls/rm/find commands ( #2452 )
2018-06-04 17:20:07 -07:00
Nitish Tiwari
4f1f864f64
Fix link to Minio admin complete guide ( #2457 )
2018-06-01 13:50:14 +05:30
Harshavardhana
2d4346bfe1
Add 'mc admin' complete guide ( #2456 )
...
Fixes #2428
2018-06-01 09:16:01 +05:30
Anis Elleuch
d566905d7a
Properly shutdown parallel copy in cp command ( #2448 )
2018-05-31 12:38:22 -07:00
Anis Elleuch
743d72ea1a
fix: Disable localization to enforce bytewise sorting in functional tests ( #2453 )
2018-05-30 09:40:42 +05:30
Anis Elleuch
10059459f3
tests: Fix test_find comparaison test ( #2455 )
...
`mc find alias/bucket` without trailing slash is actually printing 'alias/bucket' as
first element in the output, the thing which is not taken into consideration in test_find
test. This commit will ask `mc find` to list 'alias/bucket/' instead to have a similar
output as gnu `ls` cmd.
2018-05-29 18:12:27 -07:00
Harshavardhana
376b4ce2f8
Remove deprecated snap mc package ( #2454 )
2018-05-29 14:51:06 -07:00
Harshavardhana
961c4b5dae
Add total used support for mc admin info ( #2449 )
2018-05-23 17:44:50 -07:00
aarushiarya
1711f0bb46
fix for documentation issue ( #2446 )
2018-05-16 11:06:42 -07:00
Praveen raj Mani
b41b98b04d
mc mirror watch fix in darwin ( #2445 )
...
The event.Path had few prefixes appended in it (only in darwin).
Instead of taking the trimmed directory path, It takes the full path, say '/private/...".
This disturbs the target URL. Which indeed inserts it as a whole '/private/{target_path}',
So trimming the prefixes in the event.path solved it.
Solves:#2443
2018-05-13 19:34:49 -07:00
Anis Elleuch
1b794a4ae1
Update minio-go to ship new fixes ( #2441 )
...
https://github.com/minio/minio-go/commit/c6108c47ba5d86548404ebf9e51c5ca18769fe79
https://github.com/minio/minio-go/commit/92b6411b2475a188f67229f2b6c05dff695433da
2018-04-26 13:40:45 -07:00
Anis Elleuch
182ad295d8
Quit calculating difference for any listing error ( #2440 )
...
If we have any listing problem, we should stop comparing difference
between source & target lists because it is already so hard to know
what mc should do next. So, let's inform users and let them deal
with the problem.
2018-04-26 11:21:10 -07:00
Harshavardhana
75e9691616
Support server side copy object with progress ( #2438 )
...
Support server side copy object with progress
and also uses a more optimized version to perform
multipart server side copy operation.
2018-04-26 11:02:06 +05:30
Anis Elleuch
1ccf40d1e5
Properly stop parallel work in mirror/cp when the user clicks on Ctrl-C ( #2437 )
2018-04-25 11:55:07 -07:00
Harshavardhana
2dc48e9dd3
Simplified build system and move to go1.10.1 ( #2431 )
...
minio server simplified its build system, this
change borrows the same technique to `mc` as well.
This PR fixes build messages and overall behavior
of our builds on travis and appveyor.
2018-04-13 13:57:07 -07:00
Anis Elleuch
757fff7764
Simplify parallel manager implementation ( #2413 )
...
Each 5 seconds, calculate current bandwidth and add new workers as
bandwidth gets increased. Stop adding workers if it is not useful
for increasing bandwidth.
2018-04-06 18:46:35 -07:00
kannappanr
0fe4319e17
Fix display message when list and remove notifications are called ( #2424 )
2018-04-05 13:19:16 -07:00
poornas
18ddd3925b
Config: avoid adding default configs if entries present ( #2426 )
2018-04-03 13:09:32 -07:00
Dee Koder
8aaf909a08
Remove badges that take too long to render. ( #2423 )
2018-03-28 10:14:34 +05:30
Harshavardhana
da5c19848d
vendorize minio-go with fix for reset peer to retry ( #2420 )
2018-03-24 13:10:23 -07:00
Anis Elleuch
45b32d3985
errors: Add missing ending dot in error & fatal messages ( #2418 )
2018-03-23 12:22:55 +05:30
Anis Elleuch
ae3c123a5c
Do not exit mirroring for cannot delete/overwrite errors ( #2416 )
...
mc used to show a warning messages during mirroring when it
detects a need to overwrite or remove a remote object but no
flag is specified. This commit efeaf2ee72
changed this behavior but this commit will restablish
the old behavior.
2018-03-22 13:37:32 -07:00
poornas
fe82b0381c
change encryption key parsing to allow spaces in sse-c key ( #2408 )
...
Also vendoring in minio-go updates
2018-03-14 02:47:14 -07:00
poornas
0ede95b65e
add encrypt option to cp, mirror,pipe,stat, cat and rm commands ( #2400 )
2018-03-08 17:18:41 +05:30
Dee Koder
4758556eec
Add back wget in the GNU/Linux heading ( #2406 )
...
This is nice for usability reasons.
2018-03-07 10:39:57 -08:00
Nitish Tiwari
ea580b0b65
Add storage-class support ( #2403 )
...
This PR adds storage-class support for mc cp and mirror command.
Storage class values are passed via the -storage-class or
--sc flag.
Fixes #1859
2018-03-03 10:28:53 -08:00
kannappanr
b1dd99c94d
Detect duplicate config entry in mc add event ( #2402 )
...
Fixes #2324
2018-02-26 14:28:33 -08:00
kannappanr
57bf0c0e79
Fix moving standard metadata as user defined header in s3Client's PUT method ( #2401 )
...
Standard headers like Content-Disposition, Content-Encoding,
Cache-Control, Content-Language were made part of user metadata
causing it to fail while mirroring, if the source has these headers
set.
Fixes #2358
2018-02-24 15:12:01 -08:00
kannappanr
7ebe7908ea
vendorize minio-go to version 4.0.8 ( #2399 )
2018-02-23 17:39:06 -08:00
Harshavardhana
750644ec4d
Fix docker build issues ( #2395 )
2018-02-21 16:55:58 -08:00
ebozduman
efeaf2ee72
Stops removing target bucket content when url.Error ( #2377 )
2018-02-21 12:22:09 +05:30
Harshavardhana
97c7984bca
Large bucket support admin API Changes ( #2372 )
2018-02-15 18:35:05 -08:00
Aditya Manthramurthy
335a53ad29
Fix flickering in heal dashboard UI ( #2391 )
2018-02-14 10:15:26 -08:00
Harshavardhana
d4981656d3
Remove response timeout for admin operations ( #2390 )
2018-02-13 15:40:46 -08:00
Harshavardhana
766e04d79d
fix crashes on 32bit systems use LoadUint32() instead ( #2389 )
2018-02-12 10:25:06 -08:00
kannappanr
4e30ca1617
document stat command and additional example for mb command ( #2385 )
...
stat command was missing in the mc complete guide doc.
mb command did not have an example for --region flag.
Fixes #2376
2018-02-12 23:34:49 +05:30
poornas
65e22bee24
Add api as option for mc config host add command. ( #2381 )
2018-02-10 14:39:12 -08:00
ebozduman
3987f1405a
Revises 'mc diff' command help menu ( #2383 )
2018-02-08 16:29:50 +05:30
Krishnan Parthasarathi
e1056aa50d
Fix admin-info, admin-status json status field ( #2293 )
2018-02-05 10:09:12 -08:00
A. Elleuch
017dddef97
Add --newer-than & --older-than flags ( #2142 )
...
Use --newer-than & --older-than to select newer or older files
in copy, remove and mirroring operations.
2018-02-01 10:32:22 -08:00
Harshavardhana
55f06077e5
Fix heal admin API to honor json/quiet flags correctly ( #2370 )
...
Update the madmin updated package as well
Fixes #2369
Fixes #2368
Fixes #2367
2018-01-27 23:19:52 +05:30
A. Elleuch
99ee2a5042
Refactor {build,new}S3Config to remove a duplicate code ( #2329 )
2018-01-24 12:06:34 -08:00
Aditya Manthramurthy
793cda2ca0
New Admin API client-side implementation ( #2350 )
2018-01-23 12:32:58 -08:00
ebozduman
83bb797389
Adds stderr and returns exit status of the cmd executed ( #2361 )
...
Fixes #2351
2018-01-23 13:17:47 +05:30
Harshavardhana
8fbbd0ee83
Fix and refactor MC_HOSTS_ env handling code ( #2365 )
...
Existing MC_HOSTS_<alias> was incorrectly placed
inside s3Config initialization code path which
leads to a situation where we loose the URL path
information.
Fixes #2364
2018-01-19 18:29:28 -08:00
Aditya Manthramurthy
b94b8e67e9
Update vendored madmin dep ( #2362 )
2018-01-19 14:50:55 -08:00
fossabot
f93fb55606
Add license scan report and status ( #2363 )
2018-01-19 13:20:19 +05:30
Harshavardhana
3b4626ea15
Bump max parallel workers to 32 ( #2360 )
2018-01-18 19:46:31 -08:00
Aditya Manthramurthy
d9663e5d96
Improve lock error message ( #2353 )
2018-01-16 21:25:03 +05:30
poornas
5d703df69d
vendorize minio-go to version 4.0.6 ( #2357 )
2018-01-16 12:43:49 +05:30
Aditya Manthramurthy
5f2f82b5f7
Update heal command - remove upload healing ( #2355 )
...
This PR is to keep mc in sync with changes introduced in
https://github.com/minio/minio/pull/5390 to remove upload healing
functionality.
2018-01-12 07:50:04 -08:00
poornas
5dee56d5d0
fix for prefix based rm ( #2354 )
...
mc rm --r with prefix not terminated by / doesn't get deleted.
example: mc rm --r --force --older-than=10 play/test/prefix
Fixes : #2341
2018-01-12 09:23:03 +05:30
poornas
722ee94165
fix missing metadata in stat cmd ( #2348 )
...
mc stat without --r is missing metadata for stat on objectname
2018-01-10 11:07:21 -08:00
poornas
b64c8a3aa9
Copy metadata during mirror and cp peration ( #2347 )
...
Validate metadata key/values to filter out custom xattr
set on fs to prevent invalid http headers being sent in http request
by minio-go
2018-01-10 11:03:42 -08:00
Harshavardhana
13259eea21
mirror with --watch should copy and exit for s3 endpoints ( #2345 )
...
Current code wouldn't exit unless we press CTRL+C
even if the endpoints do not support --watch, this PR
fixes this behavior.
2018-01-08 10:56:56 -08:00
poornas
9da492975c
correct stat behavior and message ( #2344 )
...
fix empty stat listing when bucket has only a single object and
cleanup dead code.
2018-01-05 14:18:35 -08:00
Landry Breuil
96dc4f920d
Use client-fs_other on OpenBSD ( #2342 )
2017-12-29 14:14:24 +05:30
poornas
2d221ba8da
stat: fix output to show bucket in stat listing ( #2340 )
...
Show stat of all buckets at site level, and mimic
mc ls behavior in stat output.
2017-12-25 16:19:24 +05:30
dingjs
87309ebaac
Translate mc docs to Chinese. ( #2309 )
2017-12-18 18:43:07 -08:00
Kaan Kabalak
eeb18ff75c
Correct typo in mc cat ( #2336 )
...
Fixes #2334
2017-12-15 21:45:24 +05:30
A. Elleuch
4cb6e35342
fix: Consider insecure flag in host add cmd ( #2331 )
...
--insecure wasn't have an effect when invoked in a `mc host add` cmd. This
PR fixes the behavior.
2017-12-11 15:14:56 -08:00
A. Elleuch
5ddf9728f8
Parallelize upload/remove in cp/mirror commands ( #2289 )
...
This PR removes --parallel flag and implements a dynamic way of adding
threads to accelerate mirror/cp command.
After the calculation of objects that need to be copied/removed, mc
sends tasks (upload/remove) to a parallel manager which monitors the
progress of tasks and decide to allocate more threads to it to
accelerate the overall work.
This is very useful when we copy/mirror many relatively small files.
2017-12-07 16:20:34 -08:00
poornas
275db95170
mc: Remove MC_MULTIPART_THREADS env variable ( #2326 )
...
Remove this var as PR#2289 will manage threads automatically based on
workload to speed up mc cp/mirror operations.
2017-12-06 09:30:20 -08:00
poornas
399187c4fb
ui: consistenly use "flag" instead of "option" in error messages ( #2325 )
2017-12-06 16:00:10 +05:30
kannappanr
1fd03fb81f
Rearrange exclude code to filter source and target URLs ( #2322 )
...
Move exclude code handler to mirror-url and mirror-main
Fixes #2319
2017-12-04 15:47:29 -08:00
Harshavardhana
0aa704ad5e
Fix typo in find help ( #2323 )
2017-12-04 23:10:09 +05:30
poornas
1e7b4c9e4a
Add mc rm support to recursively remove site ( #2265 )
...
This requires --dangerous flag in addition to --recursive and --force
Change namespace identification check to be more robust to user
input errors like mc rm --r --force play//
2017-12-01 18:25:08 -08:00
Harshavardhana
65c582cd5b
Fixing find help message and behavior ( #2320 )
2017-12-01 18:04:09 -08:00
kannappanr
336e7f58bf
Add negative test for presigned post policy ( #2302 )
...
Append objectname to the URL and make sure that it fails.
This is related to code coverage in minio/minio#5142
2017-12-01 10:05:31 +05:30
Harshavardhana
dfffc1e7cc
mirror: Deprecate --force instead add --overwrite ( #2318 )
...
Fixes #2317
2017-11-30 16:51:17 +05:30
poornas
a63a1f7eca
Skip color theme for quiet mode ( #2313 )
2017-11-23 16:35:43 +05:30
poornas
b3fe40e113
fix: append XAttr to metadata only if metadata requested ( #2310 )
2017-11-23 16:35:17 +05:30
kannappanr
093ab6b034
Add success log in "config host add" tests ( #2306 )
...
Change the function name "fail" to "show_on_failure"
Add another function called "show_on_success" to handle certain
failure assert scenarios
Add missing Log success message for "test_config_host_add" and
"test_config_host_add_error" functions.
Fixes #2305
2017-11-14 18:44:13 -08:00
Harshavardhana
ceb38130fc
Fix ENV handling in mc ( #2282 )
...
Now ENV supports following style and doesn't require
a pre-requisite to have an entry in `config.json`
MC_HOSTS_myminio=http://minio:minio123@localhost:9000/
Notice signature style is auto-probed if env is set.
2017-11-13 16:29:10 -08:00
Harshavardhana
7498e97182
Relax access key, secret key validation ( #2300 )
...
Comply with minio server behavior - fixes #2298
2017-11-13 12:53:11 -08:00
poornas
32a8f34f7d
Fix: mc rm to error when nonempty directory is deleted ( #2303 )
...
Example: when mc rm play/testbucket/folder1 is attempted and directory
is nonempty, exit with an error message
2017-11-09 18:28:53 -08:00
Harshavardhana
014d09412a
Update minio-go ( #2299 )
...
- Avoid setting server encryption headers with x-amz-meta (#859 )
- Remove redirectHeaders method (#857 )
- Honor file pointer set in PutObject method (#856 )
- Fix docs and add a validator tool for our api docs (#850 )
- requestMetadata should take the md5 and sha256 with expected encodings. (#852 )
- Added a new method SetUserMetadata to the PostPolicy (#839 )
- Do not need to strictly validate request params in Presign API. (#832 )
2017-11-07 16:03:44 -08:00
poornas
ab6b2a83ac
Add new stat sub command ( #2275 )
2017-10-31 13:56:40 -07:00
Bala FA
79a51e9afc
fix JSON format error in functional test ( #2294 )
...
Previously `error` field is not populated properly due to double
formatting error message into JSON string. This patch fixes the issue
by avoid second time formatting in `printf` command.
2017-10-24 12:21:25 -07:00
Harshavardhana
c9448749d0
Fix command line docs and update complete-guide ( #2290 )
...
Also re-ordered snap below binary download for windows in priority.w
2017-10-21 07:59:12 +05:30
Harshavardhana
aa8d5ed0cc
Add newS3Config helper to auto-probe signature type. ( #2292 )
2017-10-20 13:51:56 -07:00
poornas
a86080a0b7
Add context in Put api call for cp/mirror. ( #2291 )
2017-10-20 13:50:35 -07:00
Harshavardhana
59685e2d6b
Fix macOS cross compilation issue. ( #2287 )
2017-10-17 08:02:32 +05:30
Harshavardhana
582f99b438
Enable mc build tests on go1.9 ( #2276 )
2017-10-15 19:11:38 -07:00
poornas
26c7c3e500
ls: show ETag in json formatted output ( #2285 )
2017-10-13 18:23:13 -07:00
Harshavardhana
785e14a725
Add find command in docs, remove deprecated files and entries. ( #2286 )
2017-10-13 17:28:29 -07:00
Harshavardhana
7ad9a36b9d
Add find basic functional test ( #2284 )
2017-10-13 13:51:12 +05:30
kannappanr
9831612507
Add exclude option to mirror command ( #2269 )
...
Added exclude options to exclude unwanted system files.
Exclude option excludes the source files/objects that match
the passed shell file name pattern
Fixes #1903
2017-10-12 14:52:21 -07:00
Krishnan Parthasarathi
207d5cfb61
Bucket events times are in RFC3339 format ( #2278 )
2017-10-12 11:26:22 -07:00
Harshavardhana
c10b429dcb
Refactor and fix find bugs ( #2273 )
...
- Watch now avoids an unnecessary waitgroup and simplifies overall flow.
- Watch now honors maxDepth parameter as well.
- Parsing logic is fully outside in the mainFind() function.
- Enhance and fix behavior of nameMatch to comply with unix
find behavior.
- Enhance and fix behavior of maxdepth to comply with unix
find behavior.
Fixes #2272
2017-10-09 19:44:58 -07:00
A. Elleuch
8f38471e29
fix: Correct some cp/mirror help indentations ( #2268 )
2017-10-06 09:35:44 -07:00
Harshavardhana
25254c7622
refactor find command to be simpler ( #2264 )
2017-10-05 15:29:54 -07:00
A. Elleuch
7d062fb08c
cat: Print ^? for unprintable characters ( #2217 )
...
In terminals, cat avoids directly printing some binary characters, such
as control characters or non printable characters but prints ^? instead,
that way, cat will avoid corrupting terminals
2017-10-04 16:49:35 -07:00
Harshavardhana
37e5a78779
Fix and honor --json flag for find command. ( #2263 )
...
Currently `mc find` didn't honor `--json` flag properly,
this PR addresses that.
Additionally also take care of `List` returning errors
and handle them appropriately.
Fixes #2252
2017-10-03 16:49:36 -07:00
Bala FA
07e810fd51
Ignore test_watch_object() for mint in functional test ( #2267 )
2017-10-03 10:31:47 -07:00
poornas
224e602e59
Allow multipart threads to be configured via environment variable ( #2254 )
2017-10-02 19:45:08 -07:00
Bala FA
be710ecb52
rename assert functions for correct meaning in functional tests ( #2266 )
2017-10-02 13:22:03 -07:00
A. Elleuch
4810ab8727
tests: Add negative put object & make bucket tests ( #2262 )
...
Add new negative tests to functional tests. For that purpose, two functions are
introduced. assert_success makes sure that the passed command returns 0 exit code
and raise an error otherwise. assert_failure makes sure that the passed
command fails and raises an error otherwise.
2017-10-01 11:24:35 -07:00
chibiegg
5a2798dddb
Support copy in parallel ( #2258 )
2017-09-29 14:36:16 -07:00
Nitish Tiwari
36d7d0b9a7
Update quiet flag usage to indicate it only turns off progress bar ( #2257 )
...
Fixes https://github.com/minio/mc/issues/2240
2017-09-26 10:17:17 -07:00
Bala FA
b1812ebe5a
add functional tests ( #2253 )
...
Functional tests are automatically run when `make test` is executed.
2017-09-19 12:31:00 -07:00
Leo Arias
683fcf0dd2
Add the install instructions for the snap ( #2244 )
2017-09-11 08:15:23 -07:00
Carter McClellan
39197ea3ae
Fix parsing error with mc find --older, and --newer ( #2249 )
2017-09-08 10:40:32 -07:00
Harshavardhana
48bd32570f
Fix find help text formatting. ( #2247 )
2017-09-07 11:11:08 -07:00
Carter McClellan
49ef42d36a
Implement mc find ( #2201 )
2017-09-05 15:44:10 -07:00
Harshavardhana
fe583468ce
Vendorize new changes from minio-go ( #2246 )
...
This PR brings in changes for
- PutObjectStream with no content-length is heavily
optimized so `mc pipe` will not run out of memory
for large uploads.
- Fixes a bug in Signature v2 for HTTP requests.
- Support us-gov-west-1 region as well.
- Auto region handling is inside minio-go now.
2017-09-03 13:56:22 -07:00
Leo Arias
3f4d3ee1c0
Rename the snap to minio-client ( #2243 )
...
In linux, mc is midnight commander. In the traditional
linux distro world, name conflicts are forbidden. Because
we are trying to make this decentralized and self-serving,
we need less strict rules. For this, snap has a concept
of aliases. Then the user can decide what application owns
the mc name.
2017-08-31 14:48:43 -07:00
Aaron Walker
dd3b659f9e
session: Reimplement using sub-commands ( #2225 )
2017-08-17 10:55:32 -07:00
Harshavardhana
dc47c3819a
Enable ubuntu snaps for mc ( #2235 )
...
This PR will enable edge channel only.
2017-08-15 10:38:12 -07:00
Krishnan Parthasarathi
e6ca983442
Fix credentials argument parsing ( #2238 )
2017-08-15 10:37:50 -07:00
Aditya Manthramurthy
ca96cfc6e6
Move pkg/probe from vendor dir to package dir ( #2236 )
...
The probe package is no longer available in the Minio server
repo. This change just moves probe from the vendor directory to its
own dir under `pkg`.
This is a maintenance fix.
2017-08-14 11:13:38 -07:00
Harshavardhana
60681d7fb6
config: Provide meaningful errors for invalid URL and Alias. ( #2233 )
...
Fixes #2232
2017-08-06 11:35:01 -07:00
poornas
e53ad24e8c
Set region for mc from s3 endpoint when its available ( #2234 )
2017-08-04 14:26:37 -07:00
A. Elleuch
b62fa406d8
share: Presign objects under a dir prefix ( #2215 )
...
From now on, when the user specifies to share a prefix which represents
a directory, all objects under that directory will be shared without
having to check for --recursive flag. If the latter is specified, all
objects in all subdirs will be shared.
2017-07-31 11:39:19 -07:00
poornas
d066ff71f5
diff: reword help message ( #2222 )
2017-07-30 08:46:39 -07:00
Harshavardhana
3e2c3fc94d
vendorize new changes from minio-go ( #2227 )
2017-07-30 08:44:05 -07:00
Carter McClellan
c1b9079b73
Improved experimental log of mc admin heal to only appear on heal specific mc commands ( #2230 )
2017-07-30 08:43:42 -07:00
Dee Koder
b9401d574f
Correct typos in mc admin heal warning message. ( #2219 )
2017-07-27 14:32:19 -07:00
A. Elleuch
eba548ca88
Add DisableCompression to override auto-decompress ( #2216 )
...
Fixes https://github.com/minio/mc/issues/2209
2017-07-20 11:32:23 -07:00
poornas
b4d7ec07f4
Fix typo ( #2218 )
2017-07-20 11:31:56 -07:00
poornas
4753e1e61b
Display watch help [FLAGS] before target ( #2220 )
2017-07-18 10:39:21 -07:00
Krishnan Parthasarathi
8d7888eb4f
Improve mc-cp error message ( #2208 )
2017-07-15 12:11:21 -07:00
Carter McClellan
54a7460fa0
fix to mc admin ( #2207 )
2017-07-11 09:39:32 -07:00
Harshavardhana
5c135d25d6
mc: Vendorize minio-go this brings in streaming support. ( #2203 )
...
This PR brings following changes
- Brings streaming support for mc uploads.
- Brings support for copying objects upto 5TiB
as a consequence of ComposeObject implementation
in minio-go.
2017-07-06 20:41:34 +01:00
Harshavardhana
8391a69dc5
mirror/diff: Ignore errors during objectDifference. ( #2200 )
...
Files which are broken in symlink, not accessible
and unsupported should be ignored. We should proceed
to next object.
Fixes #2199
2017-07-06 09:17:34 -07:00
A. Elleuch
1b9beadf2b
cat: Ignore Stat() error and pass to Get() ( #2166 )
...
* client: Avoid returning metadata with Get()
client-s3.Get() calls Stat() method because Get() is supposed to return
object metadata. This PR makes a change in client interface so metadata
is returned in Stat() method. This is beneficial for us to avoid calling
HEAD method in S3 when run `mc cat`
* cat: Ignore Stat() returned error
In case of cache gateway, HEAD objects returns 404 even though
objects are gettable. This PR ignores Stat() error since its
purpose in case of cat is to check if the download object size
is equal to what the server announced.
2017-07-04 08:13:57 -07:00
Harshavardhana
05f588fd19
mc: Inherit global flags for initialization messages. ( #2189 )
...
Fixes #2089
2017-06-26 09:10:14 -07:00
A. Elleuch
d01a50d301
minio-go: Revendorize to update ( #2194 )
2017-06-24 12:03:22 -07:00
Harshavardhana
3b53bbe478
build: Fix release tags of filenames in release. ( #2192 )
2017-06-23 11:41:30 -07:00
Harshavardhana
685299ab75
mirror: Add timestamp check similar to aws s3 sync ( #2188 )
...
Currently `mc mirror` requires source to be
uploaded only if the size is different than the
object on remote server. This PR adds support to
check for last modified time of the source object
as well such that we upload if there are timestamp
differences as well.
Fixes #2187
2017-06-21 16:34:19 -07:00
Harshavardhana
1a8561115b
Allow minio-go to validate bucket names. ( #2183 )
...
Related change in minio-go https://github.com/minio/minio-go/pull/708
Fixes minio/mc#2157
2017-06-21 21:12:10 +01:00
Minio Trusted
c32b1ea48b
Add -s -w for gen-ldflags.go
2017-06-14 20:34:56 -07:00
Nitish Tiwari
ea05fcbcf5
Add Docker release files for mc ( #2182 )
...
- New Dockerfile will be used for mc release images.
- Statically built binary is downloaded from dl.minio.io website and used in the docker image.
2017-06-14 20:01:32 -07:00
Anis Elleuch
2d44e8c85e
Fix travis and some code formatting ( #2181 )
2017-06-13 14:51:20 -07:00
CarterMcClellan
21c677fc2d
config: default S3v2 for google endpoints ( #2179 )
2017-06-13 14:50:17 -07:00
Anis Elleuch
800f0af04e
config: Hosts listing cuts fields and adds '...' ( #2180 )
...
New host list format when listing several hosts
```
myminiopublic : http://localhost:9000
myminios : https://minio1.duckdns.org :... Q3AM3UQ867SPQQA43P2F zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG S3v4
testazure : http://172.17.0.7:9000 myazureac Gh5543wekitnifILbZam1KYY3TGlswRminio1... S3v4
```
New host list format when listing one host:
```
azure: http://localhost:9000 myazureac Gh5543wekitnifILbZam1KYY3TGlswRminio1u7BJ86wekitnifILbZam1K== S3v4
```
2017-06-12 14:06:50 -07:00
CarterMcClellan
398bac82d9
Changed install from source instructions. ( #2178 )
2017-06-08 15:08:49 -07:00
CarterMcClellan
cd16de763c
Updated build instructions from source. ( #2177 )
2017-06-08 20:39:34 +00:00
Harshavardhana
694ab27649
build/release: Add sha256sums for minio client releases. ( #2171 )
...
Additionally deprecate support for arm6vl platform.
Fixes #2151
2017-06-07 17:09:19 -07:00
Anis Elleuch
61f2595852
fix: Set quiet when term width is unavailable ( #2173 )
...
mc was asking the user to provide --quiet flag when terminal
width is not available for any reason. This PR tries to fetch
the terminal width at mc startup and automatically set quiet flag
when it fails to fetch the width.
2017-06-06 21:48:08 -07:00
Harshavardhana
be3370396a
Remove client instance being sent back in eventInfo() ( #2167 )
2017-06-05 07:44:22 -07:00
Nitish Tiwari
fed9ebe39d
- Call the progress bar Finish method once all files are updated ( #2165 )
...
- Fixes https://github.com/minio/mc/issues/2161
2017-05-26 18:17:50 +01:00
Anis Elleuch
6c677e0d11
mirror: Sync empty buckets ( #2160 )
2017-05-22 09:21:45 -07:00
Anis Elleuch
320e29e03f
info: Show info of all cluster servers ( #2149 )
2017-05-22 00:13:35 -07:00
Harshavardhana
7f65ad4957
Add UTCNow() helper function ( #2155 )
...
This patch adds UTCNow() function which returns current UTC time.
This is equivalent of UTCNow() == time.Now().UTC()
Refer https://github.com/minio/minio/pull/3931
2017-05-16 18:50:54 +02:00
Anis Elleuch
372e905dad
s3: Enforce virtual host style with China endpoint ( #2153 )
2017-05-11 09:19:12 -07:00
Harshavardhana
7027211e58
docs: Fix bash_autocomplete download link ( #2150 )
2017-05-10 09:10:04 -07:00
Harshavardhana
f0ccc91890
fs: Allow copying to special files if possible. ( #2146 )
...
Fixes #2145
2017-05-03 11:21:02 -07:00
Anis Elleuch
136e286ef4
mb: Update pkg to retry mb with unmatched region ( #2139 )
2017-04-29 00:34:26 -07:00
Anis Elleuch
e54962e17f
mb: Add -p flag to ignore existing bucket/dir ( #2143 )
...
If a remote directory/bucket exists, -p will still make mb cmd
happy if the target already exists.
2017-04-28 13:13:44 -07:00
Marco Liceti
39aa635971
Added configure section with note for Docker users ( #2141 )
2017-04-26 13:50:32 -07:00
Anis Elleuch
61e511cc3e
fs watch: Use a dynamically sized channel ( #2109 )
...
Write a growing/shrinking channel to be able to absorb filesystem
notify events even when they come in large numbers.
2017-04-24 01:01:11 -07:00
Scott McClellan
dd9e715599
Improved Error Msg For Bucket Names that Contain non-LOWERCASE chars ( #2134 ) ( #2135 )
2017-04-22 22:15:27 +01:00
Harshavardhana
9bdb7affb1
build: Fix add macOS source work-around for Go bug. ( #2138 )
...
Upstream bug https://github.com/golang/go/issues/19734
Fixes #2137
2017-04-20 22:42:10 +01:00
Anis Elleuch
9a881562b9
watch: Fix regression in watch local fs events ( #2133 )
2017-04-18 12:43:09 -07:00
Anis Elleuch
656f4f13d0
session: Close data session file when migrating ( #2126 )
...
Cleanup needed before removing the data file
2017-04-18 12:37:54 -07:00
Scott McClellan
9eb967cabf
minor fixes to mc share download command ( #2106 )
...
improved error messages and issue with `--recursive` option.
Fixes #2099
2017-04-17 17:37:11 -07:00
Anis Elleuch
1bf5ac350f
madmin: Update and adapt mc to new lib changes ( #2131 )
2017-04-16 20:42:55 -07:00
Anis Elleuch
313d0a358f
cp: Set exit status to 1 for any error ( #2127 )
...
Non fatal errors during copy were not setting mc exit code with 1. This
commit fixes the behavior.
2017-04-15 00:20:13 -07:00
Peter Tribble
81f3ffa3af
Fix solaris build ( #2122 )
2017-04-12 19:55:02 +02:00
Harshavardhana
9ea42680b0
watch/events: Add eventInfo struct for brevity. ( #2120 )
2017-04-11 09:08:04 -07:00
Harshavardhana
018bcbf629
cli/docs: Fix all cli docs to be consistent in terms of usage. ( #2119 )
...
ALIAS should be called as TARGET for all cli commands.
2017-04-11 12:06:02 +01:00
koolhead17
0733d37c67
docs: Fix brew command to install mc. ( #2121 )
2017-04-11 00:26:05 -07:00
Harshavardhana
b0968e29e8
watch/events: Support events on Get/Head operations as well. ( #2116 )
...
Fixes #2073
2017-04-10 11:50:52 -07:00
Harshavardhana
fac4ef81b2
docs: Fix README.md to reference edge container. ( #2118 )
2017-04-09 10:43:47 -07:00
Harshavardhana
e494e138fe
docs: Fix README.md to point to new homebrew tap ( #2114 )
2017-04-07 03:39:56 -07:00
Anis Elleuch
5805a37d27
alias: Support underscore in alias name ( #2113 )
...
my_minio will be supported.
2017-04-05 14:53:57 -07:00
Anis Elleuch
ad04a6fcc4
heal: Fix help text ( #2111 )
2017-04-05 13:58:54 -07:00
Krishnan Parthasarathi
7084a4361e
Replace admin-heal-list with admin-heal --fake ( #2101 )
...
* Replace admin-heal-list with admin-heal --fake
* Improve admin-heal message for partial healing
* Vendorize pkg/madmin changes to include improved messaging for
partial healing of objects/uploads.
* Modify message strings to include additional heal result information
like number of disks where heal was successful.
2017-04-03 12:16:21 -07:00
Anis Elleuch
a009299433
Revert "trace: Avoid httputil for less memory consumption ( #2102 )" ( #2104 )
...
This reverts commit eafa942a30 .
2017-04-02 14:02:35 -07:00
Anis Elleuch
1c038760ce
vendor: Update minio-go package ( #2103 )
...
New minio-go commits are introduced:
sigv2: Do not encode canonical sub-resource value (#636 )
Core.PutObject takes md5 and sha256 sums (#635 )
allow bucket location responses with empty Message (fixes #629 ) (#630 )
listen: Add support for HEAD/GET bucket events (#634 )
docs: Remove extra space from code blocks (#632 )
docs: Remove extra space from code blocks. (#631 )
Implement a new NewWithRegion() API for static region. (#627 )
Fix table syntax for SetBucketPolicy parameters (#628 )
Changes needed for implementing "minio gateway s3" (#623 )
Typo in variable name (#625 )
api: Support encryption for Put/Get Object (#613 )
api/retry: Support connection retry for Dial timeout. (#622 )
2017-04-02 04:47:42 -07:00
Anis Elleuch
eafa942a30
trace: Avoid httputil for less memory consumption ( #2102 )
...
Rewrite tracing without httputil since it consumes memory with
requests that have huge data.
2017-03-31 11:17:55 -07:00
Krishnan Parthasarathi
05468dfc8d
Improve admin subcommand structure ( #2098 )
...
- Rename password subcommand to credentials
- Make clear-lock require --force flag
- Also, fix lock and heal mc-admin subcommand usage text.
2017-03-31 01:12:00 -07:00
Scott McClellan
ff7ed00714
Fix for issue #2093 NAME: ( #2100 )
...
mc share list COMMAND - List previously shared objects and folders.
COMMAND:
upload: list previously shared access to uploads.
download: list previously shared access to downloads.
USAGE:
mc share list COMMAND
EXAMPLES:
1. List previously shared downloads, that haven't expired yet.
$ mc share list download
2. List previously shared uploads, that haven't expired yet.
$ mc share list upload help text misleading...
2017-03-30 18:39:35 -07:00
Anis Elleuch
3c0094a5fe
diff: Change output UI ( #2097 )
...
Use >, < and ! marks to represent differences between
source and destination.
2017-03-29 15:51:29 -07:00
Anis Elleuch
923c0e24b1
share: Download shares the url of exact prefix ( #2096 )
...
When recursive flag is not specified, share download will only
generate download urls for the object which has the exact same
prefix.
2017-03-29 14:43:24 -07:00
Harshavardhana
3b57e86cd3
cli: Add bash and zsh autocomplete ( #2095 )
...
Fixes #2094
2017-03-28 16:57:13 -07:00
Harshavardhana
1a6987558a
admin: Hide help sub-command from 'mc admin service' ( #2091 )
2017-03-26 10:30:35 +01:00
Dee Koder
a15d54c4a8
docs: Removed space from code blocks. ( #2087 )
2017-03-23 19:07:02 -07:00
koolhead17
3c4c1222d8
docs: fix for README.md Markdown table. ( #2082 )
2017-03-23 09:14:35 -07:00
Anis Elleuch
250def49d5
madmin: Update package ( #2084 )
...
This brings up the following fix:
https://github.com/minio/minio/commit/181e002c56d6df84576038bab94079c3f1cdf718
Besides, this PR adds removes an uneeded line in admin cmd output.
2017-03-22 20:44:37 +01:00
Anis Elleuch
b1e3d147f5
ls: Fix listing incomplete entries result ( #2081 )
...
This also factors common code used by several types
of listing routines, by creating a filtering channel
of results returned by these channels.
e.g. Filter out incomplete uploads or vice versa
2017-03-21 10:34:43 -07:00
Anis Elleuch
6c89b81d7b
fs: Remove handling of specific windows symlinks ( #2080 )
...
Go has fixed the problem of dealing with junction files
(https://github.com/golang/go/issues/9190 ). This commit
simplifies the code of client fs
2017-03-20 15:51:28 -07:00
Anis Elleuch
7c7969ed55
admin heal: Support for uploads healing ( #2076 )
...
mc admin heal supports --incomplete flag to list and heal uploads.
2017-03-20 13:56:52 -07:00
Anis Elleuch
29920f8c9c
fs stat(): Return dir stat with incomplete flag ( #2078 )
...
fs.Stat() returns an error when the path corresponds to
a directory and incomplete flag is enabled. This PR follows
S3 client behavior and fixes the behavior.
2017-03-20 11:06:43 -07:00
Bala FA
9ebb916902
Use words package from minio for DamerauLevenshteinDistance() ( #2075 )
2017-03-19 18:25:22 -07:00
Harshavardhana
4369359286
policy/links: Do not list prefixes in recursive mode. ( #2070 )
2017-03-14 19:41:26 +01:00
Harshavardhana
1dab94c625
Split config-host into remove, list, add commands ( #2069 )
...
This PR also adds convenient aliases for
- remove as `rm`
- list as `ls`
- add as `a`
Also brings much needed cleanup.
2017-03-11 18:50:56 -08:00
Harshavardhana
6c0f804f32
vendor update minio-go with new fixes. ( #2068 )
2017-03-11 00:48:24 +01:00
Anis Elleuch
7991f67863
vendor: Update minio-go to bring #620 fix ( #2067 )
...
https://github.com/minio/minio-go/pull/620
2017-03-10 00:14:17 +01:00
Anis Elleuch
22ab1c4901
vendor: Update minio-go to bring #619 fix ( #2066 )
...
https://github.com/minio/minio-go/pull/619
2017-03-09 22:15:34 +01:00
Krishna Srinivas
53cb92038a
Set secretKeyMaxLen = 100 to accomodate azure's account-key length. ( #2054 )
2017-03-08 16:53:04 -08:00
Harshavardhana
4425378b37
mc: Code cleanup after running gosimple tool ( #2065 )
2017-03-08 10:48:45 +01:00
Anis Elleuch
7fda78af40
info: Add sqs ARNs to the output ( #2063 )
2017-03-07 03:13:49 -08:00
Anis Elleuch
6e8320a6dc
cp: Fix guessing if target url is a directory ( #2062 )
...
This fixes `mc cp /etc/issue/ /tmp/new_dir/` where
/tmp/new_dir/ doesn't exist yet.
2017-03-07 02:56:14 -08:00
Harshavardhana
99682ecbdb
admin: HealObjectInfo can be nil skip it. ( #2059 )
...
Fixes #2058
2017-03-03 20:37:04 -08:00
Anis Elleuch
bf657a33e3
admin: Add set config command ( #2051 )
...
Which works this way:
```
cat config.json | mc admin config set myminio/
```
2017-03-03 15:18:23 -08:00
Harshavardhana
bab1b9302e
epoll_wait is not implemented on ARM64 Linux ( #2052 )
...
Vendorize the fixes for fsNotify package to avoid
crashes on ARM64 Linux.
Fixes #2047
2017-03-01 15:15:59 -08:00
Anis Elleuch
8ce6f43e35
Stop mirror/diff when difference() sends error ( #2049 )
...
The caller of difference() now receives errors so it can
stop mirroring or difference calculation.
2017-03-01 11:06:26 -08:00
Anis Elleuch
ecee324c00
admin: Add config get command ( #2037 )
2017-02-28 14:33:26 -08:00
Harshavardhana
0934a39d73
cli: Fix more commands with inconsistent UI ( #2045 )
2017-02-28 00:21:46 +01:00
Anis Elleuch
7673ef084d
admin: Add info cmd and simplify service status ( #2036 )
2017-02-27 12:29:12 -08:00
Anis Elleuch
55e010ca52
mirror: Return exit code after mirror/watch error ( #2043 )
2017-02-27 11:45:16 -08:00
Harshavardhana
1ef242a5c1
Fix all cli commands to have consistent UI ( #2040 )
...
Fixes #2038
2017-02-27 11:44:26 -08:00
Harshavardhana
071c71efbc
Fix macOS build ( #2041 )
...
Fixes #2039
2017-02-27 00:44:09 -08:00
Anis Elleuch
798775775b
Use ` instead of unicode single quote ( #2033 )
...
‘ is not supported in some dumb terminals, use ` instead
2017-02-25 11:08:32 -08:00
Harshavardhana
2ca601ef22
cli: Remove help sub-command and --version flag ( #2030 )
...
This is to bring consistent CLI experience as before.
2017-02-21 23:00:09 +01:00
Nitish Tiwari
1cfb326e2f
Update AWS credentials URL ( #2031 )
2017-02-21 00:55:53 -08:00
Harshavardhana
675fbee1f3
mc: Rewrite update and version command. ( #2026 )
...
- Supports docker image
- Supports showing how old your current
`mc` version is.
2017-02-20 22:04:54 +01:00
Harshavardhana
d055f0edac
fs: new files and folders created honors umask ( #2023 )
...
umask should be honored properly for all write
operations on filesystem. This is in line with
how all unix tools behave.
Fixes #2022
2017-02-19 22:41:56 +01:00
Harshavardhana
1f48b16acb
cli: Make sure to add "--help" flag for subcommands. ( #2024 )
...
--help is now back and prints properly with command
help template.
2017-02-19 12:30:16 -08:00
Harshavardhana
41d4857d73
Add conflict document regarding midnight commander ( #2021 )
2017-02-18 21:44:28 -08:00
Harshavardhana
f7dbf9a20b
Let mc to be compiled with 1.7.5 onwards.
2017-02-18 03:05:34 -08:00
Harshavardhana
d7a3a0bce3
Move to go1.8 for all builds. ( #2019 )
2017-02-17 21:29:53 +01:00
Anis Elleuch
7483cdebfb
mirror: Quit after showing all progressbar updates ( #2020 )
...
mc can quit when mirror terminates but progress bar is not able
to show all made progress. This commit makes mc waits until all updates
are sent to the status channel.
2017-02-17 12:10:01 -08:00
Harshavardhana
e7e44b96ee
Avoid printing hidden flags and commands with custom help. ( #2015 )
...
Always use .VisibleFlags and .VisibleCommands in templates
to avoid printing hidden flags and commands in the help
template.
2017-02-15 02:05:29 -08:00
Anis Elleuch
43388a06ca
client-s3: Recursive List() avoids listing buckets ( #2014 )
...
This fixes bug in `mc mirror myminio/ /tmp/dir` since objectDifference() can only
take care of mirroring objects.
2017-02-13 13:47:49 -08:00
Anis Elleuch
ace3f452c3
mirror: Mirror buckets if only alias is specified ( #2006 )
2017-02-12 11:20:05 -08:00
Anis Elleuch
fb9d10772a
help: Use {{.HelpName}} in help/examples template ( #2013 )
...
It is easier to use {{.HelpName}} in help text template to print
the mc binary name plus the whole command hierarchy (binary name +
command + subcommand, etc..)
2017-02-12 09:30:00 -08:00
Bala FA
a5014a8c71
trie: use trie package in minio. ( #2010 )
2017-02-10 19:28:45 -08:00
Anis Elleuch
8ce4b39fed
admin: Rename creds to password subcommand ( #2009 )
...
Use new command "mc admin password" to change creds
2017-02-09 12:13:45 -08:00
Bala FA
f01f94a691
rm: fix multiple args handling ( #2008 )
2017-02-09 01:18:56 -08:00
janv37
04cd5e80ee
Add build support for OpenBSD on i386 and amd64 ( #2005 )
2017-02-08 09:21:24 -08:00
Harshavardhana
4fd1500312
Fix mc admin restart message.
2017-02-07 01:49:43 -08:00
Harshavardhana
5b74d8c444
Bring --watch option back for mirror to make scripting as default. ( #2001 )
2017-02-06 11:58:20 -08:00
Harshavardhana
1d683ea83e
Fix --watch option
2017-02-05 21:06:29 -08:00
Krishnan Parthasarathi
38652b168a
Improve note on setting download policy ( #1998 )
2017-02-04 10:53:01 -08:00
Harshavardhana
cca8c10f33
mirror: For non-s3 make sure we copy and exit properly. ( #1995 )
2017-02-03 15:55:44 -08:00
Harshavardhana
2ffa265d8c
Add docker file as part of the README.md ( #1941 )
2017-02-02 15:10:04 -08:00
Anis Elleuch
ad850412d2
lock: Update madmin pkg and use duration flag name ( #1994 )
...
* Use new errors format returned madmin APIs
* Use duration query name in Locks API
2017-02-01 12:19:27 -08:00
Anis Elleuch
4f0c2bf376
mirror: Avoid session and enable continuous mirror ( #1992 )
...
* Watch mode is enabled by default without specifying any flag
* Saving session is removed since mirror is incremental
* Remove the use of queue to simpliy the code
2017-01-31 09:39:39 -08:00
Harshavardhana
fa75251c76
Allow saving accessKey, secretKey which is empty. ( #1990 )
...
Fixes #1989
2017-01-25 17:42:45 -08:00
Anis Elleuch
3fefebd05d
heal: Don't print info if heal obj returns an err ( #1988 )
...
When heal object returns an error, just print an error and continue with the
next objects.
2017-01-25 13:50:45 -08:00
Harshavardhana
9d7529118e
Add build support for pine64 ( #1987 )
...
Also update notify package with new fixes.
2017-01-25 13:37:06 -08:00
Anis Elleuch
507e7672c2
madmin: Update vendorized management API ( #1986 )
...
Update to fix an ListObjectsHeal() issue
2017-01-25 22:30:21 +01:00
Anis Elleuch
9c81d374b1
heal: Show help when alias is not specified ( #1985 )
2017-01-25 12:30:22 -08:00
Anis Elleuch
38c3703d08
admin: Heal format in heal command ( #1980 )
2017-01-24 15:05:32 -08:00
Anis Elleuch
973dc13cc0
admin: Set 5 min timeout for header response ( #1982 )
...
For admin management API requests, we set 5 min as default value
2017-01-24 23:05:19 +01:00
Aaron Walker
bca93f6c83
Mirror: normalize keys before comparing ( #1978 )
...
vendorize golang.org/x/text/unicode/norm dependency
vendorize golang.org/x/text/transform dependency
add example of multiple encodings
2017-01-24 11:51:59 -08:00
Anis Elleuch
caf6bfb76f
admin: service status uses new response format ( #1979 )
...
server & service fields are added to JSON response
2017-01-23 17:01:21 -08:00
Harshavardhana
76180184a5
client: S3 and Admin clients should have TLSConfig. ( #1977 )
...
TLSConfig should be allocated regardless of the
URL scheme so that the re-direction works properly.
Without this change if a server is configured with
self signed certs redirection would fail with
```
x509: certificate signed by unknown authority
```
Allocate TLSConfig always with default values.
2017-01-23 14:38:56 -08:00
Anis Elleuch
0e1e954768
Add new admin Heal command ( #1958 )
...
e.g.: `mc admin heal list myminio/` and `mc admin heal myminio/testbucket`
Also, some heal files that belong madmin package have been added
2017-01-22 15:19:06 -08:00
Anis Elleuch
b031817fce
admin: Add creds command ( #1976 )
...
mc admin service creds command set new access and secret keys in the specified Minio server
2017-01-22 15:17:55 -08:00
Anis Elleuch
6b2e63e66c
locks: Use new json format for list/clear results ( #1975 )
...
Also minio-admin package has been updated
2017-01-19 12:07:45 -08:00
Anis Elleuch
085a1e512f
flags: use IsSet to fetch for cli flags ( #1969 )
...
cli package fails to search for global flags when we use many level of subcommands. This PR uses context.IsSet() instead.
2017-01-19 11:25:35 -08:00
Dee Koder
31cb23f586
updated badges to slack from gitter ( #1973 )
2017-01-17 11:59:37 -08:00
Harshavardhana
6a7ca4311e
cli: update with urfave/cli changes ( #1968 )
2017-01-16 10:41:56 -08:00
Harshavardhana
d87078bee6
service: Remove service stop command. ( #1967 )
...
Deprecate and remove `stop` admin command.
2017-01-14 16:38:01 -08:00
Harshavardhana
50228116e1
Fix source code format issues.
2017-01-13 16:55:25 -08:00
koolhead17
95033f3f76
docs: Updated --older-than syntax in doc. ( #1966 )
2017-01-13 01:06:39 -08:00
poornas
a8acbe5cfb
sort output of mc config host list ( #1959 )
2017-01-10 13:42:34 -08:00
poornas
f9d4c4dbac
fixed formatting for list host ( #1955 )
2017-01-09 18:48:22 -08:00
Anis Elleuch
17abc6c736
admin service: json output depends on backend type ( #1950 )
...
'Type' field in the json output contains 'FS' or 'XL', also read/write quorums information
are hidden and online/offline disks are shown only when the backend storage is XL
2017-01-09 08:49:53 -08:00
Anis Elleuch
94bd9564d0
admin: fatal message for unknown aliases ( #1953 )
...
This change issues a fatal message when the provided alias in cli is not known
2017-01-09 08:47:43 -08:00
Anis Elleuch
c6cb6595be
admin: Simplify client initialization ( #1951 )
...
newAdminClient() is added to simplify initialization and take care of ssl connections
and tracing http request
2017-01-07 16:00:22 -08:00
Harshavardhana
a2f25c2f3b
Remove references for GO15VENDOREXPERIMENT=1
2017-01-06 18:59:55 -08:00
Harshavardhana
5d3c4ed96c
admin/lock: list locks defaults to 24hrs and older.
2017-01-06 01:42:47 -08:00
Anis Elleuch
7cec8f2285
Add admin lock command ( #1942 )
2017-01-06 01:29:49 -08:00
Anis Elleuch
86777e7863
links: Print encoded form of public URLs ( #1947 )
2017-01-05 12:16:24 -08:00
Harshavardhana
853fea16b4
Enable support for s3 transfer acceleration. ( #1946 )
...
Simply use
```
mc config host add s3-accel https://s3-accelerate.amazonaws.com <access_id> <secret_id>
```
This is all is needed, if you have buckets which has s3 acceleration
enabled it just works transparently.
Fixes #1912
2017-01-05 01:36:01 -08:00
Harshavardhana
9cf76b1233
api: StatObject if listing returned missing file. ( #1945 )
2017-01-04 18:36:09 -08:00
Anis Elleuch
66a65aab02
Add policy links command ( #1943 )
2017-01-04 08:24:58 -08:00
Harshavardhana
5581915bc0
session: Validate session config header version. ( #1940 )
2017-01-01 13:30:10 -08:00
Harshavardhana
ee7f4e1d52
Simplify loading config and use config loader with version check. ( #1939 )
2017-01-01 13:02:27 -08:00
Harshavardhana
8c65985cd0
rm: Allow delete of objects with / at the end. ( #1937 )
...
Fixes #1931
2017-01-01 10:26:00 -08:00
Harshavardhana
23a58eb5da
mc: Introduce new Dockerfile for mc. ( #1938 )
...
This is to build `mc` at hub.docker.com
Fixes #1917
2016-12-31 20:49:05 -08:00
Anis Elleuch
9193eef1c9
clientfs: Fix policy mode calc. in GetAccess() ( #1936 )
...
Masking target directory file mode to be able to perform correct comparaison with policy standard file permissions in FS mode
2016-12-23 06:54:45 -08:00
Anis Elleuch
e90e9bc352
admin: Introduce the new service command ( #1922 )
...
Introducing Admin Service cmd to mc
2016-12-22 13:37:55 -08:00
Harshavardhana
a1d860f818
Add Solaris/Illumos source installation.
2016-12-22 13:24:25 -08:00
Harshavardhana
d733d68b0c
enable static build releases with CGO_ENABLED=0 ( #1935 )
...
Also removing darwin build, since we do brew install.
Removing solaris since it doesn't build anymore.
Fixes #1933
2016-12-22 12:54:26 -08:00
Aditya Manthramurthy
4a96d65408
gofmt fixes ( #1930 )
2016-12-16 08:29:00 -08:00
Dee Koder
1e16ed5e55
404fix: Update docs.minio.io/docs/minio to docs.minio.io/minio-quickstart-guide ( #1929 )
2016-12-15 12:39:41 -08:00
Harshavardhana
782352ae56
mirror/cp/pipe: Preserve metadata while copying s3 to s3. ( #1927 )
...
Fixes #1923
2016-12-14 20:06:52 -08:00
koolhead17
d97ba4eb0d
docs: Removed $ from code block to make code copy easier. ( #1928 )
2016-12-14 12:37:58 -08:00
Harshavardhana
282246fff2
mirror: --remove should properly remove files on target. ( #1926 )
...
This bug happened after rm-main was refactored.
Fixes https://github.com/minio/minio/issues/3432
2016-12-12 14:31:46 -08:00
Anis Elleuch
b3059164aa
cli: Fix --version output ( #1924 )
2016-12-12 10:21:52 -08:00
Harshavardhana
64166319ee
cp/diff/mirror: Cleanup code and deprecate unnecessary flags. ( #1914 )
...
This fix also fixes an apparent crash found in diff.
```
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x4bdc07]
goroutine 84 [running]:
panic(0x810ea0, 0xc4200120e0)
/home/builder/.gimme/versions/go1.7.3.linux.amd64/src/runtime/panic.go:500 +0x1a1
github.com/minio/mc/cmd.objectDifference.func1(0xc4200880a8, 0xc42042ee56, 0xc420315ec0, 0xc4200880b0, 0xc42042ee57, 0xc420315f20, 0xc42042ee54, 0xc42042ee55, 0xc420315501, 0xc4200880a0, ...)
/home/builder/mygo/src/github.com/minio/mc/cmd/difference.go:109 +0x197
created by github.com/minio/mc/cmd.objectDifference
/home/builder/mygo/src/github.com/minio/mc/cmd/difference.go:180 +0x2f5
```
2016-12-06 01:41:22 -08:00
Harshavardhana
b8e732e526
events: Fix the message printed by events{add,remove} ( #1911 )
...
Fixes #1900
2016-12-05 14:14:01 -08:00
Harshavardhana
f0d926ebba
fs: Enhanced ignore list to do glob match. ( #1910 )
...
Fixes #1902
2016-12-05 14:07:18 -08:00
Harshavardhana
1e48d10617
mirror: Avoid flushing session to disk on each i/o operation. ( #1909 )
...
The problem was for each read from statusCh we were writing
to session file again and also syncing to disk. This adds
severe performance problems.
Fixes #1908
2016-12-05 13:53:09 -08:00
Anis Elleuch
ce9d706716
cat: return err in case s3 object short read ( #1907 )
...
cat inspects the size of the downloaded s3 object when specified to
detect a possible short read
2016-12-04 13:59:07 -08:00
Anis Elleuch
81abbca12f
Vendorize new minio-go version ( #1905 )
2016-12-02 16:36:34 -08:00
Anis Elleuch
2cd67b296e
tls: load custom public certificates from CAs dir ( #1901 )
...
When a user needs to setup his own TLS configuration, he can put his
custom authority certificates in ~/.mc/certs/CAs/. These certificates will
be automatically loaded at startup and will be set to all HTTPS connections
2016-12-02 11:16:01 -08:00
Anis Elleuch
7976d6d805
Continue listing incomplete uploads when we receive an error associated to a specific object ( #1899 )
2016-11-27 10:33:35 -08:00
Harshavardhana
df395786bd
mc: Consistent exit codes across all commands. ( #1895 )
...
Also brings in much needed CLI changes from
upstream and backporting our custom changes on
top of those changes.
Fixes #1880
2016-11-27 12:35:59 +05:30
Harshavardhana
2412aae68f
cp/mirror: Use proper paths for windows during copyObject. ( #1897 )
...
Fixes #1857
2016-11-27 12:26:02 +05:30
Harshavardhana
0a42e2969a
Relax access/secret key requirements as minio server. ( #1894 )
...
Also add tests in the process.
2016-11-24 12:10:28 -08:00
Harshavardhana
b51e6b0485
Fix downloading files with exact ranges requested in client FS. ( #1892 )
...
This is due to the fact that ReadAt() will not send io.EOF
when reading past the offset, server instead returns
Range error. Handle the error by only reading until the
requested size.
2016-11-21 02:53:24 -08:00
Harshavardhana
e1ed7c65e7
Fix a debug message in session close.
2016-11-20 18:41:12 -08:00
Harshavardhana
cf89d74561
Vendorize new minio-go code. ( #1891 )
...
This fixes #1889 .
```sh
mc mirror -w
```
Now runs continous even when the source is not available.
Reconnects indefinitely in a binomially increasing fashion
and also allows jitter so that the retry has a nice
distribution as well.
This allows for 'mc mirror -w' to run continously without
further monitoring.
2016-11-20 16:31:53 -08:00
Harshavardhana
38aec4d875
mirror and cp should print size in --json mode. ( #1890 )
...
```sh
mc cp -r --json /usr/bin /tmp | jq .
...
...
{
"status": "success",
"source": "/usr/bin/gcm-viewer",
"target": "/tmp/bin/gcm-viewer",
"size": 87128,
"totalCount": 2602,
"totalSize": 677422730
}
```
This allows scripts to build progress around this data.
2016-11-20 14:46:24 -08:00
Royce Remer
23f0a27acc
we removed GOINSTALL.md some time ago, point at new minio docs withe same instructions ( #1888 )
2016-11-18 18:37:38 -08:00
Royce Remer
447cb7a726
fix regex comparator for GOROOT ( #1887 )
2016-11-18 18:37:16 -08:00
Harshavardhana
fa5a339434
Move to latest x/sys/unix for arm64 fixes. ( #1882 )
...
Related to fixes here golang/go#15393
2016-11-18 18:04:09 -08:00
Dee Koder
7a295dd5fa
bugfix: Remove sh tag for mc list of commands ( #1881 )
2016-11-15 15:42:08 -08:00
Anis Elleuch
2895b0acca
Put() in client fs avoids reading from input reader when data is zero lengthy ( #1879 )
2016-11-08 16:59:23 -08:00
Anis Elleuch
ab9cdd7fce
Fix policy cmd syntax checking ( #1878 )
2016-11-08 13:32:27 -08:00
Anis Elleuch
cc6fa9acbf
Rename 'both' policy to 'public' ( #1877 )
2016-11-08 10:55:55 -08:00
Justin Clift
e14dcccd37
Adjust a help text line to match its example description ( #1869 )
2016-11-03 11:51:11 +05:30
Anis Elleuch
27526399f5
Vendorize new minio-go version as it brings new fixes ( #1867 )
2016-11-02 02:51:35 -07:00
Harshavardhana
8009e8108b
Validating signature type should be case insensitive. ( #1866 )
2016-10-28 10:50:43 -07:00
Anis Elleuch
b45d48f4f1
Update minio-go library ( #1864 )
2016-10-26 16:39:23 -07:00
Anis Elleuch
b9f1950320
Use correct share upload url ( #1863 )
2016-10-25 13:23:22 -07:00
Bala FA
6de2b4559e
Refactor rm command. ( #1855 )
...
This patch makes rm command to use minio-go.RemoveObjects() to removeobjects recursively.
2016-10-17 20:24:09 -07:00
Bala FA
0661f537cf
update help messages of all commands. ( #1856 )
2016-10-17 20:18:55 -07:00
Anis Elleuch
b737b2e7fc
Better error message when trying to monitor a non minio s3 provider ( #1854 )
2016-10-13 09:16:46 -07:00
Anis Elleuch
d9b3f276b8
Fix remote path calcuation when continuously mirroring fs dir to any target ( #1853 )
2016-10-10 13:03:40 -07:00
Anis Elleuch
53ab0168e4
Correct behavior of listing and removing empty directories ( #1851 )
...
* Listing empty directy returns empty entries
* Remove empty directories in rm cmd
2016-10-08 04:16:02 -07:00
koolhead17
01f0c35651
docs: Added newly introduced sub-commands, flags with example. ( #1850 )
2016-10-07 08:45:17 -07:00
Bala FA
75d55783c0
ls: fix incomplete listing for specific prefix ( #1849 )
...
Previously it was failing like below.
```
$ mc ls --incomplete myminio/mybucket
[2016-09-16 09:48:57 PDT] 576MiB 1.iso
$ mc ls --incomplete myminio/mybucket/1.iso
mc: <ERROR> Unable to initialize target ‘myminio/mybucket/1.iso’. Object key is missing, object key cannot be empty
```
This patch fixes this issue.
2016-10-04 17:19:05 -07:00
koolhead17
f03aaef72f
docs: modified the guide to add Minio reference instead AWS S3. ( #1847 )
2016-10-03 00:10:14 -07:00
Anis Elleuch
f54e426bb1
Do not return S3 empty directories in recursive listing ( #1846 )
2016-10-01 21:32:22 -07:00
koolhead17
5b94ddc703
docs: Added note on mc mirror -w that it is minio only command. ( #1842 )
2016-09-30 09:13:15 -07:00
Harshavardhana
477461325d
update: Update link is printed automatically for RELEASE versions. ( #1840 )
...
This link is printed only for RELEASE versions when user doesn't
provide any sub commands.
Fixes #1839
2016-09-28 10:50:06 -07:00
Bala FA
3094af8a5e
rm: add timebased delete and object list from stdin ( #1837 )
...
* Add multi-delete support by taking object list from stdin
* Add support to `rm` to remove objects older than given time
* Add --prefix flag to differenciate prefix and target names.
Fixes #1827 #1828
2016-09-28 10:13:11 -07:00
Harshavardhana
add7dcc763
vendor: Update minio-go deps with latest changes ( #1836 )
...
- PutObject() parallel uploads
- ListenBucketNotification API change.
- Other misc fixes.
2016-09-27 16:10:24 -07:00
Anis Elleuch
df7acbcad4
Upgrade go version requirement to 1.7.1 ( #1832 )
2016-09-25 12:13:35 -07:00
Anis Elleuch
15b91126d5
More meaningful error messages with unsupported filesystem operations (share and policy) ( #1833 )
2016-09-25 10:20:56 -07:00
Anis Elleuch
2b24a7b520
Avoid seeking os.Stdin in client-fs Put() ( #1834 )
2016-09-25 10:19:13 -07:00
koolhead17
b404c7583b
docs: added newly introduced --insecure global option. ( #1823 )
2016-09-08 13:42:28 -07:00
Harshavardhana
6ce337ca38
Bring new fixes from minio-go related to PutObject and GetObject ( #1822 )
2016-09-09 02:11:53 +05:30
Anis Elleuch
d0caa630af
isTargetURLDir() returns true for aliased URLs with empty object names ( #1805 )
2016-09-05 20:38:40 -07:00
Anis Elleuch
8a48d604a8
Add policy list command ( #1811 )
2016-09-03 05:47:37 -07:00
Anis Elleuch
80b0aa3842
Fix inefficient assignments reported by ineffassign ( #1817 )
2016-09-02 12:31:52 -07:00
Harshavardhana
c6a383590d
mc: Do not print accounting with '--json' ( #1815 )
2016-09-01 20:13:49 -07:00
Anis Elleuch
fd34958ffa
Add --insecure flag to skip certificate validation ( #1814 )
2016-09-01 18:36:00 -07:00
Anis Elleuch
530a34a3f3
Fix crash when parallel mc instances try to migrate session files at the same moment ( #1812 )
2016-08-29 18:58:25 -07:00
koolhead17
90093b5d8c
Doc: Added install instructions via brew package manager for Mac. ( #1810 )
2016-08-29 18:48:22 -07:00
Harshavardhana
939dad5900
Move the notify events to new package - rjeczalik/notify. ( #1807 )
...
* Move the notify events to new package - rjeczalik/notify.
* improving handling of notify events on linux specific (#3 ) @nl5887
2016-08-24 02:11:55 -07:00
Dee Koder
85717527d9
docs: Fix capitalization in heading ( #1808 )
...
fixes https://github.com/minio/cookbook/issues/71
2016-08-22 11:58:01 -07:00
Harshavardhana
768be74f74
mirror: Fix progress bar for mirror server to server copy on same host.
2016-08-20 19:41:26 -07:00
Harshavardhana
a885ffd64b
mirror: Add missing events from mirror watch. ( #1804 )
2016-08-19 15:26:15 -07:00
koolhead17
e25f1ee72f
Doc: Replaced HTML table to Markdown in minio-client-complete-guide.md ( #1801 )
2016-08-19 13:46:13 -07:00
Harshavardhana
6e943832d5
doc: Add missing '--watch' example for 'mirror' command.
2016-08-19 02:37:18 -07:00
Anis Elleuch
3a3bc2ffb1
Fix typo in default events parameter ( #1802 )
2016-08-18 10:59:42 -07:00
Harshavardhana
90a421e4af
Fix windows builds.
2016-08-18 00:41:41 -07:00
Harshavardhana
bc72ffb6b2
doc: Add new watch and events command.
2016-08-17 18:43:51 -07:00
Harshavardhana
a30f0aca85
Add build-constants.
2016-08-17 18:30:01 -07:00
Harshavardhana
2ea2ec90d2
Rename mc --> cmd
2016-08-17 18:26:18 -07:00
Harshavardhana
22670acfbe
vendor: Update minio-go with new bucket policy changes.
2016-08-17 18:22:19 -07:00
Harshavardhana
358a5af98e
Fix table alignment for watch and events.
2016-08-17 18:15:15 -07:00
Harshavardhana
c70bd05494
Add colors properly for events.
2016-08-17 18:08:50 -07:00
Anis Elleuch
0b4d52a141
Add events and watch commands ( #1800 )
2016-08-17 17:59:05 -07:00
Harshavardhana
a47c86c54c
mirror: Watch() for events based on session time. ( #1799 )
...
Enable notification if not already set, avoid overriding
or append to existing notification set - all of this
needs to be done to make this transparent.
2016-08-16 14:32:15 -07:00
koolhead17
082ea3c295
Code: Fixed spelling mistake in files listed. ( #1797 )
2016-08-16 03:58:08 +05:30
Anis Elleuch
a4177ad30b
Add notify cmd to listen on bucket notifications ( #1791 )
2016-08-15 13:35:40 -07:00
Remco Verhoef
3603766f1c
changed package command to mc ( #1796 )
...
* changed package command to mc
* changed package from command to mc
2016-08-15 09:05:52 -07:00
Harshavardhana
951429fe67
Add code coverage and cleanup CI configs. ( #1795 )
2016-08-13 14:00:57 -07:00
Harshavardhana
f5ff7e15cf
mc: Fix release build flags after recent refactor. ( #1794 )
2016-08-13 13:49:18 -07:00
Harshavardhana
c9c95f2e9e
vendor: Remove minio-go.v2 from gopkg.in for now.
2016-08-13 12:47:18 -07:00
Remco Verhoef
bc79fba49a
async replication support for mirror ( #1784 )
2016-08-13 12:39:21 -07:00
Remco Verhoef
b51fb32054
Refacture structure proposal. ( #1793 )
2016-08-11 15:29:04 -07:00
koolhead17
c9ecd023fa
Doc: Added Minio client configuration files guide. ( #1789 )
2016-08-08 15:08:08 -07:00
koolhead17
c28aa819b6
Doc: This patch will add correct link for downloading 32 bit windows ( #1788 )
...
binary.
2016-08-06 10:10:44 -07:00
Anis Elleuch
f6ca45c384
Aliases should not start by a slash ( #1786 )
2016-08-05 09:09:51 -07:00
Krishnan Parthasarathi
75de34de90
Create ISSUE_TEMPLATE.md ( #1783 )
2016-07-29 19:31:47 -07:00
Anis Elleuch
429a0d00af
mc removes incomplete downloads .part.minio when rm is invoked with --incomplete flag ( #1769 )
2016-07-26 14:20:35 -07:00
koolhead17
acf933646b
Doc: minio-client-complete-guide.md ( #1781 )
...
Fixed broken link.
2016-07-24 23:52:31 -07:00
koolhead17
b427202237
Doc: Added Gitter channel link ( #1780 )
2016-07-24 21:54:56 -07:00
Dee Koder
8eaa9463c1
doc: Convert table with empty header to be html table. ( #1779 )
...
Fixes https://github.com/minio/cookbook/issues/39
2016-07-24 15:23:42 -07:00
koolhead17
e15f04c01b
Doc: Minor changes to appear correctly on Doctor. ( #1777 )
2016-07-21 15:02:17 -07:00
koolhead17
626baab73d
Doc:Changes to reflect on Doctor ( #1776 )
2016-07-21 12:41:25 -07:00
Anis Elleuch
5e8f861eac
Fix typo in session help and remove a comma glued to the access key in config host list ( #1775 )
2016-07-21 11:21:30 -07:00
Anis Elleuch
9217553a3c
Vendorize minio-go 2.0 and make mc use ListObjectsV2 ( #1771 )
2016-07-20 17:06:15 -07:00
Dee Koder
ab20dc98f7
docs : Amend heading to Minio Client Complete Guide ( #1773 )
2016-07-19 17:19:47 -07:00
Dee Koder
9f1315fa64
space: One extra space was missed. Fixed it. ( #1772 )
2016-07-19 17:01:16 -07:00
koolhead17
46d158d023
docs: Added new 'doc' directory and moved associated docs related to mc ( #1770 )
2016-07-19 16:54:12 -07:00
Anis Elleuch
acd80370e6
Avoid an error when migrating a session file which is created but then removed by another mc instance ( #1768 )
2016-07-18 15:00:13 -07:00
Harshavardhana
9ad19bfe52
vendorize: Add new changes from minio-go. ( #1766 )
2016-07-14 18:36:12 -07:00
Anis Elleuch
eed14719db
Avoid using white text color for people who has white/bright term background ( #1765 )
2016-07-14 11:51:04 -07:00
Anis Elleuch
589c821f9b
progress: Switch to chegga pb ( #1764 )
2016-07-13 14:44:23 -07:00
Anis Elleuch
a09795c8a7
Fix S3 Stat() dir mode marking ( #1763 )
2016-07-11 14:13:45 -07:00
Anis Elleuch
52df29917b
client-s3 Stat() returns proper error in case of an object or dir are not found ( #1762 )
2016-07-10 18:16:39 -07:00
Anis Elleuch
16ae081c4c
Do not show successful msg in mb command when the latter actually fails ( #1761 )
2016-07-10 17:04:21 -07:00
Harshavardhana
489d1629fb
ls: Listing command should list files as prefixed properly. ( #1760 )
...
Fixes #1713
2016-07-10 16:41:41 -07:00
Anis Elleuch
9be8aebfff
Avoid creating session when cp detects object exists as directory ( #1758 )
2016-07-10 16:36:16 -07:00
Anis Elleuch
e53fa1a5a2
Simplify and enhance the scan bar rendering ( #1759 )
2016-07-10 16:36:00 -07:00
Anis Elleuch
92d1e226d3
Fix checking go version under OSX ( #1757 )
2016-07-10 11:09:50 -07:00
Harshavardhana
64dbb7ed9c
docs: Fix docs formatting and remove DOS characters.
2016-07-10 03:23:33 -07:00
Anis Elleuch
21b0f4b0d2
Rename access cmd to policy and permissions to none, download, upload and both ( #1755 )
2016-07-10 03:23:17 -07:00
Anis Elleuch
fc448e49d5
Add support of golang tip ( #1756 )
2016-07-09 07:36:22 -07:00
David D Lowe
7a21e4bb0d
Fix broken documentation links in README.md ( #1754 )
...
This is only broken in GitHub, not on the documentation site, but still.
2016-07-08 07:25:40 -07:00
koolhead17
47ca8a61ea
doc:README.md/URL path fix. ( #1750 )
2016-07-04 21:23:10 -07:00
koolhead17
1c3f889f6e
doc: README.md/modified to sync with docs.minio.io ( #1748 )
2016-07-04 10:35:28 -07:00
Aakash Muttineni
6f4a0f9cbb
vendor: Bring new minio-go changes for bucket policy related bugs ( #1746 )
2016-07-04 10:35:15 -07:00
Harshavardhana
67c1957eb0
cli/mb: make bucket takes multiple arguments. ( #1745 )
...
As an example
```
$ mc mb /tmp/bc{1..10}
```
It is convenient to have this when 'mc mb' is aliased
to 'mkdir' for everyday use.
Fixes #1743
2016-06-30 02:25:58 -07:00
Krishnan Parthasarathi
3d7796f38c
Vendorize recent fixes to minio-go ( #1744 )
2016-06-29 17:49:09 -07:00
Harshavardhana
2d431dacbc
ls/cp/mirror: Ignore objects with StorageClass GLACIER. ( #1742 )
...
Fixes #1741
2016-06-23 00:28:17 -07:00
Aakash Muttineni
17468c8863
Vendor update ( #1739 )
2016-06-14 22:44:33 +05:30
Anand Babu (AB) Periasamy
475670de7d
Update play description. ( #1735 )
2016-05-30 22:51:44 -07:00
Aakash Muttineni
f9efb67bc2
Minio-go vendor update ( #1734 )
2016-05-29 23:44:16 -07:00
Krishnan Parthasarathi
9766ff1805
Append trailing slash to targetURL only if absent ( #1731 )
2016-05-28 13:16:57 -07:00
Krishnan Parthasarathi
cc4227e3f2
Made session list ignore broken sessions ( #1728 )
...
* Made session list ignore broken sessions
- `mc session list` - skips partial sessions[1]
- `mc session clear all` - doesn't clear partial sessions.
The idea is to prevent the user from clearing all sessions without
realising that there were partial sessions.
When there is one or more partial sessions, clear each one of them individually
as follows,
`mc session clear <broken-session-id>` - clears the partial sessions.
[1] - partial session - a session with missing `.data` file in the sessions directory.
N B The presence of partial sessions indicate some underlying bug in session mangement
code. This PR provides relief for users in the event of such a bug.
* Added comments to session helper functions and to be provide context
2016-05-23 23:05:39 -07:00
Krishnan Parthasarathi
ba2e8149c8
Ignore BucketEmpty error for top-level listing ( #1727 )
...
* Ignore BucketEmpty error for top-level listing
This is relevant in the case of non-fs backend like s3, play etc.
* Used ToGoError() to get Error interface from *probe.Error
2016-05-22 23:04:26 -07:00
Krishnan Parthasarathi
b48371e971
Create only one custom transport for all S3 clients ( #1722 )
...
* Create only one custom transport for all S3 clients
Closes #1721
* Moved back to http.DefaultTransport
... because ResponseHeaderTimeout may fail `mc mirror` in slow networks
2016-05-21 02:07:18 -07:00
Anis Elleuch
8b074767db
ls: list objects inside a directory when this latter is passed without a trailing separator ( #1724 )
2016-05-20 16:43:06 -07:00
Krishnan Parthasarathi
e5bc26c75a
Removed setting of http.Client Timeout for mc ( #1720 )
...
* Removed setting of http.Client Timeout for mc
Fixes #1719
* Moved mcDefaultTransport closer to use
* Set ResponseHeaderTimeout to 3 secs
* Vendored in changes from github.com/minio/minio-go
* Fixed CI build errors due to API changes, post vendoring
* Fixed unit tests w.r.t the change from insecure to secure in minio.NewV{2,4} API
2016-05-20 00:35:49 -07:00
Harshavardhana
959fa74ca5
profile: Add MC_PROFILER env supporting cpu, mem, block profiling. ( #1714 )
...
All profiled outputs are written inside `~/.mc/profile`
2016-05-10 19:10:59 -07:00
Krishna Srinivas
ac57970229
Merge pull request #1711 from harshavardhana/signals
...
session: Signal trap shouldn't panic, close the Notify handler.
2016-05-10 12:39:42 +05:30
Harshavardhana
9fb8cfc1b3
session: Signal trap shouldn't panic, close the Notify handler.
...
Avoid executing Notify handler again when two SIGINTS are
received which can occur when 'mc' is busy copying a
largefile.
Fixes #1710
2016-05-10 00:05:18 -07:00
Harshavardhana
06ad6c53f7
debug: Tracing should print success response for PUT/POST ops. ( #1708 )
...
Due to a golang bug need to add specific code to handle this
properly when the response body has ContentLength of '0'
Ref for more info : https://github.com/golang/go/issues/13942 .
2016-05-07 01:11:09 -07:00
Anis Elleuch
a9b0b14149
Increase update url fetching timeout to 3 seconds ( #1704 )
2016-04-28 16:03:09 -07:00
Krishna Srinivas
9a454e714d
Merge pull request #1702 from harshavardhana/mirror
...
mirror/cp: Skip NoSuckKey, NoSuchBucket errors properly in cp/mirror.
2016-04-28 14:40:01 +05:30
Harshavardhana
319b3d8434
mirror/cp: Skip NoSuckKey, NoSuchBucket errors properly in cp/mirror.
...
Fixes #1693
2016-04-27 20:37:42 -07:00
Harshavardhana
2fec2b4107
session: Close session only if fields have changed. ( #1701 )
...
Fixes #1700
2016-04-27 20:10:40 -07:00
Harshavardhana
382aa26859
vendorize: New changes in minio-go. ( #1699 )
...
- Fixes listing bug with done channel.
- Fixes retry go-routine leak.
- Adds more to the list of network errors to retry safely.
2016-04-25 01:20:15 -07:00
Anand Babu (AB) Periasamy
d7854b6dfa
Merge pull request #1698 from harshavardhana/access-msg
...
access: Change set access perm message.
2016-04-24 00:40:19 -07:00
Harshavardhana
e3b6c12925
access: Change set access perm message.
2016-04-24 00:33:39 -07:00
Anand Babu (AB) Periasamy
d9224348ce
Merge pull request #1697 from harshavardhana/access-docs
...
access: update docs.
2016-04-23 16:23:44 -07:00
Harshavardhana
6b91c6f430
access: update docs.
2016-04-23 15:15:20 -07:00
Aaron Walker
7e9b96e354
cp/mirror use CopyObject API to enable server side copy ( #1686 )
...
Add Copy to s3 and fs methods/enable server side copy
2016-04-23 15:14:31 -07:00
Anand Babu (AB) Periasamy
8a8d4619de
Merge pull request #1695 from harshavardhana/ignore
...
fs: Ignore file in recursive as well.
2016-04-22 01:31:01 -07:00
Harshavardhana
3af0902f28
fs: Ignore file in recursive as well.
2016-04-22 01:23:23 -07:00
Anand Babu (AB) Periasamy
6b4c1a4239
Merge pull request #1694 from harshavardhana/ls
...
ls: ls should ignore error BucketNameEmpty.
2016-04-21 18:15:12 -07:00
Harshavardhana
783d29794a
ls: ls should ignore error BucketNameEmpty.
...
This is a valid case of 'ls', without this change.
```
$ mc ls localhost
mc: <ERROR> Unable to stat ‘localhost’. Bucket name cannot be empty.
```
What we need to ideally see is if server is not available is
```
$ mc ls localhost
mc: <ERROR> Unable to list folder. Get http://localhost:9000/ : dial tcp [::1]:9000: getsockopt: connection refused
```
2016-04-21 17:10:16 -07:00
Anand Babu (AB) Periasamy
a094c50f5a
Merge pull request #1692 from harshavardhana/is-valid
...
config: Relax valid access and secret keys.
2016-04-19 18:27:44 -07:00
Harshavardhana
621e8cf0ff
config: Relax valid access and secret keys.
...
Deviating from AWS Standards to support non
AWS Standard keys for Ceph and Exoscale probably
others.
Fixes #1690
2016-04-19 14:52:33 -07:00
Anand Babu (AB) Periasamy
4bd9336139
Merge pull request #1691 from harshavardhana/vendor
...
vendor: Vendorize minio-go
2016-04-19 02:47:13 -07:00
Harshavardhana
c517833663
vendor: Vendorize minio-go
...
- Bucket policy fixes by Karthik Rao.
- China region fixes.
- Fixes a concurrent crash in Signature V2 code by Anis Elleuch.
2016-04-18 23:15:56 -07:00
Anand Babu (AB) Periasamy
8e4cc8df00
Merge pull request #1687 from harshavardhana/mirror-remove
...
mirror: Implement '--remove' feature.
2016-04-18 18:29:18 -07:00
Anis Elleuch
94f4c4cd2d
Avoid removing session v7 json files by migrateSessionV5ToV6 ( #2 )
2016-04-18 17:47:39 -07:00
Harshavardhana
c4c99999bc
session: Add isRemoved() for session to avoid removing last removed files again.
2016-04-18 13:56:14 -07:00
Anis Elleuch
6abd3a4ed6
Avoid a possible crash when an error occurs while removing a file ( #1 )
2016-04-18 11:41:56 -07:00
Harshavardhana
9e94120d68
mirror: Implement '--remove' feature.
...
Fixes #1628
2016-04-17 12:21:43 -07:00
Anis Elleuch
ba088b8fc0
Move ioutils pkg from minio to mc and fix a sorting list bug ( #1688 )
...
* Move ioutils pkg from minio to mc
* Fix an important bug in sorting fs list in recursive mode
2016-04-17 12:20:48 -07:00
Anis Elleuch
98ac1817cb
Rewrite diff code ( #1681 )
2016-04-17 01:18:30 -07:00
Anand Babu (AB) Periasamy
65a31e34c9
check if sources exist ( #1685 )
2016-04-15 16:59:38 -07:00
Krishna Srinivas
264f1ef992
Merge pull request #1684 from harshavardhana/zip
...
release: Remove zip, tar.gz release builds.
2016-04-14 13:42:32 +05:30
Harshavardhana
b30bbc0e74
release: Remove zip, tar.gz release builds.
2016-04-13 23:48:58 -07:00
Krishna Srinivas
7a77686878
Merge pull request #1680 from harshavardhana/gofmt
...
url: isURLPrefixExists() should use non-recursive mechanism.
2016-04-12 12:24:04 +05:30
Harshavardhana
0c4200306b
url: isURLPrefixExists() should use non-recursive mechanism.
...
The reason is to avoid generating recursive requests while
we are only concerned about the top level prefix that if
it exists.
2016-04-11 20:44:36 -07:00
Harshavardhana
619b1b4e2a
url: There is no reason to split '?' delimiter. ( #1679 )
...
The reasoning is that we are not providing query
params through 'mc' and we don't need to handle it
specially. Since all paths are absolute with only
delimiter of '/' all other characters should be allowed
including '?'.
For this same reason now newURL is called newClientURL.
Fixes #1677
2016-04-11 18:20:56 -07:00
Sreeram Boyapati
57d22664f4
config: validate config.json file ( #1676 )
...
- Minio Client validates only config host add parameters
Not the config file. Use the same utils to validate config file
if HostURL is wrong.
/storage?googleapis?com for host /storage?googleapis?com is not valid. Could not parse it
if API is wrong.
S3v2iasdasd API for host https://www.google.com is not Valid. It is not part of any of the following APIs:
1. S3v4
2. S3v2
If the version is wrong.
Config version 9 does not match GlobalMCConfiguration 8.
Example:
mc: <ERROR> Config version 9 does not match GlobalMCConfiguration 8.
S3v2asda API for host httpsasdkasd is not Valid. It is not part of any of the following APIs:
1. S3v4
2. S3v2
URL httpsasdkasd for host httpsasdkasd is not valid. Could not parse it.
2016-04-10 21:28:17 -07:00
Anis Elleuch
38339b7cd9
Allow question mark in fs file names ( #1678 )
2016-04-10 15:28:03 -07:00
Anand Babu (AB) Periasamy
d5cb19aeab
allow caseless API signature in config ( #1675 )
2016-04-09 13:24:03 -07:00
karthic rao
3d04e56228
vendor: vendor updates for minio-go
2016-04-07 10:08:09 -07:00
Harshavardhana
3e8f7684f2
build: cmd/vet is deprecated fix the url.
2016-04-06 20:07:57 -07:00
Anand Babu (AB) Periasamy
c11527780a
implement OS specific file ignore list
2016-04-06 15:44:23 -07:00
Sreeram Boyapati
5a204741b9
config: intialize loadMcConfig later in the app
...
Go caches the McConfig earlier leading to having no effect on changing config-dir during initialization.
2016-04-05 14:33:34 -07:00
Krishna Srinivas
b23e8a77fc
Merge pull request #1665 from harshavardhana/mirror-fake
...
mirror: More fixes for quiet mode, make sure fake is honored.
2016-04-05 13:10:59 +05:30
Harshavardhana
e926266c62
mirror: More fixes for quiet mode, make sure fake is honored.
2016-04-04 17:25:15 -07:00
Harshavardhana
1eca4f8c0d
mirror: Make sure isFake is set to false properly.
2016-04-04 15:35:25 -07:00
Harshavardhana
edb1824006
mc: Simplify, conditional checks across codebase.
2016-04-04 14:58:36 -07:00
Anis Elleuch
6666262e51
Make --json and --quiet work as expected with mc mirror cmd
2016-04-04 11:42:46 -07:00
Harshavardhana
221ee6c26b
Merge pull request #1660 from vadmeste/fix_mirror_crash
...
Fix a crash when --fake is coupled with --quiet in mirror cmd
2016-04-02 10:55:47 -07:00
Anis ELLEUCH
d3d4afd223
Fix a crash when --fake is coupled with --quiet in mirror cmd
2016-04-02 15:10:53 +01:00
Krishna Srinivas
f55f64b5b9
Merge pull request #1659 from harshavardhana/version
...
mc: Fix Golang version handling.
2016-04-02 15:28:21 +05:30
Harshavardhana
69fbb9a87d
mc: Fix Golang version handling.
...
Migrate to a better go-version package to handle
version numbers. Default to 'go1.6' as minimum.
2016-04-02 02:51:27 -07:00
Harshavardhana
8e50e8e8c3
Merge pull request #1657 from vadmeste/fix_realpath_behavior
...
realpath() alternative implementation doesn't really work under linux and freebsd, use a simpler and more portable method
2016-04-01 13:27:14 -07:00
Anis Elleuch
8cdf71b539
realpath() doesn't really work under linux and freebsd, use a simpler and more portable method
2016-04-01 19:21:01 +01:00
Harshavardhana
e7f4b63212
docs: Update readme.md with new links.
2016-03-31 17:53:35 -07:00
Anand Babu (AB) Periasamy
12adf3be32
Merge pull request #1656 from harshavardhana/rel-bz
...
release: Release binaries will have now .tar.gz and .zip extension.
2016-03-31 17:12:16 -07:00
Harshavardhana
087516a783
release: Release binaries will have now .tar.gz and .zip extension.
...
The reasoning behind is to preserve permissions of binaries.
2016-03-31 17:04:45 -07:00
Anand Babu (AB) Periasamy
1b2a2fc7f9
Merge pull request #1655 from harshavardhana/global
...
config: Handle aliases migration from v6 --> v7.
2016-03-31 15:42:20 -07:00
Harshavardhana
3e205dba15
config: Handle aliases migration from v6 --> v7.
...
Fixes #1652
2016-03-31 15:23:55 -07:00
Anand Babu (AB) Periasamy
ff874575e1
Merge pull request #1654 from harshavardhana/object-name
...
stat: Print proper error messages when bucket name is empty.
2016-03-31 15:22:48 -07:00
Harshavardhana
1e1516c968
stat: Print proper error messages when bucket name is empty.
...
Handle cases for situations for all commands where target bucket
name is not specified, indicate proper errors in this situation.
Fixes #1629
2016-03-30 18:46:20 -07:00
Harshavardhana
aeb6de996c
Merge pull request #1653 from krishnasrinivas/timeout-8-minute
...
ListObjects on a prefix with 10 million entries takes around 8 minutes.
2016-03-30 01:44:58 -07:00
Krishna Srinivas
82d87111fc
vendor: vendor update minio-go. Increase http client timeout to 8 minutes.
2016-03-30 14:07:24 +05:30
Anand Babu (AB) Periasamy
49953d53ed
Merge pull request #1622 from vadmeste/retrieve_secret_from_env
...
Retrieve secretKey from the environment first
2016-03-28 12:59:45 -07:00
Anis Elleuch
13a4133da5
Retrieve acessKey/secretKey from the environment first
2016-03-28 19:36:13 +01:00
Anand Babu (AB) Periasamy
a02ae19de2
Merge pull request #1651 from harshavardhana/buffer
...
pipe: Avoid double copy of buffers in minio-go
2016-03-27 20:25:33 -07:00
Harshavardhana
9617f22fcd
pipe: Avoid double copy of buffers in minio-go
...
Disallows multiple copies being referenced internally leads
to OOM conditions on certain low memory devices and systems.
Fixes #1641
2016-03-27 20:08:57 -07:00
Anand Babu (AB) Periasamy
e156d62e44
Merge pull request #1640 from harshavardhana/mc-access
...
access: Access policy command implemented.
2016-03-27 19:55:40 -07:00
Harshavardhana
f4e8352f5a
access: Access policy command implemented.
...
This patch implements as decided..
To set a bucket policy.
```
mc access readonly s3/<bucket>
mc access readwrite s3/<bucket>
mc access writeonly s3/<bucket>
mc access none s3/<bucket>
```
To get a bucket policy.
```
mc access s3/<bucket>
```
2016-03-27 19:49:54 -07:00
Harshavardhana
deb7f72be2
Merge pull request #1650 from sreeram-boyapati/config_tests
...
tests: add tests for 'mc cat' and 'mc config host'
2016-03-27 10:12:58 -07:00
Sreeram Boyapati
a5a57fa2be
tests: add tests for 'mc cat' and 'mc config host'
2016-03-27 21:06:40 +05:30
Harshavardhana
c3fb1d52f4
Update README.md
2016-03-23 13:09:45 -07:00
Harshavardhana
9820dce775
config: mcConfigVersion should be '8'
2016-03-22 02:42:31 -07:00
Anand Babu (AB) Periasamy
426df2c9ab
Merge pull request #1645 from harshavardhana/config-v8
...
config: Migrate to new version of config '8'
2016-03-22 02:37:36 -07:00
Harshavardhana
20c7a00af5
config: Migrate to new version of config '8'
...
This config migration was done to the fact that
play.minio.io:9000 anonymous access has been
removed but instead access keys, while server is
public will not honor anonymous requests anymore.
2016-03-21 15:27:31 -07:00
Anand Babu (AB) Periasamy
00d0f1e9d9
Merge pull request #1644 from harshavardhana/fake-rm
...
rm: treat --fake option properly and list what its going to do.
2016-03-20 15:42:16 -07:00
Harshavardhana
4cecac4ea4
rm: treat --fake option properly and list what its going to do.
...
Fixes #1643
2016-03-20 14:43:25 -07:00
Harshavardhana
b0e2bde84d
Merge pull request #1636 from harshavardhana/vendorize
...
vendor: Vendorize with new changes to minio-go
2016-03-14 19:03:42 -07:00
Harshavardhana
49851c8795
vendor: Vendorize with new changes to minio-go
2016-03-13 03:22:39 -07:00
Harshavardhana
7bdb39c743
Merge pull request #1635 from hackintoshrao/progress-bar-fix
...
progress bar: Fixing progress on occurance of non-critical error
2016-03-10 19:35:16 -08:00
Karthic Rao
09495582c4
Adding Get() method to check on currentValue instead of totalFileSize
...
Adding vendor changes from minio-go and pb, aslo adding minio-go/retry.go changes to solve the race condition
2016-03-11 07:06:24 +05:30
Anand Babu (AB) Periasamy
f15be9582a
Merge pull request #1634 from harshavardhana/delete-option
...
diff: Implement url difference with time.
2016-03-10 16:10:34 -08:00
Harshavardhana
c022107515
diff: Implement url difference with time.
...
Also make a 'differType' - fixes #1632
2016-03-09 22:11:07 -08:00
Harshavardhana
373b593c3e
Merge pull request #1630 from harshavardhana/fake-option
...
mirror: Implement --fake option.
2016-03-05 13:20:36 -08:00
Harshavardhana
ca06c0e09f
Merge pull request #1631 from harshavardhana/difference-factory
...
diff/mirror: Factory function now refactored to reply function only idiomatic style.
2016-03-05 13:19:36 -08:00
Harshavardhana
bd1086c244
diff/mirror: Factory function now refactored to reply function only idiomatic style.
...
Refactor the current code into more idiomatic style and use
consistent variable names.
ref #1628
2016-03-04 19:52:32 -08:00
Harshavardhana
69c8bf7959
mirror: Implement --fake option.
...
This option helps users verify what operation 'mirror'
is going to perform without it. It also allows for scripts
to validate what files will be copied etc.
- #1628
2016-03-04 19:14:56 -08:00
Harshavardhana
db6b4f1344
Merge pull request #1625 from harshavardhana/bucket-list
...
ls: Fix bucket date.
2016-02-29 08:42:30 -08:00
Krishna Srinivas
05db6e3981
Merge pull request #1624 from harshavardhana/session-old
...
session: Remove session backup file if any.
2016-02-29 16:18:03 +05:30
Harshavardhana
2623eeb82e
session: Remove session backup file if any.
...
Fixes #1623
2016-02-29 02:06:25 -08:00
Harshavardhana
cbebadc16a
ls: Fix bucket date.
...
While listing buckets 'mc ls s3/bucket' would list the
date incorrectly. Populate it properly from 'ListBuckets()'
2016-02-29 02:00:23 -08:00
Harshavardhana
614d6d81e5
Merge pull request #1620 from vadmeste/make_builder_freebsd_support
...
Add needed changes to make mc buildable using make under FreeBSD
2016-02-24 12:55:46 -08:00
Anis Elleuch
cac451c83e
Add needed changes to make mc buildable using make under FreeBSD
2016-02-24 20:54:34 +01:00
Harshavardhana
54a86c69e1
Merge pull request #1618 from harshavardhana/windows
...
windows: Add progress bar windows fixes.
2016-02-19 15:53:00 -08:00
Harshavardhana
ea8f5c0f33
windows: Add progress bar windows fixes.
2016-02-19 15:40:38 -08:00
Harshavardhana
340d576931
Merge pull request #1617 from minio/harshavardhana-patch-1
...
Update README.md
2016-02-18 20:48:27 -08:00
Harshavardhana
7db8820042
Update README.md
2016-02-18 20:43:41 -08:00
Harshavardhana
54761b22fd
Merge pull request #1616 from harshavardhana/tag1
...
update: Change update tag to verify RELEASE instead of OFFICIAL
2016-02-18 20:05:18 -08:00
Harshavardhana
253f13640c
update: Change update tag to verify RELEASE instead of OFFICIAL
2016-02-18 20:01:38 -08:00
Harshavardhana
97110c9676
Merge pull request #1615 from harshavardhana/build
...
build: Check for gopath and multiple source build locations.
2016-02-18 19:14:40 -08:00
Harshavardhana
9805c4d907
build: Check for gopath and multiple source build locations.
2016-02-18 18:26:47 -08:00
Anand Babu (AB) Periasamy
56d548ad10
Merge pull request #1614 from harshavardhana/fix-shadowing
...
build/vet: Fix all the shadowed variables.
2016-02-19 07:32:10 +05:30
Harshavardhana
c196f6ee08
build/vet: Fix all the shadowed variables.
2016-02-18 17:04:45 -08:00
Harshavardhana
db55841e7d
Merge pull request #1613 from harshavardhana/go-1.6
...
build: Default to Golang 1.6
2016-02-18 16:23:24 -08:00
Harshavardhana
fb70ef7b1c
build: Default to Golang 1.6
2016-02-18 16:08:07 -08:00
Harshavardhana
fa82223c50
Merge pull request #1612 from harshavardhana/config-folder
...
config: Config folder option should be honored.
2016-02-17 16:04:21 -08:00
Harshavardhana
6f3cd87993
config: Config folder option should be honored.
...
The fix is to load config factory once again, to avoid looking for stale
scoped global variables. For example ``mcCustomConfigDir``
Fixes #1611
2016-02-17 15:59:55 -08:00
Anand Babu (AB) Periasamy
3ca7ac613d
Merge pull request #1609 from harshavardhana/fs-s3
...
fs/s3: move the code for fs and s3 out to the top-level.
2016-02-17 05:53:27 +05:30
Harshavardhana
fe5b2f97e3
fs/s3: move the code for fs and s3 out to the top-level.
...
Now the interface moves to the top level - fixes #1604
2016-02-16 11:27:42 -08:00
Harshavardhana
220bf92a3c
Merge pull request #1606 from harshavardhana/solaris
...
porting: mc now properly works on solaris.
2016-02-15 20:11:35 -08:00
Super-User
5219fd59e8
porting: mc now properly works on solaris.
...
Fixes #1603
2016-02-15 15:03:40 -08:00
Anand Babu (AB) Periasamy
4832da5cda
Merge pull request #1602 from harshavardhana/make-release
...
build: Now builds for all platforms and builds into 'release/experimental' directory.
2016-02-09 14:22:24 -08:00
Harshavardhana
4ef3dcffc4
build: Now builds for all platforms and builds into 'release/experimental' directory.
...
Two Makefile options are
- make release
- make experimental
Currently supported OS and arch -
- linux/386
- linux/amd64
- linux/arm
- windows/386
- windows/amd64
- darwin/amd64
2016-02-09 14:18:35 -08:00
Harshavardhana
fbe4768658
Merge pull request #1601 from harshavardhana/request-params
...
mc: update to new changes in minio-go.
2016-02-07 18:09:13 -08:00
Harshavardhana
f63de3cc30
mc: update to new changes in minio-go.
2016-02-07 18:03:32 -08:00
Anand Babu (AB) Periasamy
7c7d9e07a2
Merge pull request #1600 from harshavardhana/use-mime
...
mc: Remove contentdb and use golang pkg/mime instead.
2016-02-06 16:15:51 -08:00
Harshavardhana
708f1e17f4
mc: Remove contentdb and use golang pkg/mime instead.
...
This is also because golang package sets proper 'charset's
for contentTypes. Also there is no reason for 'mc' to have
its own mimedb.
2016-02-06 10:43:57 -08:00
Krishna Srinivas
8fc48cf24a
Merge pull request #1599 from harshavardhana/vendorize
...
minio-go: Vendorize with new changes.
2016-02-06 13:21:52 +05:30
Harshavardhana
1dea194699
minio-go: Vendorize with new changes.
2016-02-05 23:10:09 -08:00
Krishna Srinivas
4569e519c5
Merge pull request #1598 from harshavardhana/query
...
rm: List wouldn't progress for files with special characters.
2016-02-02 15:17:04 +05:30
Harshavardhana
0236dcf780
rm: List wouldn't progress for files with special characters.
...
This patch addresses this problem - fixes #1591
2016-02-02 01:28:04 -08:00
Krishna Srinivas
5e5ad3367d
Merge pull request #1597 from harshavardhana/progress-bar
...
progressBar: Finish progress bar if total is greater than 0
2016-02-02 14:54:59 +05:30
Harshavardhana
744b4728d1
progressBar: Finish progress bar if total is greater than 0
...
In case of 'mc mirror' => mc prints an erroneous progress bar
with 0bytes.
```
mc mirror /usr/local/Cellar/go/1.5.3/libexec play/test123/libexec
0 B / ? ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░▓ 0.00 % 0
```
This patch fixes #1592
2016-02-01 13:36:23 -08:00
Anand Babu (AB) Periasamy
f811b029b1
Merge pull request #1595 from harshavardhana/path-url
...
url: Error out if the aliased URL has host entry.
2016-02-01 11:44:10 +01:00
Harshavardhana
8b77f918b3
url: Error out if the aliased URL has host entry.
...
```
mc ls http://localhost:9000/
```
ends up listing `mc ls /`, This is confusing and should be
treated as an error, allow only aliased operations.
2016-02-01 02:41:04 -08:00
Anand Babu (AB) Periasamy
c5453d1528
Merge pull request #1590 from harshavardhana/url
...
urlAlias: Handle forward slashes on windows.
2016-01-27 23:21:48 -08:00
Harshavardhana
fc668edadf
urlAlias: Handle forward slashes on windows.
...
On windows
```
> mc ls s3/ --> Fails
```
Since most of our examples talk about '/', we should handle
this cleanly for windows.
2016-01-27 14:34:12 -08:00
Anand Babu (AB) Periasamy
01b0928989
Merge pull request #1588 from harshavardhana/handle-paths
...
cp/mirror: Handle path constructions properly across operating systems.
2016-01-26 18:27:13 -08:00
Harshavardhana
0a4fce57cf
cp/mirror: Handle path constructions properly across operating systems.
...
```
mc cp -r localhost\testbucket\bin C:\destination
```
Following syntax is supposed to copy only 'bin' inside C:\destination.
Due to url construction issues this leads to 'testbucket' instead being
copied as the top level directory.
With this fix the url construction becomes more cross platform friendly.
2016-01-26 18:21:34 -08:00
Anand Babu (AB) Periasamy
257321c425
Merge pull request #1587 from harshavardhana/fix-listing-order
...
ls: Make recursive and non-recursive behave the same way
2016-01-26 18:16:27 -08:00
Harshavardhana
3b5dcd478a
ls: Make recursive and non-recursive behave the same way
...
Outputs for recursive today
```
$ mc ls -r /tmp/value/
[2016-01-25 12:27:01 PST] 52B test.go
[2016-01-26 11:36:22 PST] 4.2KiB test.txt
[2016-01-26 11:45:22 PST] 102B test/
[2016-01-26 11:45:22 PST] 4.2KiB test/README.md
```
and Outputs for non recursive today differ lexically.
```
$ mc ls /tmp/value/
[2016-01-26 11:45:22 PST] 102B test/
[2016-01-25 12:27:01 PST] 52B test.go
[2016-01-26 11:36:22 PST] 4.2KiB test.txt
```
To fix this issue we need to capture the ending '/' as
well part of the names while sorting the output. This
patch addresses this problem.
2016-01-26 18:11:24 -08:00
Anand Babu (AB) Periasamy
5c52a0adae
Merge pull request #1586 from harshavardhana/ls-truncate
...
ls: On windows truncate the directory prefixes properly.
2016-01-26 00:29:19 -08:00
Harshavardhana
d572648261
ls: On windows truncate the directory prefixes properly.
...
Fixes #1585
2016-01-25 21:34:16 -08:00
Anand Babu (AB) Periasamy
85e8b542de
Merge pull request #1583 from harshavardhana/make-bucket
...
re-vendorize minio-go with new URL handling changes
2016-01-25 16:55:45 -08:00
Harshavardhana
3a3dbb2722
minio-go: vendorize to new libs.
...
Fixes - #1579
2016-01-25 16:39:24 -08:00
Krishna Srinivas
47cd83c71c
Merge pull request #1582 from harshavardhana/add-missing
...
update: Add missing '/' from update url.
2016-01-25 23:19:04 +05:30
Harshavardhana
700f261b86
update: Add missing '/' from update url.
...
Fixes #1581
2016-01-25 09:39:56 -08:00
Anand Babu (AB) Periasamy
3f3adb1858
Merge pull request #1580 from harshavardhana/re-vendorize
...
mc: Vendorize to new changes.
2016-01-25 01:04:34 -08:00
Harshavardhana
9a40a67410
mc: Vendorize to new changes.
...
- Fix 0byte file uploads to be not uploaded as multipart.
- Fix bucket requests to have a '/' at the end
for path style - fixes #1579
- Handle progress bar, if pb.Total is '0'.
2016-01-25 01:00:47 -08:00
Anand Babu (AB) Periasamy
cfac37f53b
Merge pull request #1544 from harshavardhana/merge-vendorize
...
mc: Vendorize to new API changes.
2016-01-23 23:57:59 -08:00
Harshavardhana
a769ce6439
mc: Vendorize to new API changes.
...
This vendorization uses the new set of API changes which
we are brought in.
With this new change Bucket regions are handled transparently
without any region lookup or local map. This makes overall code
seamless and easy to use.
Fixes - #1541 (cp corruption while uploading large files to s3)
Fixes - #1542 (cp checkCopySyntax failed)
Fixes - #1537 (regions will be handled seamelessly now for all buckets)
Fixes - #1538 (fixes access control policy for google cloud storage)
Fixes - #1547 (session resume completes without copying all the files)
Fixes - #1559 (poor network connectivity, causes timing out)
2016-01-23 23:53:27 -08:00
Harshavardhana
951067295e
Merge pull request #1575 from fwessels/master
...
Added alias argument for adding host with config
2016-01-18 08:58:33 -08:00
frankw
bd97054b93
Added alias argument for adding host with config
2016-01-18 14:02:34 +01:00
Harshavardhana
796d36083d
Merge pull request #1573 from vadmeste/did_you_mean
...
Add Damerau Levenshtein algo to suggest more alternatives to mistyped…
2016-01-13 12:57:19 -08:00
Anis Elleuch
acc4b97483
Add Damerau Levenshtein algo to suggest more alternatives to mistyped commmands
2016-01-13 21:32:23 +01:00
Harshavardhana
d92a93566b
Merge pull request #1572 from vadmeste/host_add_api_optional
...
Make API argument in config host add cmd optional
2016-01-10 11:18:21 -08:00
Anis Elleuch
244d377f0a
Make API argument in config host add cmd optional
2016-01-10 14:47:48 +01:00
Harshavardhana
e958557d28
Merge pull request #1571 from vadmeste/fix_error_reporting_issue
...
Fix ls error msg
2016-01-09 09:52:35 -08:00
Anis Elleuch
3b35f44eba
Fix ls error msg
2016-01-09 15:46:52 +01:00
Anand Babu (AB) Periasamy
c26c61d3c4
Merge pull request #1570 from harshavardhana/diff-alias
...
diff/mirror: Handle aliases properly now.
2016-01-08 21:27:11 -08:00
Harshavardhana
b347137d88
diff/mirror: Handle aliases properly now.
2016-01-08 21:24:07 -08:00
Anand Babu (AB) Periasamy
99e12696eb
Merge pull request #1569 from harshavardhana/rm-all
...
rm: Fix alias URL handling in rm.
2016-01-08 20:59:17 -08:00
Harshavardhana
f01dc5b60c
rm: Fix alias URL handling in rm.
2016-01-08 20:51:28 -08:00
Anand Babu (AB) Periasamy
50240b0a1e
Merge pull request #1568 from harshavardhana/mirror
...
mirror/cp: Remove aliases from being printed in json output. - fixes #1563
2016-01-08 19:23:14 -08:00
Harshavardhana
11b286c149
mirror/cp: Remove aliases from being printed in json output. - fixes #1563
...
Additionally save expanded targetURL also part of session.
2016-01-08 18:44:39 -08:00
Harshavardhana
fa87ad6b37
Merge pull request #1566 from vadmeste/subcommands_has_help_flag
...
Emphasize that subcommands have a help flag
2016-01-08 11:09:26 -08:00
Harshavardhana
dd50ad532e
Merge pull request #1565 from koolhead17/patch-4
...
Update README.md
2016-01-08 10:32:09 -08:00
Anis Elleuch
31b07812cb
Emphasize that subcommands have a help flag
2016-01-08 19:14:47 +01:00
koolhead17
e59ba922bd
Update README.md
...
minor change with adding "--help" option
2016-01-08 23:38:34 +05:30
Harshavardhana
008a5f00de
Merge pull request #1564 from abperiasamy/as60-exit-bug
...
return non-zero exit code in case of session failure
2016-01-08 10:00:19 -08:00
Anand Babu (AB) Periasamy
8a91ec65ce
return non-zero exit code in case of session failure
2016-01-08 09:55:13 -08:00
Harshavardhana
35cdba2204
Merge pull request #1561 from vadmeste/trivial_fixes
...
Trivial fix of cmd error message, the same for missing dependencies in checkdeps.sh
2016-01-07 15:04:52 -08:00
Anis Elleuch
664f982833
Trivial fix of cmd error message, the same for missing dependencies in checkdeps.sh
2016-01-07 22:49:47 +01:00
Harshavardhana
c08ebb25cd
Merge pull request #1558 from abperiasamy/cache-client
...
cache and re-use minio S3 client
2015-12-31 17:22:53 -08:00
Anand Babu (AB) Periasamy
f7cdbc2583
cache and re-use minio S3 client
2015-12-31 17:02:08 -08:00
Harshavardhana
d47faa3256
Merge pull request #1556 from koolhead17/patch-3
...
Update INSTALLGO.md
2015-12-29 23:52:36 -08:00
koolhead17
9cd535a6cd
Update INSTALLGO.md
...
minor fix.
2015-12-30 12:14:35 +05:30
Harshavardhana
b6fe0d2529
Merge pull request #1555 from abperiasamy/config-v7
...
new alias style and numerous cleanups.
2015-12-28 15:35:21 -08:00
Anand Babu (AB) Periasamy
0bd1edfd8f
new alias style and numerous cleanups.
2015-12-28 15:31:52 -08:00
Harshavardhana
7ee79bc960
Merge pull request #1553 from harshavardhana/update-links
...
update: update urls for 'mc'
2015-12-23 18:44:41 -08:00
Harshavardhana
29f46b833c
update: update urls for 'mc'
2015-12-23 16:56:03 -08:00
Krishna Srinivas
c888977e51
Merge pull request #1551 from harshavardhana/hostconfig
...
mc: Fix host example URL.
2015-12-18 13:25:23 +05:30
Harshavardhana
fbdae31d5b
mc: Fix host example URL.
2015-12-17 15:55:22 -08:00
Anand Babu (AB) Periasamy
fe27a5c415
Merge pull request #1546 from harshavardhana/mirror
...
session: mc session resume <session-id>
2015-12-11 18:29:27 -08:00
Harshavardhana
8686fe725f
session: mc session resume <session-id>
...
Fixes #1545
2015-12-11 18:25:16 -08:00
Krishna Srinivas
23992411cc
Merge pull request #1540 from harshavardhana/bring-user-package
...
pkg/user: Bring user package from server and use it here in place of …
2015-12-09 14:16:12 +05:30
Harshavardhana
727538fa8c
pkg/user: Bring user package from server and use it here in place of userCurrent.
2015-12-08 20:35:01 -08:00
Harshavardhana
dfc0dc3042
Merge pull request #1539 from arschles/alpine
...
porting userCurrent from the minio project
2015-12-08 19:39:20 -08:00
Aaron Schlesinger
a4bc2c2be1
porting userCurrent from the minio project
2015-12-08 19:35:22 -08:00
Harshavardhana
3f6053822f
Maintainers document updated.
2015-12-08 11:13:01 -08:00
Harshavardhana
9fed1d73ee
Merge pull request #1535 from harshavardhana/fix-bug
...
fs: Make sure to negate the seeked offset if size is not negative.
2015-12-05 17:57:08 -08:00
Harshavardhana
3782c4abe0
fs: Make sure to negate the seeked offset if size is not negative.
2015-12-05 17:52:45 -08:00
Harshavardhana
2663de4489
Merge pull request #1534 from harshavardhana/contentdb
...
contentType: use contentDB package from server.
2015-12-04 17:31:12 -08:00
Harshavardhana
36e7e42637
contentType: use contentDB package from server.
2015-12-04 16:28:26 -08:00
Harshavardhana
3f91446e6e
Merge pull request #1524 from harshavardhana/build
...
tests: Merge minio-tests into 'mc'
2015-12-02 16:37:42 -08:00
Harshavardhana
278701db48
tests: Merge minio-tests into 'mc'
...
From now on 'make all-tests' to run our integration tests.
2015-12-02 16:32:48 -08:00
Harshavardhana
5104938796
Merge pull request #1523 from harshavardhana/build
...
build: Turn off downloading go1.5.1 for windows builds.
2015-12-02 16:06:48 -08:00
Harshavardhana
062e75617d
build: Turn off downloading go1.5.1 for windows builds.
...
AppVeyor service migrated Golang to default 1.5.1
2015-12-02 16:01:53 -08:00
Harshavardhana
4d339f7373
Update README.md
2015-12-02 12:01:22 -08:00
Harshavardhana
db9f5b3890
Merge pull request #1522 from harshavardhana/add-release
...
makefile: Add release make tag.
2015-12-02 11:33:14 -08:00
Harshavardhana
18d0df16bc
makefile: Add release make tag.
2015-12-02 11:26:08 -08:00
Harshavardhana
e866b69baf
Merge pull request #1521 from harshavardhana/is-complete
...
incomplete-upload: Listing should handle incomplete upload prefixes a…
2015-12-02 10:40:06 -08:00
Harshavardhana
8949e30524
incomplete-upload: Listing should handle incomplete upload prefixes as well.
...
Fixes #1514
2015-12-02 10:36:56 -08:00
Harshavardhana
791199e11c
Merge pull request #1520 from harshavardhana/alias
...
aliasconfig: Verify only os.PathSeparator contains not suffix.
2015-12-02 10:26:43 -08:00
Harshavardhana
479b69487d
aliasconfig: Verify only os.PathSeparator contains not suffix.
...
Fixes #1518
2015-12-02 10:20:43 -08:00
Harshavardhana
0f1388aec2
Merge pull request #1519 from harshavardhana/normalize-url
...
aliasconfig: Alias construction should happen properly for multiple aliases.
2015-12-02 10:04:08 -08:00
Harshavardhana
fb133b6cce
aliasconfig: Alias construction should happen properly for multiple aliases.
...
Fixes #1518
2015-12-02 09:57:40 -08:00
Harshavardhana
f463a45c7b
Merge pull request #1517 from harshavardhana/signature
...
signature-presign: new minio-go vendorized fixes #1515
2015-12-02 09:45:28 -08:00
Harshavardhana
759fb1f079
signature-presign: new minio-go vendorized fixes #1515
2015-12-02 09:41:25 -08:00
Harshavardhana
0fd1e3c387
Merge pull request #1511 from harshavardhana/fs-client-new
...
fs: More changes related to symlink handling.
2015-11-30 16:46:01 -08:00
Harshavardhana
3b95a39e3a
fs: More changes related to symlink handling.
2015-11-30 16:13:27 -08:00
Harshavardhana
7bd78afc3a
Merge pull request #1510 from harshavardhana/fs-client
...
fs: Simplify windows symlink lstat handling.
2015-11-30 16:12:37 -08:00
Harshavardhana
93e26e9032
fs: Simplify windows symlink lstat handling.
2015-11-30 15:28:56 -08:00
Harshavardhana
ca5d829158
Merge pull request #1509 from harshavardhana/update
...
update: Fix update command.
2015-11-30 14:56:29 -08:00
Harshavardhana
a92a9e4c73
update: Fix update command.
2015-11-30 14:45:54 -08:00
Harshavardhana
10d6e18600
Merge pull request #1508 from harshavardhana/fix-bug
...
windows: internal multiparts should use platform specific tempfile lo…
2015-11-30 13:06:39 -08:00
Harshavardhana
dbdcdff874
windows: internal multiparts should use platform specific tempfile location
2015-11-30 13:02:53 -08:00
Harshavardhana
c573ccf641
Merge pull request #1507 from harshavardhana/fix-region
...
region: Resolve region properly, if fails return the error.
2015-11-30 12:28:18 -08:00
Harshavardhana
3b7d63bbf3
region: Resolve region properly, if fails return the error.
...
Fixes #1503
2015-11-30 12:25:45 -08:00
Harshavardhana
de463d2ada
Merge pull request #1506 from harshavardhana/fs-cp
...
cp: Working resumable cp fixes #1505
2015-11-30 11:05:08 -08:00
Harshavardhana
1664551119
cp: Working resumable cp fixes #1505
2015-11-30 10:57:54 -08:00
Harshavardhana
cc78c1c5df
Merge pull request #1504 from harshavardhana/mc-cp
...
cp/mirror: URL syntax needs to know if URL is of virtual style
2015-11-30 08:19:38 -08:00
Harshavardhana
99cc307a62
cp/mirror: URL syntax needs to know if URL is of virtual style
...
Fixes #1502
2015-11-30 08:16:06 -08:00
Anand Babu (AB) Periasamy
5acdfaf413
Merge pull request #1498 from abperiasamy/pipe-fs-bug
...
handle stdin pipe properly
2015-11-29 22:45:21 -08:00
Anand Babu (AB) Periasamy
aea88d3756
handle stdin pipe properly
2015-11-29 22:29:17 -08:00
Anand Babu (AB) Periasamy
4769531b3a
Merge pull request #1497 from abperiasamy/pipe-arg
...
check for pipe args
2015-11-29 21:35:27 -08:00
Anand Babu (AB) Periasamy
a38318e6af
check for pipe args
2015-11-29 21:31:48 -08:00
Harshavardhana
4c3ea052c4
Merge pull request #1496 from harshavardhana/mirror-pie
...
mirror/pipe: Enable mirror and pipe back now they do not work for mul…
2015-11-29 14:46:55 -08:00
Harshavardhana
9219e1a320
mirror/pipe: Enable mirror and pipe back now they do not work for multiple targets.
2015-11-29 14:43:11 -08:00
Harshavardhana
59659f5bed
Merge pull request #1495 from harshavardhana/resumable
...
putTarget: Reintroduce size this time pipe can upload upto 5TB
2015-11-28 22:22:45 -08:00
Harshavardhana
4485529911
putTarget: Reintroduce size this time pipe can upload upto 5TB
2015-11-28 22:17:22 -08:00
Harshavardhana
96afead3f1
Merge pull request #1489 from harshavardhana/resumable-downloads
...
mc: resumable downloads
2015-11-28 18:04:11 -08:00
Harshavardhana
1badfc8a04
:mc: resumable downloads and support incomplete files on file system.
2015-11-28 18:00:53 -08:00
Anand Babu (AB) Periasamy
1d07866fd3
Merge pull request #1494 from abperiasamy/short-commit-id
...
fix short-commit-id to 12 digits
2015-11-27 11:38:50 -08:00
Anand Babu (AB) Periasamy
e98c9b3625
fix short-commit-id to 12 digits
2015-11-27 11:26:09 -08:00
Harshavardhana
6d542975be
Merge pull request #1493 from harshavardhana/globals
...
globals: setGlobals() - quiet, debug, json, noColor for both app and …
2015-11-25 15:43:21 -08:00
Harshavardhana
97090aee0c
globals: setGlobals() - quiet, debug, json, noColor for both app and command specific.
2015-11-25 15:40:20 -08:00
Anand Babu (AB) Periasamy
1429d26507
Merge pull request #1492 from abperiasamy/global-help
...
support global flags for both commands and global main
2015-11-25 15:13:50 -08:00
Anand Babu (AB) Periasamy
f94989dc0a
support global flags for both commands and global main
...
Change-Id: If0939b52ad3ccb8d5ada0118515c2ad398bceef0
2015-11-25 15:08:16 -08:00
Harshavardhana
9fe3b00394
Merge pull request #1491 from harshavardhana/console
...
console: Print Debug when DebugPrint set to true.
2015-11-25 01:25:11 -08:00
Harshavardhana
f94399b01c
console: Print in Debug when DebugPrint set to true.
2015-11-25 01:22:17 -08:00
Harshavardhana
71c03aa9d0
Merge pull request #1488 from harshavardhana/share
...
share: Move to --recursive instead of --starts-with for consistency.
2015-11-24 21:30:24 -08:00
Harshavardhana
841c65c867
share: Move to --recursive instead of --starts-with for consistency.
...
- if URL ends with "/" and no --recursive option exit properly.
- if recursive is given no matter what key is specified it is regarded
as prefix.
- if no recursive option and no "/" suffix is provided is treated as
exact object name.
2015-11-24 21:22:53 -08:00
Harshavardhana
38631e0f34
Merge pull request #1487 from abperiasamy/sep-global-flags
...
organize global flags after cmd flag
2015-11-24 17:16:26 -08:00
Anand Babu (AB) Periasamy
8fc138f3a0
organize global flags after cmd flag
2015-11-24 16:59:46 -08:00
Harshavardhana
de760d4efb
Merge pull request #1485 from harshavardhana/incomplete
...
rm: For incomplete uploads do not issue a stat request.
2015-11-24 14:16:58 -08:00
Harshavardhana
67809d105b
rm: For incomplete uploads do not issue a stat request.
2015-11-24 14:13:43 -08:00
Anand Babu (AB) Periasamy
5425d62130
Merge pull request #1484 from abperiasamy/type-d-enhanced
...
enhance type D to support files and dirs with recursive flag
2015-11-24 13:29:08 -08:00
Anand Babu (AB) Periasamy
681f389228
enhance type D to support files and dirs with recursive flag
2015-11-24 13:15:04 -08:00
Harshavardhana
997527ee6c
Merge pull request #1483 from harshavardhana/alias-config
...
config/alias: Handle multiple aliases.
2015-11-23 20:05:30 -08:00
Harshavardhana
ae74a0d25b
config/alias: Handle multiple aliases.
2015-11-23 20:02:27 -08:00
Harshavardhana
c4b8aaa2b2
Merge pull request #1482 from harshavardhana/milkway
...
region: minio server and minio-go now honor 'us-east-1' as default re…
2015-11-23 14:14:10 -08:00
Harshavardhana
5a30dadbe3
region: minio server and minio-go now honor 'us-east-1' as default region
2015-11-23 14:09:12 -08:00
Harshavardhana
7c75879e4d
Merge pull request #1480 from harshavardhana/starts-with
...
share/download: add --starts-with flag and remove '...' we don't have…
2015-11-23 12:35:32 -08:00
Harshavardhana
aa3007bcd0
share/download: add --starts-with flag and remove '...' we don't have that anymore.
...
- Fixes bug when prefix is available and should be prepended to the key.
- Fixes another bug to avoid doing URL stat for upload, its not needed.
Fixes #1478
2015-11-23 12:33:08 -08:00
Harshavardhana
598be201f3
Merge pull request #1477 from harshavardhana/empty-tests
...
tests: Remove empty tests.
2015-11-22 18:22:29 -08:00
Harshavardhana
7df4766c93
tests: Remove empty tests.
2015-11-22 15:26:17 -08:00
Harshavardhana
e8b7a403a2
Merge pull request #1476 from harshavardhana/update-readme
...
doc: Fix README.md
2015-11-22 15:22:17 -08:00
Harshavardhana
9771f2eb27
doc: Fix README.md
2015-11-22 15:17:49 -08:00
Harshavardhana
9479c999f2
Merge pull request #1475 from harshavardhana/session-fix
...
session: remove unnecessary fatal even for successful resume.
2015-11-22 11:14:37 -08:00
Harshavardhana
d8e8fb0089
session: remove unnecessary fatal even for successful resume.
...
Fixes #1474
2015-11-22 01:11:00 -08:00
Harshavardhana
9ee1913e93
Merge pull request #1473 from harshavardhana/fix-bug
...
mc: Fix setGlobalContext across all commands.
2015-11-22 00:41:04 -08:00
Harshavardhana
fd1cde749a
mc: Fix setGlobalContext across all commands.
...
- Always set globals from context before validating input arguments.
- Add missing os.Exit(1) from console.Fatal{f,ln} which was
accidentally removed from previous commits.
Fixes #1472
2015-11-22 00:33:35 -08:00
Harshavardhana
9432addb14
Merge pull request #1471 from harshavardhana/newchanges
...
minio/minio-go: re-vendorize with new changes
2015-11-21 19:25:53 -08:00
Harshavardhana
7e5f4776ca
minio/minio-go: re-vendorize with new changes
...
Fixes #1470
2015-11-21 19:22:40 -08:00
Anand Babu (AB) Periasamy
f578358ab8
Merge pull request #1469 from abperiasamy/setglobals
...
set globals from context from each command main
2015-11-21 18:56:15 -08:00
Anand Babu (AB) Periasamy
558c20e1e3
set globals from context from each command main
2015-11-21 18:26:58 -08:00
Harshavardhana
50c5d6429f
Merge pull request #1468 from harshavardhana/remove-is-exited
...
testing: Remove all the console IsExited/IsError testing.
2015-11-21 18:00:29 -08:00
Harshavardhana
3f52c951e7
testing: Remove all the console IsExited/IsError testing.
2015-11-21 17:55:42 -08:00
Harshavardhana
11b82a6268
Merge pull request #1467 from harshavardhana/fix-ls
...
ls: Fix ls output - fixes #1466
2015-11-21 17:00:36 -08:00
Harshavardhana
cc0cde16c6
ls: Fix ls output - fixes #1466
2015-11-21 16:57:44 -08:00
Harshavardhana
4cd9421080
Merge pull request #1465 from harshavardhana/config
...
config: Simplify config further, add more docs.
2015-11-21 16:49:45 -08:00
Harshavardhana
39ba33f4c6
config: Simplify config further, add more docs.
2015-11-21 16:32:34 -08:00
Harshavardhana
2151c98abb
Merge pull request #1461 from abperiasamy/globals2cmdflags
...
global flags are replaced with command speific flags, but still retai…
2015-11-21 15:20:18 -08:00
Anand Babu (AB) Periasamy
269ac7b105
global flags are replaced with command speific flags, but still retain global behavior
2015-11-21 14:20:00 -08:00
Anand Babu (AB) Periasamy
6a2b4e959d
Merge pull request #1460 from abperiasamy/globals-restruct
...
restructure globals and some bug fixes related to globals
2015-11-21 12:57:28 -08:00
Anand Babu (AB) Periasamy
052f73f348
restructure globals and some bug fixes related to globals
2015-11-21 12:43:21 -08:00
Harshavardhana
d81eaf56fa
Merge pull request #1459 from harshavardhana/add-csv
...
config/host: Add import command to import csv credentials file.
2015-11-21 11:48:34 -08:00
Harshavardhana
7355eecf56
config/csv: Add config import command for importing csv credential files.
...
- Much needed cleanup of 'config' handling code.
- Adds a new CSVUnmarshal, unmarshalling to a struct from a csv file.
Fixes #1422
2015-11-21 11:42:14 -08:00
Harshavardhana
c78b6e6645
Merge pull request #1458 from harshavardhana/missing
...
ls: Add missing content Time from listing buckets in recursive operation
2015-11-20 15:49:26 -08:00
Harshavardhana
0671f246ad
ls: Add missing content Time from listing buckets in recursive operation
...
Fixes #1457
2015-11-20 15:47:05 -08:00
Harshavardhana
cface860c5
Merge pull request #1456 from harshavardhana/fix-cp
...
cp: TypeC should print an error if source is directory and no recursi…
2015-11-20 11:45:39 -08:00
Harshavardhana
11ea306ad2
cp: TypeC should print an error if source is directory and no recursive option is provided
...
Fixes #1454
2015-11-20 11:42:53 -08:00
Harshavardhana
88f188d202
Merge pull request #1453 from harshavardhana/add-release-scripts
...
release: Add release scripts.
2015-11-19 21:07:06 -08:00
Harshavardhana
d08392ba40
release: Add release scripts.
2015-11-19 21:04:57 -08:00
Harshavardhana
79474d117f
Merge pull request #1452 from harshavardhana/fix-windows
...
ls: Fix a windows issue during listing.
2015-11-19 20:33:09 -08:00
Harshavardhana
6e56f06bd3
ls: Fix a windows issue.
2015-11-19 20:29:33 -08:00
Harshavardhana
1167b2f231
Merge pull request #1451 from harshavardhana/http
...
doc: Improve examples.
2015-11-19 19:32:06 -08:00
Harshavardhana
de9380dd9d
doc: Improve examples.
2015-11-19 19:24:25 -08:00
Harshavardhana
2f0acf91fa
Merge pull request #1450 from harshavardhana/trace
...
trace: Add missing traces.
2015-11-19 17:28:06 -08:00
Harshavardhana
c757cf1829
trace: Add missing traces.
2015-11-19 17:23:00 -08:00
Harshavardhana
02041802fe
Merge pull request #1449 from harshavardhana/url-prefix
...
url: prefixExists should be isURLPrefixExists
2015-11-19 15:06:00 -08:00
Harshavardhana
2a9293b79f
url: prefixExists should be isURLPrefixExists
2015-11-19 15:02:55 -08:00
Harshavardhana
16405682f8
Merge pull request #1447 from krishnasrinivas/mb-check-bucketname-isvalid
...
check bucketname validity
2015-11-19 14:52:16 -08:00
Krishna Srinivas
bbf0f7687c
check bucketname validity
2015-11-19 14:42:32 -08:00
Harshavardhana
c96117fa5d
Merge pull request #1448 from harshavardhana/type-a-cp
...
cp: In TypeA no need to verify target
2015-11-19 13:28:32 -08:00
Harshavardhana
5f2417c8ad
cp: In TypeA no need to verify target
...
Fixes #1446
2015-11-19 13:20:18 -08:00
Harshavardhana
3e1819a33f
Merge pull request #1445 from harshavardhana/session-trie
...
session: Make session resume more user friendly
2015-11-19 13:11:30 -08:00
Harshavardhana
1a85e97050
session: Make session resume more user friendly
2015-11-19 13:08:13 -08:00
Harshavardhana
670fac2afb
Merge pull request #1444 from abperiasamy/cp-recur
...
new recursive cp and session
2015-11-19 12:49:19 -08:00
Harshavardhana
67fc0a61fe
Merge pull request #1443 from krishnasrinivas/rm-url2dircontent
...
mc ls fails when there is a broken symlink - fixes #1442
2015-11-19 12:48:16 -08:00
Anand Babu (AB) Periasamy
123fde256e
new recursive cp and session
2015-11-19 12:41:55 -08:00
Krishna Srinivas
1778d6a448
mc ls fails when there is a broken symlink - fixes #1442
2015-11-19 12:09:20 -08:00
Harshavardhana
e6e5524d73
Merge pull request #1441 from harshavardhana/fix-flags
...
rm: Fix flags and doc
2015-11-19 11:29:58 -08:00
Harshavardhana
446cae9820
rm: Fix flags and doc
2015-11-19 11:26:28 -08:00
Harshavardhana
9ba8219481
Merge pull request #1439 from harshavardhana/cleanup
...
session/mirror: cleanup session flags
2015-11-19 02:16:56 -08:00
Harshavardhana
569dd41ec5
session/mirror: cleanup session flags
2015-11-19 02:14:15 -08:00
Harshavardhana
9c226b0836
Merge pull request #1438 from harshavardhana/session
...
session: Move to session v4
2015-11-19 01:16:49 -08:00
Harshavardhana
58056b0331
session: Move to session v4
2015-11-19 01:14:16 -08:00
Harshavardhana
ba31d5812f
Merge pull request #1437 from harshavardhana/hostconfig
...
config: Add proper keys for tests
2015-11-19 00:46:41 -08:00
Harshavardhana
628e8734ce
config: Add proper keys for tests
2015-11-19 00:44:01 -08:00
Harshavardhana
26fa3ce647
Merge pull request #1436 from harshavardhana/config-fix
...
config: Extensive changes to config and host handling
2015-11-19 00:22:57 -08:00
Harshavardhana
da65cbae06
config: Extensive changes to config and host handling
...
- alias now expands for all match aliases and also any matching hosts.
Example:- mc ls -r s3.amazonaws.com/ferenginar/bin
- not globs, no hosts - only fully qualified URLs are stored in config.
- everywhere use 'args2URLs()' getAliasURL should be used internally.
2015-11-19 00:20:11 -08:00
Harshavardhana
a106443505
Merge pull request #1435 from krishnasrinivas/session-delete-all
...
Add 4th example for mc session to show deletion of all sessions
2015-11-18 23:59:35 -08:00
Krishna Srinivas
36505dfd2c
Add 4th example for mc session to show deletion of all sessions
2015-11-18 23:13:24 -08:00
Harshavardhana
ad2cd0d529
Merge pull request #1433 from krishnasrinivas/stat-on-rm
...
Do a stat on files for non-recursive rm before removing to detect non-existing files
2015-11-18 22:42:49 -08:00
Krishna Srinivas
cecc409a71
Do a stat on files for non-recursive rm before removing to detect non-existing files
2015-11-18 22:26:07 -08:00
Harshavardhana
65723f1fce
Merge pull request #1431 from harshavardhana/minio-go
...
minio-go: Turn off calculating size for incomplete uploads.
2015-11-18 20:49:41 -08:00
Harshavardhana
3c8afb2877
minio-go: Turn off calculating size for incomplete uploads.
...
Calculating sizes for large multipart uploads can get
really slower - disable it for now.
2015-11-18 20:46:42 -08:00
Harshavardhana
f248536162
Merge pull request #1430 from harshavardhana/mirror-cmd
...
mirror: Do not verify for deprecated recursive URLs
2015-11-18 20:29:06 -08:00
Harshavardhana
b36ae24f86
mirror: Do not verify for deprecated recursive URLs
2015-11-18 20:24:31 -08:00
Harshavardhana
22b409f535
Merge pull request #1429 from harshavardhana/minio-cli
...
cli: Remove the errant newline upon error printing
2015-11-18 20:14:24 -08:00
Harshavardhana
2349ebda6b
cli: Remove the errant newline upon error printing.
...
Fixes #1354
2015-11-18 20:10:39 -08:00
Harshavardhana
1dfc28dbc7
Merge pull request #1428 from harshavardhana/readme
...
mc: Fix help flag add 'h' and update README.md
2015-11-18 19:17:04 -08:00
Harshavardhana
2eb9e58771
mc: Fix help flag add 'h' and update README.md
2015-11-18 19:13:13 -08:00
Harshavardhana
3d29ad2c17
Merge pull request #1427 from krishnasrinivas/s3go-returns-client-error
...
s3.go should return client.PathInsufficientPermission{} for access denied errors fixes #1421
2015-11-18 18:33:20 -08:00
Krishna Srinivas
b03deb9d3c
s3.go should return client.PathInsufficientPermission{} for access denied errors fixes #1421
2015-11-18 18:18:06 -08:00
Harshavardhana
54864b12b4
Merge pull request #1426 from harshavardhana/fs-s3
...
fs/s3: Simplify fs and further add more documentation.
2015-11-18 18:17:28 -08:00
Harshavardhana
83d2accd5b
fs/s3: Simplify fs and further add more documentation.
2015-11-18 18:11:18 -08:00
Harshavardhana
28c9d83cc4
Merge pull request #1425 from krishnasrinivas/remove-test-for-invalid-case
...
remove negetive testcase for cp as we don't handle it
2015-11-18 18:09:41 -08:00
Krishna Srinivas
d4d14eb67b
remove negetive testcase for cp as we don't handle it
2015-11-18 17:41:08 -08:00
Harshavardhana
93de4ebfd1
Merge pull request #1419 from harshavardhana/documentation
...
doc: Add various missing documentation across the codebase.
2015-11-18 12:58:27 -08:00
Harshavardhana
34c9896d1d
doc: Add various missing documentation across the codebase.
2015-11-18 12:52:46 -08:00
Harshavardhana
ca245999d5
Merge pull request #1418 from harshavardhana/config-fixes
...
config: fix config version 6 by removing glob hosts
2015-11-18 00:57:25 -08:00
Harshavardhana
097b337545
Merge pull request #1417 from krishnasrinivas/1410
...
during Put() fs returns client.PathInsufficientPermission{} for EPERM - fixes #1410
2015-11-18 00:53:48 -08:00
Harshavardhana
6db5b8fddc
config: fix config version 6 by removing glob hosts
2015-11-18 00:52:08 -08:00
Krishna Srinivas
e7002e097b
during Put() fs returns client.PathInsufficientPermission{} for EPERM - fixes #1410
2015-11-18 00:48:44 -08:00
Harshavardhana
d8c60b998c
Merge pull request #1416 from harshavardhana/json-msg
...
json: JSON messages now have proper status field for all messages
2015-11-18 00:28:03 -08:00
Harshavardhana
d5dd4fb5bd
json: JSON messages now have proper status field for all messages
...
Fixes - #1369
2015-11-18 00:24:32 -08:00
Harshavardhana
b007b7cf91
Merge pull request #1415 from krishnasrinivas/1371
...
rm on non-empty dir was wrongly printing that it was removed - fixes #1371
2015-11-18 00:18:45 -08:00
Krishna Srinivas
054aaadde8
rm on non-empty dir was wrongly printing that it was removed - fixes #1371
2015-11-18 00:09:25 -08:00
Anand Babu (AB) Periasamy
1ebcf98a6f
Merge pull request #1414 from abperiasamy/fake-rm
...
fake flag for remove
2015-11-17 23:58:07 -08:00
Harshavardhana
0e2ab60c15
Merge pull request #1412 from krishnasrinivas/1404
...
detect invalid bucketname for mirror #1404
2015-11-17 23:56:54 -08:00
Harshavardhana
c5984150d3
Merge pull request #1409 from krishnasrinivas/diff-continue-on
...
diff - continue on non-fatal error. refactor to remove unneeded goroutine
2015-11-17 23:56:22 -08:00
Anand Babu (AB) Periasamy
5f01f6d98c
fake flag for remove
2015-11-17 23:55:27 -08:00
Krishna Srinivas
454261962e
detect invalid bucketname for mirror #1404
2015-11-17 23:47:14 -08:00
Krishna Srinivas
61ec25d2bf
diff - continue on non-fatal error. refactor to remove unneeded goroutine
2015-11-17 23:46:55 -08:00
Harshavardhana
2a3485b4be
Merge pull request #1413 from harshavardhana/atomic
...
quick: Sync() not turned of by default
2015-11-17 23:45:35 -08:00
Harshavardhana
fa497d3811
quick: Sync() not turned of by default
2015-11-17 23:42:07 -08:00
Anand Babu (AB) Periasamy
1c1cd2aa7e
Merge pull request #1411 from abperiasamy/rm-recur
...
rm recursive flag and remove per folder
2015-11-17 23:41:41 -08:00
Anand Babu (AB) Periasamy
75409ca9b5
rm recursive flag and remove per folder
2015-11-17 23:34:58 -08:00
Anand Babu (AB) Periasamy
8becf5fc64
Merge pull request #1408 from abperiasamy/diff-h
...
implement -h flag
2015-11-17 21:25:35 -08:00
Anand Babu (AB) Periasamy
f7bf20e4ce
implement -h flag
2015-11-17 21:16:56 -08:00
Harshavardhana
a089e541cc
Merge pull request #1407 from harshavardhana/s3-host
...
config: Remove support for glob URLs, simply rely on strings suffix matching
2015-11-17 20:53:15 -08:00
Harshavardhana
6e9ec398da
config: Remove support for glob URLs, simply rely on strings suffix matching.
2015-11-17 20:49:48 -08:00
Anand Babu (AB) Periasamy
7bb90683c2
Merge pull request #1406 from abperiasamy/share-recur-flag
...
recursive and directory based sharing
2015-11-17 20:38:19 -08:00
Anand Babu (AB) Periasamy
2db255c276
recursive and directory based sharing
2015-11-17 20:32:40 -08:00
Harshavardhana
330cfe65bb
Merge pull request #1405 from krishnasrinivas/return-client-type-perm-error
...
fs get() should return client.PathInsufficientPermission{} in case of EPERM error
2015-11-17 19:56:55 -08:00
Krishna Srinivas
b2da734ec9
fs get() should return client.PathInsufficientPermission{} in case of EPERM error
2015-11-17 19:51:57 -08:00
Harshavardhana
a7c02c675e
Merge pull request #1403 from krishnasrinivas/src-target-not-same
...
Source and Destination can not be same
2015-11-17 19:05:09 -08:00
Krishna Srinivas
43eda0e93f
Source and Destination can not be same
2015-11-17 18:27:42 -08:00
Harshavardhana
3eda3bfd44
Merge pull request #1402 from harshavardhana/local
...
local: alias localhost:9000 - fixes #1383
2015-11-17 18:22:23 -08:00
Harshavardhana
0945e3b872
local: alias localhost:9000 - fixes #1383
2015-11-17 18:20:29 -08:00
Harshavardhana
d66c79370c
Merge pull request #1401 from harshavardhana/list
...
ls: Non-existant file or prefix throw an error
2015-11-17 18:02:35 -08:00
Harshavardhana
5f9055e7fd
ls: Non-existant file or prefix throw an error
2015-11-17 17:58:58 -08:00
Harshavardhana
1673f9cd10
Merge pull request #1398 from krishnasrinivas/continue-on-eperm-for-cp-mirror
...
exit mc on any critical error during cp/mirror #1378
2015-11-17 17:51:56 -08:00
Harshavardhana
05675c3022
Merge pull request #1393 from abperiasamy/ls-recur-flag
...
use recursive flag for ls
2015-11-17 17:51:48 -08:00
Harshavardhana
3f59c3d27a
Merge pull request #1400 from harshavardhana/rm-delete
...
rm: Fix wasn't proper in previous commit fix it
2015-11-17 17:44:22 -08:00
Harshavardhana
1a6c7ffd95
rm: Fix wasn't proper in previous commit fix it
2015-11-17 17:39:36 -08:00
Harshavardhana
b481b4f1c3
Merge pull request #1399 from harshavardhana/rm-main
...
rm: Do not try to remove the '.'
2015-11-17 17:15:49 -08:00
Harshavardhana
6b4d976755
rm: Do not try to remove the '.'
2015-11-17 17:13:02 -08:00
Krishna Srinivas
fd82bbf453
exit mc on any critical error during cp/mirror #1378
2015-11-17 17:03:55 -08:00
Harshavardhana
1d2aa6bcf3
Merge pull request #1397 from krishnasrinivas/session-resume-error-1390
...
quick users atomic package to Save() #1390
2015-11-17 16:36:28 -08:00
Krishna Srinivas
b745676a24
quick users atomic package to Save() #1390
2015-11-17 16:33:12 -08:00
Harshavardhana
cc434c43d1
Merge pull request #1396 from harshavardhana/errors
...
mb: Print proper messages for make buckets.
2015-11-17 16:26:15 -08:00
Harshavardhana
389020b340
mb: Print proper messages for make buckets.
...
Fixes #1366
2015-11-17 16:22:20 -08:00
Harshavardhana
17bfd21ac8
Merge pull request #1395 from harshavardhana/pipe
...
pipe: On windows there is no stderr use stdin
2015-11-17 16:01:44 -08:00
Harshavardhana
1a8dad77ee
pipe: On windows there is no stderr use stdin
...
Fixes - #1372
2015-11-17 15:56:54 -08:00
Anand Babu (AB) Periasamy
4ee7cb92e0
use recursive flag for ls
2015-11-17 15:55:43 -08:00
Harshavardhana
24bf38a053
Merge pull request #1394 from harshavardhana/console
...
console: Avoid printing tags for null inputs Fatalln, Errorln, Debugln.
2015-11-17 15:15:03 -08:00
Harshavardhana
2419ca9c4d
console: Avoid printing tags for null inputs Fatalln, Errorln, Debugln.
...
- fixes #1362
2015-11-17 15:04:02 -08:00
Harshavardhana
550f47371f
Merge pull request #1392 from harshavardhana/pipe
...
pipe: Print a helpful message for s3 upon invalid arguments.
2015-11-17 14:51:56 -08:00
Harshavardhana
9caa205f40
pipe: Print a helpful message for s3 upon invalid arguments.
...
Fixes #1373
2015-11-17 14:49:18 -08:00
Harshavardhana
eada588802
Merge pull request #1391 from harshavardhana/list
...
ls: listing fixes for all the bugs we found
2015-11-17 14:36:42 -08:00
Harshavardhana
1c2f292f77
ls: listing fixes for all the bugs we found
...
- fixes #1356
- fixes #1355
- fixes #1358
2015-11-17 14:32:45 -08:00
Anand Babu (AB) Periasamy
8b897f169a
Merge pull request #1389 from abperiasamy/share-color-fix
...
fix coloring bug in json message
2015-11-17 11:35:11 -08:00
Anand Babu (AB) Periasamy
d43416ca17
fix coloring bug in json message
2015-11-17 11:31:37 -08:00
Harshavardhana
3c10e77ab6
Merge pull request #1388 from harshavardhana/multiple-args
...
args: Multiple args shouldn't fail in bettween, should continue and p…
2015-11-17 10:51:21 -08:00
Harshavardhana
4bd5f3063a
args: Multiple args shouldn't fail in bettween, should continue and print errors if any
...
Fixes #1365
2015-11-17 10:48:31 -08:00
Harshavardhana
a2b522da10
Merge pull request #1387 from harshavardhana/remove-unneccessary-trim
...
ls: Fix ls output fixes #1359
2015-11-17 10:01:33 -08:00
Harshavardhana
c76787c363
ls: Fix ls output fixes #1359
2015-11-17 09:52:27 -08:00
Harshavardhana
9a92298cca
Merge pull request #1386 from harshavardhana/docs
...
docs: Changes necessary for comprehensive doc changes
2015-11-17 09:30:00 -08:00
Harshavardhana
cbb937139e
docs: Changes necessary for comprehensive doc changes
...
Fixes #1385 , #1384 , #1381 , #1367 , #1363
2015-11-17 09:14:57 -08:00
Harshavardhana
2132576d49
Merge pull request #1353 from harshavardhana/url-list
...
ls: handle cases of non-existant directories
2015-11-16 18:54:02 -08:00
Harshavardhana
f686fc6ef4
ls: handle cases of non-existant directories
2015-11-16 18:49:18 -08:00
Harshavardhana
b627ca12e5
Merge pull request #1352 from harshavardhana/mirror-url
...
mirror: Remove checkSyntax target exists for mirror
2015-11-16 18:48:48 -08:00
Harshavardhana
2a4c7151f3
mirror: Remove checkSyntax target exists for mirror
2015-11-16 18:46:52 -08:00
Harshavardhana
425b18a9c9
Merge pull request #1351 from harshavardhana/accounting-reader
...
cp/mirror: avoid catch all interface{}
2015-11-16 18:32:13 -08:00
Harshavardhana
0e56a3b900
cp/mirror: avoid catch all interface{} for readers.
2015-11-16 18:29:59 -08:00
Harshavardhana
0a3cc546a5
Merge pull request #1349 from harshavardhana/cp
...
cp: fix prefix handling in TypeC for object storage
2015-11-16 18:17:21 -08:00
Harshavardhana
aa3eacecf2
cp: fix prefix handling in TypeC for object storage
2015-11-16 18:15:25 -08:00
Anand Babu (AB) Periasamy
e63405bd96
Merge pull request #1350 from abperiasamy/recur-mirror-arg
...
Check for invalid recursive target arg
2015-11-16 17:51:53 -08:00
Anand Babu (AB) Periasamy
814ba2cd97
Check for invalid recursive target arg
2015-11-16 17:48:45 -08:00
Harshavardhana
fa9e1bc6df
Merge pull request #1346 from harshavardhana/help-flag
...
help: Print help flags properly
2015-11-16 16:18:00 -08:00
Harshavardhana
a218b3d2bc
help: Print help flags properly
2015-11-16 16:02:13 -08:00
Anand Babu (AB) Periasamy
876873ec6f
Merge pull request #1345 from abperiasamy/pipe-stdin
...
when target is empty, pipe stdin to stdout
2015-11-16 13:01:09 -08:00
Anand Babu (AB) Periasamy
f529106f80
when target is empty, pipe stdin to stdout
2015-11-16 12:55:32 -08:00
Anand Babu (AB) Periasamy
4df9c08972
Merge pull request #1344 from abperiasamy/help-fix
...
show help flag for mc
2015-11-16 12:55:01 -08:00
Anand Babu (AB) Periasamy
e1763a057b
show help flag for mc
2015-11-16 12:52:54 -08:00
Harshavardhana
baadb0d77e
Merge pull request #1343 from harshavardhana/minio-go-2
...
minio-go/vendor: Add proper return on 301 for all apis.
2015-11-16 12:37:24 -08:00
Harshavardhana
2320487dcb
minio-go/vendor: Add proper return on 301 for all apis.
2015-11-16 12:31:45 -08:00
Anand Babu (AB) Periasamy
5391cf80a4
Merge pull request #1342 from abperiasamy/share-cmd
...
support multu-args for share command and also update minio-go
2015-11-16 11:24:22 -08:00
Harshavardhana
888e187a69
Merge pull request #1341 from harshavardhana/minio-go
...
vendor/minio-go: Add proper error message for 301 Temporary redirect
2015-11-16 11:24:08 -08:00
Anand Babu (AB) Periasamy
f78e197de3
support multu-args for share command and also update minio-go
2015-11-16 11:15:18 -08:00
Harshavardhana
3fb6d7f1bd
vendor/minio-go: Add proper error message for 301 Temporary redirect
2015-11-16 11:10:58 -08:00
Harshavardhana
295fed8b06
Merge pull request #1340 from harshavardhana/cp-url
...
cp: Fix a crash in cp - fixes #1336
2015-11-16 10:17:07 -08:00
Harshavardhana
b10f709c09
cp: Fix a crash in cp - fixes #1336
2015-11-16 10:09:47 -08:00
Harshavardhana
c7ab507354
Merge pull request #1339 from harshavardhana/listing
...
ls: listing bug fixed for prefixes which do not start with .
2015-11-16 10:09:01 -08:00
Harshavardhana
ff13eb5764
ls: listing bug fixed for prefixes which do not start with .
2015-11-16 10:00:26 -08:00
Harshavardhana
4248f5c996
Merge pull request #1338 from harshavardhana/help-rewrite
...
help: Re-write help style now each command has --help
2015-11-16 02:23:47 -08:00
Harshavardhana
7831917901
help: Re-write help style now each command has --help
2015-11-16 02:21:44 -08:00
Anand Babu (AB) Periasamy
97abe0b87f
Merge pull request #1335 from abperiasamy/diff-mesg
...
fix doc strings
2015-11-16 00:18:43 -08:00
Anand Babu (AB) Periasamy
19453ed798
fix doc strings
2015-11-16 00:07:52 -08:00
Harshavardhana
b15e1e49fc
Merge pull request #1334 from harshavardhana/session
...
session: Cleanup session combine v1, v2 to legacy
2015-11-15 23:16:44 -08:00
Harshavardhana
afcb9223e4
session: Cleanup session combine v1, v2 to legacy
2015-11-15 23:13:24 -08:00
Harshavardhana
b889dc7c99
Merge pull request #1333 from harshavardhana/cp
...
cp: more trimming necessary.
2015-11-15 23:10:15 -08:00
Harshavardhana
eb35b5d9ee
cp: more trimming necessary.
2015-11-15 23:06:57 -08:00
Harshavardhana
659a795ac4
Merge pull request #1332 from harshavardhana/cp
...
cp: Fix cp command behavior for s3/bucketname/prefix... operations
2015-11-15 22:45:17 -08:00
Harshavardhana
a3522a2962
cp: Fix cp command behavior for s3/bucketname/prefix... operations
2015-11-15 22:42:44 -08:00
Harshavardhana
13a83d19db
Merge pull request #1331 from krishnasrinivas/diff-prefix-recursive-fix
...
diff, mirror always take directories as arguments and always does rec…
2015-11-15 22:34:00 -08:00
Krishna Srinivas
7999472cb7
diff, mirror always take directories as arguments and always does recursive operations
2015-11-15 22:22:58 -08:00
Harshavardhana
2d221b656c
Merge pull request #1330 from abperiasamy/config-legacy
...
move older versions of config to config-legacy.go
2015-11-15 22:06:14 -08:00
Anand Babu (AB) Periasamy
e6a96a411a
move older versions of config to config-legacy.go
2015-11-15 21:39:12 -08:00
Anand Babu (AB) Periasamy
e65af14868
Merge pull request #1329 from abperiasamy/access-review
...
access command review
2015-11-15 21:31:04 -08:00
Anand Babu (AB) Periasamy
4af9e0e83c
access command review
2015-11-15 21:16:39 -08:00
Harshavardhana
2bcef94ed5
Merge pull request #1328 from harshavardhana/fix-listing
...
s3: Fix listing of buckets to match with or without trailing '/'
2015-11-15 21:13:23 -08:00
Harshavardhana
36c66d7aa1
s3: Fix listing of buckets to match with or without trailing '/'
2015-11-15 21:11:10 -08:00
Harshavardhana
527cd0e661
Merge pull request #1327 from abperiasamy/update-rewrite
...
update command rewrite
2015-11-15 20:58:27 -08:00
Anand Babu (AB) Periasamy
44f03bede1
update command rewrite
2015-11-15 20:54:56 -08:00
Anand Babu (AB) Periasamy
f2aa4a112d
Merge pull request #1326 from abperiasamy/help-fixes
...
fixes related to help handling
2015-11-15 20:11:13 -08:00
Anand Babu (AB) Periasamy
39f7441790
fixes related to help handling
2015-11-15 20:05:58 -08:00
Harshavardhana
321e1aa039
Merge pull request #1325 from harshavardhana/windows-fixes
...
fs: windows fixes for list handling
2015-11-15 18:13:48 -08:00
Harshavardhana
7856e331a1
fs: windows fixes for list handling
2015-11-15 17:50:01 -08:00
Harshavardhana
4ae29d6dd9
Merge pull request #1308 from krishnasrinivas/mirror-cleanup
...
deltaSourceTargets() cleanup, also fixes #1262
2015-11-15 16:30:29 -08:00
Krishna Srinivas
d75690c4fd
cleanup for mirror and diff on the way it calculates difference between directories, also fixes #1262
2015-11-15 16:28:04 -08:00
Harshavardhana
127b72ab9f
Merge pull request #1324 from harshavardhana/cleanup-cp
...
fs: avoid nil derefence in fs listRecursive()
2015-11-15 16:24:50 -08:00
Harshavardhana
cf76387dea
fs: avoid nil derefence in fs listRecursive()
2015-11-15 16:21:39 -08:00
Harshavardhana
9335f9cf04
Merge pull request #1323 from harshavardhana/share
...
share/list: clean share list
2015-11-15 14:01:18 -08:00
Harshavardhana
516a377bad
share/list: clean share list
2015-11-15 13:51:23 -08:00
Harshavardhana
c3331213bc
Merge pull request #1322 from harshavardhana/fs-behave
...
fs: Make fs behave like s3 for prefix directories
2015-11-15 13:21:29 -08:00
Harshavardhana
540b72426a
fs: Make fs behave like s3 for prefix directories
2015-11-15 13:17:17 -08:00
Harshavardhana
68d6066778
Merge pull request #1321 from harshavardhana/url-join
...
url: urlJoinPath should work on trailing slashes now.
2015-11-15 12:51:57 -08:00
Harshavardhana
c68af8451b
url: urlJoinPath should work on trailing slashes now.
2015-11-15 12:49:53 -08:00
Anand Babu (AB) Periasamy
3c0f3134ca
add url tests
2015-11-15 11:43:59 -08:00
Harshavardhana
55a20d91aa
Merge pull request #1319 from harshavardhana/sort-byname
...
fs: Non-recursive send in sorted order, note will be slow for large d…
2015-11-15 11:42:14 -08:00
Harshavardhana
47f1d2487b
fs: Non-recursive send in sorted order, note will be slow for large directories
2015-11-15 11:39:32 -08:00
Harshavardhana
ee5e47c967
Merge pull request #1318 from harshavardhana/update-command
...
share/access: update command docs formatting
2015-11-15 02:28:19 -08:00
Harshavardhana
20a78ba84c
share/access: update command docs formatting
2015-11-15 02:20:52 -08:00
Anand Babu (AB) Periasamy
995d2b1045
Merge pull request #1317 from abperiasamy/version-fixes
...
version command rewrite
2015-11-14 23:51:15 -08:00
Anand Babu (AB) Periasamy
16faf7ed3e
version command rewrite
2015-11-14 23:48:29 -08:00
Anand Babu (AB) Periasamy
c4283ab48f
Merge pull request #1315 from abperiasamy/help
...
new help command
2015-11-14 23:44:19 -08:00
Anand Babu (AB) Periasamy
dfbd6e6567
new help command
2015-11-14 23:37:00 -08:00
Harshavardhana
f94fca577b
Merge pull request #1316 from harshavardhana/put-object
...
cp/mirror: Now putObject does single Put for 0byte sized files
2015-11-14 23:32:02 -08:00
Harshavardhana
d9ecccaef2
cp/mirror: Now putObject does single Put for 0byte sized files
...
Fixes #1313
2015-11-14 23:29:09 -08:00
Anand Babu (AB) Periasamy
e453443637
Merge pull request #1312 from abperiasamy/colorize-nil
...
handle non-existant color calls
2015-11-14 20:42:09 -08:00
Anand Babu (AB) Periasamy
fb39bcba80
handle non-existant color calls
2015-11-14 20:39:23 -08:00
Anand Babu (AB) Periasamy
f37fdd8b81
Merge pull request #1311 from abperiasamy/share-rewrite
...
share rewrite
2015-11-14 20:31:12 -08:00
Anand Babu (AB) Periasamy
365a7579bf
share rewrite
2015-11-14 20:16:30 -08:00
Harshavardhana
ca0aaa2871
Merge pull request #1307 from harshavardhana/url-content
...
ls: if the top-level URL path has a separator return quickly
2015-11-14 14:59:12 -08:00
Harshavardhana
d4015c454b
ls: if the top-level URL path has a separator return quickly
2015-11-14 14:56:54 -08:00
Harshavardhana
af91cd28cb
Merge pull request #1306 from harshavardhana/update
...
config: Add host for all matching entries.
2015-11-14 13:02:48 -08:00
Harshavardhana
17526e5cb6
config: Add host for all matching entries.
2015-11-14 12:56:21 -08:00
Harshavardhana
6731541217
Merge pull request #1305 from harshavardhana/urlcontent
...
ls: Fix inconsistent ls output
2015-11-14 12:13:09 -08:00
Harshavardhana
15a0466966
ls: Fix inconsistent ls output
2015-11-14 12:09:28 -08:00
Harshavardhana
4c3f28f7dc
Merge pull request #1304 from harshavardhana/readme
...
doc: More changes pending to README.md
2015-11-14 02:39:06 -08:00
Harshavardhana
f31e90f4a2
doc: More changes pending to README.md
2015-11-14 02:30:52 -08:00
Harshavardhana
565bf235db
Merge pull request #1303 from minio/readme-update
...
Update README.md
2015-11-14 02:08:24 -08:00
Harshavardhana
5f56efb956
Update README.md
2015-11-14 02:03:46 -08:00
Harshavardhana
3f1ebdd846
Merge pull request #1302 from harshavardhana/32bit
...
386: Support 'mc' for linux 32bit operating systems
2015-11-13 23:28:21 -08:00
Harshavardhana
5ba1266f5b
386: Support 'mc' for linux 32bit operating systems
2015-11-13 23:22:00 -08:00
Harshavardhana
5b5327d61a
Merge pull request #1301 from harshavardhana/config
...
config: Migration remove unnecessary s3 host configs
2015-11-13 22:44:09 -08:00
Harshavardhana
bfde2b119a
config: Migration remove unnecessary s3 host configs
2015-11-13 22:40:44 -08:00
Harshavardhana
e1c5cddc60
Merge pull request #1300 from harshavardhana/build-date
...
update: Support backward compatible date format
2015-11-13 22:15:00 -08:00
Harshavardhana
07abb224e6
update: Support backward compatible date formate
2015-11-13 22:12:30 -08:00
Harshavardhana
2e072ec010
Merge pull request #1299 from harshavardhana/update
...
update: Fix update command with new changes to dl.minio.io
2015-11-13 20:31:29 -08:00
Harshavardhana
836c78bc72
update: Fix update command with new changes to dl.minio.io
2015-11-13 20:28:07 -08:00
Harshavardhana
40b5548838
Merge pull request #1298 from krishnasrinivas/use-single-connection
...
Fix to use single connection to the server
2015-11-13 20:00:06 -08:00
Krishna Srinivas
2ea16262e0
Fix to use single connection to the server
2015-11-13 19:55:26 -08:00
Harshavardhana
e8e2d4a6c4
Merge pull request #1297 from harshavardhana/vendor
...
url: simplify url handling in ls, cp, mirror
2015-11-13 19:41:57 -08:00
Harshavardhana
75f27fa74c
url: simplify url handling in ls, cp, mirror
2015-11-13 19:38:15 -08:00
Harshavardhana
91b02672d5
Merge pull request #1296 from harshavardhana/simplify
...
copy: Simplify copy handling for TypeC
2015-11-13 16:15:28 -08:00
Harshavardhana
f419064871
copy: Simplify copy handling for TypeC
2015-11-13 16:10:16 -08:00
Harshavardhana
cced0b79ec
Merge pull request #1295 from krishnasrinivas/prefix-rm
...
Fix for prefix based rm
2015-11-13 15:22:33 -08:00
Krishna Srinivas
eb78783c3f
Fix for prefix based rm
...
"mc rm asd..." where asd is a prefix, not a directory
2015-11-13 14:35:45 -08:00
Harshavardhana
2f30f6728d
Merge pull request #1292 from harshavardhana/new-changes
...
vendor: setBucketRegion simplified and make it part of private config…
2015-11-13 02:16:07 -08:00
Harshavardhana
d03681df74
vendor: setBucketRegion simplified and make it part of private config funtion
2015-11-13 02:10:52 -08:00
Harshavardhana
20bdadaf22
Merge pull request #1290 from harshavardhana/fill-path
...
fs: Fill path variables into error properly
2015-11-13 01:31:32 -08:00
Harshavardhana
3790cf557a
fs: Fill path variables into error properly
2015-11-13 01:28:04 -08:00
Harshavardhana
dd81951f51
Merge pull request #1289 from harshavardhana/url-handling
...
error-handling: Add proper typed errors and converged code url2Content.
2015-11-13 00:27:04 -08:00
Harshavardhana
940fd7c608
error-handling: Add proper typed errors and converged code url2Content.
2015-11-13 00:24:09 -08:00
Harshavardhana
97381f67ca
Merge pull request #1288 from harshavardhana/s3-bug
...
s3/gcs: now all combinations and permutations work for URLs with buck…
2015-11-12 20:33:53 -08:00
Harshavardhana
22051bb8af
s3/gcs: now all combinations and permutations work for URLs with buckets in different regions.
...
- <bucket>.s3.amazonaws.com with <bucket> in us-west-2 re-writes
the URL to s3-us-west-2.amazonaws.com.
- <bucket>.s3-us-west-2.amazonaws.com doesn't need and translation,
call goes directly to s3-us-west-2.amazonaws.com
2015-11-12 20:29:20 -08:00
Harshavardhana
bdb04d5dc8
Merge pull request #1287 from krishnasrinivas/rm-remove-force
...
Remove --force option from cp as url2stat() on s3 checks were slowing things down
2015-11-12 19:56:44 -08:00
Krishna Srinivas
dc4b903be9
Remove --force option from cp as url2stat() on s3 checks were slowing things down
2015-11-12 19:13:14 -08:00
Harshavardhana
cf40673309
Merge pull request #1280 from krishnasrinivas/vendor-update
...
fix to make mc work with <bucket>.s3.amazonaws.com style hostname
2015-11-12 16:28:05 -08:00
Krishna Srinivas
4f9589ef79
vendor update for minio-go
2015-11-12 16:04:32 -08:00
Harshavardhana
2a72d6b494
Merge pull request #1286 from harshavardhana/list-only
...
config: list hosts only present in config.
2015-11-12 13:44:19 -08:00
Harshavardhana
54e24eccaa
config: list hosts only present in config.
...
Fixes #1285
2015-11-12 13:34:05 -08:00
Harshavardhana
a523baf1fc
Merge pull request #1284 from harshavardhana/share
...
share: Fix share command for google cloud
2015-11-12 12:10:16 -08:00
Harshavardhana
eb10e0e089
share: Fix share command for google cloud
...
Fixes #1282
2015-11-12 12:05:36 -08:00
Anand Babu (AB) Periasamy
61062dd999
Merge pull request #1283 from abperiasamy/review-session
...
review session code
2015-11-12 11:55:49 -08:00
Anand Babu (AB) Periasamy
d917951b58
review session code
2015-11-12 11:46:06 -08:00
Harshavardhana
cdf1980666
Merge pull request #1281 from koolhead17/patch-2
...
Update INSTALLGO.md
2015-11-12 10:16:16 -08:00
koolhead17
e060875409
Update INSTALLGO.md
...
Added the .bash_profile changes for mac & modified .bashrc content for ubuntu.
2015-11-12 19:01:05 +05:30
Harshavardhana
299fea13d5
Merge pull request #1279 from abperiasamy/review-multiple-cmds
...
review of cp ls mirror pipe and rm
2015-11-12 01:42:03 -08:00
Anand Babu (AB) Periasamy
3950402c89
review of cp ls mirror pipe and rm
2015-11-12 01:34:43 -08:00
Harshavardhana
bb06a6a733
Merge pull request #1278 from harshavardhana/s3-ls
...
fs: Make fs behave like s3 - fixes #1246
2015-11-12 01:33:59 -08:00
Harshavardhana
5018b01a51
fs: Make fs behave like s3 - fixes #1246
2015-11-12 01:26:47 -08:00
Anand Babu (AB) Periasamy
d8d7e89a42
Merge pull request #1277 from abperiasamy/cat-review
...
cat code review
2015-11-12 00:17:41 -08:00
Anand Babu (AB) Periasamy
881a8a1366
cat code review
2015-11-12 00:12:11 -08:00
Harshavardhana
930ea1badd
Merge pull request #1276 from harshavardhana/config
...
config: migrate to new configV6
2015-11-12 00:09:28 -08:00
Harshavardhana
824a6b8cb8
config: migrate to new configV6
...
Fixes #1266
- add "*s3*amazonaws.com" as part of the new config.
- add "*storage.googleapis.com" as part of the new config.
2015-11-12 00:04:41 -08:00
Harshavardhana
6c605df8a3
Merge pull request #1275 from koolhead17/patch-1
...
Update INSTALLGO.md
2015-11-12 00:01:12 -08:00
koolhead17
21cf62912e
Update INSTALLGO.md
...
Added more information regarding souring Go environment and testing the setup.
2015-11-12 13:19:50 +05:30
Anand Babu (AB) Periasamy
6cd0ca9c51
Merge pull request #1274 from abperiasamy/mb-review
...
mb code review
2015-11-11 23:29:18 -08:00
Anand Babu (AB) Periasamy
49d5cd6b63
mb code review
2015-11-11 23:25:46 -08:00
Harshavardhana
bd2573f210
Merge pull request #1272 from harshavardhana/incomplete
...
rm/ls: Remove and List incomplete uploads properly
2015-11-11 21:38:26 -08:00
Harshavardhana
9480f8c9ae
rm/ls: Remove and List incomplete uploads properly
...
Fixes #1271
2015-11-11 21:35:51 -08:00
Anand Babu (AB) Periasamy
27c3bb1e2c
Merge pull request #1269 from abperiasamy/ls-overhaul
...
simplify ls command
2015-11-11 17:48:19 -08:00
Anand Babu (AB) Periasamy
ed0dbb835b
simplify ls command
2015-11-11 17:45:20 -08:00
Harshavardhana
20b546b361
Merge pull request #1268 from krishnasrinivas/virtual-style-bucket-share-upload-fix
...
Fix unexpected padding of bucket name with "mc share upload" #1263
2015-11-11 17:42:29 -08:00
Krishna Srinivas
900770abfd
Fix unexpected padding of bucket name with "mc share upload" #1263
2015-11-11 17:35:29 -08:00
Harshavardhana
1534003e95
Merge pull request #1267 from harshavardhana/mc-s3
...
s3: Change s3 behavior - for virtual style requests filter buckets out.
2015-11-11 16:35:42 -08:00
Harshavardhana
5afc55acb7
s3: Change s3 behavior - for virtual style requests filter buckets out.
...
Fixes #1264
2015-11-11 16:31:54 -08:00
Harshavardhana
1021d0b336
Merge pull request #1265 from harshavardhana/fs-walk
...
fs: Implement custom walk to handle sorting properly
2015-11-11 14:47:57 -08:00
Harshavardhana
6f7e752aa0
fs: Implement custom walk to handle sorting properly
2015-11-11 14:43:18 -08:00
Harshavardhana
fa85630cf7
Merge pull request #1261 from harshavardhana/mirror
...
mirror: Fix handling of preceding separators from source
2015-11-11 02:04:23 -08:00
Harshavardhana
7d3b1a6ddb
mirror: Fix handling of preceding separators from source
...
Filesystem now never replies back directories for recursive usecase.
2015-11-11 02:01:54 -08:00
Anand Babu (AB) Periasamy
d757a36e97
Merge pull request #1259 from abperiasamy/readme-fix
...
format fix
2015-11-11 00:23:39 -08:00
Anand Babu (AB) Periasamy
6176771556
format fix
2015-11-11 00:20:36 -08:00
Anand Babu (AB) Periasamy
f5ee78faa6
Merge pull request #1258 from minio/abperiasamy-patch-1
...
pig became pipe
2015-11-11 00:18:03 -08:00
Anand Babu (AB) Periasamy
3422bab341
pig became pipe
2015-11-11 00:09:25 -08:00
Anand Babu (AB) Periasamy
287ef7a9a8
Merge pull request #1257 from abperiasamy/pig2pipe
...
pig became pipe
2015-11-11 00:06:59 -08:00
Anand Babu (AB) Periasamy
32c7590621
pig became pipe
2015-11-11 00:04:01 -08:00
Harshavardhana
9c98d7eaee
Merge pull request #1256 from harshavardhana/cleanup-cp-mirror
...
cp/mirror: cleanup - now support `--force` flag
2015-11-10 23:49:53 -08:00
Harshavardhana
d6c16ad597
cp/mirror: cleanup - now support --force flag
2015-11-10 23:47:02 -08:00
Anand Babu (AB) Periasamy
286fe7fd7b
Merge pull request #1255 from abperiasamy/console-cleanup
...
simplify setting console theme
2015-11-10 16:47:57 -08:00
Anand Babu (AB) Periasamy
970927cc6b
simplify setting console theme
2015-11-10 16:45:32 -08:00
Harshavardhana
fc6a2971cb
Merge pull request #1254 from harshavardhana/alias
...
alias: Support aliases with preceding separators
2015-11-10 12:58:21 -08:00
Harshavardhana
08697dc332
alias: Support aliases with preceding separators
2015-11-10 12:53:49 -08:00
Harshavardhana
d16e1f6d40
Merge pull request #1253 from harshavardhana/fix-mirror
...
mirror: Fix mirror command
2015-11-10 12:53:00 -08:00
Harshavardhana
39edb01800
mirror: Fix mirror command
...
Add proper trimming of prefixes, to properly verify targets and its
contents.
This bug creeped in after recent URL changes.
2015-11-10 12:50:30 -08:00
Harshavardhana
12b26375e2
Merge pull request #1252 from harshavardhana/add-scanbar
...
diff: Add scanBar for recursive diff
2015-11-10 02:01:12 -08:00
Harshavardhana
8f11c67956
diff: Add scanBar for recursive diff
2015-11-10 01:58:06 -08:00
Harshavardhana
ebf96ea853
Merge pull request #1251 from harshavardhana/fix-bug
...
signature: Fix a bug in signature v2
2015-11-10 00:29:30 -08:00
Harshavardhana
6333935562
signature: Fix a bug in signature v2
2015-11-10 00:26:30 -08:00
Harshavardhana
09f696c640
Merge pull request #1250 from harshavardhana/google-cloud
...
doc: Add google cloud storage
2015-11-09 23:49:52 -08:00
Harshavardhana
08c90a2c03
doc: Add google cloud storage
2015-11-09 23:46:46 -08:00
Harshavardhana
b7dc5414d8
Merge pull request #1249 from harshavardhana/signature
...
minio-go: update to new version of minio-go
2015-11-09 23:10:59 -08:00
Harshavardhana
03e9fa70dd
minio-go: update to new version of minio-go
...
This change comes with wider re-structure inside minio-go and lots
of code cleanup.
2015-11-09 23:03:45 -08:00
Harshavardhana
3fca2428ad
Merge pull request #1248 from harshavardhana/cleanup
...
diff: Cleanup diff
2015-11-09 16:42:00 -08:00
Harshavardhana
dc985953e4
diff: Cleanup diff
...
- overall simplification and reduction in repetitive code.
- use select for multi channel synchronization.
2015-11-09 16:37:54 -08:00
Harshavardhana
04b4ef4928
Merge pull request #1247 from harshavardhana/list
...
copy: Fix copyURLsTypeC style of copying with or without separator.
2015-11-08 15:31:43 -08:00
Harshavardhana
6d86cbc686
copy: Fix copyURLsTypeC style of copying with or without separator.
...
- `mc cp pkg... test` copies all `pkg` including itself
- `mc cp pkg/... test` copies all content inside `pkg` excluding `pkg`
2015-11-08 15:24:38 -08:00
Harshavardhana
93ec567278
Merge pull request #1245 from harshavardhana/list
...
cleanup: Cleanup across code base.
2015-11-08 13:30:04 -08:00
Harshavardhana
6a8224b4ab
cleanup: Cleanup across code base.
...
- improve on code comments, needs more work this is a first cut.
- improve on naming conventions and simplification as and when
necessary.
2015-11-08 13:22:32 -08:00
Harshavardhana
4441c9bb31
Merge pull request #1244 from harshavardhana/windows
...
build: Evaluate ldflags properly
2015-11-08 03:54:17 -08:00
Harshavardhana
56ccca29f9
build: Evaluate ldflags properly
2015-11-08 03:50:29 -08:00
Anand Babu (AB) Periasamy
26ebf2d028
Merge pull request #1243 from abperiasamy/rm-rewrite
...
simplify rm code
2015-11-08 03:38:13 -08:00
Anand Babu (AB) Periasamy
3d847915c7
simplify rm code
2015-11-08 03:32:31 -08:00
Harshavardhana
2617b62ed3
Merge pull request #1242 from harshavardhana/fix-more-listing
...
list: Fix more listing bugs
2015-11-08 02:51:31 -08:00
Harshavardhana
fb48c24176
list: Fix more listing bugs
2015-11-08 02:49:09 -08:00
Harshavardhana
c37824d058
Merge pull request #1241 from harshavardhana/listing-fixes
...
list: Fix listing command output
2015-11-08 00:12:34 -08:00
Harshavardhana
cb87550978
list: Fix listing command output
...
Fix all the incorrectness behavior of `ls` introduced after
recent changes.
2015-11-08 00:07:11 -08:00
Harshavardhana
b71e2b4962
Merge pull request #1240 from harshavardhana/url-changes
...
structure: Move client.Content to return a URL object
2015-11-07 22:19:15 -08:00
Harshavardhana
b9033d1cac
structure: Move client.Content to return a URL object
...
This change is needed to avoid extensive string manipulation
of URLs throughout the code base.
A client interface sends back data as a proper URL object,
this facilitates us to avoid unnecessary string manipulation
by making code more cleaner.
2015-11-07 22:12:52 -08:00
Anand Babu (AB) Periasamy
d8efa979ff
Merge pull request #1239 from abperiasamy/perr
...
fixed variable naming conventions
2015-11-07 18:31:58 -08:00
Anand Babu (AB) Periasamy
d634e3883a
fixed variable naming conventions
2015-11-07 17:00:20 -08:00
Anand Babu (AB) Periasamy
27a8e64350
Merge pull request #1238 from abperiasamy/prints
...
Prints cleanup
2015-11-07 16:44:54 -08:00
Anand Babu (AB) Periasamy
334e864eea
Prints cleanup
2015-11-07 16:41:42 -08:00
Harshavardhana
6534268dc2
Merge pull request #1236 from harshavardhana/minio-go-legacy-merge
...
signature: Update new minio-go, bring in comprehensive Signature support
2015-11-06 23:50:19 -08:00
Harshavardhana
8273192dcf
signature: Update new minio-go, bring in comprehensive Signature support
2015-11-06 23:46:16 -08:00
Harshavardhana
5572d47cd2
Merge pull request #1235 from harshavardhana/remove-static
...
build: Remove ldflags
2015-11-06 17:44:42 -08:00
Harshavardhana
234c3906d4
build: Remove ldflags
2015-11-06 17:41:15 -08:00
Harshavardhana
ffd1f54b55
Merge pull request #1234 from harshavardhana/listing-bug
...
list: Move `incomplete` as last argument.
2015-11-06 16:22:58 -08:00
Harshavardhana
8de841cd69
list: Move incomplete as last argument.
...
implement args.Head() to handle this case smoothly.
2015-11-06 16:17:15 -08:00
Harshavardhana
9f206f590f
Merge pull request #1233 from harshavardhana/make-static
...
build: Make by default static builds for mc
2015-11-05 22:48:20 -08:00
Harshavardhana
503e746778
build: Make by default static builds for mc
2015-11-05 22:39:05 -08:00
Harshavardhana
c3e7786c92
Merge pull request #1232 from harshavardhana/update-docs
...
Update docs for share, session and config
2015-11-04 20:29:18 -08:00
Harshavardhana
540b76fb9c
Update docs for share, session and config
2015-11-04 20:14:01 -08:00
Harshavardhana
65d39bbfa9
Merge pull request #1231 from minio/add-google-storage-inst
...
Add AWS and Google Cloud instructions in README.md
2015-11-03 18:36:15 -08:00
Harshavardhana
d9d9f6f63c
Update README.md
2015-11-03 18:33:39 -08:00
Harshavardhana
c67dfa8da3
Merge pull request #1230 from minio/update-readme
...
Update README.md
2015-11-03 18:09:16 -08:00
Harshavardhana
2a8dd4b553
Update README.md
2015-11-03 18:05:10 -08:00
Harshavardhana
69ca816fd8
Merge pull request #1229 from harshavardhana/build-ldflags
...
build: Populate mcVersion through ldflags
2015-11-02 12:51:34 -08:00
Harshavardhana
123e44d8c5
build: Populate mcVersion through ldflags
...
By default binary built through 'go get github.com/minio/mc'. Will be
considered UNOFFICIAL.GOGET with not versioning, 'go get' binaries
cannot use 'mc update' functionality.
First reasoning towards this is - go build tools have no way to specifying
versions and releases unlike `npm`. For this reason alone we have to
differentiate OFFICIAL and UNOFFICIAL.
Now a 'make' will build appropriate binaries, while 'go get' becomes UNOFFICIAL.
2015-11-02 12:42:17 -08:00
Harshavardhana
a719323cdd
Merge pull request #1228 from harshavardhana/write-pending-tests
...
Finish off some pending tests for cp, mirror, pig, version, share
2015-10-29 19:06:58 -07:00
Harshavardhana
aedd2d2c39
Add version test
2015-10-29 19:03:40 -07:00
Harshavardhana
9447548805
Add share tests
2015-10-29 18:50:15 -07:00
Harshavardhana
a17cb6037d
Add pig failure test
2015-10-29 18:34:10 -07:00
Harshavardhana
619bc1bf23
Add mirror and cp tests
2015-10-29 18:12:04 -07:00
Harshavardhana
e65b55e01a
Merge pull request #1227 from winchram/devel
...
mirror: refactor session creation
2015-10-29 17:56:20 -07:00
Winch Ram
0ab5e27456
mirror: refactor session creation
...
Previously session creation was written in a way to work unsorted
source and targets content, but reality is source and targets give
contents in sorted order always.
This patch fixes session creation to use pre-sorted source and targets
content.
Signed-off-by: Winch Ram <winchram@gmail.com >
2015-10-30 06:14:07 +05:30
Harshavardhana
4ecade6ca6
Merge pull request #1225 from krishnasrinivas/rmprogress
...
"rm" progress output
2015-10-28 20:56:22 -07:00
Krishna Srinivas
d9fa12d862
"rm" progress output
2015-10-28 20:52:10 -07:00
Harshavardhana
c4dbd82f7d
Merge pull request #1224 from minio/harshavardhana-patch-1
...
Update INSTALLGO.md
2015-10-28 17:16:42 -07:00
Harshavardhana
a584e6ce14
Update INSTALLGO.md
2015-10-28 15:41:47 -07:00
Harshavardhana
adc391d0b6
Merge pull request #1223 from harshavardhana/strings-compare
...
Remove usage of strings.Compare - always golangs native checks like "…
2015-10-28 13:58:15 -07:00
Harshavardhana
f4a00c9904
Remove usage of strings.Compare - always golangs native checks like ">, <, ==" for strings
2015-10-28 13:47:49 -07:00
Harshavardhana
cab949b88f
Merge pull request #1222 from harshavardhana/directory-symlink
...
Handle directory symlink navigation
2015-10-28 00:17:31 -07:00
Harshavardhana
671ce5242d
Handle directory symlink navigation
2015-10-28 00:13:20 -07:00
Harshavardhana
b89fe068e9
Merge pull request #1221 from harshavardhana/handle-directorys
...
Handle directories and print proper errors for cp
2015-10-27 18:18:56 -07:00
Harshavardhana
76a47677c3
Handle directories and print proper errors for cp
2015-10-27 17:47:15 -07:00
Harshavardhana
4d2d32e661
Merge pull request #1218 from harshavardhana/segfault
...
Fix rm segfault - fail on catastrophic error
2015-10-25 14:38:45 -07:00
Harshavardhana
d85973042c
Fix rm segfault - fail on catastrophic error
...
fixes #1216
2015-10-25 14:26:49 -07:00
Harshavardhana
8570a25709
Merge pull request #1217 from harshavardhana/construct-url
...
Construct url properly, use filepath.Join only for paths
2015-10-25 13:42:11 -07:00
Harshavardhana
23e1d34d64
Construct url properly, use filepath.Join only for paths
...
fixes #1215
2015-10-25 13:38:25 -07:00
Harshavardhana
d23dcd8204
Merge pull request #1214 from harshavardhana/mc-release
...
Pick release tag from mcReleaseTag
2015-10-25 11:16:48 -07:00
Harshavardhana
a0d7e5f9be
Pick release tag from mcReleaseTag
2015-10-25 11:12:36 -07:00
Harshavardhana
a20c5518b1
Merge pull request #1213 from harshavardhana/update-probe
...
Update probe with new changes and setAppInfo for probe
2015-10-25 11:09:41 -07:00
Harshavardhana
ae447a96ad
Update probe with new changes and setAppInfo for probe
2015-10-25 11:05:12 -07:00
Harshavardhana
7452f7b1d2
Merge pull request #1211 from abperiasamy/fix-config-v3-migrate
...
fix config v3 fix function
2015-10-24 01:47:56 -07:00
Anand Babu (AB) Periasamy
00611fb35b
fix config v3 fix function
2015-10-24 00:52:25 -07:00
Harshavardhana
fb6e9476fc
Merge pull request #1210 from harshavardhana/api-public-cloud
...
Update minio-go-legacy, now mc fully supports Google Cloud Storage - …
2015-10-23 20:43:41 -07:00
Harshavardhana
079becd49e
Update minio-go-legacy, now mc fully supports Google Cloud Storage - fixes #1185
2015-10-23 20:41:08 -07:00
Anand Babu (AB) Periasamy
8ad658058b
Merge pull request #1209 from abperiasamy/fix-vendor-json
...
fix vendors.json with new govendor
2015-10-23 20:10:07 -07:00
Anand Babu (AB) Periasamy
d4b6b180ad
fix vendors.json with new govendor
2015-10-23 20:04:03 -07:00
Anand Babu (AB) Periasamy
5ca65022c3
Merge pull request #1208 from abperiasamy/pkg-update
...
added pkg-update to update a vendorized package
2015-10-23 17:47:11 -07:00
Anand Babu (AB) Periasamy
86edabd264
added pkg-update to update a vendorized package
2015-10-23 17:44:17 -07:00
Anand Babu (AB) Periasamy
89b2ddd9f9
Merge pull request #1207 from abperiasamy/probe-update
...
updated probe
2015-10-23 17:39:30 -07:00
Anand Babu (AB) Periasamy
48adfcdcd8
updated probe
2015-10-23 17:35:21 -07:00
Harshavardhana
009c1fd8ce
Merge pull request #1205 from harshavardhana/incomplete-upload
...
Merge RemoveIncompleteUpload() into Remove
2015-10-22 15:21:06 -07:00
Harshavardhana
f94de478c3
Merge RemoveIncompleteUpload() into Remove
2015-10-22 15:18:11 -07:00
Harshavardhana
1ee1b984b8
Merge pull request #1204 from harshavardhana/remove-object
...
Simplify client interface
2015-10-22 10:54:29 -07:00
Harshavardhana
795a8edf64
Simplify client interface
2015-10-22 10:47:24 -07:00
Anand Babu (AB) Periasamy
47991fba6c
Merge pull request #1203 from abperiasamy/root-ok
...
remove root check
2015-10-22 00:18:57 -07:00
Anand Babu (AB) Periasamy
3d6b19f833
remove root check
2015-10-22 00:13:32 -07:00
Harshavardhana
3473c88e95
Merge pull request #1202 from minio/abperiasamy-patch-1
...
"go get -u" by default
2015-10-22 00:02:15 -07:00
Anand Babu (AB) Periasamy
322f1a0561
go get -u"
2015-10-21 23:49:28 -07:00
Harshavardhana
118d7e3bb4
Merge pull request #1201 from krishnasrinivas/rename-drop-to-remove
...
Rename DropIncompleteUpload to RemoveIncompleteUpload
2015-10-21 23:41:32 -07:00
Krishna Srinivas
513ab017b9
Rename DropIncompleteUpload to RemoveIncompleteUpload
2015-10-21 22:25:27 -07:00
Harshavardhana
706124b248
Merge pull request #1200 from krishnasrinivas/fs-rm-recursive
...
Support for "rm" of localdir/prefix...
2015-10-21 18:51:10 -07:00
Krishna Srinivas
b240c7c88a
Support for "rm" of localdir/prefix...
2015-10-21 18:46:19 -07:00
Harshavardhana
491a6ab31c
Merge pull request #1199 from krishnasrinivas/fs-ls-recursive-fix
...
recursive 'mc ls' on filesystem gives error #1198
2015-10-21 18:43:20 -07:00
Krishna Srinivas
e9bc4af214
recursive 'mc ls' on filesystem gives error #1198
2015-10-21 18:10:40 -07:00
Harshavardhana
ca6075e776
Merge pull request #1197 from krishnasrinivas/bug-1196
...
recursive ls on object storage was giving incorrect output fix for #1196
2015-10-21 15:08:43 -07:00
Krishna Srinivas
1cab0c2c24
recursive ls on object storage was giving incorrect output
...
fix for #1196
2015-10-21 14:55:00 -07:00
Harshavardhana
53d32e31db
Merge pull request #1195 from krishnasrinivas/removeincompleteuploads-testcase
...
test case for "mc rm"
2015-10-21 09:23:05 -07:00
Krishna Srinivas
d11767771c
test case for "mc rm"
2015-10-21 02:05:30 -07:00
Harshavardhana
e74615943c
Merge pull request #1194 from harshavardhana/rm-code-simplify
...
Improve upon the argument verification - use the existing primitives from cli package
2015-10-20 20:50:58 -07:00
Harshavardhana
2f46510d26
Improve upon the argument verification - use the existing primitives from cli package
2015-10-20 20:47:08 -07:00
Harshavardhana
56ee709f16
Merge pull request #1193 from krishnasrinivas/removeincompleteuploads
...
Support for "mc rm s3/bucket/dir/... incomplete force"
2015-10-20 19:50:43 -07:00
Krishna Srinivas
a3b49bdd34
Support for "mc rm s3/bucket/dir/... incomplete force"
2015-10-20 19:40:21 -07:00
Harshavardhana
548f410ea7
Merge pull request #1192 from harshavardhana/arm-support
...
Add arm support for build scripts
2015-10-20 11:58:01 -07:00
Harshavardhana
9ccd387bc6
Add arm support for build scripts
2015-10-20 11:48:36 -07:00
Harshavardhana
cbf1cc0206
Merge pull request #1191 from harshavardhana/list-multipart-objects
...
Implement `mc ls incomplete s3/bucketname`
2015-10-19 22:30:52 -07:00
Harshavardhana
1eb171544f
Implement mc ls incomplete s3/bucketname
2015-10-19 22:28:34 -07:00
Harshavardhana
21f8f55176
Merge pull request #1189 from krishnasrinivas/delete-object
...
support for "rm" of objects and buckets
2015-10-19 15:34:44 -07:00
Krishna Srinivas
b4c78a33ff
support for "rm" of objects and buckets
2015-10-19 15:11:59 -07:00
Krishna Srinivas
2a3b201457
vendor update minio-go-legacy
2015-10-19 15:09:44 -07:00
Krishna Srinivas
7f7e4cc330
vendor update minio-go
2015-10-19 15:09:44 -07:00
Harshavardhana
302d2c967f
Merge pull request #1190 from krishnasrinivas/remove-newline
...
remove the un-needed space character in help display which would make…
2015-10-17 10:22:20 -07:00
Krishna Srinivas
b73d4662e8
remove the un-needed space character in help display which would make the shell prompt offset by a space char.
2015-10-17 02:55:19 -07:00
Harshavardhana
881c12ddf1
Merge pull request #1188 from harshavardhana/mc-package
...
Migrate mc package to minio-xl from minio/minio repo for probe/quick
2015-10-17 00:32:03 -07:00
Harshavardhana
f85e8827e1
Migrate mc package to minio-xl from minio/minio repo for probe/quick
2015-10-17 00:24:14 -07:00
Harshavardhana
ed85b64fd5
Merge pull request #1187 from harshavardhana/relax-etag
...
Relax strict ETag requirement for Get and Head requests
2015-10-13 17:30:27 -07:00
Harshavardhana
ee212e5b52
Relax strict ETag requirement for Get and Head requests
2015-10-13 17:22:51 -07:00
Harshavardhana
8f08a067c4
Merge pull request #1186 from harshavardhana/mc-share
...
Fix mc share download for special character encoding
2015-10-13 10:22:55 -07:00
Harshavardhana
0f8f5ae6b6
Fix mc share download for special character encoding
...
mc share download would fail to generate or generate a wrong signature
for a URLs with special unencoded characters.
This issue was limited to signature v2.
2015-10-13 10:14:26 -07:00
Harshavardhana
3d12efaaca
Update README.md
2015-10-12 21:41:38 -07:00
Harshavardhana
30f08b054f
Merge pull request #1184 from harshavardhana/move-to-zip
...
Do not use msi installation during testing, use zip file much faster
2015-10-12 12:14:24 -07:00
Harshavardhana
096b229e03
Do not use msi installation during testing, use zip file much faster
2015-10-12 12:07:52 -07:00
Harshavardhana
7eb149d49c
Merge pull request #1183 from harshavardhana/infiniteloop-bug
...
Fix an infinite loop bug
2015-10-12 10:55:16 -07:00
Harshavardhana
ccf7613e87
Fix an infinite loop bug
...
While doing recursive listing of objects and object prefixes which have
non encoded characters for example ``++`` leads to S3 sending same replies
for all subsequent ``ListObjects()`` request. Essentially leading to an
infinite loop.
2015-10-12 10:49:54 -07:00
Harshavardhana
2218eaefd3
Merge pull request #1182 from harshavardhana/reduce-operations
...
Reduce number of operations on windows build
2015-10-11 11:44:38 -07:00
Harshavardhana
ca2525bb63
Reduce number of operations on windows build
2015-10-11 11:41:32 -07:00
Anand Babu (AB) Periasamy
78a2c33b00
Merge pull request #1181 from abperiasamy/commom-methods-cleanup
...
target2Client and source2Client methods are not necessary
2015-10-11 03:19:23 -07:00
Anand Babu (AB) Periasamy
636f243dcc
target2client and source2client methods are not necessary
2015-10-11 03:07:47 -07:00
Anand Babu (AB) Periasamy
7ce37ea115
Merge pull request #1180 from abperiasamy/pig
...
new pig command
2015-10-11 01:48:42 -07:00
Anand Babu (AB) Periasamy
21a90da0bf
new pig command
2015-10-11 01:45:32 -07:00
Harshavardhana
a1365f63f0
Merge pull request #1179 from harshavardhana/implement-proper-checks
...
Always make sure to verify argument validation in checkSyntax**.
2015-10-10 13:09:30 -07:00
Harshavardhana
c4b9891c6e
Always make sure to verify argument validation in checkSyntax**.
...
Cleanup share-upload.go to be aware of different argument validation.
2015-10-10 13:05:33 -07:00
Harshavardhana
f730083872
Merge pull request #1177 from krishnasrinivas/share-output-cleanup
...
mc share output cleanup
2015-10-09 17:53:54 -07:00
Krishna Srinivas
ef98d5963b
mc share output cleanup
2015-10-09 16:56:25 -07:00
Harshavardhana
1d51b376e7
Merge pull request #1178 from harshavardhana/accounting-reader
...
Use FormatBytes from pb project for a consistent view
2015-10-09 15:47:23 -07:00
Harshavardhana
918b5c06a0
Use FormatBytes from pb project for a consistent view
2015-10-09 15:35:18 -07:00
Harshavardhana
31a72a02d2
Merge pull request #1176 from harshavardhana/accounting-reader-for-quiet-mode
...
Add new accounting reader which prints Total transferred and Average …
2015-10-09 13:16:45 -07:00
Harshavardhana
26cb1e7ae3
Add new accounting reader fixes #1162
...
Just like how a progress bar keeps track of data transfer
and average speed. Accounting reader implements similar
functionalities for calculating average speed, total transferred.
This accounting information is printed at the end of the copy or mirror
operation in quiet mode.
2015-10-09 12:29:13 -07:00
Anand Babu (AB) Periasamy
f49cac08b9
Merge pull request #1175 from abperiasamy/cat-enhancements
...
Interpret - as stdin
2015-10-08 23:32:14 -07:00
Anand Babu (AB) Periasamy
4782259e57
Interpret - as stdin
2015-10-08 23:29:27 -07:00
Anand Babu (AB) Periasamy
ca7f612ac4
Interpret - as stdin
2015-10-08 23:02:16 -07:00
Harshavardhana
b1ae9bbfa3
Merge pull request #1174 from krishnasrinivas/presigned-post-s3v2
...
presigned post for s3v2
2015-10-08 19:13:23 -07:00
Krishna Srinivas
18c0671c7e
Presigned post enabled for s3v2
2015-10-08 17:28:37 -07:00
Krishna Srinivas
6ff16c0a0e
vendor update for minio-go-legacy
2015-10-08 17:28:37 -07:00
Harshavardhana
98129e8400
Merge pull request #1173 from harshavardhana/cursor-animate
...
Add cursor animate to mirror
2015-10-08 16:35:53 -07:00
Harshavardhana
e03315ba44
Add cursor animate to mirror
2015-10-08 16:24:20 -07:00
Harshavardhana
d3f7a28f14
Merge pull request #1172 from harshavardhana/broken-symlink
...
Handle errors coming in through List avoid crashes
2015-10-08 16:23:45 -07:00
Harshavardhana
0d63b236e8
Handle errors coming in through List avoid crashes
2015-10-08 16:17:37 -07:00
Harshavardhana
5f6990014d
Merge pull request #1171 from harshavardhana/streaming-input-changes
...
Anticipating streaming input vendorize changes from minio-go, minio-g…
2015-10-08 15:30:07 -07:00
Harshavardhana
16d489fa3b
Anticipating streaming input vendorize changes from minio-go, minio-go-legacy.
...
Progressbar doesn't add to Total value if its a streaming input, this provides
us infinite progress bar.
2015-10-08 15:26:05 -07:00
Harshavardhana
db4387c56a
Merge pull request #1170 from vadmeste/process_symlink_loop_error
...
Relax `too many levels symlink error` when traversing folders/files
2015-10-08 15:15:33 -07:00
Anis Elleuch
45b1351991
Relax too many levels symlink error when traversing folders/files
2015-10-08 22:56:59 +01:00
Harshavardhana
4354c139a0
Merge pull request #1169 from harshavardhana/fix-mirror-crash
...
In case of errors not all the cases have content.Content as non nil -…
2015-10-08 14:03:06 -07:00
Harshavardhana
0175f11388
In case of errors not all the cases have content.Content as non nil - fixes #1166
2015-10-08 13:59:49 -07:00
Harshavardhana
1fb55f7685
Merge pull request #1168 from krishnasrinivas/mc-upload-presign
...
mc share upload
2015-10-08 13:49:24 -07:00
Krishna Srinivas
aa53fb19f9
Break share main file into subcommands files - upload, download, list
2015-10-08 13:43:41 -07:00
Krishna Srinivas
7ec74a33ce
Implement mc share upload and mc share download
2015-10-08 13:20:29 -07:00
Krishna Srinivas
7c251c314b
Vendor update for github.com/minio/minio-go
2015-10-08 13:20:24 -07:00
Krishna Srinivas
428cc1eed6
Vendor update for github.com/minio/minio/pkg/quick package
2015-10-08 13:19:42 -07:00
Harshavardhana
e3f3698526
Merge pull request #1167 from harshavardhana/add-colors
...
Add new --colors option for choosing different coloring styles for co…
2015-10-07 17:28:09 -07:00
Harshavardhana
6d95872ad8
Add new --colors option for choosing different coloring styles for console printing
...
Each command implements and interprets the following coloring styles
- ``dark`` - default coloring style picks up palette colors Cyan, Red, Blue, White etc
- ``light`` - lighter chooses white colored console printing.
- ``nocolor`` - nocolor is for console printing without any colors.
All coloring internally use ASCII color schemes, portable across all known OS.
2015-10-07 17:08:42 -07:00
Harshavardhana
f38e0569a6
Merge pull request #1165 from harshavardhana/palette-theme
...
Add SetCustomPalette rather than theme
2015-10-07 12:59:57 -07:00
Harshavardhana
dbe53325b0
Add SetCustomPalette rather than theme
2015-10-07 12:54:35 -07:00
Harshavardhana
4787a7b2a3
Merge pull request #1164 from harshavardhana/add-error
...
Improve mirror error message
2015-10-06 11:15:45 -07:00
Harshavardhana
87aadd20ec
Improve mirror error message
2015-10-06 11:12:16 -07:00
Harshavardhana
9d96acfd01
Merge pull request #1163 from krishnasrinivas/mirror-fix3
...
trailing slash was not enforced on sourceClnt - fixes #1158
2015-10-05 20:59:49 -07:00
Krishna Srinivas
9b45038a78
trailing slash was not enforced on sourceClnt #1158
2015-10-05 20:54:42 -07:00
Harshavardhana
d750398f4d
Bump to new version
2015-10-05 10:53:04 -07:00
Harshavardhana
344a73b04c
Merge pull request #1161 from harshavardhana/version
...
Migrate vendoring to new location
2015-10-05 10:40:30 -07:00
Harshavardhana
45c8db4bf8
Migrate vendoring to new location
2015-10-05 10:34:39 -07:00
Harshavardhana
78e03eda9b
Merge pull request #1159 from harshavardhana/remove-diff
...
Remove diff dependency on sorted-list
2015-10-04 11:34:00 -07:00
Harshavardhana
1f61963420
Remove diff dependency on sorted-list
...
Recursively filesystem is sorted by default, there is no reason to
store temporary files so that we can loop on them later.
This change does direct streaming diff - since both first and second
URL for the arguments are guaranteed to provide lexically correct output.
We can remove the necessity of creating new temporary files.
2015-10-04 11:26:16 -07:00
Harshavardhana
be02966161
Merge pull request #1157 from krishnasrinivas/remove-patricia
...
Remove patricia dependency
2015-10-04 11:05:04 -07:00
Krishna Srinivas
070e7244b2
Remove patricia dependency
2015-10-03 17:23:47 -07:00
Harshavardhana
6c2e6489ea
Merge pull request #1151 from krishnasrinivas/mirror-fix2
...
mirror - dump the sorted list of source and destinations to local dis…
2015-10-03 14:54:39 -07:00
Harshavardhana
e748db5c1f
Merge pull request #1156 from harshavardhana/quick-changes
...
Move to new changes in pkg/quick with json parse error formatting
2015-10-03 12:35:25 -07:00
Harshavardhana
9b024156a5
Move to new changes in pkg/quick with json parse error formatting
...
Thanks to Anis Elleuch for really good work.
2015-10-03 12:28:36 -07:00
Krishna Srinivas
9c23a4349c
mirror - dump the sorted list of source and destinations to local disk and find the files that need to be mirrored
2015-10-03 02:02:25 -07:00
Harshavardhana
2307456c66
Merge pull request #1155 from harshavardhana/sorted-list
...
Avoid pointer reference of immutable methods
2015-10-02 17:54:53 -07:00
Harshavardhana
67d6a47746
Avoid pointer reference of immutable methods
2015-10-02 17:51:44 -07:00
Harshavardhana
1866c82eee
Merge pull request #1152 from harshavardhana/relative-url-handling
...
Move to new changes in minio-go and minio-go-legacy to use relative URL's in http request
2015-10-02 12:45:16 -07:00
Harshavardhana
cae4dc04be
Move to new changes in minio-go to use relative URL's in http request
...
This change is necessary to cater for S3 clones which do not support
http://www.w3.org/Protocols/rfc2616/rfc2616-sec5.html#sec5.1.2
Fixes the issue https://github.com/minio/minio-go/issues/167
2015-10-02 12:40:19 -07:00
Harshavardhana
c456724838
Merge pull request #1150 from harshavardhana/share-works-withminio
...
Now share URL works with minio server
2015-10-01 10:33:15 -07:00
Harshavardhana
e1351bb998
Now share URL works with minio server
2015-10-01 10:27:42 -07:00
Harshavardhana
acf5be8d16
Merge pull request #1148 from krishnasrinivas/diff-fix2
...
diff - dump the sorted list of source and destination to local disk file and then diff from the local files
2015-09-30 21:10:48 -07:00
Krishna Srinivas
3211d184e5
diff - dump the sorted list of source and destination to local disk file and then diff from the local files
2015-09-30 21:05:09 -07:00
Harshavardhana
3229948e5a
Merge pull request #1149 from harshavardhana/cyan-notify
...
Change update coloring to Cyan as its more brighter on windows cmd :-)
2015-09-30 17:27:04 -07:00
Harshavardhana
886bc77e15
Change update coloring to Cyan as its more brighter on windows cmd :-)
2015-09-30 16:42:34 -07:00
Harshavardhana
d1f298c4a2
Merge pull request #1147 from harshavardhana/bucket-exists
...
Copy should verify for only buckets
2015-09-30 13:11:00 -07:00
Harshavardhana
0564b683a5
Copy should verify for only buckets
2015-09-30 13:07:11 -07:00
Harshavardhana
338fc6b85f
Merge pull request #1146 from harshavardhana/windows
...
Strconv for UID on windows doesn't work since UID is not an number on…
2015-09-30 12:47:37 -07:00
Harshavardhana
0f51ca0a77
Strconv for UID on windows doesn't work since UID is not an number on windows
...
There is no portable way to know, ignore root check for windows for now.
2015-09-30 12:42:19 -07:00
Harshavardhana
de95ef43a1
Merge pull request #1145 from harshavardhana/fix-segfault
...
Fix a segfault in mc for progress bar theme init
2015-09-30 12:41:33 -07:00
Harshavardhana
f86efb7c36
Fix a segfault in mc for progress bar theme init
2015-09-30 12:36:11 -07:00
Krishna Srinivas
2b0276bd6c
rename newSID to randomID
2015-09-30 01:03:11 -07:00
Harshavardhana
4671e01dbf
Merge pull request #1143 from harshavardhana/add-appveyor-windows-builds
...
Add windows builds for mc
2015-09-29 19:02:08 -07:00
Harshavardhana
7de3c677df
Add windows builds for mc
2015-09-29 18:57:23 -07:00
Harshavardhana
5a2928de7d
Merge pull request #1142 from harshavardhana/session-v2
...
Do not default to saving session on errors, instead save session for …
2015-09-29 14:26:25 -07:00
Harshavardhana
15cf02643d
Do not default to saving session on errors, instead save session for specific errors
2015-09-29 14:23:25 -07:00
Harshavardhana
699e239953
Merge pull request #1112 from vadmeste/fix_ls_error_with_json_enabled
...
Fix printing fatal message prefix when json flag is enabled
2015-09-29 12:04:11 -07:00
Anis ELLEUCH
14572a7aa5
Factor out repetitive fatal and error quit routines
2015-09-29 19:31:43 +01:00
Harshavardhana
0edeac6be1
Merge pull request #1141 from harshavardhana/newcp-bar
...
Rename newCpBar to newProgressBar, move setting console color for pro…
2015-09-29 10:48:56 -07:00
Harshavardhana
6781591143
Rename newCpBar to newProgressBar, move setting console color for progress outside of console
2015-09-29 10:47:19 -07:00
Harshavardhana
44e15c726a
Merge pull request #1140 from harshavardhana/update-to-new-probe
...
Update to new version of probe
2015-09-29 10:22:28 -07:00
Harshavardhana
638efef814
Update to new version of probe
2015-09-29 10:19:03 -07:00
Harshavardhana
14daf88890
Merge pull request #1139 from harshavardhana/virtual-styled
...
Add proper comment for virtual styled host
2015-09-29 00:40:35 -07:00
Harshavardhana
0462d30807
Add proper comment for virtual styled host
2015-09-29 00:39:10 -07:00
Harshavardhana
23168be49c
Merge pull request #1138 from harshavardhana/fix-hang
...
Fix hang cp and mirror hang in --quiet and --json modes upon error
2015-09-29 00:33:20 -07:00
Harshavardhana
c9f2cf97bb
Fix hang cp and mirror hang in --quiet and --json modes upon error
2015-09-29 00:32:07 -07:00
Harshavardhana
c21793b363
Merge pull request #1137 from harshavardhana/fix-bugs
...
Fix bugs related to cp, mirror code argument validation
2015-09-29 00:19:06 -07:00
Harshavardhana
ee65cf7ab8
Fix bugs related to cp, mirror code argument validation
2015-09-29 00:17:16 -07:00
Harshavardhana
306e36ef57
Merge pull request #1136 from harshavardhana/add-tests
...
Add more coverage tests
2015-09-28 23:29:40 -07:00
Harshavardhana
ce7ecef8ae
Add more coverage tests
2015-09-28 23:26:12 -07:00
Harshavardhana
9fa96a7882
Merge pull request #1135 from harshavardhana/exit-not
...
Do not exit for common filesystem errors - for cp, mirror
2015-09-28 14:31:23 -07:00
Harshavardhana
fe9f1b9032
Do not exit for common filesystem errors - for cp, mirror
...
- Broken Symlink
- No Such file or directory, Permission Denied
- Ignore broken directory symlinks
2015-09-28 14:29:36 -07:00
Harshavardhana
21eb2e4f93
Revert "file.Write() can be used directly instead of file.File.Write()"
...
This reverts commit 78f58eaa62 .
2015-09-28 14:15:21 -07:00
Harshavardhana
1bc9f2bbad
Merge pull request #1134 from harshavardhana/session-v2
...
file.Write() can be used directly instead of file.File.Write()
2015-09-28 14:13:50 -07:00
Harshavardhana
78f58eaa62
file.Write() can be used directly instead of file.File.Write()
2015-09-28 14:11:54 -07:00
Harshavardhana
696a980575
Merge pull request #1133 from harshavardhana/config-path
...
Add more tests, overall coverage now stands for 42.6%
2015-09-28 11:14:38 -07:00
Harshavardhana
ffc015fe1d
Add more tests, coverage now stands for 42.6%
2015-09-28 11:07:20 -07:00
Harshavardhana
53f83dfe57
Add some comments for migration
2015-09-28 10:40:19 -07:00
Anand Babu (AB) Periasamy
4e5fd1dbb1
Updated jobs section
2015-09-26 15:35:03 -07:00
Harshavardhana
7af15e02cb
Merge pull request #1132 from harshavardhana/handle-url
...
Handle parsing for url with ':' only
2015-09-26 00:24:06 -07:00
Harshavardhana
6949965ac7
Handle parsing for url with ':' only
2015-09-26 00:22:17 -07:00
Harshavardhana
ef08b38bed
Merge pull request #1131 from harshavardhana/error-if
...
Print friendly message rather than fatalIf and exit cleanly.
2015-09-25 20:53:53 -07:00
Harshavardhana
1e346fc118
Print friendly message rather than fatalIf and exit cleanly.
2015-09-25 20:52:16 -07:00
Harshavardhana
f8d26ebac7
Merge pull request #1130 from krishnasrinivas/session-datafile-optimization
...
Avoid syncing session datafile when there is no change to the datafile
2015-09-25 20:42:48 -07:00
Krishna Srinivas
28ee8e56a5
Avoid syncing session datafile when there is no change to the datafile
2015-09-25 19:41:38 -07:00
Harshavardhana
6e3e29538e
Merge pull request #1129 from harshavardhana/support-virtual-style-buckets
...
Support virtual styled buckets with signature v2
2015-09-24 11:46:51 -07:00
Harshavardhana
d955a31b19
Support virtual styled buckets with signature v2
2015-09-24 11:42:44 -07:00
Harshavardhana
2fd97a6faa
Merge pull request #1128 from harshavardhana/s3v2-s3v4
...
Move http trace to a common code, implement trace
2015-09-23 23:20:17 -07:00
Harshavardhana
a20364694d
Move http trace to a common code, implement trace
2015-09-23 23:18:34 -07:00
Harshavardhana
147e698326
Merge pull request #1127 from harshavardhana/remove-redundant
...
Remove redundant genversion.go
2015-09-23 09:19:31 -07:00
Harshavardhana
27599f864b
Remove redundant genversion.go
2015-09-23 09:17:58 -07:00
Harshavardhana
d9145cb85f
Merge pull request #1125 from harshavardhana/signature-v2
...
Signature v2 should be redacted properly - in debug mode
2015-09-23 00:02:30 -07:00
Harshavardhana
8b00a29ab8
Signature v2 should be redacted properly
2015-09-23 00:01:34 -07:00
Harshavardhana
5a2520e88f
Merge pull request #1124 from harshavardhana/fix-error
...
Fix error message for Last-Modified parsing failure - fixes #1123
2015-09-22 23:52:27 -07:00
Harshavardhana
24c5cc61a2
Fix error message for Last-Modified parsing failure - fixes #1123
2015-09-22 23:50:27 -07:00
Harshavardhana
3d40ea764e
Merge pull request #1121 from harshavardhana/version
...
Fix mcVersion and keep it in http.TimeFormat by default
2015-09-22 14:36:47 -07:00
Harshavardhana
6295a1910e
Fix mcVersion and keep it in http.TimeFormat by default
2015-09-22 14:34:53 -07:00
Anand Babu (AB) Periasamy
173e530d97
Merge pull request #1120 from abperiasamy/flicker-free-scanbar
...
flicker free scanbar
2015-09-22 04:13:00 -07:00
Anand Babu (AB) Periasamy
dc3a647dfe
flicker free scanbar
2015-09-22 04:10:48 -07:00
Harshavardhana
d86c7cc793
Merge pull request #1119 from harshavardhana/update-vendorized-pkg
...
Update minio-go and minio-go-legacy
2015-09-22 03:01:49 -07:00
Harshavardhana
75511caeb3
Update minio-go and minio-go-legacy
2015-09-22 02:58:29 -07:00
Harshavardhana
49daef8312
Merge pull request #1118 from harshavardhana/hostconfig
...
Make sure that if we find the exact match reply quickly, do not go through globURL ref #1111
2015-09-22 02:22:16 -07:00
Harshavardhana
f365542228
Make sure that if we find the exact match reply quickly, do not go through globURL ref #1111
2015-09-22 02:19:53 -07:00
Harshavardhana
268a233409
Merge pull request #1117 from harshavardhana/verify-runtime
...
checkGolangVersion() make it hard dependency.
2015-09-22 01:20:55 -07:00
Harshavardhana
f84ffa62ea
checkGolangVersion() make it hard dependency.
2015-09-22 01:16:42 -07:00
Harshavardhana
5c90c28c14
Merge pull request #1116 from harshavardhana/write-api-name
...
Write API name properly
2015-09-22 00:40:33 -07:00
Harshavardhana
9594ab0105
Write API name properly
2015-09-22 00:38:46 -07:00
Harshavardhana
2b2ee03223
Merge pull request #1115 from harshavardhana/configv4-to-configv5
...
migrate from ConfigV4 to ConfigV5, rename Signature to API
2015-09-21 22:43:17 -07:00
Harshavardhana
6a493df5eb
migrate from ConfigV4 to ConfigV5, rename Signature to API
2015-09-21 22:36:50 -07:00
Harshavardhana
45faafa491
Bump to new version
2015-09-21 21:02:32 -07:00
Harshavardhana
3eba7ef7ef
Merge pull request #1114 from harshavardhana/add-support-for-signaturev2
...
Add support for signature v2 - fixes #1111
2015-09-21 21:01:37 -07:00
Harshavardhana
e8e24ca723
Add support for signature v2 - fixes #1111
2015-09-21 21:00:07 -07:00
Harshavardhana
5c491076e1
Merge pull request #1113 from harshavardhana/testing-json
...
Disable JSON based testing, reduce ls tests to its context only
2015-09-19 19:44:19 -07:00
Harshavardhana
b8bd40e685
Disable JSON based testing, reduce ls tests to its context only
2015-09-19 19:42:25 -07:00
Harshavardhana
e220bb7873
Merge pull request #1110 from harshavardhana/authorization
...
In HTTP Trace do not add Authorization header in frivolous way
2015-09-18 15:11:15 -07:00
Harshavardhana
6c52ffe6bf
In HTTP Trace do not add Authorization header in frivolous way
2015-09-18 15:08:32 -07:00
Harshavardhana
c9d145c40f
Merge pull request #1109 from harshavardhana/tests-travis
...
Add tests only in travis-ci
2015-09-17 22:54:07 -07:00
Harshavardhana
12fa13ef0f
Add tests only in travis-ci
2015-09-17 22:52:58 -07:00
Harshavardhana
c0275302bd
Merge pull request #1108 from harshavardhana/golint-fixes
...
Fix golint complaints
2015-09-17 19:00:04 -07:00
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
Harshavardhana
c50b16c70f
Update documentation for mb, cp, mirror for files and folders with space characters
2015-09-07 01:22:14 -07:00
Harshavardhana
88f9563366
Merge pull request #1080 from harshavardhana/help
...
Add cli updates amd change mb help a bit
2015-09-05 22:48:16 -07:00
Harshavardhana
bf22c490a3
Add cli updates amd change mb help a bit
2015-09-05 22:46:23 -07:00
Harshavardhana
0eb1403caf
Update README.md
2015-09-05 17:22:41 -07:00
Harshavardhana
ab4b66db02
Bump to new version
2015-09-05 16:44:00 -07:00
Harshavardhana
e08e230970
Merge pull request #1079 from harshavardhana/fix-alias-bug
...
Fix alias bug
2015-09-05 16:42:06 -07:00
Harshavardhana
e69b7253df
Fix alias bug
2015-09-05 16:34:04 -07:00
Harshavardhana
feebfa8154
Bump to new version
2015-09-05 15:02:47 -07:00
Harshavardhana
b328e322e0
Merge pull request #1078 from harshavardhana/windows
...
Add junction and symlink handling for windows only
2015-09-04 23:06:45 -07:00
Harshavardhana
2549415a87
Add junction and symlink handling for windows only
2015-09-04 23:01:51 -07:00
Harshavardhana
44886581c2
Merge pull request #1077 from harshavardhana/security
...
Add help for turn off/on bash history for config host command
2015-09-04 18:35:37 -07:00
Harshavardhana
247a289dbf
Add help for turn off/on bash history for config host command
2015-09-04 18:33:58 -07:00
Harshavardhana
fb3fa7ee8a
Merge pull request #1076 from harshavardhana/readlink-bug-windows
...
golang filepath.EvalSymlinks doesn't handle juntion files, handle them fixes #1076
2015-09-04 13:33:29 -07:00
Harshavardhana
2bca24e0fa
golang filepath.EvalSymlinks doesn't handle juntion files handle them - fixes #1076
2015-09-04 13:32:00 -07:00
Harshavardhana
043d33fd49
Merge pull request #1074 from harshavardhana/add-config-version
...
Add config version command
2015-09-02 00:59:51 -07:00
Harshavardhana
bc6b3bf2ae
Add config version command
2015-09-02 00:57:31 -07:00
Harshavardhana
4398374cd4
Merge pull request #1073 from harshavardhana/add-alias-host-command
...
Move primitives for add, list, remove into their own subcommands as a…
2015-09-01 20:00:32 -07:00
Harshavardhana
c46ea80fff
Move primitives for add, list, remove into their own subcommands as alias,host etc.
2015-09-01 19:58:33 -07:00
Harshavardhana
bb4e3bc1eb
Merge pull request #1072 from harshavardhana/enforcing-mirror
...
Do not enforce mirror source to have ... convention, let it be recurs…
2015-09-01 15:46:07 -07:00
Harshavardhana
8aba0aed50
Do not enforce mirror source to have ... convention, let it be recursive always
2015-09-01 15:43:57 -07:00
Harshavardhana
fee0ebf6a2
Merge pull request #1071 from harshavardhana/change-help-messages
...
Simplify help messages
2015-09-01 14:58:47 -07:00
Harshavardhana
aaec806897
Simplify help messages
2015-09-01 14:54:13 -07:00
Harshavardhana
6c3d920924
Merge pull request #1070 from harshavardhana/disable-acl
...
Enable get/set for access command
2015-09-01 11:25:45 -07:00
Harshavardhana
45be233d23
Enable get/set for access command
2015-09-01 11:19:36 -07:00
Harshavardhana
53fc1c7b38
Disable ACL's for filesystem as it doesn't bring any direct meaning
2015-09-01 10:47:52 -07:00
Anand Babu (AB) Periasamy
d89ebd1a36
Merge pull request #1069 from abperiasamy/url-alias-fix
...
URL related bug fixes and cleanup
2015-08-30 02:16:12 -07:00
Anand Babu (AB) Periasamy
fddcb821fa
URL related bug fixes and cleanup
2015-08-30 02:14:24 -07:00
Anand Babu (AB) Periasamy
908b58f4c5
Merge pull request #1068 from abperiasamy/fix-doc-typo
...
fix alias help text
2015-08-29 19:30:26 -07:00
Anand Babu (AB) Periasamy
7607f0490d
fix alias help text
2015-08-29 19:28:35 -07:00
Anand Babu (AB) Periasamy
fdeaa69915
Merge pull request #1067 from abperiasamy/alias-path-sep
...
only honor alias for path-separated prefixes
2015-08-29 18:28:08 -07:00
Anand Babu (AB) Periasamy
b5b738f93c
only honor alias for path-separated prefixes
2015-08-29 18:22:47 -07:00
Anand Babu (AB) Periasamy
4a36bf0965
Merge pull request #1066 from abperiasamy/new-alias
...
alias support with colon requirement
2015-08-29 18:05:56 -07:00
Anand Babu (AB) Periasamy
91100b72ed
alias support with colon requirement
2015-08-29 18:02:32 -07:00
Harshavardhana
5c4b949996
Merge pull request #1065 from harshavardhana/migrate-messages
...
Improve config migrate messages
2015-08-29 13:06:08 -07:00
Harshavardhana
5288f0fffa
Improve config migrate messages
2015-08-29 13:03:09 -07:00
Harshavardhana
fc9088142b
Merge pull request #1064 from abperiasamy/auto-quiet
...
Auto quiet
2015-08-29 12:29:13 -07:00
Anand Babu (AB) Periasamy
0fbcfa5de0
automatically enable quiet-mode if terminal capabilities are limited
2015-08-29 12:25:03 -07:00
Anand Babu (AB) Periasamy
29389323c0
Merge remote-tracking branch 'upstream/master'
2015-08-29 00:41:19 -07:00
Harshavardhana
957d4e08cc
Fix typo, pushing this in
2015-08-29 00:40:38 -07:00
Harshavardhana
0885b85c76
Fix typo
2015-08-29 00:33:01 -07:00
Harshavardhana
45b0c0452b
Merge pull request #1063 from harshavardhana/fix-broken-config
...
Fix config v3 for previous reverts
2015-08-29 00:28:35 -07:00
Harshavardhana
7e5820a815
Fix config v3 for previous reverts
2015-08-29 00:27:11 -07:00
Harshavardhana
535fdbeec7
Merge pull request #1062 from harshavardhana/update-wording
...
Change update-wording to add chmod 755
2015-08-28 23:35:51 -07:00
Harshavardhana
e1f08e53f6
Change update-wording to add chmod 755
2015-08-28 23:34:45 -07:00
Harshavardhana
cb034d649d
Merge pull request #1061 from harshavardhana/access-key-id
...
Move to version 3, jsonify config version from now on
2015-08-28 23:30:46 -07:00
Harshavardhana
4d716f2956
Move to version 3, jsonify config version from now on
2015-08-28 23:29:37 -07:00
Harshavardhana
f831d94d3f
Revert "Change ACL to Access"
...
This reverts commit 68b3b0aac2 .
Revert "Object ACL now propagates through ACL config, update minio-go library to bing in SetObjectACL() support"
This reverts commit 6816542c7a .
2015-08-28 22:37:10 -07:00
Harshavardhana
1f66a418d4
Merge pull request #1060 from harshavardhana/change-acl
...
Change ACL to Access
2015-08-28 21:37:11 -07:00
Harshavardhana
68b3b0aac2
Change ACL to Access
2015-08-28 21:35:07 -07:00
Harshavardhana
2cc75994c9
Merge pull request #1059 from harshavardhana/object-acl-support
...
Object ACL now propagates through ACL config, update minio-go library…
2015-08-28 21:22:06 -07:00
Harshavardhana
6816542c7a
Object ACL now propagates through ACL config, update minio-go library to bing in SetObjectACL() support
2015-08-28 21:20:41 -07:00
Harshavardhana
59e47310fd
Merge pull request #1058 from harshavardhana/experimental
...
Making experimental release, no tagging needed
2015-08-28 12:22:54 -07:00
Harshavardhana
316b048ff1
Making experimental release, no tagging needed
2015-08-28 12:21:21 -07:00
Harshavardhana
3d6e7495ac
Merge pull request #1057 from harshavardhana/anonymous_put_object
...
Allow anonymous putObject() over publicly writable buckets
2015-08-28 00:46:17 -07:00
Harshavardhana
3ed07aa29d
Allow anonymous putObject() over publicly writable buckets
2015-08-28 00:42:06 -07:00
Harshavardhana
3b60ed2e30
Merge pull request #1056 from harshavardhana/share-message
...
Converge shareMessage into shareDuration
2015-08-27 18:57:05 -07:00
Harshavardhana
a6cd6939c2
Converge shareMessage into shareDuration
2015-08-27 18:55:12 -07:00
Harshavardhana
62be42fdd1
Merge pull request #1055 from harshavardhana/share-command
...
Implement custom share duration to print in Days() as well
2015-08-27 18:40:35 -07:00
Harshavardhana
3777c0039c
Implement custom share duration to print in Days() as well
2015-08-27 18:38:01 -07:00
Harshavardhana
59031593dd
Update README.md
2015-08-26 13:11:20 -07:00
Harshavardhana
58de53db94
Bump to new release - RELEASE.Wed-Aug-26-19-58-04-GMT-2015
2015-08-26 12:58:40 -07:00
Harshavardhana
a04e3c990f
Merge pull request #1054 from harshavardhana/nocolor
...
Add nocolor flag to disable coloring if necessary proactively
2015-08-26 12:35:17 -07:00
Harshavardhana
0dda19490e
Add nocolor flag to disable coloring if necessary proactively
2015-08-26 12:34:08 -07:00
Harshavardhana
79dcf714f8
Merge pull request #1053 from harshavardhana/format-help
...
Format help for all commands
2015-08-25 20:15:27 -07:00
Harshavardhana
cbc9d96d50
Format help for all commands
2015-08-25 20:13:50 -07:00
Harshavardhana
fa3631710f
Merge pull request #1052 from harshavardhana/config-main
...
Add remove alias command
2015-08-25 18:04:25 -07:00
Harshavardhana
40b93efd8b
Add remove alias command
2015-08-25 18:02:27 -07:00
Harshavardhana
eaa7ca31ce
Merge pull request #1051 from harshavardhana/comments
...
Add proper comments.
2015-08-25 17:00:22 -07:00
Harshavardhana
c48a98de62
Add proper comments.
2015-08-25 16:54:55 -07:00
Harshavardhana
3a027a4b19
Merge pull request #1050 from harshavardhana/acl-permission
...
Move from acl to access-perms
2015-08-25 16:42:45 -07:00
Harshavardhana
57658835b8
Move from acl to access-perms
2015-08-25 16:41:12 -07:00
Harshavardhana
596289e8cc
Merge pull request #1049 from harshavardhana/diff-main
...
Add checkDiffSyntax() for diff command
2015-08-25 16:11:17 -07:00
Harshavardhana
5ffc13a4a1
Add checkDiffSyntax() for diff command
2015-08-25 15:59:48 -07:00
Harshavardhana
525e126f66
Merge pull request #1048 from harshavardhana/windows
...
Close session pro-actively during clear all session
2015-08-25 14:23:27 -07:00
Harshavardhana
1ce6f7cbc7
Close session pro-actively during clear all session
2015-08-25 14:21:33 -07:00
Harshavardhana
16e0c86a6b
Merge pull request #1047 from harshavardhana/master
...
Define error for windows, minor fix pushing in
2015-08-25 00:44:17 -07:00
Harshavardhana
f65c87730f
Define error for windows, minor fix pushing in
2015-08-25 00:42:24 -07:00
Harshavardhana
c02163dac9
Merge pull request #1046 from harshavardhana/update-json-error-container
...
Updates now handle release and experimental updates
2015-08-25 00:34:56 -07:00
Harshavardhana
cb0f5a5b19
Updates now handle release and experimental updates
...
- add checkUpdateSyntax and also add json output for update messages
- additionally this commit also includes error Container for consistent outputs
in case of errors, very handy to write scripts around
```bash
$ mc --json ls test | jq .error
null
null
{ error }
null
...
```
2015-08-25 00:26:23 -07:00
Anand Babu (AB) Periasamy
8864b67231
Merge pull request #1045 from abperiasamy/error2probe
...
convert remaining typed errors to probe errors
2015-08-24 22:35:35 -07:00
Anand Babu (AB) Periasamy
bb3c89d844
convert remaining typed errors to probe errors
2015-08-24 22:29:50 -07:00
Harshavardhana
1d2fb927dc
Merge pull request #1044 from harshavardhana/checksyntax-cmd
...
Add checkCommandSyntax for all commands
2015-08-24 19:33:28 -07:00
Harshavardhana
3df07ac29f
Add checkCommandSyntax for all commands
2015-08-24 19:31:30 -07:00
Harshavardhana
edf651ce4a
Merge pull request #1043 from harshavardhana/prepare-urls
...
Handle errors and clearing previous outputs - json output shouldn't have colors
2015-08-24 17:18:21 -07:00
Harshavardhana
1e67db0aef
Handle errors and clearing previous outputs - json output shouldn't have colors
2015-08-24 17:17:11 -07:00
Harshavardhana
8ba0869e69
Merge pull request #1042 from abperiasamy/threadsafe-err
...
thread-safe typed errors
2015-08-24 12:56:49 -07:00
Anand Babu (AB) Periasamy
831db52dcf
thread-safe typed errors
2015-08-24 12:55:11 -07:00
Harshavardhana
3d69860b5e
Merge pull request #1041 from harshavardhana/session-list
...
Move coloring to their own main* functions
2015-08-24 12:14:42 -07:00
Harshavardhana
a06a926b66
Move coloring to their own main* functions
2015-08-24 12:12:25 -07:00
Harshavardhana
a2d1243206
Merge pull request #1040 from harshavardhana/diff-color
...
Make sure to colorize diff types properly, also handle proper newlines
2015-08-24 11:53:17 -07:00
Harshavardhana
bd547d9084
Make sure to colorize diff types properly, also handle proper newlines
2015-08-24 11:51:57 -07:00
Anand Babu (AB) Periasamy
0716232411
Merge pull request #1039 from abperiasamy/err-update-8
...
re-vendorize probe and simplfy typed errors
2015-08-24 04:20:08 -07:00
Anand Babu (AB) Periasamy
40ff9f1033
re-vendorize probe and simplfy typed errors
2015-08-24 04:09:18 -07:00
Harshavardhana
0ee26b9f6c
Merge pull request #1038 from harshavardhana/diff-converge
...
Converge on diff{} to DiffMessage{}
2015-08-24 01:05:11 -07:00
Harshavardhana
e895837428
Converge on diff{} to DiffMessage{}
2015-08-24 01:03:13 -07:00
Harshavardhana
d1757b34c5
Merge pull request #1037 from harshavardhana/diff-type-size
...
diff should handle type and size as well in recursive diff
2015-08-24 00:08:37 -07:00
Harshavardhana
3e5178ddb2
diff should handle type and size as well in recursive diff
2015-08-24 00:02:50 -07:00
Harshavardhana
5453f6c784
Merge pull request #1036 from vadmeste/show_correct_dependencies_version
...
Show correct needed dependencies versions in checkdeps
2015-08-23 19:09:38 -07:00
Anis ELLEUCH
03bc6bd6ec
Show correct needed dependencies versions in checkdeps
2015-08-23 11:42:12 +01:00
Harshavardhana
1556ff7a8d
Merge pull request #1035 from harshavardhana/mirror
...
Recursively progress along with errors if possible
2015-08-23 02:32:03 -07:00
Harshavardhana
492340b3d8
Recursively progress along with errors if possible
2015-08-23 02:30:47 -07:00
Harshavardhana
3ae608a3b1
Merge pull request #1034 from harshavardhana/formatting
...
End sentences with a . for readability
2015-08-23 01:36:42 -07:00
Harshavardhana
f089dc1b68
End sentences with a . for readability
2015-08-23 01:35:32 -07:00
Harshavardhana
dd5314a938
Merge pull request #1033 from harshavardhana/json-review
...
Fixes for json review #1
2015-08-23 01:25:55 -07:00
Harshavardhana
b9c28d588b
Fixes for json review #1
2015-08-23 01:24:04 -07:00
Anand Babu (AB) Periasamy
84be3bd9fb
Merge pull request #1031 from abperiasamy/err-update-7
...
Err update 7
2015-08-22 23:28:06 -07:00
Anand Babu (AB) Periasamy
f2899ef228
replaced panic with probe
2015-08-22 23:26:56 -07:00
Anand Babu (AB) Periasamy
099b4478d6
replaced panic with probe
2015-08-22 23:25:11 -07:00
Anand Babu (AB) Periasamy
d8bb1e9fd6
replaced panic with probe
2015-08-22 23:22:17 -07:00
Anand Babu (AB) Periasamy
34a0d64f97
Merge pull request #1030 from abperiasamy/err-update-6
...
final review of all error messages
2015-08-22 23:17:31 -07:00
Anand Babu (AB) Periasamy
e61ad067cd
final review of all error messages
2015-08-22 23:15:30 -07:00
Anand Babu (AB) Periasamy
a816d62ac1
Merge pull request #1029 from abperiasamy/err-update-5
...
final update and tiny fixes
2015-08-22 22:33:17 -07:00
Anand Babu (AB) Periasamy
1c313ef773
final update and tiny fixes
2015-08-22 22:31:15 -07:00
Harshavardhana
8dc00830ea
Merge pull request #1028 from harshavardhana/update
...
Add pkg-add and pkg-remove Makefile options for easily removing and a…
2015-08-22 21:41:09 -07:00
Harshavardhana
c08b44e419
Add pkg-add and pkg-remove Makefile options for easily removing and adding new packages
2015-08-22 21:25:12 -07:00
Anand Babu (AB) Periasamy
07c8850724
Merge pull request #1027 from abperiasamy/err-update-4
...
error messages and tiny bug fixes
2015-08-22 19:50:02 -07:00
Anand Babu (AB) Periasamy
0de688948a
error messages and tiny bug fixes
2015-08-22 19:47:11 -07:00
Harshavardhana
722e02b243
Merge pull request #1026 from harshavardhana/runtime
...
Setting mc runtime version to be minimum golang 1.5
2015-08-22 19:16:29 -07:00
Harshavardhana
8aed4091b4
Setting mc runtime version to be 1.5
2015-08-22 19:13:33 -07:00
Harshavardhana
d723e87c54
Merge pull request #1025 from harshavardhana/migrate
...
Migrate to golang1.5 with new GO15VENDOREXPERIMENT enabled
2015-08-22 19:05:39 -07:00
Harshavardhana
a0e66ce640
Migrate to golang1.5 with new GO15VENDOREXPERIMENT enabled
2015-08-22 19:04:17 -07:00
Anand Babu (AB) Periasamy
8a9e3b7e05
Merge pull request #1024 from abperiasamy/diff-err-update
...
diff error handling update
2015-08-22 16:50:11 -07:00
Anand Babu (AB) Periasamy
4d136c6605
diff error handling update
2015-08-22 16:48:55 -07:00
Harshavardhana
3ad696ea85
Merge pull request #1023 from harshavardhana/diffmsg
...
Use DiffMessage rather than diffV1
2015-08-22 02:57:02 -07:00
Harshavardhana
ae0f3b1474
Use DiffMessage rather than diffV1
2015-08-22 02:55:53 -07:00
Harshavardhana
6b41276a46
Merge pull request #1022 from abperiasamy/err-update-3
...
error messages update
2015-08-22 02:50:02 -07:00
Anand Babu (AB) Periasamy
154c229324
error messages update
2015-08-22 02:47:35 -07:00
Harshavardhana
56f74ac604
Merge pull request #1021 from harshavardhana/alias
...
Add alias list command to list all the added aliases
2015-08-22 02:25:12 -07:00
Harshavardhana
355027df2e
Add alias list command to list all the added aliases
2015-08-22 02:23:39 -07:00
Anand Babu (AB) Periasamy
7629faa2e6
Merge pull request #1020 from abperiasamy/err-update-2
...
second update to error messages
2015-08-22 02:15:26 -07:00
Anand Babu (AB) Periasamy
b10d2648e8
second update to error messages
2015-08-22 02:14:00 -07:00
Harshavardhana
2e1c97f83b
Merge pull request #1019 from harshavardhana/migrate
...
Migrate to PresignedGetObject from PresignedGetPartialObject() as the…
2015-08-21 20:40:25 -07:00
Harshavardhana
c992bb682f
Migrate to PresignedGetObject from PresignedGetPartialObject() as the latter was of no real use
2015-08-21 20:39:22 -07:00
Anand Babu (AB) Periasamy
0785fff42b
Merge pull request #1018 from abperiasamy/error-messages-update
...
updated error messages
2015-08-21 17:52:17 -07:00
Anand Babu (AB) Periasamy
7d624457b0
updated error messages
2015-08-21 17:47:45 -07:00
Harshavardhana
a342f545ee
Merge pull request #1017 from harshavardhana/migrate
...
Migrate to newer version of config '2'
2015-08-20 21:05:17 -07:00
Harshavardhana
878c8e2693
Migrate to newer version of config '2'
2015-08-20 21:03:39 -07:00
Harshavardhana
479a340f19
Merge pull request #1016 from harshavardhana/improve-error-messages
...
Improve error messages
2015-08-20 17:26:17 -07:00
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
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
Harshavardhana
c36ed96f26
Add `share` command leveraging new PresignedURL API from minio-go
2015-08-06 21:52:53 -07:00
Harshavardhana
8c1805d2e9
Merge pull request #971 from harshavardhana/pr_out_add_krishna_to_contributors_list
...
Add krishna to contributors list
2015-08-04 23:51:37 -07:00
Harshavardhana
7e2dc8d438
Add krishna to contributors list
2015-08-04 23:50:31 -07:00
Harshavardhana
a390a488ed
Merge pull request #970 from harshavardhana/pr_out_fix_console_issues_related_to_os_stderr_and_terminal_handling
...
Fix console issues related to os.Stderr and terminal handling
2015-08-04 23:22:32 -07:00
Harshavardhana
26eb25bb92
Fix console issues related to os.Stderr and terminal handling
2015-08-04 23:21:37 -07:00
Harshavardhana
b6a2e5c4af
Add diff json
2015-08-04 21:41:26 -07:00
Harshavardhana
c163b66826
Merge pull request #967 from harshavardhana/pr_out_fix_signature_issues_second_attempt
...
Fix signature issues, second attempt
2015-08-04 15:13:18 -07:00
Harshavardhana
970e24b9c0
Fix signature issues, second attempt
2015-08-04 15:12:01 -07:00
Harshavardhana
f29876f32f
Merge pull request #966 from harshavardhana/pr_out_fix_signature_issues_in_turn_fixing_mirror_issues
...
Fix signature issues, in-turn fixing mirror issues
2015-08-04 00:15:32 -07:00
Harshavardhana
eaec7b356d
Fix signature issues, in-turn fixing mirror issues
2015-08-04 00:14:29 -07:00
Harshavardhana
41f35c9e82
Fix a really bad bug, avoid over-writing targetClnt URL(), copy the pointer properly
2015-08-03 22:20:11 -07:00
Harshavardhana
e6fd52f026
Rename ifFatal and ifError as Fatal, Error
2015-08-03 22:19:45 -07:00
Harshavardhana
faf415d08f
Merge pull request #965 from harshavardhana/pr_out_handle_errors_better_with_new_changes_changes_across_cp_mirror_mb
...
Handle errors better with new changes, changes across cp, mirror, mb
2015-08-03 21:17:56 -07:00
Harshavardhana
e003a242f6
Handle errors better with new changes, changes across cp, mirror, mb
2015-08-03 21:13:29 -07:00
Harshavardhana
08252acba7
Merge pull request #964 from harshavardhana/pr_out_only_mirror_regular_files
...
Only mirror regular files
2015-08-03 19:10:19 -07:00
Harshavardhana
4c7559317d
Only mirror regular files
2015-08-03 19:08:33 -07:00
Harshavardhana
64b8782af3
Merge pull request #963 from harshavardhana/pr_out_fix_more_scoping_issues_with_new_probe_error_v_s_error
...
Fix more scoping issues with new probe.Error v/s error
2015-08-03 11:20:55 -07:00
Harshavardhana
9ba648084e
Fix more scoping issues with new probe.Error v/s error
2015-08-03 11:19:22 -07:00
Harshavardhana
616cc698c8
Merge pull request #962 from harshavardhana/pr_out_migrating_from_iodine_to_probe
...
Migrating from iodine to probe
2015-08-03 11:05:36 -07:00
Harshavardhana
e7dab5f1cf
Migrating from iodine to probe
2015-08-03 11:04:34 -07:00
Harshavardhana
8cebe7880f
Merge pull request #961 from harshavardhana/pr_out_deprecate_make_go_fall_back_to_makefile
...
deprecate make.go; fall back to Makefile
2015-07-31 17:24:42 -07:00
Harshavardhana
4aa908f392
deprecate make.go; fall back to Makefile
2015-07-31 17:23:55 -07:00
Harshavardhana
e7ff64ceb2
Merge pull request #960 from harshavardhana/pr_out_default_to_delta_calculation_for_mirror_all_last_remaining_types_removed
...
Default to delta calculation for mirror - all last remaining types removed
2015-07-31 15:56:57 -07:00
Harshavardhana
892c9b86a6
Default to delta calculation for mirror - all last remaining types removed
2015-07-31 15:51:15 -07:00
Harshavardhana
cbab2fe504
Merge pull request #959 from harshavardhana/pr_out_fix_broken_diff_behavior_using_absoluate_url_s_is_wrong_use_relative_instead
...
Fix broken diff behavior - using absolute URL's is wrong, use relative instead
2015-07-31 12:54:12 -07:00
Harshavardhana
e8a5e68e3c
Fix broken diff behavior - using absolute URL's is wrong, use relative instead
2015-07-31 12:42:52 -07:00
Harshavardhana
007a3c3497
No types in mirror command anymore
2015-07-31 00:26:10 -07:00
Harshavardhana
3750cef29e
Merge pull request #957 from harshavardhana/pr_out_change_more_cast_to_mirror_and_fix_some_typos
2015-07-30 23:20:40 -07:00
Harshavardhana
a700e37cf5
Change more cast to 'mirror' and fix some typos
2015-07-30 23:20:12 -07:00
Harshavardhana
37fac50f35
Merge pull request #956 from harshavardhana/pr_out_cast_to_mirror
2015-07-30 23:11:38 -07:00
Harshavardhana
4d2be23260
cast to mirror
2015-07-30 23:10:47 -07:00
Harshavardhana
e09389ecd4
Merge pull request #955 from harshavardhana/pr_out_add_cursor_animation_for_diff_command
...
Add cursor animation for diff command
2015-07-30 21:24:52 -07:00
Harshavardhana
ddf5c7bccc
Add cursor animation for diff command
2015-07-30 21:23:56 -07:00
Harshavardhana
802e9ad72c
Merge pull request #954 from harshavardhana/pr_out_diff_now_has_recursive_listing_and_matching_based_on_patricia_trie
2015-07-30 20:46:05 -07:00
Harshavardhana
fa27eb71e4
Diff now has recursive listing and matching based on patricia trie
2015-07-30 20:44:56 -07:00
Harshavardhana
ded42e0df2
Rename cast to mirror
2015-07-30 16:20:07 -07:00
Harshavardhana
7ea2a9a361
Merge pull request #953 from harshavardhana/pr_out_add_support_for_virtual_styled_hosts_and_update_godeps
...
Add support for virtual styled hosts and update godeps
2015-07-30 13:18:30 -07:00
Harshavardhana
7ef19ab316
Add support for virtual styled hosts and update godeps
2015-07-30 13:15:57 -07:00
Harshavardhana
f1e05ad9d8
Merge pull request #952 from harshavardhana/pr_out_use_values_from_url_object_rather_than_hardcoded_entries
...
Use values from url object rather than hardcoded entries
2015-07-30 10:59:12 -07:00
Harshavardhana
27e6cf466e
Use values from url object rather than hardcoded entries
2015-07-30 10:57:49 -07:00
Harshavardhana
32d70bfd2e
Merge pull request #951 from krishnasrinivas/bucket-name-split
...
Fix path when bucket is specified as part of domain name
2015-07-30 10:48:53 -07:00
Krishna Srinivas
15fb024b81
Fix path when bucket is specified as part of domain name
2015-07-30 22:35:00 +05:30
Harshavardhana
d2561afa4a
Merge pull request #950 from harshavardhana/pr_out_support_virtual_host_styled_requests_convert_them_to_path_style_properly
2015-07-29 23:45:20 -07:00
Harshavardhana
b0e7f435c8
Support virtual host styled requests, convert them to path style properly
2015-07-29 23:44:26 -07:00
Harshavardhana
3dcbd9014b
Merge pull request #949 from harshavardhana/pr_out_add_path_to_if_path_is_null_string
2015-07-29 23:28:34 -07:00
Harshavardhana
68d72feeb7
Add path to '/' if path is null string
2015-07-29 23:27:18 -07:00
Harshavardhana
59bf426abb
Merge pull request #948 from harshavardhana/pr_out_fix_a_config_corruption_bug_when_config_json_has_wrong_json_format_would_lead_to_overwriting_the_previous_config_json
2015-07-29 23:19:06 -07:00
Harshavardhana
88bef1c60a
Fix a config corruption bug when config.json has wrong json format, would lead to overwriting the previous config.json
2015-07-29 23:14:48 -07:00
Harshavardhana
4175ca310c
Merge pull request #947 from harshavardhana/pr_out_minior_typo_rename_sync_to_cast
...
minior: typo rename sync to cast
2015-07-28 22:59:35 -07:00
Harshavardhana
545ff44e54
minior: typo rename sync to cast
2015-07-28 22:58:53 -07:00
Harshavardhana
4a488cac3b
Merge pull request #946 from harshavardhana/pr_out_fix_deps_scripts_add_a_working_osx_support
...
Fix deps scripts, add a working osx support
2015-07-27 19:16:30 -07:00
Harshavardhana
ebcc4bf8d3
Fix deps scripts, add a working osx support
2015-07-27 19:15:14 -07:00
Harshavardhana
111a3101fd
Merge pull request #945 from harshavardhana/pr_out_fix_progress_bar_style_and_cursors_for_darwin
...
Fix progress bar style and cursors for darwin
2015-07-27 19:11:25 -07:00
Harshavardhana
e0862ac4ca
Fix progress bar style and cursors for darwin
2015-07-27 19:05:12 -07:00
Harshavardhana
2503198f7d
Merge pull request #944 from harshavardhana/pr_out_add_copy_and_cast_limited_tests
...
Add copy and cast limited tests
2015-07-27 22:26:36 +00:00
Harshavardhana
16fdb569c9
Add copy and cast limited tests
2015-07-27 15:25:34 -07:00
Harshavardhana
f8fb3e1489
Merge pull request #943 from harshavardhana/pr_out_remove_upstream_go_version_package_write_a_simpler_version_parsing_and_use_it
...
Remove upstream go-version package, write a simpler version parsing and use it
2015-07-27 20:28:54 +00:00
Harshavardhana
b47cf08d51
Remove upstream go-version package, write a simpler version parsing and use it
2015-07-27 13:27:47 -07:00
Harshavardhana
24b81da3ed
Merge pull request #942 from harshavardhana/pr_out_fix_windows_version_issue_with_golang_beta_and_rc_releases_also_add_new_tag_version_format_for_versions
...
Fix windows version issue with golang beta and rc releases, also add new Tag version format for versions
2015-07-27 19:54:52 +00:00
Harshavardhana
e9cbe61222
Fix windows version issue with golang beta and rc releases, also add new Tag version format for versions
2015-07-27 12:53:56 -07:00
Harshavardhana
da2f3c826c
Merge pull request #941 from harshavardhana/pr_out_cast_url_should_in_typec_should_verify_target_is_dir_or_exit_if_doesn_t_exist_let_it_create_one
...
In casttypeC should verify target is Dir() or exit, if doesn't exist let it create one
2015-07-26 21:26:07 +00:00
Harshavardhana
a38764ca86
In casttypeC should verify target is Dir() or exit, if doesn't exist let it create one
2015-07-26 14:25:06 -07:00
Harshavardhana
4c72d23a89
Merge pull request #940 from harshavardhana/pr_out_let_target_directory_be_created_if_doesn_t_exist_with_prefix_path
...
Let target directory be created if doesn't exist with prefix path
2015-07-26 21:01:41 +00:00
Harshavardhana
847ef58642
Let target directory be created if doesn't exist with prefix path
2015-07-26 13:40:27 -07:00
Harshavardhana
ecf020c382
Merge pull request #939 from harshavardhana/pr_out_check_for_url_s_when_target_path_doesn_t_have_bucket_error_out_quickly
...
Check for url's when target path doesn't have bucket, error out quickly
2015-07-26 19:16:30 +00:00
Harshavardhana
0f3e494de4
Check for url's when target path doesn't have bucket, error out quickly
2015-07-26 12:12:46 -07:00
Harshavardhana
845edec98a
Merge pull request #938 from harshavardhana/pr_out_autogenerate_config_for_the_first_time_no_more_config_generate
...
Autogenerate config, for the first time no more config generate
2015-07-26 07:24:49 +00:00
Harshavardhana
4eb519fa6c
Autogenerate config, for the first time no more config generate
2015-07-26 00:24:08 -07:00
Harshavardhana
6ecfdc879b
Merge pull request #937 from harshavardhana/pr_out_add_go_version_dependency_add_first_time_go_to_check_for_golang_version
...
Add go-version dependency, add first-time.go to check for golang version
2015-07-26 07:05:38 +00: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
e3a5244a0b
Merge pull request #936 from harshavardhana/pr_out_update_packages_for_avoiding_a_possible_windows_bug_in_go_humanize
...
update packages for avoiding a possible windows bug in go-humanize
2015-07-26 05:09:11 +00:00
Harshavardhana
5956dd6855
update packages for avoiding a possible windows bug in go-humanize
2015-07-25 22:08:35 -07:00
Harshavardhana
bae203577e
Merge pull request #935 from harshavardhana/pr_out_allow_migration_for_custom_config_location
...
Allow migration for custom config location
2015-07-26 04:38:27 +00:00
Harshavardhana
e6a57e4afa
Allow migration for custom config location
2015-07-25 21:37:19 -07:00
Harshavardhana
e851f3ce0d
Merge pull request #934 from harshavardhana/pr_out_fix_session_delete_bug_in_docopy_and_docast_session
...
Fix session delete bug in doCopy and doCast session
2015-07-26 04:02:54 +00:00
Harshavardhana
c253ad76a8
Fix session delete bug in doCopy and doCast session
2015-07-25 21:02:03 -07:00
Harshavardhana
933c998cc2
Merge pull request #933 from harshavardhana/pr_out_fix_a_windows_bug_also_rename_remove_to_delete
...
Fix a windows bug, also rename Remove to Delete
2015-07-26 03:43:04 +00:00
Harshavardhana
e1c77841a7
Fix a windows bug, also rename Remove to Delete
2015-07-25 20:42:15 -07:00
Harshavardhana
76fa1139bd
Merge pull request #932 from harshavardhana/pr_out_add_remove_method_for_session_close_becomes_the_new_save_
...
Add Remove() method for session, Close() becomes the new Save()
2015-07-26 02:58:42 +00:00
Harshavardhana
04fbff76a9
Add Remove() method for session, Close() becomes the new Save()
2015-07-25 19:56:38 -07:00
Harshavardhana
d7e707030d
Merge pull request #931 from harshavardhana/pr_out_add_mb_related_tests
...
Add mb related tests
2015-07-25 06:47:43 +00:00
Harshavardhana
42053a39ae
Add mb related tests
2015-07-24 23:46:47 -07:00
Harshavardhana
57badb956e
Merge pull request #930 from harshavardhana/pr_out_use_the_new_extrainfo_functionality
...
use the new ExtraInfo functionality
2015-07-25 06:36:18 +00:00
Harshavardhana
df4184de88
use the new ExtraInfo functionality
2015-07-24 23:35:36 -07:00
Harshavardhana
a573d5df90
Merge pull request #929 from harshavardhana/pr_out_add_session_tests
...
Add session context tests
2015-07-25 05:13:44 +00:00
Harshavardhana
322bba2353
Add session context tests
2015-07-24 22:13:04 -07:00
Harshavardhana
ba09793f63
Merge pull request #928 from harshavardhana/pr_out_rename_product_to_new_convention
...
Rename product to new convention
2015-07-25 01:25:21 +00:00
Harshavardhana
5af70f5e49
Rename product to new convention
2015-07-24 18:23:12 -07:00
Harshavardhana
877a3af3f9
Merge pull request #927 from harshavardhana/pr_out_add_diff_cli_context_tests
...
Add diff cli context tests
2015-07-24 23:31:36 +00:00
Harshavardhana
cd1f80c442
Add diff cli context tests
2015-07-24 16:30:43 -07:00
Harshavardhana
2a6cced987
Merge pull request #926 from harshavardhana/pr_out_add_cast_syntax_check_logic
...
Add cast syntax check logic
2015-07-24 21:46:03 +00: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
df494eafdc
Merge pull request #925 from harshavardhana/pr_out_add_command_context_testing
...
Add command context testing
2015-07-24 19:43:28 +00:00
Harshavardhana
b90e016892
Add command context testing
2015-07-24 12:42:33 -07:00
Anand Babu (AB) Periasamy
4ab2f637a4
Merge pull request #924 from abperiasamy/cp-url-improvements
...
cp url syntax checker and some fixes
2015-07-24 12:25:54 -07:00
Anand Babu (AB) Periasamy
9dd27c5e57
cp url syntax checker and some fixes
2015-07-24 12:24:21 -07:00
Harshavardhana
8549c43a5c
Merge pull request #923 from harshavardhana/pr_out_verify_for_mc_config_exists_for_cp_and_cast_commands
...
Verify if mc config exists for cp and cast commands
2015-07-24 05:50:03 +00:00
Harshavardhana
2f253f68b6
Verify if mc config exists for cp and cast commands
2015-07-23 22:49:12 -07:00
Harshavardhana
615852d4e6
Merge pull request #922 from harshavardhana/pr_out_add_cp_cast_guess_url_type_tests
...
Add cp cast guess URL type tests
2015-07-24 05:36:03 +00:00
Harshavardhana
090554c3e2
Add cp cast guess URL type tests
2015-07-23 22:34:41 -07:00
Harshavardhana
f3db91d643
Merge pull request #921 from harshavardhana/pr_out_add_common_test_methods
...
Add common methods test
2015-07-24 04:01:41 +00:00
Harshavardhana
f14f983a76
Add common methods test
2015-07-23 21:00:45 -07:00
Harshavardhana
ff427b8bff
Merge pull request #920 from harshavardhana/pr_out_make_copy_look_like_cast
...
Make copy look like cast in URL handling
2015-07-24 03:35:34 +00:00
Harshavardhana
f06456ddd1
Make copy look like cast in URL handling
2015-07-23 20:34:31 -07:00
Harshavardhana
3eed72a411
Merge pull request #919 from harshavardhana/pr_out_add_proper_errors
...
Add proper errors
2015-07-24 00:40:47 +00:00
Harshavardhana
0f23c1a3d7
Add proper errors
2015-07-23 17:38:53 -07:00
Harshavardhana
fca55cac43
Merge pull request #918 from harshavardhana/pr_out_add_tests_reported_by_go_coverage
...
Add tests reported by go coverage
2015-07-23 23:35:05 +00:00
Harshavardhana
6ed78e32d9
Add tests reported by go coverage
2015-07-23 16:34:21 -07:00
Harshavardhana
15ddb479eb
Update CONTRIBUTING.md
2015-07-23 16:05:20 -07:00
Harshavardhana
b1c69be074
Update CONTRIBUTING.md
2015-07-23 16:04:57 -07:00
Harshavardhana
9306f286ae
Merge pull request #917 from harshavardhana/pr_out_add_slack_secure_build_reports
...
Add slack secure build reports
2015-07-23 21:42:32 +00:00
Harshavardhana
aa87e56ad4
Add slack secure build reports
2015-07-23 14:40:25 -07:00
Harshavardhana
4da25f0694
Merge pull request #916 from harshavardhana/pr_out_do_not_overwrite_if_user_already_had_expected_entries
...
Do not overwrite if user already had expected entries
2015-07-23 21:38:35 +00:00
Harshavardhana
ee0fe86178
Do not overwrite if user already had expected entries
2015-07-23 14:35:57 -07:00
Harshavardhana
879c90973c
Merge pull request #915 from harshavardhana/pr_out_add_migration_code_for_migrating_from_config_version_1_0_0_to_1_0_1
...
Add migration code for migrating from config version 1.0.0 to 1.0.1
2015-07-23 21:33:18 +00: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
975047de75
Merge pull request #914 from harshavardhana/pr_out_add_localhost_and_127_0_0_1_entries_into_config_json
...
Add localhost and 127.0.0.1 entries into config.json
2015-07-23 17:48:22 +00:00
Harshavardhana
9f4e87339c
Add localhost and 127.0.0.1 entries into config.json
2015-07-23 10:46:13 -07:00
Harshavardhana
d7f6bd1f4e
Merge pull request #912 from harshavardhana/pr_out_rename_cmd_into_command_main_go
...
Rename cmd-* into <command>-main.go
2015-07-23 06:27:51 +00:00
Harshavardhana
8335d9cbcf
Rename cmd-* into <command>-main.go
2015-07-22 23:27:06 -07:00
Harshavardhana
97e699e35c
Merge pull request #911 from harshavardhana/pr_out_handle_cases_where_prefix_exists_or_not_for_both_cast_and_cp
...
Handle cases where prefix exists or not for both cast and cp
2015-07-23 06:24:33 +00:00
Harshavardhana
56a725ef18
Handle cases where prefix exists or not for both cast and cp
2015-07-22 23:22:19 -07:00
Harshavardhana
1ab9dd76c6
Merge pull request #910 from harshavardhana/pr_out_remove_unncessary_stat_checks_for_typec_in_cp_and_cast_fixes_803
...
Remove unncessary stat() checks for TypeC in cp and cast - fixes #803
2015-07-23 03:54:16 +00:00
Harshavardhana
71ed556dd0
Remove unncessary stat() checks for TypeC in cp and cast - fixes #803
2015-07-22 20:53:21 -07:00
Harshavardhana
964fdf7565
Merge pull request #909 from harshavardhana/pr_out_update_to_new_minio_go_changes_related_to_x_amz_id_2
...
Update to new minio-go changes related to x-amz-id-2
2015-07-23 03:04:18 +00:00
Harshavardhana
5b1816ab63
Update to new minio-go changes related to x-amz-id-2
2015-07-22 20:03:25 -07:00
Harshavardhana
9707acfd17
Merge pull request #908 from harshavardhana/pr_out_return_back_object_already_exists_for_methodnotallowed
...
Return back object already exists for methodnotallowed
2015-07-22 02:20:52 +00:00
Harshavardhana
304254863f
Return back object already exists for methodnotallowed
2015-07-21 19:15:43 -07:00
Anand Babu (AB) Periasamy
2ee8a82c60
Merge pull request #907 from abperiasamy/disable-target-stat
...
do not stat on url prepration. disable force flag
2015-07-21 19:14:04 -07:00
Anand Babu (AB) Periasamy
7c2f3fbe4e
do not stat on url prepration. disable force flag
2015-07-21 19:13:10 -07:00
Harshavardhana
b6e638fd36
Merge pull request #906 from abperiasamy/improved-cast-cmd
...
improved cast
2015-07-22 01:40:20 +00:00
Anand Babu (AB) Periasamy
69e27e8bbc
improved cast
2015-07-21 18:34:11 -07:00
Anand Babu (AB) Periasamy
da46b10aa3
Merge pull request #905 from abperiasamy/fatal-err-str
...
fix error strings
2015-07-19 15:30:29 -07:00
Anand Babu (AB) Periasamy
f2434591d9
fix error strings
2015-07-19 15:27:30 -07:00
Anand Babu (AB) Periasamy
aa8c846224
Merge pull request #904 from abperiasamy/syntax-checker-new
...
cleaner syntax checker
2015-07-18 20:28:21 -07:00
Anand Babu (AB) Periasamy
7af254f500
cleaner syntax checker
2015-07-18 20:26:38 -07:00
Harshavardhana
b0975c830d
Merge pull request #903 from abperiasamy/cast-syntax-checker
...
syntax checker for cast command
2015-07-19 02:32:45 +00:00
Anand Babu (AB) Periasamy
9f5f1e9a53
syntax checker for cast command
2015-07-18 19:25:10 -07:00
Harshavardhana
35bb168649
Merge pull request #902 from harshavardhana/pr_out_allow_copy_for_virtual_files
...
Allow copy for virtual files
2015-07-18 23:32:05 +00:00
Harshavardhana
38149f5ba1
Allow copy for virtual files
2015-07-18 16:30:36 -07:00
Harshavardhana
41c4f932f3
Merge pull request #901 from harshavardhana/pr_out_migrate_to_upstream_gopkg_in_check_v1
...
Migrate to upstream gopkg.in/check.v1
2015-07-18 22:53:15 +00:00
Harshavardhana
f717e9b560
Migrate to upstream gopkg.in/check.v1
2015-07-18 15:52:17 -07:00
Harshavardhana
8790188473
Merge pull request #900 from harshavardhana/pr_out_rename_sync_to_cast
...
Rename `sync` to `cast`
2015-07-18 01:29:10 +00:00
Harshavardhana
363c06d8f7
Rename sync to cast
2015-07-17 18:27:45 -07:00
Harshavardhana
6066e4a953
Merge pull request #899 from harshavardhana/pr_out_sort_sessions_before_printing
2015-07-17 17:12:11 +00:00
Harshavardhana
9418317014
Sort sessions before printing
2015-07-17 10:08:56 -07:00
Harshavardhana
c88771a341
Update README.md
2015-07-16 23:56:15 -07:00
Harshavardhana
6d24b3767b
Merge pull request #898 from harshavardhana/pr_out_add_force_flag_support_to_avoid_over_writing_destination
...
Add force flag support to avoid over-writing destination
2015-07-17 05:42:00 +00:00
Harshavardhana
f8eaa96b1d
Add force flag support to avoid over-writing destination
2015-07-16 22:39:48 -07:00
Harshavardhana
f3f6b7478b
Merge pull request #897 from harshavardhana/pr_out_formally_now_sync_supports_file_and_directories
...
Formally now sync supports file and directories
2015-07-17 03:07:03 +00:00
Harshavardhana
7e0fce66e7
Formally now sync supports file and directories mix-match
2015-07-16 20:04:46 -07:00
Harshavardhana
5b60b65c08
Merge pull request #896 from harshavardhana/pr_out_some_gocoverage_fixes
2015-07-17 03:00:23 +00:00
Harshavardhana
5cb7d510e5
Some gocoverage fixes
2015-07-16 19:38:40 -07:00
Anand Babu (AB) Periasamy
11619b779c
Merge pull request #895 from abperiasamy/sync-url-rewrite
...
rewrite of sync url processing
2015-07-16 19:32:23 -07:00
Anand Babu (AB) Periasamy
54183d783b
rewrite of sync url processing
2015-07-16 19:29:33 -07:00
Harshavardhana
1792ff20c1
Merge pull request #894 from harshavardhana/pr_out_add_more_cleanups_and_bug_fixes_from_minio_go_move_to_v0_2_0
...
Add more cleanups and bug-fixes from minio-go - move to v0.2.0
2015-07-17 01:23:35 +00:00
Harshavardhana
3b1c288d03
Add more cleanups and bug-fixes from minio-go - move to v0.2.0
2015-07-16 18:21:56 -07:00
Harshavardhana
84fcbff4d5
Merge pull request #893 from harshavardhana/pr_out_add_bug_fixes_from_minio_go
...
Add bug fixes from minio-go
2015-07-16 06:33:45 +00:00
Harshavardhana
3ce5b481ca
Add bug fixes from minio-go
2015-07-15 23:32:58 -07:00
Harshavardhana
18dadd443f
Update README.md
2015-07-15 23:32:01 -07:00
Harshavardhana
daab7b9678
Merge pull request #891 from harshavardhana/pr_out_use_console_json_to_print_in_api_style_for_session_ls_cp_and_sync
...
Use console.JSON to print in API style for session, ls, cp and sync
2015-07-16 06:19:19 +00: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
af3974db8c
Merge pull request #890 from harshavardhana/pr_out_implement_newiodine_in_a_simpler_way
...
Implement NewIodine() in a simpler way
2015-07-16 01:40:16 +00: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
fd400930e6
Merge pull request #889 from harshavardhana/pr_out_add_mc_top_level_error_handling_without_printing_stack_traces
2015-07-16 00:14:51 +00:00
Harshavardhana
ab4f64b5e3
Add mc top level error handling without printing stack traces.
2015-07-15 16:53:28 -07:00
Harshavardhana
1d76b592a3
Merge pull request #888 from harshavardhana/pr_out_put_dependency_updates_into_a_shell_script
...
Put dependency updates into a shell script
2015-07-15 21:25:23 +00:00
Harshavardhana
3118ed0c64
Put dependency updates into a shell script
2015-07-15 14:24:17 -07:00
Harshavardhana
2782a8e923
Merge pull request #887 from harshavardhana/pr_out_ts_getsize_error_should_be_failed
2015-07-15 18:37:22 +00:00
Harshavardhana
c40cb27d19
ts.GetSize() error should fail on error
2015-07-15 11:33:12 -07:00
Anand Babu (AB) Periasamy
b491372d5b
Merge pull request #886 from abperiasamy/scanbar-prefix
...
fix scanbar prefix printing for large prefixes
2015-07-15 11:16:58 -07:00
Anand Babu (AB) Periasamy
790179e268
fix scanbar prefix printing for large prefixes
2015-07-15 11:13:31 -07:00
Harshavardhana
ed7f7f1058
Merge pull request #885 from harshavardhana/pr_out_update_golang_library_for_new_responses_and_restructuring
...
update golang library for new responses and restructuring
2015-07-15 17:06:04 +00:00
Harshavardhana
7cc4f4e1ab
update golang library for new responses and restructuring
2015-07-15 10:00:11 -07:00
Anand Babu (AB) Periasamy
deb6312983
Merge pull request #884 from abperiasamy/version-parsing
...
fix version parsing for --version
2015-07-14 18:58:10 -07:00
Anand Babu (AB) Periasamy
4990aafb10
fix version parsing for --version
2015-07-14 18:56:37 -07:00
Harshavardhana
351b008768
Merge pull request #883 from harshavardhana/pr_out_revert_to_older_behavior_for_multipart_put_update_to_new_minio_go
...
Revert to older behavior for multipart put, update to new minio-go
2015-07-14 23:58:36 +00:00
Harshavardhana
530b8f1089
Revert to older behavior for multipart put, update to new minio-go
2015-07-14 16:57:41 -07:00
Harshavardhana
92240c52fa
Merge pull request #882 from harshavardhana/pr_out_remove_atomic_package_not_needed_anymore
...
Remove atomic package, not needed anymore
2015-07-14 23:51:20 +00:00
Harshavardhana
0bdb5bdc5f
Remove atomic package, not needed anymore
2015-07-14 16:50:16 -07:00
Harshavardhana
71f29417c7
Merge pull request #881 from harshavardhana/pr_out_remove_cp_and_sync_tests_for_now_bring_them_back_with_console_test_additionally_close_datafp_inside_session_close_
...
Remove cp and sync tests for now, bring them back with console.Test, additionally close DataFP inside session.Close()
2015-07-14 23:49:31 +00: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
91760753a7
Merge pull request #880 from harshavardhana/pr_out_cleanup_minio_remote_struct_printing_for_info_error_and_fatal_simplifying_overall_error_handling
...
Cleanup minio, remote struct printing for Info, Error and Fatal - simplifying overall error handling
2015-07-14 18:03:14 +00: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
1aa3496142
Merge pull request #879 from harshavardhana/pr_out_remove_yielder_not_needed_anymore
...
Remove yielder not needed anymore
2015-07-14 04:52:48 +00:00
Harshavardhana
931a788c54
Remove yielder not needed anymore
2015-07-13 21:49:48 -07:00
Harshavardhana
8f55f7e232
Merge pull request #878 from harshavardhana/pr_out_add_syncqueue_cpqueue_back_into_defer
...
Add syncQueue, cpQueue back into defer
2015-07-14 04:44:19 +00:00
Harshavardhana
db679e58ff
Add syncQueue, cpQueue back into defer
2015-07-13 21:42:53 -07:00
Anand Babu (AB) Periasamy
22982d392b
Merge pull request #877 from harshavardhana/pr_out_add_close_methods_for_proxy_readers
...
Add Close() methods for proxy readers
2015-07-13 17:00:08 -07:00
Harshavardhana
f8940d2832
Add Close() methods for proxy readers
2015-07-13 16:45:33 -07:00
Harshavardhana
e7be47ac7f
Merge pull request #875 from harshavardhana/pr_out_fix_hangs_in_cp_and_sync_with_quiet_and_json_flag
...
Fix hangs in cp and sync with --quiet and json flag
2015-07-13 23:24:49 +00:00
Harshavardhana
6079e1ba7b
Update to latest minio-go
2015-07-13 16:22:30 -07:00
Harshavardhana
420b5d286c
Fix hangs in cp and sync with --quiet and json flag
2015-07-13 16:19:46 -07:00
Anand Babu (AB) Periasamy
be08d24743
Merge pull request #876 from abperiasamy/quiet-bug-fix
...
fixes quiet mode hang issue
2015-07-13 16:09:56 -07:00
Anand Babu (AB) Periasamy
693c3ddd06
fixes quiet mode hang issue
2015-07-13 16:08:15 -07:00
Anand Babu (AB) Periasamy
c7de6a99e3
Merge pull request #874 from abperiasamy/config-path
...
support for custom --config dir
2015-07-13 15:38:14 -07:00
Anand Babu (AB) Periasamy
de8b99c4ff
support for custom --config dir
2015-07-13 15:35:53 -07:00
Harshavardhana
f179be69dd
Merge pull request #872 from harshavardhana/pr_out_remove_minio_cli_dependency_for_make_go
...
Remove minio/cli dependency for make.go
2015-07-13 18:46:57 +00:00
Harshavardhana
cb5c7c49f3
Remove minio/cli dependency for make.go
2015-07-13 11:45:56 -07:00
Harshavardhana
a0c453a6fe
Merge pull request #871 from harshavardhana/pr_out_remove_infomessage_structs_we_don_t_need_to_add_this_as_api_handling_for_json
...
Remove InfoMessage structs, we don't need to add this as API handling for json
2015-07-13 16:42:36 +00: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
3cb18d71e6
Merge pull request #870 from harshavardhana/pr_out_cosmetic_changes_for_cmd_cp
2015-07-13 16:34:57 +00:00
Harshavardhana
7c7981658b
Cosmetic changes for cmd cp
2015-07-13 09:33:08 -07:00
Harshavardhana
3f608d2d0a
Merge pull request #869 from harshavardhana/pr_out_remove_countlock_not_needed_anymore
...
Remove countlock not needed anymore
2015-07-13 16:21:32 +00:00
Harshavardhana
940fa484a8
Remove countlock not needed anymore
2015-07-13 09:20:21 -07:00
Anand Babu (AB) Periasamy
5110e2a99f
Merge pull request #868 from abperiasamy/cp-resume-ression
...
command to resume session for copy
2015-07-12 21:05:55 -07:00
Anand Babu (AB) Periasamy
848faea935
command to resume session for copy
2015-07-12 21:05:24 -07:00
Harshavardhana
9d9ef82dc7
Merge pull request #867 from abperiasamy/sessionV2
...
Session V2 implementation for copy and sync
2015-07-13 03:56:44 +00:00
Anand Babu (AB) Periasamy
6dcd73551c
Session V2 implementation for copy and sync
2015-07-12 20:47:49 -07:00
Harshavardhana
c29e9bc92d
Merge pull request #866 from harshavardhana/pr_out_make_json_umarshalling_as_part_of_print_structs
...
Make json umarshalling as part of print-structs
2015-07-12 16:57:39 +00:00
Harshavardhana
f10801fb18
Make json umarshalling as part of print-structs
2015-07-12 09:55:30 -07:00
Harshavardhana
dc9c57123f
Merge pull request #865 from harshavardhana/pr_out_simplify_console_removing_lot_of_custom_json_unmarshal_code
...
Simplify console removing lot of custom json unmarshal code
2015-07-12 16:21:03 +00:00
Harshavardhana
694cc7bb8e
Simplify console removing lot of custom json unmarshal code
2015-07-12 09:18:20 -07:00
Harshavardhana
706c4d1291
Merge pull request #864 from harshavardhana/pr_out_fix_data_race_reported_by_golang_1_5
2015-07-11 04:05:36 +00:00
Harshavardhana
7b1ed5b824
Fix data race reported by golang 1.5
2015-07-10 21:04:35 -07:00
Harshavardhana
25eb49335a
Merge pull request #863 from harshavardhana/pr_out_revert_correct_definition_of_diff_definition_is_accurate
...
Revert "Correct definition of diff" - definition is accurate
2015-07-10 01:15:31 +00:00
Harshavardhana
ae6661d2ba
Revert "Correct definition of diff" - definition is accurate
...
Diff is not specific to size alone, so the wording is not accurate, reverting
This reverts commit 8b83b525ac .
2015-07-09 18:13:48 -07:00
Harshavardhana
cc9603f91a
Merge pull request #862 from harshavardhana/pr_out_add_bosky_as_part_of_contributors_list
...
Add bosky as part of contributors list
2015-07-09 17:44:19 +00:00
Harshavardhana
15b4a89831
Add bosky as part of contributors list
2015-07-09 10:41:37 -07:00
Harshavardhana
564797fd1f
Merge pull request #861 from bosky101/feature/diff-docs
...
Correct definition of diff
2015-07-09 17:38:40 +00:00
Bosky
8b83b525ac
Correct definition of diff
...
Make it more clear that size difference is done
2015-07-09 16:56:30 +05:30
Harshavardhana
3e418a00c8
Merge pull request #860 from harshavardhana/pr_out_let_localhost_also_have_its_access_keys_and_secret_id
2015-07-09 04:52:22 +00:00
Harshavardhana
6c10632901
Let localhost also have its access keys and secret id
2015-07-08 21:51:28 -07:00
Harshavardhana
e4048e106e
Merge pull request #859 from harshavardhana/pr_out_update_to_new_changes_in_minio_go
2015-07-09 01:21:29 +00:00
Harshavardhana
3e575bbab7
Update to new changes in minio-go
2015-07-08 18:19:56 -07:00
Harshavardhana
7c2e610cd3
Merge pull request #858 from harshavardhana/pr_out_update_to_latest_minio_go_with_listobjects_handling_for_listing_of_more_than_1000_entries_when_there_are_delimiters_and_prefixes
2015-07-08 05:38:02 +00:00
Harshavardhana
6d2acec237
Update to latest minio-go with Listobjects() handling for listing of more than 1000 entries when there are delimiters and prefixes
2015-07-07 22:37:07 -07:00
Harshavardhana
cc4a96b1ee
Merge pull request #857 from harshavardhana/pr_out_add_atomic_package_for_atomic_file_writes_use_that_in_quick_config
2015-07-07 19:21:13 +00:00
Harshavardhana
f368e89d9c
Add atomic package for atomic file writes, use that in quick config
2015-07-07 12:16:56 -07:00
Harshavardhana
907b6f3025
Merge pull request #856 from vadmeste/quick_config_atomic_save
...
Avoid possible corrupted data when saving with quick
2015-07-07 19:11:42 +00:00
Anis Elleuch
c8662c67c2
Avoid corrupted data when saving with quick
2015-07-07 16:40:38 +01:00
Harshavardhana
e7183fa5d5
Merge pull request #855 from harshavardhana/pr_out_fix_unicode_progress_bar_characters
...
Fix unicode progress bar characters
2015-07-05 21:40:39 +00:00
Harshavardhana
72f699c30a
Fix unicode progress bar characters
2015-07-05 14:35:22 -07:00
Harshavardhana
368d99f0ea
Merge pull request #854 from harshavardhana/pr_out_add_unicode_block_character_for_progress_bar_on_linux_and_darwin
2015-07-05 18:05:12 +00:00
Harshavardhana
609ebb421b
Add unicode block character for progress bar on linux and darwin
2015-07-05 11:03:58 -07:00
Harshavardhana
98aec1eb92
Merge pull request #853 from harshavardhana/pr_out_going_to_use_minio_pb_forked_version_as_primary_since_we_might_make_more_changes_in_future
2015-07-05 08:18:42 +00: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
072106ec30
Merge pull request #852 from vadmeste/enhance_pb_render
...
Prettify the progress bar output
2015-07-05 08:11:03 +00:00
Anis Elleuch
883d24aa8f
Fix the output overlapping between progress bar and error messages
2015-07-05 09:08:17 +01:00
Harshavardhana
2ee60b494b
Merge pull request #851 from vadmeste/use_all_instead_of_astersik_in_session_cmd
...
Asterisk in session clear cmd is interpreted by bash if not escaped. Use 'all' keyword instead.
2015-07-03 17:09:30 +00:00
Anis Elleuch
6b54e2401e
Asterisk in session clear cmd is interpreted by bash if not escaped. Use 'all' keyword instead.
2015-07-03 07:03:57 +01:00
Harshavardhana
6a81ec1434
Merge pull request #850 from harshavardhana/pr_out_user_struct_instead_of_bool_for_saving_session_saves_a_1byte
2015-07-01 18:34:01 +00:00
Harshavardhana
7314071070
User struct{} instead of bool for saving session, saves a 1byte
2015-07-01 11:31:32 -07:00
Harshavardhana
6f431d0737
Merge pull request #849 from vadmeste/pr_out_protect_progress_bar_by_a_mutex
...
Protect progress bar printing by the mutex
2015-07-01 17:49:14 +00:00
Anis Elleuch
3550b85cc7
Protect progress bar printing by the mutex
2015-07-01 17:40:45 +01:00
Harshavardhana
b0deba6bab
Merge pull request #848 from harshavardhana/pr_out_add_fakereader_to_sessions_to_populate_progress_bar_as_it_builds_and_skips_previously_uploaded_files
2015-06-30 22:26:39 +00:00
Harshavardhana
d2c2064b25
Add fakeReader to sessions to populate progress bar as it builds and skips previously uploaded files
2015-06-30 15:24:09 -07:00
Harshavardhana
c4001938c8
Merge pull request #847 from harshavardhana/pr_out_root_path_working_directory
2015-06-30 18:07:06 +00:00
Harshavardhana
30e49ba525
root-path --> working-directory
2015-06-30 11:03:32 -07:00
Harshavardhana
b876bafde7
Merge pull request #846 from harshavardhana/pr_out_treating_json_as_quiet_mode_for_cp_and_sync_operations
2015-06-30 17:29:11 +00:00
Harshavardhana
46bf1af56c
Treating --json as quiet mode for cp and sync operations
2015-06-30 10:26:48 -07:00
Harshavardhana
c522b5bee5
Merge pull request #845 from harshavardhana/pr_out_mc_session_related_changes
...
mc session related changes
2015-06-30 06:13:56 +00:00
Harshavardhana
9971d4964c
mc session related changes
2015-06-29 23:12:28 -07:00
Harshavardhana
00fdf7d926
Merge pull request #844 from harshavardhana/pr_out_save_session_rootpath_to_handle_sessions_from_anywhere_relative_or_absolute
...
Save session rootPath to handle sessions from anywhere, relative or absolute
2015-06-29 20:45:21 +00:00
Harshavardhana
d76cdd35d6
Save session rootPath to handle sessions from anywhere, relative or absolute
2015-06-29 13:41:59 -07:00
Harshavardhana
91fbce7fa5
Merge pull request #843 from vadmeste/session_cmd_fixes
2015-06-25 17:29:17 +00:00
Anis Elleuch
9a1397c441
Show help when the user enters an incorrect session subcommand
...
This reverts commit 320c60bb86b788fdf5fe05832db78aeb1809f47a.
2015-06-25 18:27:23 +01:00
Harshavardhana
6dd02b8a36
Merge pull request #841 from harshavardhana/pr_out_bump_to_new_version_release_1435182969
2015-06-24 22:02:44 +00:00
Harshavardhana
4b5b623ecc
Bump to new version - release-1435182969
2015-06-24 14:58:59 -07:00
Harshavardhana
6fe23f9930
Merge pull request #840 from harshavardhana/pr_out_handle_messages_for_writing_aliases_and_configuration_file_differently
2015-06-24 12:20:34 -07:00
Harshavardhana
18effa33da
Handle messages for writing aliases and configuration file differently
2015-06-24 12:16:45 -07:00
Harshavardhana
3eecf2569a
Merge pull request #839 from harshavardhana/pr_out_rename_ismcconfigexist_to_ismcconfigexists_for_brevity
2015-06-23 20:29:29 -07:00
Harshavardhana
7848ffd99c
Rename isMcConfigExist to isMcConfigExists for brevity
2015-06-23 20:28:12 -07:00
Harshavardhana
0137bf9909
Merge pull request #838 from harshavardhana/pr_out_simplify_target2client_and_sourc2client_usage_use_url2stat_
2015-06-23 16:53:34 -07:00
Harshavardhana
01b10bd4b1
Simplify target2Client and sourc2Client usage - use url2Stat()
2015-06-23 16:49:23 -07:00
Harshavardhana
6736b26906
Merge pull request #837 from harshavardhana/pr_out_bring_iodine_changes_into_mc
2015-06-23 13:44:21 -07:00
Harshavardhana
350499b78c
Bring iodine changes into mc
2015-06-23 13:42:45 -07:00
Harshavardhana
21017ddcd3
Merge pull request #836 from harshavardhana/pr_out_add_session_tests
2015-06-22 17:21:09 -07:00
Harshavardhana
e8762f442b
Add session tests
2015-06-22 17:20:03 -07:00
Harshavardhana
ca98985de4
Merge pull request #835 from harshavardhana/pr_out_fix_sync_bug_when_in_typea_and_typeb_sync_style_source_doesn_t_exist
2015-06-22 15:59:07 -07:00
Harshavardhana
9b901bac21
Fix sync bug when in TypeA and TypeB sync style source doesn't exist
2015-06-22 15:57:02 -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
ecfbc3c453
Merge pull request #833 from harshavardhana/pr_out_print_sessions_just_like_ls
2015-06-22 14:58:25 -07:00
Harshavardhana
7ee4692ceb
Print sessions just like ls
2015-06-22 14:57:06 -07:00
Harshavardhana
51a333749c
Merge pull request #832 from vadmeste/fix_help_session_cmd
...
Fix simple typo in session command help
2015-06-22 12:29:16 -07:00
Anis Elleuch
1b3f08e9d0
Fix simple typo in session command help
2015-06-22 20:26:27 +01:00
Harshavardhana
d21b2ebedb
Merge pull request #831 from harshavardhana/pr_out_add_more_structured_informational_messages
2015-06-22 11:36:11 -07:00
Harshavardhana
1dbb2e2b96
Add more structured informational messages
2015-06-22 11:33:14 -07:00
Harshavardhana
d99063a11f
Merge pull request #830 from harshavardhana/pr_out_attempt_to_make_informational_message_a_structure
2015-06-22 07:46:33 -07:00
Harshavardhana
1983caf2e2
Attempt to make informational message a structure
2015-06-22 07:44:08 -07:00
Harshavardhana
301d01daea
Merge pull request #829 from harshavardhana/pr_out_update_sync_session_document
2015-06-20 21:55:37 -07:00
Harshavardhana
33afbbc4e9
Update sync session docs
2015-06-20 21:53:59 -07:00
Harshavardhana
0841eba62b
Merge pull request #828 from harshavardhana/pr_out_simplify_session_handlers
2015-06-20 21:06:04 -07:00
Harshavardhana
938959e702
Simplify session handlers
2015-06-20 21:04:23 -07:00
Harshavardhana
32545881ff
Merge pull request #827 from harshavardhana/pr_out_add_sync_session_deprecate_uuid_usage_move_to_a_fixed_length_random_english_characters
2015-06-20 20:40:43 -07:00
Harshavardhana
a0ab414764
Add sync session, deprecate UUID usage move to a fixed length random english characters
2015-06-20 20:39:35 -07:00
Harshavardhana
080f972e99
Merge pull request #826 from harshavardhana/pr_out_add_session_tests_fix_some_bugs_in_session_handling
2015-06-20 19:39:07 -07:00
Harshavardhana
14e33416e7
Add session tests, fix some bugs in session handling
2015-06-20 19:36:19 -07:00
Harshavardhana
bd61542673
Merge pull request #825 from harshavardhana/pr_out_cp_sessions_now_work_properly
2015-06-20 18:19:43 -07:00
Harshavardhana
20b99021cc
Cp sessions now work properly
2015-06-20 18:17:18 -07:00
Harshavardhana
4182aee07f
Merge pull request #824 from harshavardhana/pr_out_add_resume_session_command
2015-06-20 16:18:36 -07:00
Harshavardhana
7bc4f99bfb
Add resume session command
2015-06-20 16:17:29 -07:00
Harshavardhana
677a484215
Merge pull request #823 from harshavardhana/pr_out_use_session_now_saves_in_transit_information_remove_usage_of_sync_pool_not_needed
...
use session now saves in-transit information, remove usage of sync.Pool not needed
2015-06-20 16:01:08 -07:00
Harshavardhana
157bf10372
use session now saves in-transit information, remove usage of sync.Pool not needed
2015-06-20 15:54:49 -07:00
Harshavardhana
8cff0fe99b
Merge pull request #822 from harshavardhana/pr_out_fix_a_bug_in_session_clear
2015-06-19 21:43:27 -07:00
Harshavardhana
93259fe0f9
Fix a bug in session clear
2015-06-19 21:41:25 -07:00
Harshavardhana
50f8ec5541
Merge pull request #821 from harshavardhana/pr_out_use_docopycmd_for_now
2015-06-19 21:40:01 -07:00
Harshavardhana
da195b9b3a
use doCopyCmd for now
2015-06-19 21:38:32 -07:00
Harshavardhana
0e9124fdbb
Merge pull request #820 from harshavardhana/pr_out_add_session_command_first_cut
2015-06-19 21:34:09 -07:00
Harshavardhana
183396ebb1
Add session handling for cp
2015-06-19 21:30:48 -07:00
Harshavardhana
7284c4a767
Add trap function to trap os.Kill and os.Interrupt
2015-06-19 18:45:04 -07:00
Harshavardhana
de16a72e29
Add session command, first cut
2015-06-19 17:31:21 -07:00
Harshavardhana
fe185941fb
Merge pull request #818 from harshavardhana/pr_out_remove_path_join_usage_as_its_not_portable
2015-06-18 11:21:11 -07:00
Harshavardhana
f63e913060
Remove path.Join usage as its not portable
...
Thanks to Mattn <mattn.jp@gmail.com > for inputs
2015-06-18 11:05:26 -07:00
Harshavardhana
7dabe2ea55
Merge pull request #816 from harshavardhana/pr_out_turn_off_boxed_ui_for_update_notification_on_smaller_terminals
...
Turn off boxed UI for update notification on smaller terminals
2015-06-17 20:38:39 -07:00
Harshavardhana
8b42e6bed6
Turn off boxed UI for update notification on smaller terminals
2015-06-17 20:34:56 -07:00
Harshavardhana
9e85d367df
Merge pull request #815 from harshavardhana/pr_out_do_not_reply_back_isbrokensymlink_for_enoent_return_only_if_its_a_symlink
2015-06-17 18:31:17 -07:00
Harshavardhana
dc4067314a
Do not reply back ISBrokenSymlink{} for ENOENT, return only if its a Symlink
...
Make a new release
2015-06-17 18:29:20 -07:00
Harshavardhana
64b920c2c8
Update README.md
2015-06-17 14:21:20 -07:00
Harshavardhana
67d9ab98a4
Merge pull request #814 from harshavardhana/pr_out_making_caption_fixed_length_and_bumping_caption_usage_to_18
...
Making caption fixed length and bumping caption usage to 18%
2015-06-16 21:36:03 -07:00
Harshavardhana
b7b626b04e
Making caption fixed length and bumping caption usage to 18%
2015-06-16 21:33:57 -07:00
Harshavardhana
3ee1b6b4a8
Merge pull request #813 from harshavardhana/pr_out_remove_git_revision_not_needed
...
Remove git revision, not needed
2015-06-16 19:35:53 -07:00
Harshavardhana
ff7a7d09d5
Remove git revision, not needed
2015-06-16 19:34:16 -07:00
Harshavardhana
9610887b22
Merge pull request #812 from harshavardhana/pr_out_add_more_elaborate_tag_this_time_in_string_epoch_gitrev_format
...
Add more elaborate tag this time in [STRING-EPOCH-GITREV] format
2015-06-16 18:31:47 -07:00
Harshavardhana
0ea95ce6eb
Add more elaborate tag this time in [STRING-EPOCH-GITREV] format
2015-06-16 18:30:34 -07:00
Harshavardhana
bb790ed1fd
Merge pull request #811 from harshavardhana/pr_out_add_tag_date_with_make_go_formatted_with_git_check_format_ref_standards
2015-06-16 17:49:22 -07:00
Harshavardhana
72f15dbffe
Add tag date with make.go formatted with git-check-format-ref standards
2015-06-16 17:42:33 -07:00
Harshavardhana
ece37013aa
Update README.md
2015-06-16 16:10:51 -07:00
Harshavardhana
88c637326c
Update README.md
2015-06-16 16:08:03 -07:00
Harshavardhana
bbce2295cf
Update README.md
2015-06-16 16:07:08 -07:00
Harshavardhana
2f8c574a70
Update README.md
2015-06-16 15:59:52 -07:00
Harshavardhana
78334d34e0
Merge pull request #810 from harshavardhana/pr_out_code_cleanup_and_readability_for_mc
2015-06-16 14:19:58 -07:00
Harshavardhana
dbb35c185a
Code cleanup and readability for mc
2015-06-16 14:17:01 -07:00
Harshavardhana
976ceba27c
Merge pull request #809 from harshavardhana/pr_out_update_to_new_changes_in_minio_go
...
Update to new changes in minio-go
2015-06-16 12:35:43 -07:00
Harshavardhana
6f08c452b3
Update to new changes in minio-go
2015-06-16 12:32:39 -07:00
Harshavardhana
757e866b94
Merge pull request #808 from harshavardhana/pr_out_fixup_checkdep_sh
2015-06-16 02:33:20 -07:00
Harshavardhana
6b48655fee
Fixup checkdep.sh
2015-06-16 02:32:26 -07:00
Harshavardhana
6222df0e2a
Merge pull request #807 from harshavardhana/pr_out_make_sure_to_skip_broken_links
2015-06-16 02:32:08 -07:00
Harshavardhana
b7e06060b3
Make sure to skip broken links
2015-06-16 02:30:13 -07:00
Harshavardhana
39886661a4
Merge pull request #806 from harshavardhana/pr_out_trim_caption_for_just_file_names_and_getfixedwidth_for_10_
2015-06-16 02:13:36 -07:00
Harshavardhana
476e184a90
Trim caption for just file names and getFixedWidth for 10%.
...
Remove spaces in between unicode characters, these were causing spurious space characters
2015-06-16 02:12:29 -07:00
Harshavardhana
0357efbdef
Merge pull request #805 from harshavardhana/pr_out_add_console_rotator
2015-06-16 00:16:10 -07:00
Harshavardhana
11e7f1778d
Add console rotator
2015-06-16 00:15:14 -07:00
Harshavardhana
e4eb41f747
Merge pull request #804 from harshavardhana/pr_out_move_to_a_more_portable_bar_prefix_approach_from_progress_bar
...
Move to a more portable bar.Prefix approach from progress bar
2015-06-15 19:54:25 -07:00
Harshavardhana
501eaa9e16
Move to a more portable bar.Prefix approach from progress bar
2015-06-15 19:50:13 -07:00
Harshavardhana
a9bfe95b2f
Merge pull request #802 from harshavardhana/pr_out_an_attempt_to_fix_windows_caption_behavior_wip
2015-06-15 16:07:08 -07:00
Harshavardhana
2e763fff3f
An attempt to fix windows caption behavior
2015-06-15 16:02:22 -07:00
Harshavardhana
0238e8305b
Merge pull request #801 from harshavardhana/pr_out_now_printing_makes_sure_to_show_console_after_erasing_current_line
2015-06-15 12:18:22 -07:00
Harshavardhana
318f9add62
Now printing makes sure to show console after erasing current line
2015-06-15 12:16:52 -07:00
Harshavardhana
2b3f975361
Merge pull request #800 from harshavardhana/pr_out_re_arrange_cp_bar_a_bit_for_readablity
...
Re-arrange cp-bar a bit for readablity
2015-06-15 10:45:18 -07:00
Harshavardhana
70783a187f
Re-arrange cp-bar a bit for readablity and rename it to pb.go
2015-06-15 10:43:19 -07:00
Anand Babu (AB) Periasamy
6339dc5ffe
Merge pull request #799 from abperiasamy/caption-bug
...
fix race in pgbar printing
2015-06-15 03:35:14 -07:00
Anand Babu (AB) Periasamy
4df88191c6
fix race in pgbar printing
2015-06-15 03:33:49 -07:00
Anand Babu (AB) Periasamy
b2cbef0e36
Merge pull request #798 from abperiasamy/pgbar-firsttime-cursor-movement
...
do not move/delete console output before printing anything
2015-06-15 02:55:18 -07:00
Anand Babu (AB) Periasamy
2b86af52d6
do not move/delete console output before printing anything
2015-06-15 02:51:41 -07:00
Harshavardhana
064148560c
Merge pull request #797 from harshavardhana/pr_out_bring_in_new_changes_from_minio_go
...
Bring in new changes from minio-go
2015-06-13 22:16:55 -07:00
Harshavardhana
11c3c5e742
Bring in new changes from minio-go
2015-06-13 22:15:50 -07:00
Harshavardhana
a295b752e5
Merge pull request #796 from harshavardhana/pr_out_convert_all_errors_new_and_fmt_errorf_to_typed_errors
2015-06-13 21:38:29 -07:00
Harshavardhana
c04acf4d50
Convert all errors.New and fmt.Errorf to typed errors
2015-06-13 21:36:42 -07:00
Harshavardhana
4b99854f4d
Merge pull request #795 from harshavardhana/pr_out_handle_broken_symlinks
...
Handle broken symlinks
2015-06-13 20:31:36 -07:00
Harshavardhana
112f4ec56c
Handle broken symlinks
2015-06-13 20:30:47 -07:00
Harshavardhana
9ca8ffc6e8
Merge pull request #794 from harshavardhana/pr_out_use_more_ascii_escape_sequences_to_redraw_current_lines_with_caption
2015-06-13 20:16:52 -07:00
Harshavardhana
2a1ed46929
Use more ascii escape sequences to redraw current lines with caption
2015-06-13 20:15:03 -07:00
Harshavardhana
868a7c898c
Merge pull request #793 from harshavardhana/pr_out_simplify_cp_and_sync_routines_don_t_forget_to_close_syncqueue_channel_
2015-06-13 20:06:27 -07:00
Harshavardhana
0935a7b3d3
Simplify cp and sync routines - don't forget to close syncQueue channel :-)
2015-06-13 20:05:03 -07:00
Harshavardhana
9e3487fa56
Merge pull request #792 from harshavardhana/pr_out_pass_in_variables_into_go_routines
...
Pass in variables into go routines
2015-06-13 19:31:34 -07:00
Harshavardhana
13c3bfefef
Pass in variables into go routines
2015-06-13 19:28:12 -07:00
Frederick F. Kautz IV
4792fd1172
Merge pull request #791 from fkautz/pr_out_testing_to_see_if_the_error_is_an_errorresponse_if_it_isn_t_just_pass_as_is
2015-06-12 21:52:19 -07:00
Frederick F. Kautz IV
ed7b8a092c
Testing to see if the error is an errorresponse. If it isn't, just pass as is.
2015-06-12 21:50:30 -07:00
Harshavardhana
b308a5025f
Merge pull request #789 from harshavardhana/pr_out_handle_message_for_windows_for_update_command
...
Handle message for windows for update command
2015-06-12 19:27:56 -07:00
Harshavardhana
715c7e507b
Handle message for windows for update command
2015-06-12 19:16:27 -07:00
Harshavardhana
a6163f603e
Add missing var error for windows, minor change pushing in
2015-06-12 18:44:05 -07:00
Harshavardhana
c2eebb193c
Merge pull request #788 from harshavardhana/pr_out_add_windows_specific_path_normalizer
...
Add windows specific path normalizer
2015-06-12 18:42:11 -07:00
Harshavardhana
f9d8fd5128
Add windows specific path normalizer
2015-06-12 18:40:45 -07:00
Harshavardhana
5b2b90bebe
Merge pull request #787 from harshavardhana/pr_out_fix_mcconfigdir_path_test_for_windows
2015-06-12 15:50:11 -07:00
Harshavardhana
cbe93ae9c3
Fix mcConfigDir path test for windows
2015-06-12 15:48:42 -07:00
Harshavardhana
c06a43c0d7
Merge pull request #786 from harshavardhana/pr_out_add_proper_error_output_in_make_go
...
Add proper error output in make.go
2015-06-12 15:39:21 -07:00
Harshavardhana
51e40a88fd
Add proper error output in make.go
2015-06-12 15:37:51 -07:00
Harshavardhana
46fb22e84d
Merge pull request #785 from harshavardhana/pr_out_windows_fix_for_directory_crawling
2015-06-12 12:17:56 -07:00
Harshavardhana
d6a651e334
Windows fix for directory crawling
2015-06-12 12:16:09 -07:00
Harshavardhana
3df6ec9c79
Merge pull request #784 from harshavardhana/pr_out_ignore_readlink_errors
2015-06-11 22:39:43 -07:00
Harshavardhana
05f94b258d
Ignore readlink errors
2015-06-11 22:38:29 -07:00
Harshavardhana
1ec3324b06
Merge pull request #783 from harshavardhana/pr_out_add_xml_naming_for_structure_ignore_location_constraint
2015-06-11 21:33:39 -07:00
Harshavardhana
298c3d59de
Add XML Naming for structure, ignore location constraint
2015-06-11 21:32:00 -07:00
Harshavardhana
ad787da3cd
Merge pull request #782 from harshavardhana/pr_out_handle_windows_path_and_do_not_perform_translation_for_url_type_of_filesystem
2015-06-11 21:12:08 -07:00
Harshavardhana
1516549e66
Handle windows path and do not perform translation for url type of filesystem
2015-06-11 21:10:49 -07:00
Harshavardhana
114299070c
Merge pull request #781 from harshavardhana/pr_out_make_sure_the_appversion_set_is_a_proper_formatted_time_string
2015-06-11 20:42:13 -07:00
Harshavardhana
4ddf93baa5
Make sure the AppVersion set is a proper formatted time string
2015-06-11 20:40:58 -07:00
Harshavardhana
08c14df9df
Merge pull request #780 from harshavardhana/pr_out_add_gomaxprocs_default_tp_numcpus_and_update_version
...
Add gomaxprocs default to NumCPUs() and update version
2015-06-11 19:08:32 -07:00
Harshavardhana
7a3bfcfac5
Add gomaxprocs default to NumCPUs() and update version
2015-06-11 19:07:04 -07:00
Harshavardhana
d18cee70ee
Merge pull request #779 from harshavardhana/pr_out_move_away_from_using_pointers_for_cpurls
...
Move away from using pointers for cpURLs
2015-06-11 19:05:56 -07:00
Harshavardhana
d52bbf6134
Move away from using pointers for cpURLs
2015-06-11 19:03:33 -07:00
Harshavardhana
84da2396c7
Update to new minio-go
2015-06-11 15:51:27 -07:00
Harshavardhana
388c443010
Merge pull request #778 from harshavardhana/pr_out_move_to_upstream_progress_bar_deleting_our_fork_needed_patches_merged_by_upstream_maintainer
2015-06-11 14:50:02 -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
921153341b
Merge pull request #777 from harshavardhana/pr_out_add_errinvalidtheme_and_before_should_reply_back_to_cli_as_error
2015-06-11 14:38:58 -07:00
Harshavardhana
dae79df316
Add errInvalidTheme and .Before should reply back to cli as error
2015-06-11 14:36:35 -07:00
Harshavardhana
0f14199a2b
Merge pull request #776 from harshavardhana/pr_out_use_sync_pool_for_config
...
use sync.Pool for config
2015-06-11 11:52:38 -07:00
Harshavardhana
147a3d5a70
use sync.Pool for config
2015-06-11 11:50:54 -07:00
Harshavardhana
8d118c0b1f
Merge pull request #775 from harshavardhana/pr_out_use_url_separator_everywhere_that_is_needed
...
Use url.Separator everywhere that is needed
2015-06-10 21:55:19 -07:00
Harshavardhana
08d38fb7da
Use url.Separator everywhere that is needed
2015-06-10 21:54:05 -07:00
Harshavardhana
e6ad28079b
Merge pull request #774 from harshavardhana/pr_out_remove_delimiter_constant_use_c_hosturl_separator
2015-06-10 21:33:36 -07:00
Harshavardhana
81b417bc53
Remove delimiter constant, use c.hostURL.Separator
2015-06-10 21:32:19 -07:00
Harshavardhana
2c92125fb3
Merge pull request #773 from harshavardhana/pr_out_no_need_to_set_regions_through_s3_go_library_does_it_automatically
2015-06-10 21:25:59 -07:00
Harshavardhana
8bc17e5b2b
No need to set regions through s3.go, library does it automatically
2015-06-10 21:24:03 -07:00
Harshavardhana
6cd52821c2
Merge pull request #772 from harshavardhana/pr_out_minor_changes_to_minio_go_library_update_it_here_also_update_version_go
2015-06-10 21:18:05 -07:00
Harshavardhana
7ae885fdcd
Minor changes to minio-go library, update it here - also update version.go
2015-06-10 21:16:31 -07:00
Frederick F. Kautz IV
6b05292865
Merge pull request #771 from fkautz/pr_out_mc_uploads_with_default_application_octet_stream
2015-06-10 20:19:07 -07:00
Frederick F. Kautz IV
10f995d723
mc uploads with default application/octet-stream
2015-06-10 20:17:52 -07:00
Harshavardhana
890983ea5f
Merge pull request #770 from harshavardhana/pr_out_use_yielder_inside_cmd_cp_and_sync
...
Use yielder inside cmd cp and sync
2015-06-10 19:56:07 -07:00
Harshavardhana
1fdb689f16
Use yielder inside cmd cp and sync
2015-06-10 19:54:42 -07:00
Anand Babu (AB) Periasamy
465973f360
yielding reader
2015-06-10 19:29:01 -07:00
Frederick F. Kautz IV
788b860827
Merge pull request #769 from fkautz/pr_out_renaming_getobject_to_getpartialobject
2015-06-10 19:27:47 -07:00
Frederick F. Kautz IV
36552f4d03
Renaming GetObject to GetPartialObject
2015-06-10 19:24:44 -07:00
Harshavardhana
e7ec83d94a
Merge pull request #768 from harshavardhana/pr_out_update_docs_remove_stale_documentation
...
Update docs/* remove stale documentation
2015-06-10 18:36:25 -07:00
Harshavardhana
8befc50050
Update docs/* remove stale documentation
2015-06-10 18:34:46 -07:00
Harshavardhana
8ad8fde146
Merge pull request #767 from harshavardhana/pr_out_add_tests_for_sync_command
...
Add tests for sync command
2015-06-10 18:09:30 -07:00
Harshavardhana
c0570b41fe
Add tests for sync command
2015-06-10 18:08:17 -07:00
Harshavardhana
474380a051
Merge pull request #766 from harshavardhana/pr_out_make_channels_bufferred_upto_10000_for_cp_and_sync_to_fill_in_during_prepareurls_stage
...
Make channels bufferred upto 10000 for cp and sync to fill in during prepareURLs stage
2015-06-10 17:33:25 -07:00
Harshavardhana
9a06671ac7
Make channels bufferred upto 10000 for cp and sync to fill in during prepareURLs stage
2015-06-10 17:26:58 -07:00
Harshavardhana
76322c3f90
Merge pull request #765 from harshavardhana/pr_out_finally_sync_command_works_as_expected
2015-06-10 16:19:46 -07:00
Harshavardhana
1bbbe933ff
Finally sync command works as expected
2015-06-10 16:18:30 -07:00
Harshavardhana
0e91aa8a50
Merge pull request #764 from harshavardhana/pr_out_handle_errors_properly_with_sync_command
2015-06-10 13:48:35 -07:00
Harshavardhana
ddeb132eb9
Handle errors properly with sync command
2015-06-10 13:47:23 -07:00
Harshavardhana
3b0c7e168b
Merge pull request #763 from harshavardhana/pr_out_minor_change_print_proper_errors_for_cmd_sync
...
Minor change print proper errors for cmd-sync
2015-06-10 10:48:46 -07:00
Harshavardhana
c0bd41f446
Minor change print proper errors for cmd-sync
2015-06-10 10:46:00 -07:00
Harshavardhana
d4e0bb275f
Merge pull request #762 from harshavardhana/pr_out_update_to_new_error_related_changes_in_minio_go
...
update to new error related changes in minio-go
2015-06-10 00:43:15 -07:00
Harshavardhana
1bb4aa62ea
update to new error related changes in minio-go
2015-06-10 00:39:04 -07:00
Harshavardhana
9910b878c7
Merge pull request #761 from harshavardhana/pr_out_update_new_video_link
2015-06-09 23:07:11 -07:00
Harshavardhana
6e395d3bf5
Update new video link
2015-06-09 23:06:49 -07:00
Anand Babu (AB) Periasamy
b8f156d2ad
Merge pull request #760 from abperiasamy/put-targets-bug
...
fixed syncronization bug in put targets function
2015-06-09 20:45:23 -07:00
Anand Babu (AB) Periasamy
9aaa614ff5
fixed syncronization bug in put targets function
2015-06-09 20:40:27 -07:00
Harshavardhana
87ad3d5e43
Merge pull request #759 from harshavardhana/pr_out_do_not_exit_on_ls_error
...
Do not exit on ls error
2015-06-09 19:38:27 -07:00
Harshavardhana
6997a953ee
Do not exit on ls error
2015-06-09 19:17:34 -07:00
Harshavardhana
87dc4647ac
Merge pull request #757 from harshavardhana/pr_out_sync_command_now_works
2015-06-09 11:42:50 -07:00
Harshavardhana
e76ac3978c
Sync command now works
2015-06-09 11:41:26 -07:00
Harshavardhana
77b4ec5e7e
Merge pull request #756 from harshavardhana/pr_out_all_methods_use_now_target2client_source2client_url2client_helpers
...
All methods use now target2Client, source2Client, url2Client helpers
2015-06-09 11:09:23 -07:00
Harshavardhana
95f61bd6d4
Update all tests with new changes
2015-06-09 11:08:01 -07:00
Harshavardhana
168926fa06
All methods use now target2Client, source2Client, url2Client helpers
2015-06-09 10:37:48 -07:00
Harshavardhana
f34742b539
Add URL() method
2015-06-09 10:37:20 -07:00
Anand Babu (AB) Periasamy
9b10c3fb68
Sync command
2015-06-08 22:58:28 -07:00
Harshavardhana
600331ddc9
Merge pull request #754 from harshavardhana/pr_out_rename_all_http_references_to_https
2015-06-08 21:15:13 -07:00
Harshavardhana
127027e1f8
Rename all http references to https
2015-06-08 21:13:12 -07:00
Harshavardhana
7eac8f0eca
Merge pull request #753 from harshavardhana/pr_out_fix_updates_to_not_depend_on_lastmodified_header_use_a_json_to_indicate_latest_build_and_path
...
Fix updates to not depend on LastModified header, use a json to indicate latest build and path
2015-06-08 16:48:49 -07:00
Harshavardhana
4bf5b19274
Fix updates to not depend on LastModified header, use a json to indicate latest build and path
2015-06-08 16:47:48 -07:00
Harshavardhana
efff048d84
Merge pull request #752 from harshavardhana/pr_out_more_prefix_url_cleanup
...
More prefix url cleanup
2015-06-08 11:49:43 -07:00
Harshavardhana
e53f009a9d
More prefix url fixes, all combinations work as intended
2015-06-08 11:47:28 -07:00
Harshavardhana
71b34e4347
Add some comments in ls.go
2015-06-08 02:17:22 -07:00
Harshavardhana
58d832bcd0
Update all dependencies
2015-06-08 01:44:57 -07:00
Harshavardhana
6c7dbcaf4e
More prefix url cleanup
2015-06-07 02:55:29 -07:00
Harshavardhana
9f8040f645
Merge pull request #751 from harshavardhana/pr_out_move_diff_also_away_from_prefixed_url
2015-06-06 21:58:05 -07:00
Harshavardhana
98a5cf648b
Move diff also away from prefixed url
2015-06-06 21:49:50 -07:00
Harshavardhana
3ee63f8d1b
Merge pull request #750 from harshavardhana/pr_out_now_fs_behaves_similar_to_s3_style_delimited_output
2015-06-06 21:24:24 -07:00
Harshavardhana
e95c3bd3e8
Now fs behaves similar to s3 style delimited output
2015-06-06 21:23:33 -07:00
Harshavardhana
bc7ff1c875
Merge pull request #749 from harshavardhana/pr_out_add_version_to_repo_to_make_a_new_release_just_do_make_release_to_build_the_binary
...
Add version to repo, to make a new release just do "make release" to build the binary
2015-06-06 19:52:39 -07:00
Harshavardhana
dd7673e4dd
Add version to repo, to make a new release just do "make release" to build the binary
2015-06-06 19:51:39 -07:00
Harshavardhana
7c37a34064
Merge pull request #748 from harshavardhana/pr_out_now_alias_provides_consistent_list_output
2015-06-06 19:30:13 -07:00
Harshavardhana
bdff69f7b4
Now alias:... provides consistent list output
2015-06-06 19:29:02 -07:00
Harshavardhana
f09dba2333
Merge pull request #747 from harshavardhana/pr_out_fix_bug_in_recursive_listing_in_mc_update_minio_go
...
Fix bug in recursive listing in mc, update minio-go
2015-06-06 16:58:26 -07:00
Harshavardhana
911accab45
Fix bug in recursive listing in mc, update minio-go
2015-06-06 16:57:29 -07:00
Anand Babu (AB) Periasamy
9395bb3d52
Merge pull request #746 from abperiasamy/recur-url-prefix
...
prefix with parent path for dir... case
2015-06-06 15:16:17 -07:00
Anand Babu (AB) Periasamy
4da1d24405
prefix with parent path for dir... case
2015-06-06 15:11:03 -07:00
Harshavardhana
e11987dcbe
Merge pull request #745 from harshavardhana/pr_out_delimit_fs_output_similar_to_s3_no_special_handling_needed
2015-06-06 12:32:45 -07:00
Harshavardhana
33f4c65349
Delimit fs output similar to s3, no special handling needed
2015-06-06 12:29:12 -07:00
Anand Babu (AB) Periasamy
e8254223e9
Merge pull request #744 from abperiasamy/portable-path
...
portable path separator
2015-06-06 12:06:26 -07:00
Anand Babu (AB) Periasamy
396cb83db0
portable path separator
2015-06-06 12:04:21 -07:00
Harshavardhana
fc049a3df8
Merge pull request #743 from harshavardhana/pr_out_make_fs_also_consistent_with_s3_output
2015-06-06 12:00:29 -07:00
Harshavardhana
b999e08610
Make fs also consistent with s3 output
2015-06-06 11:58:52 -07:00
Harshavardhana
8e34555067
Merge pull request #742 from harshavardhana/pr_out_return_back_normal_object_names_not_url_s
...
Return back normal object names not URL's
2015-06-06 11:27:24 -07:00
Harshavardhana
535fb0cae6
Return back normal object names not URL's
2015-06-06 11:25:28 -07:00
Harshavardhana
5f0a89de1d
Merge pull request #741 from harshavardhana/pr_out_remove_redundant_date_go_script
2015-06-06 02:10:19 -07:00
Harshavardhana
ec23d22584
Remove redundant date.go script
2015-06-06 02:09:12 -07:00
Harshavardhana
ee9dfbf723
Merge pull request #737 from harshavardhana/pr_out_moving_to_go_run_make_go_first_cut
2015-06-06 01:22:21 -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
760e32a2a9
Merge pull request #740 from abperiasamy/rename-register-cmd
...
rename to registerCmd
2015-06-05 22:20:29 -07:00
Anand Babu (AB) Periasamy
04c09d3ca8
Merge pull request #739 from abperiasamy/cp-sync-recursive-prefix
...
handle recursive prefix properly for cp and sync as well
2015-06-05 22:17:39 -07:00
Anand Babu (AB) Periasamy
7d7f6c6bb2
handle recursive prefix properly for cp and sync as well
2015-06-05 22:15:24 -07:00
Anand Babu (AB) Periasamy
e0eedba4d6
Merge pull request #738 from abperiasamy/recursive-preix
...
handle recursive prefix properly
2015-06-05 21:52:17 -07:00
Anand Babu (AB) Periasamy
3439ca5fde
handle recursive prefix properly
2015-06-05 21:49:33 -07:00
Anand Babu (AB) Periasamy
425b46abab
rename to registerCmd
2015-06-05 16:43:27 -07:00
Anand Babu (AB) Periasamy
dda0b75a97
Merge pull request #736 from abperiasamy/trim-partial-name
...
trim partial names for bar caption
2015-06-04 21:04:21 -07:00
Anand Babu (AB) Periasamy
c460127fa9
trim partial names for bar caption
2015-06-04 21:01:20 -07:00
Harshavardhana
118d0e56cf
Merge pull request #735 from harshavardhana/pr_out_handle_prefixed_recursive_behavior_and_mimick_filesystem_behavior
2015-06-04 19:52:09 -07:00
Harshavardhana
4709af19ab
Handle prefixed recursive behavior and mimick filesystem behavior
2015-06-04 19:50:56 -07:00
Anand Babu (AB) Periasamy
b2e4ea9d1c
Merge pull request #734 from abperiasamy/trim-filename
...
trim long filenames in progress bar caption
2015-06-04 16:40:58 -07:00
Anand Babu (AB) Periasamy
7ba6bce961
trim long filenames in progress bar caption
2015-06-04 16:37:06 -07:00
Harshavardhana
c288a31537
Merge pull request #733 from harshavardhana/pr_out_do_not_attempt_to_restor_while_saving_new_deps
...
Do not attempt to restor while saving new deps
2015-06-04 16:30:29 -07:00
Harshavardhana
c8bf76e9e4
Do not attempt to restor while saving new deps
2015-06-04 16:28:36 -07:00
Harshavardhana
92fe1a98e5
Merge pull request #732 from harshavardhana/pr_out_implement_custom_date_command_for_cross_platform_portability
2015-06-04 12:04:49 -07:00
Harshavardhana
b5a940e739
Implement custom date command for cross platform portability
2015-06-04 12:02:49 -07:00
Harshavardhana
11dba09271
Merge pull request #731 from harshavardhana/pr_out_move_everything_from_uint64_to_int64
...
Move everything from uint64 to int64
2015-06-03 22:23:41 -07:00
Harshavardhana
112adec910
Move everything from uint64 to int64
2015-06-03 22:22:03 -07:00
Harshavardhana
ffcf77d000
Merge pull request #730 from abperiasamy/broken-pipe
...
handle broken pipe for cat
2015-06-03 21:02:42 -07:00
Anand Babu (AB) Periasamy
5ed828f26a
handle broken pipe for cat
2015-06-03 19:48:09 -07:00
Harshavardhana
f83b99e19f
Merge pull request #729 from abperiasamy/silly-opitimization
2015-06-03 15:19:54 -07:00
Anand Babu (AB) Periasamy
1f963c2feb
silly optimization
2015-06-03 15:17:51 -07:00
Anand Babu (AB) Periasamy
13d206a38c
Merge pull request #728 from vadmeste/pr_out_two_lines_progres_bar
...
Show the progress bar title in its own dedicated line
2015-06-03 14:59:34 -07:00
Anis Elleuch
4de9d69d17
Avoid showing the progress bar until copying really starts
2015-06-03 22:21:54 +01:00
Anis Elleuch
2f47edb2e3
Show the progress bar title in its own dedicated line
2015-06-03 22:20:35 +01:00
Harshavardhana
ca7ef0c5ef
Merge pull request #727 from vadmeste/pr_out_show_current_copied_file
...
Make copying command more informative especially with several source files
2015-06-02 13:18:55 -07:00
Anis Elleuch
0d09189e4a
Make copying command more informative especially with several source files
2015-06-02 20:01:27 +01:00
Harshavardhana
15719e3ebd
Merge pull request #726 from harshavardhana/pr_out_package_changes_to_minio
2015-06-02 00:51:50 -07:00
Harshavardhana
f524e491c2
Package changes to minio
2015-06-01 22:20:16 -07:00
Harshavardhana
b954d437aa
Merge pull request #725 from harshavardhana/pr_out_bring_new_changes_from_minio_go_to_mc
2015-06-01 21:48:00 -07:00
Harshavardhana
0a44c7454d
Bring new changes from minio-go to mc
2015-06-01 21:45:04 -07:00
Harshavardhana
9780e06f64
Merge pull request #724 from harshavardhana/pr_out_why_only_modularize_cmd_do_flags_as_well
2015-05-31 02:02:26 -07:00
Harshavardhana
d98b419a6a
Why only modularize cmd, do flags as well
2015-05-31 02:01:02 -07:00
Harshavardhana
ac1faf4f8c
Merge pull request #723 from harshavardhana/pr_out_update_to_new_changes_in_minio_go
2015-05-30 19:58:13 -07:00
Harshavardhana
dc48521d20
Update to new changes in minio-go
2015-05-30 19:56:36 -07:00
Anand Babu (AB) Periasamy
b12f377461
Merge pull request #722 from abperiasamy/modular-options
...
further modularize command options
2015-05-30 19:40:07 -07:00
Anand Babu (AB) Periasamy
31d1c25aa7
further modularize command options
2015-05-30 19:39:06 -07:00
Anand Babu (AB) Periasamy
21cb3f3b6d
Merge pull request #721 from abperiasamy/ls-alias
...
alias support for ls
2015-05-30 18:05:10 -07:00
Anand Babu (AB) Periasamy
22da2bab5c
alias support for ls
2015-05-30 18:03:34 -07:00
Anand Babu (AB) Periasamy
148da6cef7
Merge pull request #720 from abperiasamy/global-alias
...
global alias option
2015-05-30 17:50:45 -07:00
Anand Babu (AB) Periasamy
fefdbd35ed
global alias option
2015-05-30 17:49:08 -07:00
Anand Babu (AB) Periasamy
0cacad1f20
Merge pull request #719 from abperiasamy/doc-reorg
...
reorg doc strings
2015-05-30 17:42:22 -07:00
Anand Babu (AB) Periasamy
2c1c5254c7
reorg doc strings
2015-05-30 17:33:18 -07:00
Anand Babu (AB) Periasamy
9b0ebd54fc
Merge pull request #718 from abperiasamy/remove-retry
...
remove retry capability
2015-05-30 16:55:16 -07:00
Anand Babu (AB) Periasamy
d57fdd909f
remove retry capability
2015-05-30 16:53:34 -07:00
Anand Babu (AB) Periasamy
7ee7bad1af
Merge pull request #717 from abperiasamy/cp-diff
...
removed copy-same-object check and some cleanup
2015-05-30 15:44:39 -07:00
Anand Babu (AB) Periasamy
69dbb658e1
removed copy-same-object check and some cleanup
2015-05-30 15:43:32 -07:00
Anand Babu (AB) Periasamy
beb5b7af3a
Update README.md
2015-05-30 12:40:46 -07:00
Anand Babu (AB) Periasamy
92fb98eb34
Merge pull request #716 from abperiasamy/synchronize-pbbuilder-and-sync
...
synchronize pb go routine with sync go routines
2015-05-30 12:28:12 -07:00
Anand Babu (AB) Periasamy
4ef1eb0b81
synchronize pb go routine with sync go routines
2015-05-30 12:27:01 -07:00
Anand Babu (AB) Periasamy
6b716bac73
Merge pull request #715 from abperiasamy/intMax
...
replace intMax with math.Max
2015-05-30 12:25:05 -07:00
Anand Babu (AB) Periasamy
69562deb23
replace intMax with math.Max
2015-05-30 12:16:58 -07:00
Harshavardhana
66767ef962
Merge pull request #714 from harshavardhana/pr_out_update_to_new_changes_in_minio_go
2015-05-29 23:38:06 -07:00
Harshavardhana
3779e3f314
Update to new changes in minio-go
2015-05-29 23:35:43 -07:00
Harshavardhana
0b84e50053
Merge pull request #713 from harshavardhana/pr_out_fix_update_url
2015-05-29 01:33:04 -07:00
Harshavardhana
7c05adb9b3
Fix update URL
2015-05-29 01:30:27 -07:00
Harshavardhana
8920998a99
Merge pull request #711 from abperiasamy/yield-progressbar
...
yield CPU to progress bar builder
2015-05-29 01:15:05 -07:00
Harshavardhana
a8961d6719
Merge pull request #712 from harshavardhana/pr_out_remove_reason_prefix_for_error_prints
...
Remove Reason: prefix for error prints
2015-05-29 01:15:00 -07:00
Harshavardhana
a772ef963b
Remove Reason: prefix for error prints
2015-05-29 01:12:56 -07:00
Anand Babu (AB) Periasamy
690bb2d705
yield CPU to progress bar builder
2015-05-29 01:03:26 -07:00
Harshavardhana
3103411e6d
Merge pull request #710 from harshavardhana/pr_out_update_to_new_changes_in_minio_go_library_and_make_related_modifications_in_mc
...
Update to new changes in minio-go library and make related modifications in mc
2015-05-28 19:18:58 -07:00
Harshavardhana
aa0347f59b
Update to new changes in minio-go library and make related modifications in mc
2015-05-28 19:13:36 -07:00
Harshavardhana
59d4e64dcc
Merge pull request #709 from harshavardhana/pr_out_handle_permission_errors_for_progress_bar
2015-05-28 11:08:46 -07:00
Harshavardhana
9da87f5113
Handle permission errors for progress bar
2015-05-28 11:07:20 -07:00
Harshavardhana
87ce028ccc
Update README.md
2015-05-27 20:04:25 -07:00
Harshavardhana
07d2b280a9
Update README.md
2015-05-27 19:09:55 -07:00
Harshavardhana
d91145cbfd
Merge pull request #708 from minio/harshavardhana-patch-1
...
Update README.md
2015-05-27 17:54:45 -07:00
Harshavardhana
a50aa2406f
Update README.md
2015-05-27 17:46:25 -07:00
Harshavardhana
545dd1e45a
Merge pull request #707 from minio/harshavardhana-go-installation
...
Create INSTALLGO.md
2015-05-27 17:42:50 -07:00
Harshavardhana
230235e0eb
Create INSTALLGO.md
2015-05-27 17:39:51 -07:00
Harshavardhana
23d7be0f61
Merge pull request #706 from harshavardhana/pr_out_update_cmd_options_with_new_updated_readme_md
2015-05-27 16:59:19 -07:00
Harshavardhana
852590012d
Update cmd-options with new updated README.md
2015-05-27 16:56:47 -07:00
Harshavardhana
512a52bcfc
Merge pull request #705 from harshavardhana/pr_out_add_stderr_to_support_piped_nocolor_output
...
Add stderr to support piped nocolor output
2015-05-27 16:53:02 -07:00
Harshavardhana
8f52126efb
Merge pull request #704 from minio/harshavardhana-readme-changes
...
Update README.md
2015-05-27 16:50:57 -07:00
Harshavardhana
e75adf8363
Update README.md
2015-05-27 16:48:22 -07:00
Harshavardhana
8422db004c
Add stderr to support piped nocolor output
2015-05-27 15:40:41 -07:00
Harshavardhana
274dae59f3
Merge pull request #703 from harshavardhana/pr_out_fix_a_nil_reference_remove_erroneous_usage_of_url_parse_use_client_parse_unexport_progress_method
2015-05-27 15:33:53 -07:00
Harshavardhana
df176c30a8
Fix a nil reference remove erroneous usage of url.Parse() use client.Parse(), unexport progress() method
2015-05-27 15:32:17 -07:00
Harshavardhana
d80f63ea38
Merge pull request #702 from harshavardhana/pr_out_ignore_non_regular_files_after_following_the_file
2015-05-27 13:44:56 -07:00
Harshavardhana
0edf9e2c59
Ignore non regular files after following the file
2015-05-27 13:43:20 -07:00
Harshavardhana
3d43576e39
Merge pull request #701 from vadmeste/pr_out_fix_sync_cmd_with_single_core
...
Fix sync cmd with single CPU core
2015-05-27 11:28:49 -07:00
Anis Elleuch
a00091ffee
Fix sync cmd with single CPU core
2015-05-27 18:51:39 +01:00
Anand Babu (AB) Periasamy
d977f208ba
Merge pull request #700 from abperiasamy/countlock
...
new countlocker to balance progress bar and copy routines
2015-05-27 04:12:46 -07:00
Anand Babu (AB) Periasamy
98299b267e
new countlocker to balance progress bar and copy routines
2015-05-27 04:10:51 -07:00
Harshavardhana
ee8d608690
Merge pull request #699 from harshavardhana/pr_out_command_diff_now_properly_supports_recursive_diff
2015-05-26 19:23:05 -07:00
Harshavardhana
0674ce8085
Command diff now properly supports recursive diff
2015-05-26 19:21:58 -07:00
Harshavardhana
a65f431004
Handle symlinks by making them behave like hardlinks
2015-05-26 19:06:29 -07:00
Harshavardhana
0d03b7838f
Update to new changes in minio-go related to userAgent
2015-05-26 18:03:06 -07:00
Harshavardhana
eac7e5c192
Merge pull request #698 from harshavardhana/pr_out_implement_console_fatals_errors_infos_prints_for_structure_input_and_printing
2015-05-26 18:00:50 -07:00
Harshavardhana
25f847b3b6
Implement console.Fatals, Errors, Infos, Prints for structure input and printing
2015-05-26 17:59:35 -07:00
Harshavardhana
a1f24bdc61
Merge pull request #697 from vadmeste/pr_out_fix_cp_hang_when_quiet_enabled
...
Fix cp cmd freeze when quiet enabled
2015-05-26 14:05:40 -07:00
Anis Elleuch
600a55d369
Fix cp cmd freeze when quiet enabled
2015-05-26 22:01:54 +01:00
Harshavardhana
3e24f7ae21
Merge pull request #696 from harshavardhana/pr_out_update_mc_to_new_changes_in_minio_go_related_to_time_formatting
...
Update mc to new changes in minio-go related to time formatting
2015-05-25 20:18:02 -07:00
Harshavardhana
e6e563d599
Update mc to new changes in minio-go related to time formatting
2015-05-25 20:16:46 -07:00
Harshavardhana
76746687c0
Merge pull request #695 from harshavardhana/pr_out_add_barmsg_to_carry_error_method_to_purge_erroneous_size_upon_cp_error
2015-05-25 12:43:13 -07:00
Harshavardhana
947b2b8d67
Add barMsg to carry Error() method to purge erroneous size upon cp error
2015-05-25 12:41:57 -07:00
Harshavardhana
c3eeee74e6
Handle too many open files, this time during reader() not being closed
2015-05-25 12:33:33 -07:00
Harshavardhana
7a4100410c
Merge pull request #694 from harshavardhana/pr_out_change_range_to_simpler_for_loop_range_over_array_of_interfaces_doesn_t_seem_to_work
2015-05-25 11:37:05 -07:00
Harshavardhana
76c3345f47
Change range to simpler for loop, range over array of interfaces{} doesn't seem to work
2015-05-25 11:30:48 -07:00
Harshavardhana
8ecd5d300b
Merge pull request #693 from harshavardhana/pr_out_bring_back_support_for_formatted_strings
2015-05-24 19:26:19 -07:00
Harshavardhana
5515e627d4
Bring back support for Formatted strings
2015-05-24 19:23:31 -07:00
Anand Babu (AB) Periasamy
902ea723d7
Merge pull request #692 from abperiasamy/httptrace
...
http tracing improvements
2015-05-24 19:12:39 -07:00
Anand Babu (AB) Periasamy
a3601baf8e
http tracing improvements
2015-05-24 19:07:55 -07:00
Harshavardhana
49abf7579b
Merge pull request #691 from harshavardhana/pr_out_add_progress_bar_as_a_new_theme_element
2015-05-24 14:31:46 -07:00
Harshavardhana
3dd6b53c55
Add progress bar as a new theme element
2015-05-24 14:30:28 -07:00
Harshavardhana
b88b4ee917
Merge pull request #690 from harshavardhana/pr_out_add_missing_string_method_for_errormessage_struct_as_well
2015-05-24 13:14:35 -07:00
Harshavardhana
eeb71d212a
Add missing String() method for ErrorMessage struct as well
2015-05-24 13:13:28 -07:00
Harshavardhana
a532b6528f
Merge pull request #689 from harshavardhana/pr_out_remove_console_to_depend_on_its_own_structures_instead_let_it_deal_with_interface_
2015-05-24 13:02:07 -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
Anand Babu (AB) Periasamy
85f5689013
Merge pull request #688 from abperiasamy/regex-redact-auth
...
regex based auth keys redact
2015-05-23 20:06:02 -07:00
Anand Babu (AB) Periasamy
64c890498f
regex based auth keys redact
2015-05-23 20:04:51 -07:00
Anand Babu (AB) Periasamy
ff9087fc01
Merge pull request #687 from abperiasamy/accesskey
...
default access and secret key notice
2015-05-23 19:01:30 -07:00
Anand Babu (AB) Periasamy
d7fbef2ba5
default access and secret key notice
2015-05-23 19:00:06 -07:00
Harshavardhana
39d4d3b3f9
Merge pull request #686 from harshavardhana/pr_out_move_mc_to_minio_go_from_objectstorage_go
2015-05-23 16:13:54 -07:00
Harshavardhana
9c136efa4d
Move mc to minio-go from objectstorage-go
2015-05-23 16:10:58 -07:00
Harshavardhana
a8a61c982b
Merge pull request #684 from harshavardhana/pr_out_handle_0byte_file_downloads_properly
2015-05-23 13:02:34 -07:00
Harshavardhana
8b0f9b7018
Handle 0byte file downloads properly
2015-05-23 13:01:01 -07:00
Harshavardhana
f87363a9f0
Merge pull request #683 from harshavardhana/pr_out_update_to_new_changes_in_objectstorage_go
2015-05-23 12:17:25 -07:00
Harshavardhana
d2bfe75bee
Update to new changes in objectstorage-go
2015-05-23 11:59:30 -07:00
Harshavardhana
4782e2663f
Merge pull request #682 from harshavardhana/pr_out_add_contributors_file
2015-05-23 11:49:30 -07:00
Harshavardhana
70d58a8fdf
Add contributors file
2015-05-23 11:44:40 -07:00
Harshavardhana
46ea9c57c6
Merge pull request #681 from harshavardhana/pr_out_add_recursive_listing_with_s3_
2015-05-22 19:54:57 -07:00
Harshavardhana
b4649291f1
Add recursive listing with s3:...
2015-05-22 19:51:56 -07:00
Harshavardhana
380807ad59
Merge pull request #680 from harshavardhana/pr_out_on_windows_display_directories_with_forward_slash_and_also_interpret_prefixes
2015-05-22 19:34:21 -07:00
Harshavardhana
5ce6cc8e37
On windows display directories with forward slash and also interpret prefixes
2015-05-22 19:33:26 -07:00
Harshavardhana
a2cb6eacb0
Merge pull request #679 from harshavardhana/pr_out_fix_missing_work_from_diff_command
2015-05-22 18:41:49 -07:00
Harshavardhana
429ff61174
Fix missing work from diff command
2015-05-22 18:40:46 -07:00
Harshavardhana
146ff6fed3
Merge pull request #678 from harshavardhana/pr_out_refactoring_console_printing_style_supports_json_even_for_error_messages_now_fixes_418
2015-05-22 18:34:16 -07:00
Harshavardhana
54d0f9c553
Refactoring console printing style, supports --json even for error messages now - fixes #418
2015-05-22 18:27:07 -07:00
Harshavardhana
190afa70a1
Merge pull request #676 from harshavardhana/pr_out_move_debug_prints_back_into_console
2015-05-21 22:55:32 -07:00
Harshavardhana
edb8381400
Refactor debugging output, implement --json output currently only supported on 'ls'
2015-05-21 22:30:32 -07:00
Harshavardhana
b80394c842
Merge pull request #675 from harshavardhana/pr_out_break_diff_into_simpler_functions
2015-05-21 20:41:39 -07:00
Harshavardhana
d04f63c9eb
Break diff into simpler functions
2015-05-21 20:40:14 -07:00
Harshavardhana
f448f1222e
Merge pull request #674 from harshavardhana/pr_out_fix_diff_handling_of_non_existant_files_from_source_and_target
2015-05-21 20:33:52 -07:00
Harshavardhana
fffb947e66
Fix diff handling of non-existant files from source and target
2015-05-21 20:32:29 -07:00
Harshavardhana
7e418e64e8
Merge pull request #673 from harshavardhana/pr_out_fix_a_windows_url_object_to_string_conversion_and_add_relevant_tests
2015-05-21 19:11:32 -07:00
Harshavardhana
1297d36580
Fix a windows URL object to String() conversion, and add relevant tests
2015-05-21 19:06:34 -07:00
Harshavardhana
24803e108b
Merge pull request #669 from vadmeste/pr_out_fix_colored_output_for_windows
2015-05-21 18:38:44 -07:00
Harshavardhana
3d8ae39803
Merge pull request #672 from harshavardhana/pr_out_reorder_options_print_only_error_messages
2015-05-21 18:09:43 -07:00
Harshavardhana
aeaf8d4055
Reorder options, print only error messages
2015-05-21 18:08:12 -07:00
Harshavardhana
0f4f59c1a0
Merge pull request #671 from harshavardhana/pr_out_expand_aliasnames_honoring_
2015-05-21 17:15:57 -07:00
Harshavardhana
b4d64badc7
Expand aliasnames honoring "/"
2015-05-21 17:14:39 -07:00
Harshavardhana
1d676a25c6
Merge pull request #670 from harshavardhana/pr_out_finish_object_handlers_for_mc_commands_updated_relevant_tests_respectively
2015-05-21 16:54:10 -07:00
Harshavardhana
a0177fc1fe
Finish object handlers for mc commands, updated relevant tests respectively
2015-05-21 16:52:25 -07:00
Anis Elleuch
1c85ce6c69
Fix output coloring in Windows Command Prompt
2015-05-21 23:34:59 +01:00
Harshavardhana
c086903519
Merge pull request #668 from harshavardhana/pr_out_add_typed_test_with_cp
2015-05-21 15:01:30 -07:00
Harshavardhana
e5ede4635d
Add typeD test with cp
2015-05-21 14:59:18 -07:00
Harshavardhana
386b511544
Merge pull request #667 from harshavardhana/pr_out_implement_s3_module_tests_for_objectoperations
...
Implement s3 module tests for objectOperations
2015-05-21 12:19:03 -07:00
Harshavardhana
2fc0e6fa1f
Implement s3 module tests for objectOperations
2015-05-21 12:11:31 -07:00
Harshavardhana
2396778818
Merge pull request #666 from harshavardhana/pr_out_update_to_new_changes_in_objectstorage_go
2015-05-21 01:43:20 -07:00
Harshavardhana
ab943b9956
Update to new changes in objectstorage-go
2015-05-21 01:38:11 -07:00
Harshavardhana
03bd8942f4
Merge pull request #665 from harshavardhana/pr_out_add_s3_module_tests_for_bucketoperations
2015-05-21 01:36:42 -07:00
Harshavardhana
ec2124efc1
Add s3 module tests for BucketOperations
2015-05-21 01:34:34 -07:00
Harshavardhana
607b39222c
Merge pull request #664 from harshavardhana/pr_out_improve_tests_add_setupsuite_and_teardownsuite
...
Improve tests add SetUpSuite and TearDownSuite
2015-05-21 01:21:54 -07:00
Harshavardhana
1e924378cf
Improve tests add SetUpSuite and TearDownSuite
2015-05-21 00:58:12 -07:00
Harshavardhana
12f0a396a6
Merge pull request #663 from harshavardhana/pr_out_implement_cp_tests
2015-05-20 21:46:33 -07:00
Harshavardhana
1a319b80ad
Implement cp tests
...
-- update bar.Total with atomic.AddInt64
-- expose console mutex Lock/Unlock()
-- send errors in cp over channels
2015-05-20 21:43:58 -07:00
Harshavardhana
94ad5934c8
Merge pull request #662 from harshavardhana/pr_out_change_closed_brackets_to_quote_characters_and_remove_brackets_for_reason
...
Change closed brackets to quote characters and remove brackets for Reason
2015-05-20 20:52:58 -07:00
Harshavardhana
26fbc3bc20
Change closed brackets to quote characters and remove brackets for Reason
2015-05-20 20:51:44 -07:00
Harshavardhana
ca26714a0d
Merge pull request #661 from harshavardhana/pr_out_implement_cat_tests
2015-05-20 19:56:12 -07:00
Harshavardhana
e0e860588a
Implement cat tests
2015-05-20 19:54:34 -07:00
Harshavardhana
72a9d5c5c8
Merge pull request #660 from harshavardhana/pr_out_fix_stat_url_sent_back_on_stat_
2015-05-20 19:42:02 -07:00
Harshavardhana
1c899e5059
Fix stat URL sent back on Stat()
2015-05-20 19:40:30 -07:00
Harshavardhana
afe89bc44e
Merge pull request #659 from harshavardhana/pr_out_implement_diff_tests
2015-05-20 18:40:24 -07:00
Harshavardhana
b2ab1d6bff
Implement diff tests
2015-05-20 18:29:40 -07:00
Harshavardhana
af3d8c4701
Implement ls tests
2015-05-20 18:29:40 -07:00
Harshavardhana
1c7a9f5d48
Merge pull request #658 from harshavardhana/pr_out_add_new_tests_for_common_methods
2015-05-20 17:08:20 -07:00
Harshavardhana
b94e67e57f
Add new tests for common methods, make necessary changes to support testing config file creation
2015-05-20 17:04:42 -07:00
Harshavardhana
7878be2cc9
Merge pull request #657 from harshavardhana/pr_out_update_to_new_changes_in_multipart_handling_in_objectstorage_go
2015-05-20 14:38:58 -07:00
Harshavardhana
6d9872d26e
Update to new changes in multipart handling in objectstorage-go
2015-05-20 14:35:31 -07:00
Harshavardhana
b4c4300e2c
Merge pull request #656 from harshavardhana/pr_out_complete_fs_tests_for_objectrange_and_list_recursive
2015-05-20 11:52:29 -07:00
Harshavardhana
31e24bfb29
Complete fs tests for objectRange and List recursive
2015-05-20 11:45:27 -07:00
Harshavardhana
9041b12d72
Merge pull request #655 from harshavardhana/pr_out_remove_frivolous_newlines_from_diff
2015-05-20 11:22:35 -07:00
Harshavardhana
bb374980eb
Remove frivolous newlines from diff
2015-05-20 11:16:50 -07:00
Harshavardhana
7f9c241acf
Merge pull request #654 from harshavardhana/pr_out_re_arrange_command_definitions_in_order_of_cli_command_ordering
2015-05-20 02:54:56 -07:00
Harshavardhana
c5435ee854
Re-arrange command definitions, in order of cli command ordering
2015-05-20 02:52:08 -07:00
Harshavardhana
913f63144d
Merge pull request #653 from harshavardhana/pr_out_simplify_listing_recursively_into_one_function_diff_now_supports_filename_directory_style
...
Simplify listing recursively into one function, diff now supports <filename> <directory> style
2015-05-20 02:46:35 -07:00
Harshavardhana
dcccafacbe
Simplify listing recursively into one function, diff now supports <filename> <directory> style
2015-05-20 02:44:15 -07:00
Harshavardhana
c8a60e3781
Change diff command properly to send messages over channels
2015-05-20 00:56:10 -07:00
Harshavardhana
55d039d122
Merge pull request #652 from harshavardhana/pr_out_if_target_exists_skip_for_both_sync_and_cp
2015-05-19 19:39:57 -07:00
Harshavardhana
f8fdfced8f
If target exists skip for both sync and cp
2015-05-19 19:23:40 -07:00
Anand Babu (AB) Periasamy
7213aec662
Merge pull request #651 from abperiasamy/diff-command
...
diff command for mc
2015-05-19 19:00:23 -07:00
Anand Babu (AB) Periasamy
726780c79d
diff command for mc
2015-05-19 18:57:21 -07:00
Harshavardhana
f681700365
Merge pull request #650 from harshavardhana/pr_out_final_working_full_utf_8_support
2015-05-19 17:36:12 -07:00
Harshavardhana
201e6eb78a
Final working full utf-8 support
2015-05-19 17:35:03 -07:00
Harshavardhana
29bdbaa77f
Merge pull request #649 from harshavardhana/pr_out_s3_minio_now_take_different_types_of_encoded_characters
2015-05-19 16:49:37 -07:00
Harshavardhana
1aaf37cb87
S3/Minio now take different types of encoded characters
2015-05-19 16:40:34 -07:00
Harshavardhana
9fdc8448a7
Merge pull request #648 from harshavardhana/pr_out_cleanup_fs_tests
2015-05-19 12:38:26 -07:00
Harshavardhana
e0e52cfe05
Cleanup fs tests
2015-05-19 12:37:23 -07:00
Harshavardhana
6bb208ed9d
Merge pull request #647 from harshavardhana/pr_out_simplify_getobject_putobject_to_not_use_md5sum_for_now
2015-05-19 12:31:47 -07:00
Harshavardhana
fc660f1350
Simplify GetObject, PutObject to not use md5sum for now.
2015-05-19 12:29:52 -07:00
Harshavardhana
09b9665069
Merge pull request #646 from harshavardhana/pr_out_improve_and_use_regexp_for_scheme_validation
2015-05-19 11:20:00 -07:00
Harshavardhana
dad7af0fe3
Improve and use regexp for Scheme validation
2015-05-19 11:18:22 -07:00
Harshavardhana
dc3f4b3950
Merge pull request #645 from harshavardhana/pr_out_implement_our_own_url_parse_with_minimal_functionality
2015-05-18 22:41:38 -07:00
Harshavardhana
082bb23a71
Implement our own url.Parse with minimal functionality
2015-05-18 22:40:32 -07:00
Harshavardhana
0987e29242
Merge pull request #644 from harshavardhana/pr_out_rename_copy_to_cp
2015-05-18 20:57:52 -07:00
Harshavardhana
9f17f4ff83
Rename copy to cp
2015-05-18 20:56:22 -07:00
Harshavardhana
ab01681be5
Merge pull request #643 from harshavardhana/pr_out_fix_a_bug_for_last_part_not_being_uploaded_due_to_lack_of_short_read_error_handling
2015-05-18 18:01:46 -07:00
Harshavardhana
a9504e870b
Fix a bug for last part not being uploaded due to lack of short read error handling
2015-05-18 18:00:25 -07:00
Harshavardhana
153c2116a8
Merge pull request #642 from harshavardhana/pr_out_add_windows_related_path_handling_now_recursive_cp_sync_works_properly
2015-05-18 17:40:09 -07:00
Harshavardhana
9e508f0dfe
Add windows related path handling, now recursive cp, sync works properly
2015-05-18 17:38:30 -07:00
Harshavardhana
6018033458
Merge pull request #641 from harshavardhana/pr_out_use_adduseragent_function_and_make_appropriate_changes_in_mc
2015-05-18 16:57:10 -07:00
Harshavardhana
78317836ec
Use AddUserAgent function and make appropriate changes in mc
2015-05-18 16:54:00 -07:00
Harshavardhana
2b2e31eb37
Merge pull request #640 from harshavardhana/pr_out_remove_dependency_on_url_parse_use_client_parse_implementation
2015-05-18 16:52:40 -07:00
Harshavardhana
8a8fd82853
Remove dependency on url.Parse() use client.Parse implementation
2015-05-18 16:51:04 -07:00
Harshavardhana
3ed4ce0aa4
Merge pull request #639 from harshavardhana/pr_out_bring_fixes_from_objectstorage_go
2015-05-18 13:20:33 -07:00
Harshavardhana
f18f36a77b
Bring fixes from objectstorage-go
2015-05-18 13:19:14 -07:00
Harshavardhana
8e0f6ceadc
Merge pull request #638 from harshavardhana/pr_out_bring_in_new_changes_from_objectstorage_go_which_allow_for_recursive_infinite_putobject_operation
2015-05-17 15:52:32 -07:00
Harshavardhana
3899c03722
Bring in new changes from objectstorage-go which allow for recursive infinite putObject() operation
2015-05-17 15:51:29 -07:00
Harshavardhana
b7d3fe1b02
Merge pull request #637 from harshavardhana/pr_out_update_to_new_changes_in_objectstorage_go
...
Update to new changes in objectstorage-go
2015-05-17 13:30:11 -07:00
Harshavardhana
dfcb5bd729
Update to new changes in objectstorage-go
2015-05-17 13:28:57 -07:00
Harshavardhana
22557b43d4
Merge pull request #636 from harshavardhana/pr_out_convert_writers_to_blocking_readers
2015-05-17 12:55:37 -07:00
Harshavardhana
a862c41590
Re-enable progress bar with a NewProxyReader
2015-05-17 12:48:27 -07:00
Harshavardhana
0a2626b71b
Update to new changes in objectstorage-go
2015-05-17 03:12:39 -07:00
Harshavardhana
ff3d9fa815
Convert writers to Blocking readers
2015-05-17 02:30:19 -07:00
Harshavardhana
b5432366c6
Merge pull request #635 from harshavardhana/pr_out_print_proper_error_messages_for_cp
2015-05-16 18:44:32 -07:00
Harshavardhana
de92f4ef31
Print proper error messages for cp
2015-05-16 18:42:22 -07:00
Anand Babu (AB) Periasamy
02eca69929
Merge pull request #634 from abperiasamy/config-cache
...
cache repeated config loads
2015-05-16 18:36:16 -07:00
Anand Babu (AB) Periasamy
d1a22403e5
cache repeated config loads
2015-05-16 18:32:35 -07:00
Harshavardhana
4855479035
Merge pull request #633 from harshavardhana/pr_out_collate_isatty_code_for_bsd_and_linux
2015-05-16 18:29:03 -07:00
Harshavardhana
e6d6375039
Collate isatty() code for bsd and linux
2015-05-16 18:27:05 -07:00
Harshavardhana
a815192dc7
Merge pull request #632 from harshavardhana/pr_out_add_function_isatty_to_detect_if_stdout_for_console_is_a_terminal_if_not_disable_coloring
2015-05-16 18:14:36 -07:00
Harshavardhana
6d4a7c5e7b
Add function isatty() to detect if Stdout for console is a terminal, if not disable coloring - fixes #631
...
Necessary when one has to pipe ``mc`` output to non terminal applications like ``less`` ``more`` etc.
2015-05-16 18:11:56 -07:00
Harshavardhana
3c25d79555
Merge pull request #630 from harshavardhana/pr_out_quiet_mode_support_for_copy_and_sync
2015-05-16 17:32:35 -07:00
Anand Babu (AB) Periasamy
b35ab2f873
quiet mode support for copy and sync
2015-05-16 17:30:58 -07:00
Harshavardhana
f37c85d9c6
Merge pull request #629 from harshavardhana/pr_out_update_to_new_changes_in_objectstorage_go
2015-05-16 17:15:15 -07:00
Harshavardhana
ab6fe3e95a
Update to new changes in objectstorage-go
2015-05-16 17:12:36 -07:00
Harshavardhana
a2b8f053b0
Merge pull request #627 from harshavardhana/pr_out_now_cp_and_sync_work_for_objectstorage_urls
2015-05-16 16:54:33 -07:00
Harshavardhana
8f8b442075
Now cp and sync work for objectstorage URLs
2015-05-16 16:39:55 -07:00
Harshavardhana
bf15a0c268
Merge pull request #626 from harshavardhana/pr_out_add_sync_automata_valid_cases
2015-05-16 15:39:41 -07:00
Harshavardhana
703dc21857
Add sync automata valid cases
2015-05-16 15:38:00 -07:00
Harshavardhana
128be5c1dc
Merge pull request #624 from vadmeste/pr_out_fix_cp_with_single_core
2015-05-16 15:21:20 -07:00
Harshavardhana
65e38b5e5e
Merge pull request #625 from harshavardhana/pr_out_fix_region_handling_inside_client_s3
2015-05-16 15:21:11 -07:00
Harshavardhana
45760226f3
Fix region handling inside client/s3
2015-05-16 15:18:34 -07:00
Anis Elleuch
f8b98893bc
Fix copy cmd when the host has only one CPU core
2015-05-16 23:16:40 +01:00
Harshavardhana
102ec394b6
filepath.Match on http prefixed globURL will fail if matched with only u.Host, config can have non absolute globURLs
2015-05-16 14:57:47 -07:00
Harshavardhana
3c8643a335
Merge pull request #623 from harshavardhana/pr_out_returning_right_after_docopy_error_we_should_just_print_the_error_and_move_forward
2015-05-16 14:35:06 -07:00
Harshavardhana
8299edc82c
Returning right after doCopy error, we should just print the error and move forward
2015-05-16 14:33:35 -07:00
Harshavardhana
44fd69dc5a
Merge pull request #622 from harshavardhana/pr_out_implement_sync_command_leveraging_cp_code
2015-05-16 13:30:56 -07:00
Harshavardhana
ea833d8ca3
Implement sync command, leveraging cp code
2015-05-16 13:29:31 -07:00
Anand Babu (AB) Periasamy
8af7457fc6
Merge pull request #621 from abperiasamy/url-type
...
support string type natively within URLType
2015-05-16 13:05:15 -07:00
Anand Babu (AB) Periasamy
8823cec39d
support string type natively within URLType
2015-05-16 13:01:14 -07:00
Anand Babu (AB) Periasamy
4e14d2c6f9
Merge pull request #620 from abperiasamy/remove-get-host-url
...
reduce url.Parse dependency
2015-05-16 12:46:40 -07:00
Anand Babu (AB) Periasamy
c6168d3511
reduce url.Parse dependency
2015-05-16 12:43:56 -07:00
Harshavardhana
4f8052b67c
Merge pull request #619 from harshavardhana/pr_out_fix_consistency_of_ls_output
2015-05-16 12:40:44 -07:00
Harshavardhana
d45463ea41
Fix consistency of ls output
2015-05-16 12:39:21 -07:00
Harshavardhana
bae89e2632
Couple of bug fixes in cp command for objectstorage
2015-05-16 12:28:04 -07:00
Anand Babu (AB) Periasamy
066896a1b3
Merge pull request #618 from abperiasamy/remove-cp-methods
...
removed cp-methods.go and renamed files with underscore
2015-05-16 02:38:50 -07:00
Anand Babu (AB) Periasamy
0a25574101
removed cp-methods.go and renamed files with underscore
2015-05-16 02:35:04 -07:00
Harshavardhana
9dc155552d
Merge pull request #617 from harshavardhana/pr_out_some_cleanup_sync_to_be_enabled
2015-05-16 02:17:50 -07:00
Harshavardhana
af7d43dfe6
Some cleanup, sync to be enabled
2015-05-16 02:16:13 -07:00
Harshavardhana
164c8b8eea
Merge pull request #616 from harshavardhana/pr_out_right_fix_for_progressbar_segfault_is_not_not_initiating_finish_for_an_unstarted_progress_bar
2015-05-16 01:44:33 -07:00
Harshavardhana
4527519575
Right fix for progressbar segfault is not not initiating Finish() for an unstarted progress bar
2015-05-16 01:42:54 -07:00
Harshavardhana
ba10419b3a
Revert "Migrate pb to minio/pb with some changes"
...
This reverts commit 0fd38593d6 .
2015-05-16 01:30:12 -07:00
Harshavardhana
abf6796a62
Merge pull request #615 from harshavardhana/pr_out_migrate_pb_to_minio_pb_with_some_changes
2015-05-15 23:30:50 -07:00
Harshavardhana
0fd38593d6
Migrate pb to minio/pb with some changes
2015-05-15 23:29:37 -07:00
Harshavardhana
5709e10e8e
Merge pull request #614 from minio/cp-changes
2015-05-15 23:10:06 -07:00
Anand Babu (AB) Periasamy
90d4b452a9
Copy rewrite
2015-05-15 23:08:39 -07:00
Harshavardhana
13e6311f30
Merge pull request #613 from harshavardhana/pr_out_mc_update_has_no_arguments_and_errors_are_now_meaningful
...
mc update has no arguments and errors are now meaningful
2015-05-15 22:49:45 -07:00
Harshavardhana
25e4eb8b5b
mc update has no arguments and errors are now meaningful
2015-05-15 22:48:43 -07:00
Harshavardhana
a537e64ba4
Merge pull request #612 from harshavardhana/pr_out_update_to_new_changes_in_objecstorage_go
...
Update to new changes in objecstorage-go
2015-05-15 22:28:24 -07:00
Harshavardhana
f8531ea6ec
Update to new changes in objecstorage-go
2015-05-15 22:15:38 -07:00
Harshavardhana
afcd1deac8
Merge pull request #611 from harshavardhana/pr_out_add_dl_minio_io_into_default_config_list
2015-05-15 18:38:43 -07:00
Harshavardhana
538eadc71a
Add dl.minio.io into default config list
2015-05-15 18:37:45 -07:00
Harshavardhana
652c97bf2a
Merge pull request #610 from harshavardhana/pr_out_ignore_multipart_object_etag_string_amazon_doesn_t_guarantee_them_to_be_md5sum_of_the_object
2015-05-15 14:05:42 -07:00
Harshavardhana
fb6808b754
Ignore multipart object Etag string, amazon doesn't guarantee them to be md5sum of the object
2015-05-15 14:03:37 -07:00
Harshavardhana
27e9403a3a
Merge pull request #609 from harshavardhana/pr_out_close_open_files_in_fs_put_this_leads_to_too_many_open_files
2015-05-15 13:58:28 -07:00
Harshavardhana
21943d6416
Close open files in fs_put, this leads to too many open files
2015-05-15 13:54:58 -07:00
Harshavardhana
f687cf16ba
Merge pull request #608 from harshavardhana/pr_out_update_to_new_changes_in_objectstorage_go_fixes_289
2015-05-15 13:08:07 -07:00
Harshavardhana
c2a4e6354c
Update to new changes in objectstorage-go, fixes #289
2015-05-15 13:06:47 -07:00
Harshavardhana
fc0bd85fac
Merge pull request #607 from harshavardhana/pr_out_update_mc_to_new_changes_in_objectstorage_go
...
Update mc to new changes in objectstorage-go
2015-05-14 18:27:22 -07:00
Harshavardhana
74856029a3
Update mc to new changes in objectstorage-go
2015-05-14 18:26:13 -07:00
Harshavardhana
952057e937
Merge pull request #606 from vadmeste/pr_out_add_freebsd_support
...
Add FreeBSD support
2015-05-14 14:15:56 -07:00
Anis Elleuch
4f783ce840
Add FreeBSD support
2015-05-14 21:11:06 +00:00
Harshavardhana
08af4324fd
Merge pull request #605 from harshavardhana/pr_out_do_not_add_region_for_mc_since_mc_treats_with_urls_not_regions
2015-05-13 20:12:41 -07:00
Harshavardhana
f4983de475
Do not add region for mc, since mc treats with URLs not regions
2015-05-13 20:12:13 -07:00
Harshavardhana
88bdf0ee16
Merge pull request #604 from harshavardhana/pr_out_initial_attempt_to_move_mc_to_objecstorage_go
2015-05-13 19:37:54 -07:00
Harshavardhana
e4f9152bcd
If Object size is 0, treat it like a directory for object storage
2015-05-13 19:36:54 -07:00
Harshavardhana
1983717ed9
Update with new changes from objectstorage-go
2015-05-13 19:06:27 -07:00
Harshavardhana
cd93bfd251
Migrate mc s3 client code to objecstorage-go library, now all requests from mc are signature v4 authenticated
2015-05-13 19:05:31 -07:00
Harshavardhana
9eb8314e41
Merge pull request #603 from harshavardhana/pr_out_more_code_moving_from_minio_io_to_minio
2015-05-11 16:44:32 -07:00
Harshavardhana
9c0ff1749c
More code moving from Minio-io to minio
2015-05-11 16:44:19 -07:00
Harshavardhana
e25022a6ed
Merge pull request #602 from harshavardhana/pr_out_move_from_minio_io_to_minio_for_godeps
2015-05-11 16:39:29 -07:00
Harshavardhana
f7b49f741a
Move from minio-io to minio, for Godeps
2015-05-11 16:39:05 -07:00
Harshavardhana
9bd9edfd74
Merge pull request #601 from harshavardhana/pr_out_change_minio_io_to_minio
...
Change minio-io to minio
2015-05-11 16:31:28 -07:00
Harshavardhana
e4a77c7391
Change minio-io to minio
2015-05-11 16:24:26 -07:00
Harshavardhana
8535172a95
Merge pull request #600 from harshavardhana/pr_out_combine_get_and_getpartial_to_be_getobject_with_offset_and_length_parameters
2015-05-11 15:42:52 -07:00
Harshavardhana
1c4351979a
Combine Get() and GetPartial to be GetObject() with offset and length parameters
...
- GetObject(0, 0) does a full download on the object
- GetObject(n, m) does a partial download on the object at offset n upto length m
2015-05-11 15:02:45 -07:00
Harshavardhana
0ff33a2d48
Merge pull request #599 from harshavardhana/pr_out_add_new_option_for_bucket_acl_named_authenticated_read_to_provide_read_access_to_all_users_who_are_part_of_authenticatedusers_group
2015-05-08 21:14:08 -07:00
Harshavardhana
e57e6de098
Add new option for bucket ACL named `authenticated-read`
...
This provides read access to all users who are part of AuthenticatedUsers group
~~~
$ mc access authenticated https://s3.amazonaws.com/bucketname
~~~
2015-05-08 21:12:32 -07:00
Harshavardhana
b7b96ef221
Merge pull request #598 from harshavardhana/pr_out_update_mc_documetation_move_everything_pointing_to_localhost_to_play_minio_io
...
Update mc documetation move everything pointing to localhost to play.minio.io
2015-05-08 20:56:22 -07:00
Harshavardhana
6a6f2ec6f9
Update mc documetation move everything pointing to localhost to play.minio.io
2015-05-08 20:55:05 -07:00
Harshavardhana
5a69d76b93
Set X-Amz-Date properly for mc
2015-05-08 16:09:25 -07:00
Harshavardhana
3dda3a6448
Merge pull request #597 from harshavardhana/pr_out_revert_remove_md5_requirement_for_etag_apparently_we_need_it_
...
Revert "Remove MD5 requirement for ETag" - apparently we need it :(
2015-05-08 15:06:24 -07:00
Harshavardhana
78a9f175e5
Revert "Remove MD5 requirement for ETag" - apparently we need it :(
...
This reverts commit 7103a9433b .
2015-05-08 15:00:41 -07:00
Harshavardhana
c2569d01ff
Merge pull request #596 from harshavardhana/pr_out_remove_md5_requirement_for_etag
2015-05-08 13:31:13 -07:00
Harshavardhana
7103a9433b
Remove MD5 requirement for ETag
2015-05-08 13:28:31 -07:00
Harshavardhana
2994a88f71
Merge pull request #594 from harshavardhana/pr_out_now_listobjectsrecursive_does_more_than_just_1000keys
2015-05-05 01:42:05 -07:00
Harshavardhana
ab76d6d0f6
Now listObjectsRecursive() does more than just 1000keys
2015-05-05 01:40:28 -07:00
Harshavardhana
35613c2dfc
Merge pull request #593 from harshavardhana/pr_out_minor_change_use_write_instead_of_io_writestring_
2015-05-02 22:24:58 -07:00
Harshavardhana
dc86452713
Minor change use .Write() instead of io.WriteString()
2015-05-02 22:23:45 -07:00
Harshavardhana
59a2992bfc
Merge pull request #592 from harshavardhana/pr_out_fix_signature_calculation_bug
2015-05-02 19:58:38 -07:00
Harshavardhana
5023b37850
Fix signature calculation bug
2015-05-02 19:56:58 -07:00
Harshavardhana
1a91919666
Merge pull request #591 from harshavardhana/pr_out_simplifying_further_and_couple_of_bugs_fixed
2015-05-02 16:03:21 -07:00
Harshavardhana
26c09aeba7
Simplifying further and couple of bugs fixed
2015-05-02 16:01:52 -07:00
Harshavardhana
30634205be
Merge pull request #590 from harshavardhana/pr_out_unstruct_client_functions
2015-05-02 14:05:29 -07:00
Harshavardhana
607d86e5c3
Add few more tests
2015-05-02 14:04:29 -07:00
Harshavardhana
f914a059d3
Use console.Debugln instead of log.Debug.Println
2015-05-02 12:32:21 -07:00
Harshavardhana
f4f691f2af
Remove deps on aws-sdk we use our own
2015-05-02 12:00:07 -07:00
Harshavardhana
beab21d3fe
xml to abstract map is not necessary, we should just use struct based
2015-05-02 11:46:35 -07:00
Harshavardhana
766dbfa559
"unstruct client functions"
...
Original-Author: Anand Babu Periasamy <ab@minio.io >
2015-05-02 11:41:30 -07:00
Harshavardhana
62f1b22295
Merge pull request #589 from harshavardhana/pr_out_full_cleanup_of_s3_client_for_mc
2015-05-02 11:29:46 -07:00
Harshavardhana
78a78c072a
Full cleanup of s3 client for mc
2015-05-02 11:28:31 -07:00
Harshavardhana
8010ffe997
Merge pull request #588 from harshavardhana/pr_out_fix_mc_cat_bug_for_sudo_terminals
2015-05-01 21:10:38 -07:00
Harshavardhana
945ae36101
Fix mc cat bug for sudo terminals
2015-05-01 21:09:40 -07:00
Harshavardhana
28315e7492
Merge pull request #585 from harshavardhana/pr_out_osx_support_thanks_to_sri_h2o_ai
2015-05-01 01:12:25 -07:00
Harshavardhana
a0e7b8cfaf
OSX Support :-) - thanks to sri@h2o.ai
2015-05-01 01:09:58 -07:00
Harshavardhana
0eb1fea912
Merge pull request #584 from harshavardhana/pr_out_cmd_update_now_has_a_standard_url
2015-05-01 00:26:55 -07:00
Harshavardhana
d35e75ef4b
Cmd update now has a standard URL
2015-05-01 00:23:15 -07:00
Harshavardhana
c1e6a8a0df
Merge pull request #583 from harshavardhana/pr_out_bucketfromhost_was_buggy_remove_it_we_have_better_ways_to_grab_bucketnames
2015-04-30 21:02:41 -07:00
Harshavardhana
a74dce0412
bucketFromHost() was buggy remove it, we have better ways to grab bucketNames
2015-04-30 21:00:28 -07:00
Frederick F. Kautz IV
011608d60f
Merge pull request #578 from fkautz/pr_out_running_gofmt_version_on_aws_sdk_go
2015-04-30 19:55:25 -07:00
Frederick F. Kautz IV
8cb8cb3405
Running gofmt on aws-sdk-go
2015-04-30 19:53:13 -07:00
Harshavardhana
0de32c8453
Merge pull request #582 from harshavardhana/pr_out_relax_the_requirement_for_accesskey_for_listbuckets_for_non_amazonaws_requests
2015-04-30 16:43:31 -07:00
Harshavardhana
7fe1c4af97
Relax the requirement for AccessKey for listbuckets() for non amazonaws requests
2015-04-30 16:39:10 -07:00
Harshavardhana
e3ede0eba8
Merge pull request #581 from harshavardhana/pr_out_access_validation_only_for_listbuckets_all_others_do_not_explicitly_require_auth_verification
2015-04-30 14:09:56 -07:00
Harshavardhana
c4d954b614
Access validation only for ListBuckets(), all others do not explicitly require Auth verification
2015-04-30 14:05:50 -07:00
Harshavardhana
9833697e0a
Add more fixes and helpful messaging
...
- check for config file for each command, prior to error out properly
- hostconfig doesn't do any key verification, let client s3 verify it as needed
- mc update change URL pointed to dl.minio.io minio server, still not functional yet
2015-04-30 14:03:06 -07:00
Harshavardhana
c061f7d844
Merge pull request #580 from minio-io/revert-579-janitor_client
...
Revert "unstruct client functions"
2015-04-29 21:29:33 -07:00
Harshavardhana
1ceed3dc20
Revert "unstruct client functions"
2015-04-29 21:28:28 -07:00
Anand Babu (AB) Periasamy
3ec4e85f92
Merge pull request #579 from abperiasamy/janitor_client
...
unstruct client functions
2015-04-29 19:07:12 -07:00
Anand Babu (AB) Periasamy
0d191ceb83
unstruct client functions
2015-04-29 19:06:42 -07:00
Harshavardhana
8b7da1b3f3
Merge pull request #577 from harshavardhana/pr_out_add_testing_code_for_cmdaccess_
2015-04-29 14:06:39 -07:00
Harshavardhana
2f9e7d4dbf
Add testing code for CmdAccess()
2015-04-29 14:01:30 -07:00
Harshavardhana
b958e2b83f
Merge pull request #576 from harshavardhana/pr_out_add_missing_info
2015-04-29 12:10:14 -07:00
Harshavardhana
481d5758ef
Add missing info
2015-04-29 12:09:55 -07:00
Harshavardhana
8f50f87914
Merge pull request #575 from harshavardhana/pr_out_fix_the_bug_re_introduced_from_previous_fixes
2015-04-29 01:43:40 -07:00
Harshavardhana
1732243672
Fix the bug re-introduced from previous fixes
2015-04-29 01:43:23 -07:00
Harshavardhana
5c4f5a6b9a
Merge pull request #574 from harshavardhana/pr_out_getbuilddate_should_be_time_time_and_handle_it_gracefully
2015-04-29 00:06:11 -07:00
Harshavardhana
8d68154498
getBuildDate() should be time.Time and handle it gracefully
2015-04-29 00:04:28 -07:00
Harshavardhana
05aff42f7f
Merge pull request #573 from harshavardhana/pr_out_objecturl_in_s3client_should_construct_pathstyle_url
2015-04-28 23:46:33 -07:00
Harshavardhana
47e9a48577
objectURL in s3Client should construct PathStyle URL for non amazon hosts
2015-04-28 23:45:59 -07:00
Harshavardhana
afe28a46f7
Merge pull request #572 from harshavardhana/pr_out_handle_symlink_appropriately_with_mc_ls_for_filesystem
2015-04-28 23:27:50 -07:00
Harshavardhana
5ca4280ea0
Handle symlink appropriately with mc ls for filesystem
2015-04-28 23:26:17 -07:00
Harshavardhana
eb8982882b
Merge pull request #571 from harshavardhana/pr_out_update_cli_and_add_customapphelptemplate
2015-04-28 21:24:04 -07:00
Harshavardhana
fc6c6ff03a
Update cli and add CustomAppHelpTemplate
2015-04-28 21:21:45 -07:00
Harshavardhana
152edd3b30
Merge pull request #570 from harshavardhana/pr_out_update_cli_and_relevant_changes_in_mc
2015-04-28 21:04:06 -07:00
Harshavardhana
dfbc501246
Update cli and relevant changes in mc
2015-04-28 21:02:33 -07:00
Harshavardhana
6e3740d161
Merge pull request #569 from harshavardhana/pr_out_add_documentation_for_update_and_use_pathstyle_for_play_minio_io_for_now
2015-04-28 19:46:29 -07:00
Harshavardhana
1e38777fd2
Add documentation for update, and use PathStyle for play.minio.io for now
2015-04-28 19:45:05 -07:00
Harshavardhana
a7065d9670
Merge pull request #568 from harshavardhana/pr_out_add_play_minio_io_as_default
2015-04-28 19:20:43 -07:00
Harshavardhana
1474fb20db
Add play.minio.io as default
2015-04-28 19:17:59 -07:00
Harshavardhana
ea3b8ffa01
Merge pull request #567 from harshavardhana/pr_out_make_alias_a_subcommand_and_part_of_config_subcommand
2015-04-28 18:24:27 -07:00
Harshavardhana
6e426b2939
Make alias a subcommand and part of config subcommand
2015-04-28 18:23:02 -07:00
Harshavardhana
aa8d133943
Merge pull request #566 from harshavardhana/pr_out_handle_errors_properly_in_cp
2015-04-28 17:47:57 -07:00
Harshavardhana
89ecd00f93
Handle errors properly in cp
2015-04-28 17:45:19 -07:00
Harshavardhana
700b34c57c
Merge pull request #565 from harshavardhana/pr_out_implement_sync_command_for_single_source_multiple_targets
2015-04-28 13:25:11 -07:00
Harshavardhana
29562bc887
Implement sync command for single source multiple targets
2015-04-28 13:06:56 -07:00
Harshavardhana
8ba6261e18
Make getURL - getExpandedURL
2015-04-28 12:50:44 -07:00
Harshavardhana
46308dc6ad
Merge pull request #564 from fkautz/pr_out_updating_from_go1_4_1_to_go1_4_2
2015-04-28 12:39:40 -07:00
Harshavardhana
3717cbf23c
Merge pull request #563 from harshavardhana/pr_out_add_mc_cp_to_support_source1_source2_target
2015-04-28 12:39:35 -07:00
Frederick F. Kautz IV
ba12fb7ce6
Updating from go1.4.1 to go1.4.2
2015-04-28 12:37:43 -07:00
Harshavardhana
8ffd8d0f26
User folder instead of directories in documentation
2015-04-28 12:15:09 -07:00
Harshavardhana
23cee677b7
Add ./mc cp to support <source1> <source2> <target>
2015-04-28 11:59:48 -07:00
Harshavardhana
79fc597dd0
Merge pull request #562 from harshavardhana/pr_out_bring_old_documentation_back
2015-04-28 11:24:05 -07:00
Harshavardhana
744ed7dcd1
Bring old documentation back
2015-04-28 11:03:34 -07:00
Harshavardhana
c3b79d24f4
Merge pull request #561 from harshavardhana/pr_out_review_code_comments_and_restructure_part_of_451
2015-04-28 02:52:32 -07:00
Harshavardhana
e79bd7a4d5
Review code comments and restructure, part of #451
2015-04-28 02:51:17 -07:00
Harshavardhana
f22819d93b
Merge pull request #560 from harshavardhana/pr_out_review_comments_part_of_451
2015-04-28 02:37:17 -07:00
Harshavardhana
41637a2155
Review comments, part of #451
2015-04-28 02:35:46 -07:00
Harshavardhana
d5a65b0460
Merge pull request #559 from harshavardhana/pr_out_update_ls_docs_and_fix_a_bug
2015-04-27 21:26:01 -07:00
Harshavardhana
bb065502dd
Update ls docs and fix a bug
2015-04-27 21:20:21 -07:00
Harshavardhana
1e9728b7df
Merge pull request #558 from harshavardhana/pr_out_non_recursive_ls_fixes_479
2015-04-27 20:58:55 -07:00
Harshavardhana
f24a42a32b
Non recursive ls - fixes #479
2015-04-27 20:57:17 -07:00
Harshavardhana
d3de408292
Merge pull request #557 from harshavardhana/pr_out_fix_a_datarace_in_testcmdcatfile_testcmdcatobject_test_cases
2015-04-27 17:55:43 -07:00
Harshavardhana
4df161e14f
Fix a datarace in TestCmdCatFile/TestCmdCatObject test cases
2015-04-27 17:54:04 -07:00
Harshavardhana
91855f335d
Another change to get ./mc cp closer to unix cp
2015-04-27 17:49:39 -07:00
Harshavardhana
944acb7040
Merge pull request #556 from harshavardhana/pr_out_update_cp_documentation_no_multi_target
2015-04-27 16:48:55 -07:00
Harshavardhana
dbf388863d
Update cp documentation no multi target
2015-04-27 16:47:06 -07:00
Harshavardhana
b9a53bbf14
Merge pull request #555 from harshavardhana/pr_out_erroneous_console_prefix_being_printed
2015-04-27 16:36:42 -07:00
Harshavardhana
eaa16201fc
Erroneous console prefix being printed
2015-04-27 16:36:28 -07:00
Harshavardhana
e342bfa197
Merge pull request #553 from harshavardhana/pr_out_implement_multipart_upload_library_functions
2015-04-27 14:49:44 -07:00
Harshavardhana
5468c97f0e
Implement multipart upload library functions
2015-04-27 14:41:13 -07:00
Harshavardhana
8e72dafdd9
Merge pull request #552 from harshavardhana/pr_out_fix_cmd_access_retry_code
2015-04-27 13:23:12 -07:00
Harshavardhana
dd8672a6ce
Fix cmd-access retry code
2015-04-27 13:21:02 -07:00
Harshavardhana
a99f5e1b36
Merge pull request #551 from harshavardhana/pr_out_adding_proper_builddate_now_through_ldflags
2015-04-27 13:09:39 -07:00
Harshavardhana
a5f63483bf
Adding proper buildDate, now through ldflags
2015-04-27 13:08:04 -07:00
Harshavardhana
4ba29a14f1
Merge pull request #550 from harshavardhana/pr_out_make_sure_to_set_the_date_s_properly_in_s3client
2015-04-27 04:32:18 -07:00
Harshavardhana
877d32236c
Make sure to set the Date's properly in s3Client
2015-04-27 04:30:49 -07:00
Harshavardhana
f0842dbb6d
Merge pull request #549 from harshavardhana/pr_out_fix_for_439_simplify_config_handling
...
Fix for #439 - simplify config handling
2015-04-26 19:17:53 -07:00
Harshavardhana
9711642f1d
Fix for #439 - simplify config handling
2015-04-26 19:16:12 -07:00
Harshavardhana
c57c3ddbf6
Make cmd-config simpler, context processing happens only by one function
2015-04-26 19:11:38 -07:00
Harshavardhana
78a46f02b8
Merge pull request #548 from harshavardhana/pr_out_fix_an_error_in_recursive_behavior_for_filesystem
...
Fix an error in recursive behavior for filesystem
2015-04-26 17:53:26 -07:00
Harshavardhana
7b55d29a80
Fix an error in recursive behavior for filesystem
2015-04-26 17:52:19 -07:00
Harshavardhana
82cc2c2bee
Merge pull request #547 from harshavardhana/pr_out_re_implement_s3tests_with_minio_io_check_fixes_432
...
Re-implement s3tests with minio-io/check - fixes #432
2015-04-26 16:56:37 -07:00
Harshavardhana
81379a01c7
Re-implement s3tests with minio-io/check - fixes #432
2015-04-26 16:55:10 -07:00
Harshavardhana
b366d55f35
Merge pull request #546 from harshavardhana/pr_out_recursive_copy_with_prefix_works_now_fixes_496
2015-04-26 16:04:17 -07:00
Harshavardhana
511416b0f9
Recursive copy with prefix works now fixes - #496
2015-04-26 16:02:57 -07:00
Harshavardhana
2a15316d66
Merge pull request #544 from harshavardhana/pr_out_re_implement_cp_make_it_closer_to_regular_unix_cp
2015-04-26 15:26:06 -07:00
Harshavardhana
a9317ba22f
Add recursive copy
2015-04-26 15:24:16 -07:00
Harshavardhana
339ecbe4ac
Update documentation
2015-04-26 04:59:39 -07:00
Harshavardhana
17f9a0e18e
Now mc cat is multi source
2015-04-26 04:59:39 -07:00
Harshavardhana
8eefa26719
Re-implement cp make it closer to regular unix cp
2015-04-26 04:59:39 -07:00
Harshavardhana
59441175d1
Merge pull request #545 from harshavardhana/pr_out_update_cli_with_new_changes
2015-04-26 04:58:56 -07:00
Harshavardhana
51f3448ff8
Update cli with new changes
2015-04-26 04:58:04 -07:00
Anand Babu (AB) Periasamy
fc09bf65ee
Merge pull request #543 from abperiasamy/md5sum-path-bug
...
fixes md5sum version bug when the binary is not found on current dir
2015-04-26 02:54:38 -07:00
Anand Babu (AB) Periasamy
d495a0f64f
fixes md5sum version bug when the binary is not found on current dir
2015-04-26 02:36:38 -07:00
Harshavardhana
dd8733de75
Merge pull request #542 from harshavardhana/pr_out_add_proper_retry_mechanisms_and_print_that_in_magenta_color
2015-04-25 23:10:12 -07:00
Harshavardhana
62750317d4
Add proper retry() mechanisms and print that in Magenta color
2015-04-25 23:08:44 -07:00
Harshavardhana
eb6f73b639
Merge pull request #541 from harshavardhana/pr_out_ignore_if_the_keys_are_still_based_on_default_configuration
2015-04-25 21:34:30 -07:00
Harshavardhana
34d2ca98a3
Ignore if the keys are still based on default configuration
2015-04-25 21:31:05 -07:00
Harshavardhana
ac26070fed
Merge pull request #540 from harshavardhana/pr_out_merge_fs_from_unix_and_windows_there_are_no_further_differences
2015-04-25 00:48:02 -07:00
Harshavardhana
93cb35e847
Merge fs from unix and windows, there are no further differences
2015-04-25 00:45:23 -07:00
Harshavardhana
fcf5e39f56
Merge pull request #539 from harshavardhana/pr_out_add_license_and_create_a_new_file_license_google
2015-04-24 21:18:10 -07:00
Harshavardhana
31ddab431e
Add license and create a new file LICENSE.GOOGLE
2015-04-24 21:17:01 -07:00
Anand Babu (AB) Periasamy
fbcb93b766
Merge pull request #538 from abperiasamy/hashbin
...
Version is now based on MD5SUM of its binary
2015-04-24 20:49:51 -07:00
Harshavardhana
58fa59a144
Merge pull request #537 from harshavardhana/pr_out_simplify_cat_by_using_put_since_now_put_supports_calculating_md5sum_internally_and_report_errors_on_close_
2015-04-24 20:47:50 -07:00
Harshavardhana
d291706014
Simplify cat by using Put(), since now Put() supports calculating md5sum internally
...
and report errors on Close()
2015-04-24 20:46:43 -07:00
Anand Babu (AB) Periasamy
e359d125a5
Version is now based on MD5SUM of its binary
2015-04-24 20:46:42 -07:00
Harshavardhana
9fb94c72a1
Filesystem now calculates md5sum and returns
2015-04-24 20:15:57 -07:00
Frederick F. Kautz IV
155239996f
Merge pull request #535 from fkautz/pr_out_deleting_unnecessary_gitattributes
2015-04-24 20:07:16 -07:00
Frederick F. Kautz IV
333ea21160
Deleting unnecessary gitattributes
2015-04-24 20:04:37 -07:00
Frederick F. Kautz IV
fa56120e90
Merge pull request #534 from fkautz/pr_out_version_number_now_set_through_ldflags_in_makefile
2015-04-24 20:00:14 -07:00
Frederick F. Kautz IV
daf36c40e6
Version number now set through ldflags in makefile
2015-04-24 19:59:22 -07:00
Harshavardhana
f8ac1b96d1
Move blockingwriter to client interface
2015-04-24 19:38:14 -07:00
Harshavardhana
3b176633d0
Merge pull request #533 from harshavardhana/pr_out_do_not_attempt_stat_for_destination_fixes_copy_to_objectstorage_bug
2015-04-24 14:03:41 -07:00
Harshavardhana
b4c70f1a95
Do not attempt Stat() for destination fixes copy to objectstorage bug
2015-04-24 14:02:29 -07:00
Anand Babu (AB) Periasamy
a3d46f5930
Merge pull request #532 from abperiasamy/scrolling-progressbar-bug
...
fix scrolling progressbar bug
2015-04-24 12:03:25 -07:00
Anand Babu (AB) Periasamy
409309442e
fix scrolling progressbar bug
2015-04-24 12:01:28 -07:00
Harshavardhana
c1f0409792
Merge pull request #531 from harshavardhana/pr_out_merge_getobjectmetadata_into_stat_now_stat_returns_properly_using_filetype
2015-04-24 11:18:48 -07:00
Harshavardhana
04fc519ce2
Merge GetObjectMetadata() into Stat(), now Stat() returns properly using FileType
...
FileType is going to be used to differentiate between directory, file/bucket, object respectively
2015-04-24 11:16:27 -07:00
Anand Babu (AB) Periasamy
cbaae55d0a
Merge pull request #530 from abperiasamy/stderr
...
Console outputs Fatal, Error and Debug messages on os.stderr
2015-04-24 04:05:28 -07:00
Anand Babu (AB) Periasamy
514b848d46
Console outputs Fatal, Error and Debug messages on os.stderr
2015-04-24 04:01:55 -07:00
Harshavardhana
030c4fc82c
Merge pull request #529 from harshavardhana/pr_out_implement_access_command
...
Implement access command
2015-04-24 02:11:30 -07:00
Harshavardhana
4e05b59298
Implement access command
2015-04-24 02:09:27 -07:00
Harshavardhana
27eecfcb9f
Merge pull request #528 from harshavardhana/pr_out_make_some_doc_changes_to_cat_cmd
2015-04-23 23:17:09 -07:00
Harshavardhana
bc68f1d9f4
Make some doc changes to cat cmd
2015-04-23 23:16:02 -07:00
Harshavardhana
d5f4c1531c
Merge pull request #527 from harshavardhana/pr_out_add_buckets_to_have_same_coloring_as_directories
2015-04-23 22:45:18 -07:00
Harshavardhana
518fa8a2cf
Add buckets to have same coloring as directories
2015-04-23 22:44:05 -07:00
Harshavardhana
86c5986df3
Merge pull request #526 from harshavardhana/pr_out_print_ls_with_special_color_for_directories
2015-04-23 21:37:25 -07:00
Frederick F. Kautz IV
520ae61b15
Merge pull request #525 from fkautz/pr_out_running_goimports_on_cmd_cat_go
2015-04-23 21:37:17 -07:00
Harshavardhana
17d0f05560
Print ls with special color for directories
2015-04-23 21:36:12 -07:00
Frederick F. Kautz IV
e2ed40f638
Running goimports on cmd-cat.go
2015-04-23 21:36:09 -07:00
Frederick F. Kautz IV
0695460549
Merge pull request #524 from fkautz/pr_out_adding_copyright_to_cmd_cat_go
2015-04-23 21:33:58 -07:00
Frederick F. Kautz IV
15fe8c2329
Adding copyright to cmd-cat.go
2015-04-23 21:32:40 -07:00
Frederick F. Kautz IV
fa825b57b4
Merge pull request #522 from fkautz/pr_out_fix_md5sum_failing_on_success
2015-04-23 21:29:38 -07:00
Frederick F. Kautz IV
01ebdd418c
Fix md5sum failing on success
2015-04-23 21:28:25 -07:00
Anand Babu (AB) Periasamy
4540e4e3c6
Merge pull request #523 from abperiasamy/error-msg-review
...
console enhancements, consistent error message and janitor duty - fixes #431
2015-04-23 21:28:11 -07:00
Anand Babu (AB) Periasamy
c09ce54090
console enhancements, consistent error message and janitor duty
2015-04-23 21:25:10 -07:00
Frederick F. Kautz IV
4f2b4f9881
Merge pull request #521 from fkautz/pr_out_removing_completed_todos
2015-04-23 20:57:43 -07:00
Frederick F. Kautz IV
7f05e34bf1
Removing completed TODOs
2015-04-23 20:56:49 -07:00
Frederick F. Kautz IV
57a8f21fe8
Merge pull request #520 from fkautz/pr_out_removing_unnecessary_error_suppression_code_from_cat
2015-04-23 20:55:52 -07:00
Frederick F. Kautz IV
5da118366a
Removing unnecessary error suppression code from cat
2015-04-23 20:54:43 -07:00
Frederick F. Kautz IV
54e8b2d422
Merge pull request #519 from fkautz/pr_out_adding_human_readable_error_messages_to_cat
2015-04-23 20:53:29 -07:00
Frederick F. Kautz IV
a640af6043
Adding human readable error messages to cat
2015-04-23 20:52:33 -07:00
Harshavardhana
0657b87018
Merge pull request #518 from harshavardhana/pr_out_migrate_fully_to_list_with_channel_everywhere_deprecate_old_list_api
2015-04-23 20:38:04 -07:00
Harshavardhana
9f97409362
Migrate fully to List() with channel everywhere, deprecate old List() API
2015-04-23 20:36:44 -07:00
Frederick F. Kautz IV
47e6784da4
Merge pull request #517 from fkautz/pr_out_adding_error_messages
2015-04-23 20:34:50 -07:00
Frederick F. Kautz IV
39c336bbd1
Adding error messages
2015-04-23 20:33:22 -07:00
Frederick F. Kautz IV
234ff7e7c1
Merge pull request #516 from fkautz/pr_out_returning_1_on_cat_error
2015-04-23 20:28:27 -07:00
Frederick F. Kautz IV
fcece3b238
Returning 1 on cat error
2015-04-23 20:26:02 -07:00
Frederick F. Kautz IV
142e569527
Merge pull request #515 from fkautz/pr_out_adding_mc_cat
2015-04-23 20:23:56 -07:00
Frederick F. Kautz IV
1843bd7fc9
Adding mc cat
2015-04-23 20:23:01 -07:00
Harshavardhana
6f8bac1e95
Merge pull request #514 from harshavardhana/pr_out_add_listonchannel_for_fs_unix_windows_and_cmd_ls
2015-04-23 20:05:37 -07:00
Harshavardhana
972c476e36
Add ListOnChannel() for fs{unix,windows} and cmd-ls
2015-04-23 20:02:48 -07:00
Frederick F. Kautz IV
59356a443b
Merge pull request #511 from fkautz/pr_out_fixing_panic
2015-04-23 19:22:13 -07:00
Frederick F. Kautz IV
7b6f264529
Fixing panic
2015-04-23 19:07:27 -07:00
Harshavardhana
1f0d1547c7
Merge pull request #512 from harshavardhana/pr_out_cleanup_s3_api_further
2015-04-23 19:04:48 -07:00
Harshavardhana
e6fea12bc2
Cleanup s3 API further
2015-04-23 18:57:30 -07:00
Harshavardhana
87e6aba02b
Merge pull request #509 from harshavardhana/pr_out_listonchannel_now_listbuckets_and_objects_through_channel_replies
2015-04-23 18:05:41 -07:00
Harshavardhana
527b1ca96d
ListOnChannel() - now listbuckets and objects through channel replies.
...
Still doesn't do full recursive of all objects based on marker, that is the next step.
2015-04-23 18:01:12 -07:00
Harshavardhana
431143f7d0
Merge pull request #508 from abperiasamy/win-ls-single-item-bug
2015-04-23 16:05:07 -07:00
Harshavardhana
687e24c5a6
Merge pull request #507 from harshavardhana/pr_out_return_proper_err_back_from_put_through_response
2015-04-23 16:04:16 -07:00
Harshavardhana
33dbf0e16c
Return proper err back from Put() through response
...
This still doesn't fix the issue of progress bar completion, since there are no
Closers() involved for progress bar and multiwriter. A Write() wouldn't fail
for a 403 if the. So io.CopyN has no way to reply back proper error.
2015-04-23 16:02:24 -07:00
Anand Babu (AB) Periasamy
1a83cf3c5c
do find style listing on windows as well
2015-04-23 16:02:16 -07:00
Harshavardhana
6be627246b
Merge pull request #506 from harshavardhana/pr_out_ignore_signrequest_for_get_and_getpartial_if_accesskeys_are_empty_missed_from_previous_commit
2015-04-23 14:29:26 -07:00
Harshavardhana
45951e3f13
Ignore signRequest for Get() and GetPartial() if accesskeys are empty, missed from previous commit
2015-04-23 14:27:57 -07:00
Harshavardhana
ef5b20dc2f
Merge pull request #505 from harshavardhana/pr_out_now_bucket_creation_requires_a_simple_cannedacls_to_start_with
2015-04-23 14:25:01 -07:00
Harshavardhana
c120a5853d
Now bucket creation requires a simple CannedACLs to start with
...
$ ./mc mb <acl_type> <target>
2015-04-23 14:22:48 -07:00
Anand Babu (AB) Periasamy
2177a82b6d
Merge pull request #504 from abperiasamy/ls-single-item-bug
...
fix dir listing bug and find style output
2015-04-23 12:59:48 -07:00
Anand Babu (AB) Periasamy
0a50606cbd
fix dir listing bug and find style output
2015-04-23 12:50:31 -07:00
Harshavardhana
256d7c4443
Merge pull request #503 from harshavardhana/pr_out_add_bucket_acl_support
2015-04-23 12:30:42 -07:00
Harshavardhana
c8ca983373
Just Stat() the bucket on targets, buckets should be created through ./mc mb
2015-04-23 12:27:58 -07:00
Harshavardhana
4e53814cc3
Add bucket ACL support
2015-04-23 12:10:51 -07:00
Anand Babu (AB) Periasamy
e9de80ebac
Merge pull request #502 from abperiasamy/no-color-for-win
...
no color for win for now
2015-04-23 03:14:27 -07:00
Anand Babu (AB) Periasamy
94d89c2181
no color for win for now
2015-04-23 03:10:36 -07:00
Anand Babu (AB) Periasamy
36dd68344e
Merge pull request #501 from abperiasamy/ls-humanize-size
...
Humanize ls size field
2015-04-23 01:48:19 -07:00
Anand Babu (AB) Periasamy
61779502fb
Humanize ls size field
2015-04-23 01:46:05 -07:00
Anand Babu (AB) Periasamy
59497020f2
Merge pull request #500 from abperiasamy/theme-fields
...
Theme fields
2015-04-23 01:24:37 -07:00
Anand Babu (AB) Periasamy
eb29760aec
update console package and add additional nocolor check
2015-04-23 01:17:50 -07:00
Anand Babu (AB) Periasamy
16e8cec82a
field specific color theme
2015-04-23 01:02:17 -07:00
Anand Babu (AB) Periasamy
f92babe623
Merge pull request #499 from abperiasamy/theme-improvements
...
console theme improvements
2015-04-22 18:09:46 -07:00
Anand Babu (AB) Periasamy
b923232e9f
console theme improvements
2015-04-22 18:05:42 -07:00
Harshavardhana
41fd17db50
Merge pull request #498 from harshavardhana/pr_out_a_parial_fix_for_496_strip_down_objectprefixes_during_list_
...
A parial fix for #496 , strip down objectPrefixes during List()
2015-04-22 14:02:07 -07:00
Harshavardhana
e4b122ee9d
A parial fix for #496 , strip down objectPrefixes during List()
2015-04-22 13:58:48 -07:00
Harshavardhana
ee92e6de8b
Merge pull request #497 from harshavardhana/pr_out_fix_a_crash_on_windows_when_source_is_malformed
2015-04-22 13:22:27 -07:00
Harshavardhana
7ec954a78b
Fix a crash on windows when source is malformed
2015-04-22 13:20:02 -07:00
Frederick F. Kautz IV
10ad6465ee
Merge pull request #495 from fkautz/pr_out_remove_printing_stack_trace_in_cmd_cp_recursive
2015-04-22 12:12:14 -07:00
Frederick F. Kautz IV
d8e4a77280
Remove printing stack trace in cmd cp recursive
2015-04-22 12:09:32 -07:00
Harshavardhana
957ab79328
Fix a typo, pushing it in
2015-04-22 11:59:56 -07:00
Harshavardhana
63c9d93469
Merge pull request #494 from harshavardhana/pr_out_make_default_client_type_as_filesystem
2015-04-22 11:56:44 -07:00
Harshavardhana
3af75c8aba
Make default client type as Filesystem
2015-04-22 11:53:27 -07:00
Harshavardhana
24ba355be7
Merge pull request #493 from harshavardhana/pr_out_fix_error_path_variable_on_windows
2015-04-22 11:27:03 -07:00
Harshavardhana
60ec7d2713
Fix error path variable on Windows
2015-04-22 11:24:36 -07:00
Harshavardhana
131a1e6b7f
Merge pull request #492 from harshavardhana/pr_out_reply_messages_from_docopycmdrecursive_and_do_not_exit_on_errors_during_docopycmd_
2015-04-22 01:43:35 -07:00
Harshavardhana
d5b0edc7c0
Reply messages from doCopyCmdRecursive() and do not exit on errors during doCopyCmd()
2015-04-22 01:41:13 -07:00
Harshavardhana
cde3fb6161
Merge pull request #491 from harshavardhana/pr_out_disallow_bucket_creation_with_uppercase_letters
2015-04-22 01:34:41 -07:00
Harshavardhana
dc200a62fc
Disallow `bucket` creation with uppercase letters
2015-04-22 01:22:22 -07:00
Harshavardhana
10d1c13a0b
Merge pull request #490 from harshavardhana/pr_out_handle_errors_properly_also_remove_need_for_normalizing_path_on_windows
2015-04-22 00:18:37 -07:00
Harshavardhana
0eaf7ec5b4
Handle errors properly, also remove need for normalizing path on windows
2015-04-22 00:17:01 -07:00
Harshavardhana
629a4c1cd4
Merge pull request #488 from harshavardhana/pr_out_fix_listcmd_makebucketcmd_for_multi_target
2015-04-21 16:35:50 -07:00
Frederick F. Kautz IV
8f193cb651
Merge pull request #487 from fkautz/pr_out_fixing_errors_in_docopycmd
2015-04-21 16:31:12 -07:00
Harshavardhana
e3c1b8eabc
Fix ListCmd() MakeBucketCmd() for multi target
2015-04-21 16:29:33 -07:00
Frederick F. Kautz IV
2ba56b286c
Fixing errors in doCopyCmd
2015-04-21 16:26:30 -07:00
Harshavardhana
9f3e7b5621
Merge pull request #486 from abperiasamy/url-escape
...
replace net/url parser with simple filepath parsing
2015-04-21 16:11:51 -07:00
Frederick F. Kautz IV
9fb3e76e3a
Merge pull request #485 from fkautz/pr_out_removing_duplication_in_docopycmdrecursive_now_depends_on_docopycmd
2015-04-21 16:09:27 -07:00
Anand Babu (AB) Periasamy
5a7b8da98d
replace net/url parser with simple filepath parsing
2015-04-21 16:05:16 -07:00
Frederick F. Kautz IV
3ae23a9a85
Removing duplication in doCopyCmdRecursive, now depends on doCopyCmd
2015-04-21 16:03:40 -07:00
Harshavardhana
8813ecd24d
Merge pull request #484 from harshavardhana/pr_out_remove_r_introduct_as_recursive_keyword
2015-04-21 15:44:06 -07:00
Harshavardhana
2474545a45
Remove -r introduce ... as recursive keyword
2015-04-21 15:41:30 -07:00
Harshavardhana
15bda586f0
Merge pull request #483 from harshavardhana/pr_out_add_support_for_127_0_0_1_as_well_fixes_467
2015-04-21 15:19:51 -07:00
Harshavardhana
3ac36d1f95
Add skip localhost and 127.0.0.1 - treat them as special case in getHostConfig - fixes #467
2015-04-21 15:15:20 -07:00
Harshavardhana
84a82143bc
Merge pull request #478 from harshavardhana/pr_out_migrate_to_quick_config_qdb_takes_the_high_road
2015-04-21 13:54:14 -07:00
Harshavardhana
095ae11caf
Migrate to quick Config, qdb takes the high road
2015-04-21 13:47:46 -07:00
Frederick F. Kautz IV
776d554cad
Merge pull request #476 from fkautz/pr_out_minor_formatting_cleanup
2015-04-21 12:45:15 -07:00
Frederick F. Kautz IV
c608a142f9
Minor formatting cleanup
2015-04-21 12:33:32 -07:00
Harshavardhana
6a1065459f
Merge pull request #475 from harshavardhana/pr_out_rename_q_quick
...
Rename q --> quick
2015-04-21 11:45:42 -07:00
Harshavardhana
aae9ee1327
Rename q --> quick
2015-04-21 11:32:25 -07:00
Harshavardhana
173fcf06bb
Merge pull request #474 from harshavardhana/pr_out_rename_qconfig_as_q_as_it_makes_sense_to_call_it_q_config_instead_of_qconfig_config
2015-04-21 03:25:01 -07:00
Harshavardhana
90825c5ff9
Rename qconfig as q as it makes sense to call it q.Config instead of qconfig.Config
...
- one more test added for CheckData()
2015-04-21 03:22:14 -07:00
Anand Babu (AB) Periasamy
100c5a9db7
Merge pull request #473 from abperiasamy/qconfig
...
qconfig for config and state files
2015-04-21 01:23:17 -07:00
Anand Babu (AB) Periasamy
c6a1799a0f
qconfig for config and state files
2015-04-21 01:21:09 -07:00
Harshavardhana
2cc6db2162
Merge pull request #472 from harshavardhana/pr_out_implement_simple_authkey_and_console_tests
2015-04-21 01:15:42 -07:00
Harshavardhana
b42d3a3af7
Implement simple authkey and console tests
2015-04-21 01:14:28 -07:00
Harshavardhana
6adb5e5217
Move getHostConfig() outside of getNewClient(), waiting on new qConfig to simplify this further
2015-04-21 01:14:28 -07:00
Frederick F. Kautz IV
cd5cad755f
Merge pull request #471 from fkautz/pr_out_adding_comment
2015-04-20 21:02:43 -07:00
Frederick F. Kautz IV
9e3ca3a92f
Adding comment
2015-04-20 21:01:41 -07:00
Frederick F. Kautz IV
ff698f1c1a
Merge pull request #470 from fkautz/pr_out_adding_more_tests_for_cp_fixing_few_minor_bugs
2015-04-20 20:54:37 -07:00
Frederick F. Kautz IV
02c2616dc4
Adding more tests for cp, fixing few minor bugs
2015-04-20 20:53:20 -07:00
Frederick F. Kautz IV
0c8d955e73
Merge pull request #469 from fkautz/pr_out_full_coverage_of_domb
2015-04-20 19:38:20 -07:00
Frederick F. Kautz IV
e61639897d
Full coverage of doMb
2015-04-20 19:35:56 -07:00
Harshavardhana
f818440833
Merge pull request #468 from harshavardhana/pr_out_windows_fixes_for_get_getobjectmetadata_and_list_
...
Windows fixes for Get(), GetObjectMetadata() and List()
2015-04-20 18:07:34 -07:00
Harshavardhana
d7e4be17b0
Windows fixes for Get(), GetObjectMetadata() and List()
2015-04-20 18:04:17 -07:00
Frederick F. Kautz IV
59ebf12a6f
Merge pull request #466 from fkautz/pr_out_adding_tests_for_cmd_common_isvalidretry
2015-04-20 17:03:40 -07:00
Frederick F. Kautz IV
ca64587c96
Adding tests for cmd-common isValidRetry
2015-04-20 17:01:44 -07:00
Frederick F. Kautz IV
6109b2a6ff
Merge pull request #465 from fkautz/pr_out_removing_unnecessary_match
2015-04-20 16:28:52 -07:00
Frederick F. Kautz IV
a8e97f35a5
Removing unnecessary match
2015-04-20 16:27:15 -07:00
Harshavardhana
1bf61f990d
Merge pull request #463 from harshavardhana/pr_out_add_filesystem_windows_support_also_cannot_reproduce_281_anymore_fixes_281
2015-04-20 16:17:46 -07:00
Harshavardhana
ccd63ab302
Add filesystem Windows support, also cannot reproduce #281 anymore - fixes #281
2015-04-20 16:15:21 -07:00
Frederick F. Kautz IV
b940312b13
Merge pull request #462 from fkautz/pr_out_adding_auth_tests
2015-04-20 15:42:19 -07:00
Frederick F. Kautz IV
e2bae764fa
Adding auth tests
2015-04-20 15:28:46 -07:00
Frederick F. Kautz IV
bba4b46c87
Merge pull request #460 from fkautz/pr_out_updating_clbanning_mxj
2015-04-20 15:16:27 -07:00
Frederick F. Kautz IV
7b0a4a9da6
Updating clbanning/mxj
2015-04-20 15:13:36 -07:00
Harshavardhana
5e3368c04a
Merge pull request #461 from harshavardhana/pr_out_make_sure_to_properly_exit_if_requested_theme_not_available_also_re_structure_console_package_a_bit
2015-04-20 13:22:23 -07:00
Harshavardhana
af1cb1b478
Make sure to properly exit if requested theme not available, also re-structure console package a bit
2015-04-20 13:19:52 -07:00
Frederick F. Kautz IV
0c7805e65f
Merge pull request #459 from fkautz/pr_out_renaming_statbucket_to_stat
2015-04-20 12:52:22 -07:00
Frederick F. Kautz IV
33869c524a
Renaming StatBucket to Stat
2015-04-20 12:47:11 -07:00
Harshavardhana
cce6a25b14
Merge pull request #458 from harshavardhana/pr_out_fix_a_bug_introduced_in_qdb_migration_commit_27d87fdd8ec268446c238009cb86af1b255582dc_when_config_file_doesn_t_exist
2015-04-20 12:25:35 -07:00
Harshavardhana
12a7895710
Fix a bug introduced in qdb migration commit 27d87fdd8e when config file doesn't exist
2015-04-20 12:23:21 -07:00
Harshavardhana
9a5d145f33
Merge pull request #457 from harshavardhana/pr_out_for_mc_cp_if_target_doesn_t_have_a_bucket_try_to_create_one_just_like_its_recursive_version
2015-04-20 02:41:11 -07:00
Harshavardhana
94ca6ffac1
For ./mc cp if target doesn't have a bucket try to create one, just like its recursive version
2015-04-20 02:37:28 -07:00
Harshavardhana
a4c1d26ccb
Implement fsClient tests - fixes #433
2015-04-20 02:34:06 -07:00
Harshavardhana
f0aceedbd3
Merge pull request #456 from harshavardhana/pr_out_add_missing_assertexpectations_for_previous_commit
2015-04-20 01:19:23 -07:00
Harshavardhana
a2b886a6e9
Add missing AssertExpectations() for previous commit
2015-04-20 01:17:52 -07:00
Harshavardhana
7adbf1b800
Merge pull request #455 from harshavardhana/pr_out_enable_testcopyrecursive_back_test_passes_cleanly_now
2015-04-20 01:10:42 -07:00
Harshavardhana
d66898048d
Enable TestCopyRecursive() back, test passes cleanly now
2015-04-20 01:05:21 -07:00
Harshavardhana
0951211515
Merge pull request #454 from harshavardhana/pr_out_add_a_new_retry_flag_to_change_default_retry_count
2015-04-19 22:47:45 -07:00
Harshavardhana
d407c753c5
Add a new --retry flag to change default retry count
2015-04-19 22:46:23 -07:00
Harshavardhana
e728cd9857
Add 'isValidRetry()' to retry for only network level errors
2015-04-19 22:46:00 -07:00
Harshavardhana
5d2da2ff30
./mc ls and mb were printing redundant prefixes - fix them
2015-04-19 22:02:39 -07:00
Harshavardhana
d420a59025
Merge pull request #453 from harshavardhana/pr_out_fix_incomplete_progressbar_problem_we_should_proactively_finish_progressbar_fixes_452
2015-04-19 21:44:26 -07:00
Harshavardhana
51032e9773
Fix incomplete progressBar problem, we should proactively .Finish() progressbar - fixes #452
...
Previously wouldn't flush out remaining data, it would work for Object Storage
Get()/Put() due to invariable delays and overhead.
2015-04-19 21:40:48 -07:00
Harshavardhana
87a230ea11
Update Godeps mxj and pb
2015-04-19 21:27:42 -07:00
Harshavardhana
7afa620afa
Merge pull request #444 from harshavardhana/pr_out_now_clients_only_take_urls
2015-04-19 19:58:33 -07:00
Harshavardhana
f37412777a
Fix various merge conflicts, TestCopyRecursive() disabled for now will renable after fixing it
2015-04-19 19:56:29 -07:00
Harshavardhana
ac4e5a88b8
Add help as reserved argument for aliasName
2015-04-19 19:39:59 -07:00
Harshavardhana
7487f6fe9c
Print proper messages in retry() loop
2015-04-19 19:39:59 -07:00
Harshavardhana
a2098d865c
Remove redundant config check command, config is validated at mc start anyways
2015-04-19 19:39:03 -07:00
Harshavardhana
df94fdf08a
Rename parseURL to getURL, since parsing is outside of mc context now
2015-04-19 19:39:02 -07:00
Harshavardhana
8bc587b8cf
Now clients only take URLs - fixes #425
...
- Interface change, takes only minimal arguments
- Passing URLs all the way down
- Bucket and Object awareness only at per client level
2015-04-19 19:39:02 -07:00
Frederick F. Kautz IV
8a0958776e
Merge pull request #447 from fkautz/pr_out_adding_more_error_returning_for_ls_cmd
2015-04-18 21:58:32 -07:00
Frederick F. Kautz IV
aae6b25262
Adding more error returning for ls cmd
2015-04-18 21:55:30 -07:00
Frederick F. Kautz IV
4b4f17eee2
Merge pull request #446 from fkautz/pr_out_converting_recursive_copy_to_not_fatal_out_but_return_errors
2015-04-18 21:02:20 -07:00
Frederick F. Kautz IV
8b585ae245
Converting recursive copy to not fatal out but return errors
2015-04-18 21:00:47 -07:00
Frederick F. Kautz IV
512f12cf3c
Merge pull request #445 from fkautz/pr_out_add_more_tests_fix_attempted_creation_of_bucket_with_file_system
2015-04-18 19:48:53 -07:00
Frederick F. Kautz IV
2f0013fb38
Add more tests, fix attempted creation of bucket with file system
2015-04-18 19:47:54 -07:00
Frederick F. Kautz IV
3423435974
Merge pull request #443 from fkautz/pr_out_splitting_mb_to_be_more_testable
2015-04-18 19:25:07 -07:00
Frederick F. Kautz IV
f10da22642
Splitting mb to be more testable
2015-04-18 19:23:50 -07:00
Frederick F. Kautz IV
da4fa69626
Merge pull request #442 from fkautz/pr_out_dropping_cyclomatic_complexity_back_down_to_15
2015-04-18 19:15:42 -07:00
Frederick F. Kautz IV
7b35ad9afb
Dropping cyclomatic complexity back down to 15
2015-04-18 19:14:19 -07:00
Anand Babu (AB) Periasamy
77de9035d3
Merge pull request #441 from abperiasamy/remove-debug
...
remove DEBUG message
2015-04-18 19:11:50 -07:00
Anand Babu (AB) Periasamy
7c71fb85a3
remove DEBUG message
2015-04-18 19:10:13 -07:00
Anand Babu (AB) Periasamy
da86e36dcf
Merge pull request #440 from abperiasamy/err-msg-update
...
update error message for config generate
2015-04-18 19:09:26 -07:00
Anand Babu (AB) Periasamy
8635773258
update error message for config generate
2015-04-18 19:05:38 -07:00
Frederick F. Kautz IV
808f9529e8
Merge pull request #438 from fkautz/pr_out_adding_more_tests
2015-04-18 19:01:19 -07:00
Frederick F. Kautz IV
445508c1b0
Adding more tests
2015-04-18 19:00:12 -07:00
Anand Babu (AB) Periasamy
6996803192
Merge pull request #437 from abperiasamy/deepdiff
...
qdb store diff keys and deep diff
2015-04-18 18:42:03 -07:00
Anand Babu (AB) Periasamy
f7656e0946
qdb store diff keys and deep diff
2015-04-18 18:40:17 -07:00
Frederick F. Kautz IV
dd44d3355f
Merge pull request #436 from fkautz/pr_out_adding_test_for_ls_cmd
2015-04-18 18:34:11 -07:00
Frederick F. Kautz IV
91c408551e
Adding test for ls cmd
2015-04-18 18:32:09 -07:00
Harshavardhana
6a22df287a
Merge pull request #435 from harshavardhana/pr_out_move_major_url_handling_into_client_as_part_of_425
2015-04-18 17:30:06 -07:00
Harshavardhana
8606a7db9b
Move major url handling into client as part of #425
2015-04-18 17:29:01 -07:00
Harshavardhana
ba071d24bf
Merge pull request #434 from harshavardhana/pr_out_check_if_err_is_nil_from_saveconfig_before_switch_type_fixes_427
2015-04-18 16:54:33 -07:00
Harshavardhana
32d6a2be82
Check if err is nil from saveConfig() before switch type - fixes #427
2015-04-18 16:51:54 -07:00
Harshavardhana
16e3cc4729
Merge pull request #430 from harshavardhana/pr_out_error_messages_simplified_now_with_reason_fixes_286
2015-04-18 16:47:28 -07:00
Harshavardhana
4b50a2bac3
Error messages simplified now with reason - fixes #286
2015-04-18 16:46:26 -07:00
Frederick F. Kautz IV
df049336bf
Merge pull request #429 from fkautz/pr_out_fixing_build
2015-04-18 16:36:17 -07:00
Frederick F. Kautz IV
7c2e859ec8
fixing build
2015-04-18 16:35:09 -07:00
Frederick F. Kautz IV
d95b2f33f4
Merge pull request #428 from fkautz/pr_out_refactoring_dolistcmd_to_be_more_testable
2015-04-18 16:33:36 -07:00
Frederick F. Kautz IV
2a28b2b1fb
Refactoring doListCmd to be more testable
2015-04-18 16:33:26 -07:00
Frederick F. Kautz IV
6e7d7aa7ee
Merge pull request #426 from fkautz/pr_out_renaming_docmdlist_to_runcmdlist
2015-04-18 16:09:59 -07:00
Frederick F. Kautz IV
1f6273ec04
Renaming doCmdList to runCmdList
2015-04-18 16:08:11 -07:00
Harshavardhana
7c2992e1d1
Merge pull request #423 from harshavardhana/pr_out_make_all_lexical_paths_file_path_path_path_path_behave_similar_fixes_419
...
Make all lexical paths file:///<path> ../<path> <path>/../../<path - behave similar - fixes #419
2015-04-18 14:25:49 -07:00
Harshavardhana
e58844ead5
Make all lexical paths file:///<path> ../<path> <path>/../../<path - behave similar - fixes #419
...
./mc ls, ./mc mb, ./mc cp supported and overall code simplification
2015-04-18 14:24:33 -07:00
Frederick F. Kautz IV
711b684994
Merge pull request #424 from fkautz/pr_out_we_shouldn_t_make_code_more_complex_to_make_gocyclo_happy_raising_gocyclo_limit
2015-04-18 12:09:51 -07:00
Frederick F. Kautz IV
5691629ecd
we shouldn't make code more complex to make gocyclo happy. raising gocyclo limit
2015-04-18 10:05:18 -07:00
Anand Babu (AB) Periasamy
426a12f0b9
Merge pull request #422 from abperiasamy/remove-retry-struct
...
replaced retry with simple loop
2015-04-18 00:23:02 -07:00
Anand Babu (AB) Periasamy
b77ea5e763
replaced retry with simple loop
2015-04-18 00:19:08 -07:00
Frederick F. Kautz IV
449ac416f0
Merge pull request #415 from fkautz/pr_out_adding_recursive_copy_test
2015-04-17 21:35:10 -07:00
Frederick F. Kautz IV
ddbe0eee63
Adding recursive copy test
2015-04-17 21:33:48 -07:00
Harshavardhana
be3b420bba
Merge pull request #416 from harshavardhana/pr_out_revert_alias_behavior_make_it_passthrough_and_make_object_storage_errors_human_readable
2015-04-17 21:32:35 -07:00
Harshavardhana
c706e152c6
Revert Alias behavior, make it passthrough and make Object Storage errors human readable
2015-04-17 21:31:15 -07:00
Harshavardhana
1f9136ffc5
Print proper errors message received on the wire from any Object Storage
2015-04-17 20:54:24 -07:00
Harshavardhana
29cdb51e06
Merge pull request #414 from harshavardhana/pr_out_review_error_messages_part_of_286
2015-04-17 20:33:11 -07:00
Harshavardhana
39d3f1439b
Review error messages part of #286
2015-04-17 20:31:35 -07:00
Harshavardhana
5f4d89ccd5
Deprecate bash-completion support
2015-04-17 20:17:27 -07:00
Frederick F. Kautz IV
07ddad4b1c
Merge pull request #413 from fkautz/pr_out_adding_more_mocks
2015-04-17 20:06:07 -07:00
Frederick F. Kautz IV
1daee3e076
Adding more mocks
2015-04-17 20:04:54 -07:00
Frederick F. Kautz IV
bc89b4acbb
Merge pull request #411 from fkautz/pr_out_recreating_mock_for_new_test
2015-04-17 19:23:15 -07:00
Harshavardhana
aee3fddeb2
Merge pull request #412 from harshavardhana/pr_out_migrate_config_to_qdb
...
Migrate config to qdb
2015-04-17 18:30:17 -07:00
Harshavardhana
27d87fdd8e
Migrate config to qdb
2015-04-17 18:28:18 -07:00
Frederick F. Kautz IV
2b4da8aa12
Recreating mock for new test
2015-04-17 18:24:46 -07:00
Frederick F. Kautz IV
08f868df82
Merge pull request #410 from fkautz/pr_out_moving_getnewclient_to_manager
2015-04-17 17:38:38 -07:00
Frederick F. Kautz IV
d2e68e4ab3
Moving getNewClient to manager
2015-04-17 17:37:25 -07:00
Harshavardhana
8e7640ff4a
Merge pull request #409 from harshavardhana/pr_out_qdb_should_use_reflection_to_get_the_original_data_from_json_marshal_unmarshal
...
QDB should use reflection to get the original data from json Marshal/Unmarshal
2015-04-17 17:35:07 -07:00
Harshavardhana
529f513efb
QDB should use reflection to get the original data from json Marshal/Unmarshal
2015-04-17 17:33:12 -07:00
Frederick F. Kautz IV
d0e55550a5
Merge pull request #408 from fkautz/pr_out_removing_context_build_dep_from_docopycmdrecursive
2015-04-17 17:28:20 -07:00
Frederick F. Kautz IV
721d7d0bea
Removing context build dep from doCopyCmdRecursive
2015-04-17 17:27:17 -07:00
Frederick F. Kautz IV
af756ad02e
Merge pull request #407 from fkautz/pr_out_moving_client_manager_to_commons
2015-04-17 17:16:33 -07:00
Frederick F. Kautz IV
baa14b99ff
Merge pull request #406 from fkautz/pr_out_minor_cleanup
2015-04-17 17:13:09 -07:00
Frederick F. Kautz IV
1f2220e260
Moving client manager to commons
2015-04-17 17:12:42 -07:00
Frederick F. Kautz IV
40a78491a7
Minor cleanup
2015-04-17 17:03:37 -07:00
Anand Babu (AB) Periasamy
c0d95a52c7
Merge pull request #404 from abperiasamy/win-color
...
disable console theme on Windows
2015-04-17 16:32:12 -07:00
Anand Babu (AB) Periasamy
040b15b240
disable console theme on Windows
2015-04-17 16:31:30 -07:00
Harshavardhana
23e6a3f6c3
Merge pull request #403 from abperiasamy/remove-urltype
...
replace urltype to string
2015-04-17 16:18:17 -07:00
Anand Babu (AB) Periasamy
b28541a1b6
replace urltype to string
2015-04-17 16:12:03 -07:00
Harshavardhana
f815ad45a0
Merge pull request #402 from harshavardhana/pr_out_bring_multipartupload_interface_stubs
2015-04-16 23:46:37 -07:00
Harshavardhana
5d1ec28e9d
Bring MultiPartUpload interface stubs
2015-04-16 23:44:47 -07:00
Harshavardhana
f393d390bb
Merge pull request #401 from harshavardhana/pr_out_implement_recursive_upload_to_many_targets
...
Implement recursive upload to many targets
2015-04-16 21:14:49 -07:00
Harshavardhana
37d3e54859
Implement recursive upload to many targets
2015-04-16 21:12:36 -07:00
Harshavardhana
2b8e531ec7
Merge pull request #400 from harshavardhana/pr_out_move_retry_to_try_
...
Move retry to try()
2015-04-16 20:54:39 -07:00
Frederick F. Kautz IV
09bf5f8474
Merge pull request #399 from fkautz/pr_out_minor_edit_normalizing_go_imports
2015-04-16 20:53:03 -07:00
Harshavardhana
378314a3a7
Move retry to try()
2015-04-16 20:52:30 -07:00
Frederick F. Kautz IV
5d18863f15
minor edit, normalizing go imports
2015-04-16 20:51:22 -07:00
Frederick F. Kautz IV
11063214f9
Merge pull request #398 from fkautz/pr_out_speeding_up_travis_by_not_testing_on_1_4
2015-04-16 20:33:36 -07:00
Frederick F. Kautz IV
a5e5a1191a
Speeding up travis by not testing on 1.4
2015-04-16 20:31:34 -07:00
Frederick F. Kautz IV
5b287dbab1
Merge pull request #396 from fkautz/pr_out_adding_test_for_copy
2015-04-16 20:29:02 -07:00
Frederick F. Kautz IV
8b5eff1040
Adding test for copy
2015-04-16 20:27:19 -07:00
Anand Babu (AB) Periasamy
012243bf97
Merge pull request #397 from abperiasamy/url2urlStr
...
handle URL as a string instead of url.URL
2015-04-16 20:26:07 -07:00
Anand Babu (AB) Periasamy
490c9939b2
handle URL as a string instead of url.URL
2015-04-16 20:24:18 -07:00
Harshavardhana
a4b8e7253c
Merge pull request #393 from harshavardhana/pr_out_now_newreq_doesn_t_panic_inside_returns_err_properly_use_iodine
2015-04-16 20:21:11 -07:00
Harshavardhana
d38b93ad0d
Simplify retry() code further
2015-04-16 20:19:07 -07:00
Harshavardhana
1f230fb2ce
Now newReq() doesn't panic inside, returns err properly - use iodine
2015-04-16 20:17:18 -07:00
Harshavardhana
1468cc47ff
Add retries 5 times currently supported for ./mc ls, ./mc mb
2015-04-16 20:17:18 -07:00
Anand Babu (AB) Periasamy
3bdcc1e993
Merge pull request #395 from abperiasamy/replace-mini-copy
...
Modern Copy to Mini Copy
2015-04-16 20:15:28 -07:00
Anand Babu (AB) Periasamy
90f853a00f
Modern Copy to Mini Copy
2015-04-16 20:13:52 -07:00
Anand Babu (AB) Periasamy
642cf34e9b
Merge pull request #394 from abperiasamy/urltype-win
...
detect URL type + win support
2015-04-16 20:01:25 -07:00
Anand Babu (AB) Periasamy
2da1d3dd68
get URL type + win support
2015-04-16 19:59:15 -07:00
Frederick F. Kautz IV
83e0d2d727
Merge pull request #392 from fkautz/pr_out_adding_more_error_checking
2015-04-16 19:24:52 -07:00
Frederick F. Kautz IV
7d8e065548
Adding more error checking
2015-04-16 19:23:13 -07:00
Frederick F. Kautz IV
1f32af47ac
Merge pull request #391 from fkautz/pr_out_better_error_handling_in_docopycmd
2015-04-16 19:18:54 -07:00
Frederick F. Kautz IV
8927a626d2
Better error handling in doCopyCmd
2015-04-16 19:16:28 -07:00
Anand Babu (AB) Periasamy
7ee94dda3c
Merge pull request #390 from abperiasamy/json-win
...
support DOS format config file on MS Windows OS
2015-04-16 19:16:21 -07:00
Anand Babu (AB) Periasamy
a24af2098e
support DOS format config file on MS Windows OS
2015-04-16 19:12:59 -07:00
Frederick F. Kautz IV
5c7b278a72
Merge pull request #389 from fkautz/pr_out_wrapping_client_calls_around_a_client_manager_to_facilitate_testing
2015-04-16 18:31:40 -07:00
Frederick F. Kautz IV
c780040870
Wrapping client calls around a client manager to facilitate testing
2015-04-16 18:29:00 -07:00
Frederick F. Kautz IV
610a1c0841
Merge pull request #388 from fkautz/pr_out_extracting_url_parsing_from_docopycmd_to_runcopycmd
2015-04-16 18:22:48 -07:00
Frederick F. Kautz IV
7af0c630e3
Extracting URL parsing from doCopyCmd to runCopyCmd
2015-04-16 18:21:13 -07:00
Frederick F. Kautz IV
282a947587
Merge pull request #387 from fkautz/pr_out_first_round_of_copy_refactoring_to_be_more_testable
2015-04-16 18:14:53 -07:00
Frederick F. Kautz IV
5863d7078a
First round of copy refactoring to be more testable
2015-04-16 18:13:33 -07:00
Harshavardhana
92b9074d1f
Merge pull request #386 from harshavardhana/pr_out_implement_getpartial_for_fsclient_and_renamed_files_unix_go_as_we_bring_in_windows_specific_support
2015-04-16 17:38:28 -07:00
Harshavardhana
f6463dec1f
Implement GetPartial() for fsClient, and renamed files _unix.go as we bring in windows specific support
2015-04-16 17:36:42 -07:00
Harshavardhana
644b0952f1
Merge pull request #385 from harshavardhana/pr_out_remove_dead_error
2015-04-16 17:03:44 -07:00
Harshavardhana
0d972285a1
Remove dead error
2015-04-16 17:02:13 -07:00
Frederick F. Kautz IV
a746db9d2d
Merge pull request #384 from fkautz/pr_out_disable_bash_completion_fixes_379
2015-04-16 16:01:24 -07:00
Frederick F. Kautz IV
1ac8895014
Disable bash completion. Fixes #379 .
2015-04-16 15:58:50 -07:00
Harshavardhana
0eaf6ddb5f
Merge pull request #383 from harshavardhana/pr_out_prefix_error_messages_with_mc_part_of_286
2015-04-16 15:57:27 -07:00
Harshavardhana
0935573255
Prefix error messages with mc: part of #286
2015-04-16 15:53:33 -07:00
Harshavardhana
0702f392ba
Merge pull request #382 from harshavardhana/pr_out_implment_recursive_upload_and_download_fixes_372_373
...
Implment recursive upload and download - fixes #372 #373
2015-04-16 02:11:06 -07:00
Harshavardhana
31e873faf6
Implment recursive upload and download - fixes #372 #373
...
- currently only supports single target
2015-04-16 02:05:00 -07:00
Harshavardhana
2055d66138
Merge pull request #381 from harshavardhana/pr_out_enhance_getobjectmetadata_to_return_etag_as_well_precursor_to_recursive_cp
2015-04-16 00:56:01 -07:00
Harshavardhana
97511ca6b8
Enhance GetObjectMetadata() to return ETag as well, precursor to "recursive" cp
2015-04-16 00:51:53 -07:00
Harshavardhana
ccf6f279d5
Merge pull request #380 from harshavardhana/pr_out_support_putbucket_for_fsclient_to_do_subdirectories
2015-04-14 22:38:10 -07:00
Harshavardhana
473013dd17
Support PutBucket() for fsClient to do subdirectories
2015-04-14 22:30:15 -07:00
Anand Babu (AB) Periasamy
767b18cc31
Merge pull request #378 from abperiasamy/quiet
...
issue#371 implement --quiet
2015-04-14 19:39:22 -07:00
Anand Babu (AB) Periasamy
5583555ca8
issue#371 implement --quiet
2015-04-14 19:38:17 -07:00
Frederick F. Kautz IV
3c46eeb43b
Merge pull request #377 from fkautz/pr_out_removing_dead_code
2015-04-14 18:31:28 -07:00
Frederick F. Kautz IV
e722892d9d
Removing dead code
2015-04-14 18:29:13 -07:00
Frederick F. Kautz IV
d6932a2ccc
Merge pull request #376 from fkautz/pr_out_iodine_traces_only_print_with_debug_flag_fixes_283
2015-04-14 18:25:29 -07:00
Frederick F. Kautz IV
d14e4f4473
Iodine traces only print with --debug flag. Fixes #283
2015-04-14 18:23:01 -07:00
Frederick F. Kautz IV
579b5374ed
Merge pull request #375 from fkautz/pr_out_removing_quiet_dead_code_will_be_implemented_gh_issue_exists
2015-04-14 17:56:51 -07:00
Frederick F. Kautz IV
d1a216c10a
Removing quiet, dead code. Will be implemented (gh issue exists)
2015-04-14 17:54:43 -07:00
Frederick F. Kautz IV
e5efa23d81
Merge pull request #369 from fkautz/pr_out_cmd_ls_now_treats_urltype_file_as_list_objects_instead_of_list_buckets_always_closes_365
2015-04-14 16:29:51 -07:00
Frederick F. Kautz IV
72ec63fbab
cmd-ls now treats urlType=file as list objects instead of list buckets always. Closes #365 .
2015-04-14 16:20:22 -07:00
Frederick F. Kautz IV
00985b5989
Merge pull request #368 from fkautz/pr_out_fix_for_list_objects_permissions_should_be_in_walk_itself_not_after_walk_fixes_364
2015-04-14 14:49:27 -07:00
Frederick F. Kautz IV
dbcf66a5e8
Fix for list objects permissions should be in walk itself, not after walk. Fixes #364 .
2015-04-14 14:16:49 -07:00
Frederick F. Kautz IV
11e0d9c927
Merge pull request #367 from fkautz/pr_out_fs_driver_ignores_directories_and_files_it_has_no_access_to
2015-04-14 14:08:57 -07:00
Frederick F. Kautz IV
b5cf534915
fs driver ignores directories and files it has no access to
2015-04-14 14:01:03 -07:00
Harshavardhana
1f7f080936
Merge pull request #363 from harshavardhana/pr_out_simplify_console_further
2015-04-14 05:14:53 -07:00
Harshavardhana
6bfb0b0b7c
Simplify console further
2015-04-14 05:12:45 -07:00
Anand Babu (AB) Periasamy
c1ecbac689
Merge pull request #362 from abperiasamy/color-theme
...
console theme
2015-04-14 02:56:31 -07:00
Anand Babu (AB) Periasamy
b0cae379fa
console theme
2015-04-14 02:55:04 -07:00
Frederick F. Kautz IV
374e7696fa
Merge pull request #361 from fkautz/pr_out_reenabling_go_vet
2015-04-13 21:29:00 -07:00
Frederick F. Kautz IV
d31e915df6
Reenabling go vet
2015-04-13 21:27:10 -07:00
Harshavardhana
75e35a372c
Merge pull request #360 from harshavardhana/pr_out_implement_qdb_store_merge_diff_functionality
2015-04-13 20:48:39 -07:00
Harshavardhana
9b8df8b79a
Implement Qdb Store - Merge/Diff functionality
2015-04-13 20:45:37 -07:00
Harshavardhana
93bc32ceba
Merge pull request #359 from harshavardhana/pr_out_add_windows_examples_for_cp_ls
2015-04-13 17:15:12 -07:00
Harshavardhana
539a3bde7c
Add windows examples for cp, ls
2015-04-13 17:10:56 -07:00
Harshavardhana
35b3dc48b9
Merge pull request #358 from harshavardhana/pr_out_add_url_parse_for_c_windows_path
2015-04-13 16:46:07 -07:00
Harshavardhana
5ea8e2b633
Add url parse for C:\ windows path
2015-04-13 16:40:56 -07:00
Frederick F. Kautz IV
c1e577b9f3
Merge pull request #357 from fkautz/pr_out_removing_unneeded_deps_from_checkdeps
2015-04-13 16:38:45 -07:00
Frederick F. Kautz IV
450b99f2b9
Removing unneeded deps from checkdeps
2015-04-13 11:49:59 -07:00
Frederick F. Kautz IV
33c939f8b4
Merge pull request #356 from fkautz/pr_out_renaming_statobject_to_getobjectmetadata
2015-04-13 11:44:46 -07:00
Frederick F. Kautz IV
c9b01650fd
Renaming StatObject to GetObjectMetadata
2015-04-13 11:44:39 -07:00
Harshavardhana
ad3eb5af96
Merge pull request #355 from harshavardhana/pr_out_statbucket_should_honor_http_statusmovedpermanently_returned_by_s3
...
StatBucket() should honor http.StatusMovedPermanently returned by S3
2015-04-13 04:15:33 -07:00
Harshavardhana
539b073147
StatBucket() should honor http.StatusMovedPermanently returned by S3
2015-04-13 04:13:39 -07:00
Harshavardhana
35a3af3d38
Implement blockingWriter for fsClient just like s3
2015-04-13 04:12:38 -07:00
Harshavardhana
ab812e1055
Contract url parser into urlParser object
2015-04-13 04:12:03 -07:00
Harshavardhana
c5e7b47fce
Merge pull request #354 from harshavardhana/pr_out_make_mc_ls_multi_target
...
Make ./mc ls multi-target
2015-04-12 23:43:49 -07:00
Harshavardhana
4f3db3d263
Make ./mc ls multi-target
2015-04-12 23:42:16 -07:00
Harshavardhana
c999798d5e
Merge pull request #353 from harshavardhana/pr_out_now_mc_config_handles_and_documents_config_generation_fixes_341
...
Now mc config handles and documents config generation - fixes #341
2015-04-12 23:32:53 -07:00
Harshavardhana
36a5d3a05a
Now mc config handles and documents config generation - fixes #341
2015-04-12 23:29:10 -07:00
Harshavardhana
8d928bc449
Merge pull request #351 from harshavardhana/pr_out_fix_alias_handling_fixes_350
2015-04-12 17:58:20 -07:00
Harshavardhana
5665d28a7c
Fix alias handling, fixes #350
2015-04-12 17:56:50 -07:00
Frederick F. Kautz IV
3233be9928
Merge pull request #352 from fkautz/pr_out_reordering_getnewclient_parameters
2015-04-12 17:47:55 -07:00
Frederick F. Kautz IV
53c534dea9
Reordering getNewClient parameters
2015-04-12 17:47:41 -07:00
Harshavardhana
837b28983f
Merge pull request #349 from harshavardhana/pr_out_update_license_headers_to_modern_copy_c
...
Update license headers to Modern Copy (C)
2015-04-12 16:02:31 -07:00
Harshavardhana
8b811f6ac9
Update license headers to Modern Copy (C)
2015-04-12 16:00:50 -07:00
Harshavardhana
93c9011861
Separate out Put() operation for readablity, rename functions SourceReader and TargetWriters
2015-04-12 15:53:26 -07:00
Harshavardhana
26b8d6fd62
Fix Auth handling bug - fixes #348 , no accesskeyid and secretid as valid case
2015-04-12 15:52:30 -07:00
Harshavardhana
2982439407
Add more typed errors and remove references for fmt.Errorf and errors.New
2015-04-12 15:51:21 -07:00
Frederick F. Kautz IV
743d6d9b7a
Merge pull request #347 from fkautz/pr_out_adding_slack_notifications
2015-04-12 11:46:13 -07:00
Frederick F. Kautz IV
320f938bc0
Adding slack notifications
2015-04-12 11:44:44 -07:00
Frederick F. Kautz IV
302870ea08
Merge pull request #346 from fkautz/pr_out_fix_build
2015-04-12 11:42:36 -07:00
Frederick F. Kautz IV
20c83f53ce
Fix build
2015-04-12 11:35:39 -07:00
Frederick F. Kautz IV
5ae3081d35
Merge pull request #345 from fkautz/pr_out_s3_put_writer_now_blocks_on_close
2015-04-12 11:26:14 -07:00
Frederick F. Kautz IV
c479b3833f
s3 put writer now blocks on close
2015-04-12 11:26:05 -07:00
Harshavardhana
18617b6050
Merge pull request #344 from harshavardhana/pr_out_remove_site_
2015-04-11 21:53:32 -07:00
Harshavardhana
02e34dc177
Remove site/*
2015-04-11 21:53:17 -07:00
Harshavardhana
1464871cbb
Merge pull request #343 from harshavardhana/pr_out_improve_errors_strictly_type_them_first_cut_286
...
Improve errors strictly type them, first cut #286
2015-04-11 21:52:01 -07:00
Harshavardhana
0508022597
Improve errors strictly type them, first cut #286
2015-04-11 21:48:00 -07:00
Frederick F. Kautz IV
b270a4d6ba
Merge pull request #339 from fkautz/pr_out_minor_cleanup_from_refactoring
2015-04-11 21:33:39 -07:00
Frederick F. Kautz IV
5528ebdf71
Minor cleanup from refactoring
2015-04-11 21:32:25 -07:00
Frederick F. Kautz IV
7550571ece
Refactoring copy and put to work with writers instead of readers
2015-04-11 21:30:24 -07:00
Harshavardhana
da0479fa22
Merge pull request #338 from harshavardhana/pr_out_turn_off_unicode_box_drawing_on_windows_print_with_simple_ansi_characters_fixes_285
...
Turn off unicode box drawing on windows, print with simple ANSI characters - fixes #285
2015-04-11 21:29:51 -07:00
Harshavardhana
577d747bf1
Turn off unicode box drawing on windows, print with simple ANSI characters - fixes #285
2015-04-11 21:27:50 -07:00
Harshavardhana
d42d70bee3
Merge pull request #337 from harshavardhana/pr_out_add_make_bucket_multi_target_fixes_288
...
Add make bucket multi target - fixes #288
2015-04-11 21:08:22 -07:00
Harshavardhana
58fd38d703
Add make bucket multi target - fixes #288
2015-04-11 21:06:28 -07:00
Harshavardhana
aa0c4ac256
Merge pull request #336 from harshavardhana/pr_out_all_commands_now_work_with_fs_client_fixes_290
...
All commands now work with fs client - fixes #290
2015-04-11 20:55:41 -07:00
Harshavardhana
3914036db4
All commands now work with fs client - fixes #290
2015-04-11 20:53:53 -07:00
Anand Babu (AB) Periasamy
21a9d1f6f9
Merge pull request #335 from abperiasamy/user-agent
...
rfc compliant user-agent
2015-04-11 20:40:15 -07:00
Anand Babu (AB) Periasamy
e49cb08c5e
rfc compliant user-agent
2015-04-11 20:38:46 -07:00
Harshavardhana
0302336f44
Update README.md
2015-04-11 18:13:27 -07:00
Frederick F. Kautz IV
c578e9a097
Merge pull request #334 from fkautz/pr_out_telling_travis_we_don_t_need_sudo_access_it_ll_run_in_a_docker_container_now
...
Telling travis we don't need sudo access, it'll run in a docker container now.
2015-04-11 18:01:03 -07:00
Frederick F. Kautz IV
af44775163
Telling travis we don't need sudo access, it'll run in a docker container now.
2015-04-11 17:53:14 -07:00
Harshavardhana
9da23a64dc
Merge pull request #333 from harshavardhana/pr_out_add_proper_path_check_for_mc
2015-04-11 17:34:08 -07:00
Harshavardhana
3971e97e5f
Add proper path check for mc
2015-04-11 17:33:07 -07:00
Frederick F. Kautz IV
46bb259164
Merge pull request #332 from fkautz/pr_out_fixing_build
2015-04-11 17:15:44 -07:00
Frederick F. Kautz IV
fb2643a06b
Fixing build
2015-04-11 17:15:10 -07:00
Anand Babu (AB) Periasamy
ad27c3080d
Merge pull request #330 from abperiasamy/modern-copy
...
minio client becomes modern copy
2015-04-11 17:15:10 -07:00
Frederick F. Kautz IV
3f2724a015
Merge pull request #331 from fkautz/pr_out_starting_refactoring_of_cp_to_make_it_more_testable
2015-04-11 17:14:23 -07:00
Frederick F. Kautz IV
f415472d37
Starting refactoring of cp to make it more testable
2015-04-11 17:14:12 -07:00
Anand Babu (AB) Periasamy
e7a2699ab2
minio client becomes modern copy
2015-04-11 17:11:38 -07:00
Harshavardhana
87370b3cf6
Merge pull request #324 from harshavardhana/pr_out_move_from_file_to_fs_and_finish_listobjects_add_test_stubs
2015-04-11 17:04:21 -07:00
Harshavardhana
afca8b620a
Move from file to fs and finish ListObjects() - add test stubs
2015-04-11 17:02:35 -07:00
Harshavardhana
4206e3fc60
Update README.md
2015-04-11 16:42:15 -07:00
Harshavardhana
bff0c8a971
Merge pull request #329 from harshavardhana/pr_out_travis_possible_build_fix
2015-04-11 16:37:03 -07:00
Harshavardhana
a40c08bfae
Travis possible build fix
2015-04-11 16:35:29 -07:00
Harshavardhana
2d29c9becb
Merge pull request #328 from harshavardhana/pr_out_remove_yasm_dependency_for_mc
2015-04-11 16:08:18 -07:00
Harshavardhana
a47bf39849
Remove yasm dependency for mc
2015-04-11 16:08:01 -07:00
Frederick F. Kautz IV
3659c50a86
Merge pull request #327 from fkautz/pr_out_adding_config_test
2015-04-11 16:05:41 -07:00
Frederick F. Kautz IV
63a0ab89fe
Adding config test
2015-04-11 16:05:32 -07:00
Harshavardhana
b88243714a
Merge pull request #326 from harshavardhana/pr_out_add_travis_build
2015-04-11 16:04:54 -07:00
Harshavardhana
5191060e6c
Add travis build
2015-04-11 16:04:19 -07:00
Harshavardhana
1d170e17a5
Merge pull request #325 from harshavardhana/pr_out_update_readme_md
2015-04-11 15:53:58 -07:00
Harshavardhana
bd038b4b41
Update README.md
2015-04-11 15:53:40 -07:00
Harshavardhana
954952a49d
Merge pull request #323 from harshavardhana/pr_out_few_more_changes_to_qdb
2015-04-11 01:45:37 -07:00
Harshavardhana
38767d57e9
Few more changes to qdb
2015-04-11 01:45:16 -07:00
Harshavardhana
b1762d1446
Merge pull request #322 from harshavardhana/pr_out_add_locking_for_qdb
2015-04-11 01:40:31 -07:00
Harshavardhana
d1eadd93d6
Add locking for qdb
2015-04-11 01:40:01 -07:00
Anand Babu (AB) Periasamy
aa8be0c228
Merge pull request #321 from abperiasamy/qconfig-integrate
...
version compare method and tests
2015-04-11 01:03:12 -07:00
Anand Babu (AB) Periasamy
f183dc4f92
version compare method and tests
2015-04-11 01:02:46 -07:00
Frederick F. Kautz IV
945943041d
Merge pull request #320 from fkautz/pr_out_using_switch_instead_of_if_statement_for_path
2015-04-10 23:34:42 -07:00
Frederick F. Kautz IV
fa62b85a5a
Using switch instead of if statement for path
2015-04-10 23:34:34 -07:00
Harshavardhana
8879bc6986
Merge pull request #319 from harshavardhana/pr_out_add_notice
2015-04-10 21:25:05 -07:00
Harshavardhana
4d8b348e17
Add notice
2015-04-10 21:24:45 -07:00
Harshavardhana
d30b84f2b8
Update README.md
2015-04-10 21:18:01 -07:00
Harshavardhana
b4993d57f1
Merge pull request #318 from harshavardhana/pr_out_remove_docs_directory_approaching_self_documentation
2015-04-10 21:10:05 -07:00
Harshavardhana
1e8c803478
Remove docs directory, approaching self documentation
2015-04-10 21:09:45 -07:00
Frederick F. Kautz IV
02d4153ffd
Merge pull request #317 from fkautz/pr_out_adding_test_function_for_getting_config_file
2015-04-10 18:42:21 -07:00
Frederick F. Kautz IV
295020468a
Adding test function for getting config file
2015-04-10 18:42:07 -07:00
Harshavardhana
1ab9abf304
Merge pull request #316 from harshavardhana/pr_out_remove_mkdocs
2015-04-10 18:39:10 -07:00
Harshavardhana
253bcab416
Remove mkdocs
2015-04-10 18:35:46 -07:00
Anand Babu (AB) Periasamy
7479394538
Merge pull request #315 from abperiasamy/qconf
...
Keep Version struct as input
2015-04-10 18:34:50 -07:00
Anand Babu (AB) Periasamy
bdea263f3a
Keep Version struct as input
2015-04-10 18:33:37 -07:00
Frederick F. Kautz IV
cb69289a7d
Merge pull request #314 from fkautz/pr_out_getting_rid_of_get_trace_transport_method
2015-04-10 18:15:02 -07:00
Frederick F. Kautz IV
44c9c3397b
Getting rid of get trace transport method
2015-04-10 18:12:49 -07:00
Frederick F. Kautz IV
05953cda89
Merge pull request #313 from fkautz/pr_out_removing_fatal_side_effects_from_get_bash_completion_config
2015-04-10 17:50:55 -07:00
Frederick F. Kautz IV
84c5c244b9
Removing fatal side effects from get bash completion config
2015-04-10 17:50:44 -07:00
Harshavardhana
64c0a75c59
Merge pull request #312 from harshavardhana/pr_out_build_fix
2015-04-10 17:34:11 -07:00
Harshavardhana
a812c862e1
Build fix
2015-04-10 17:33:59 -07:00
Harshavardhana
046e2e78d0
Merge pull request #311 from harshavardhana/pr_out_improvements_on_qconfig
2015-04-10 17:32:04 -07:00
Harshavardhana
3f13630491
Merge pull request #310 from harshavardhana/pr_out_add_file_client_wip
2015-04-10 17:31:52 -07:00
Harshavardhana
3b6356416e
Improvements on qconfig
2015-04-10 17:31:16 -07:00
Harshavardhana
51bb8f199b
Add file client
2015-04-10 17:06:41 -07:00
Frederick F. Kautz IV
d095b345e1
Merge pull request #309 from fkautz/pr_out_updating_how_config_files_are_retrieved
2015-04-10 14:29:45 -07:00
Frederick F. Kautz IV
37741a292a
Updating how config files are retrieved
2015-04-10 14:29:12 -07:00
Anand Babu (AB) Periasamy
d07d92a32b
Merge pull request #308 from abperiasamy/qconfig
...
qconfig persistent config file and state store
2015-04-10 14:02:01 -07:00
Anand Babu (AB) Periasamy
1fc541202e
qconfig persistent config file and state store
2015-04-10 14:00:54 -07:00
Frederick F. Kautz IV
931e347cae
Merge pull request #307 from fkautz/pr_out_adding_tests_for_aliasexpand
2015-04-10 13:38:31 -07:00
Frederick F. Kautz IV
a0e424c8d2
Adding tests for aliasExpand
2015-04-10 13:36:43 -07:00
Harshavardhana
40ac9b4b39
Merge pull request #306 from harshavardhana/pr_out_move_colors_to_console_package_now_implement_colored
2015-04-10 01:16:26 -07:00
Harshavardhana
ad35fe72d0
Move colors to console package, now implement colored
...
- Fatal, Fatalf, Fatalln
- Error, Errorln
- Info, Infof, Infoln
2015-04-10 01:14:47 -07:00
Frederick F. Kautz IV
495e0f7511
Merge pull request #305 from fkautz/pr_out_fixing_lint
2015-04-10 00:17:02 -07:00
Frederick F. Kautz IV
c018b58e08
Fixing lint
2015-04-10 00:16:52 -07:00
Frederick F. Kautz IV
e90df68ab8
Merge pull request #304 from fkautz/pr_out_adding_more_tests_removed_alias_expander_dependency_on_config
2015-04-10 00:16:02 -07:00
Frederick F. Kautz IV
83d9ba24d3
Adding more tests, removed alias expander dependency on config
2015-04-10 00:15:54 -07:00
Frederick F. Kautz IV
0f992310a1
Merge pull request #303 from fkautz/pr_out_adding_deadcode_analyzer
2015-04-09 23:46:10 -07:00
Frederick F. Kautz IV
6e25b8959e
Adding deadcode analyzer
2015-04-09 23:46:00 -07:00
Frederick F. Kautz IV
1c25da5081
Merge pull request #302 from fkautz/pr_out_removing_more_dead_code
2015-04-09 23:41:19 -07:00
Frederick F. Kautz IV
c48fe39767
Removing more dead code
2015-04-09 23:41:11 -07:00
Frederick F. Kautz IV
4a0aa8b701
Merge pull request #301 from fkautz/pr_out_fix_build_break
2015-04-09 23:38:35 -07:00
Frederick F. Kautz IV
3fa6695142
Fix build break
2015-04-09 23:38:28 -07:00
Frederick F. Kautz IV
df512e70ee
Merge pull request #300 from fkautz/pr_out_minor_cleanup_of_pkg_client_code
2015-04-09 23:34:28 -07:00
Frederick F. Kautz IV
a7b082a676
Minor cleanup of pkg/client code
2015-04-09 23:34:20 -07:00
Harshavardhana
5a0a5587ca
Merge pull request #299 from harshavardhana/pr_out_add_missing_comments
2015-04-09 23:33:10 -07:00
Harshavardhana
b6781c7152
Add missing comments
2015-04-09 23:32:50 -07:00
Frederick F. Kautz IV
73ff61a319
Merge pull request #298 from fkautz/pr_out_removing_more_dead_code
2015-04-09 20:35:46 -07:00
Frederick F. Kautz IV
31e9f50333
Removing more dead code
2015-04-09 20:35:33 -07:00
Frederick F. Kautz IV
8e5c524a9d
Merge pull request #297 from fkautz/pr_out_removing_unused_colors_method
2015-04-09 20:28:19 -07:00
Frederick F. Kautz IV
70b909ec19
Removing unused colors method
2015-04-09 20:28:04 -07:00
Frederick F. Kautz IV
a8c4ff4036
Merge pull request #296 from fkautz/pr_out_killing_an_unused_function
2015-04-09 20:26:37 -07:00
Frederick F. Kautz IV
ab2fb8f1c6
Killing an unused function
2015-04-09 20:26:24 -07:00
Frederick F. Kautz IV
b45b7a366d
Merge pull request #295 from fkautz/pr_out_updating_error_printing_in_cmd_config
2015-04-09 20:21:28 -07:00
Frederick F. Kautz IV
a7ffa3aba7
Updating error printing in cmd-config
2015-04-09 20:21:17 -07:00
Frederick F. Kautz IV
d5baa821c5
Merge pull request #294 from fkautz/pr_out_updating_s3_timestamp_works_with_rfc3339
2015-04-09 20:20:26 -07:00
Frederick F. Kautz IV
e55ff6a337
Updating s3 timestamp, works with RFC3339
2015-04-09 20:19:35 -07:00
Harshavardhana
862e4ba027
Merge pull request #293 from harshavardhana/pr_out_add_proper_collection_of_config_functions_to_manage_mc_configuration
2015-04-09 19:06:49 -07:00
Harshavardhana
c8292b0391
Add proper collection of config functions to manage mc configuration.
...
Not intergrated yet.
2015-04-09 18:55:28 -07:00
Anand Babu (AB) Periasamy
1d52524f1f
Merge pull request #282 from abperiasamy/show-cmd-help-no-arg
...
show help when no args are passed
2015-04-09 14:38:29 -07:00
Anand Babu (AB) Periasamy
87aa2539d0
show help when no args are passed
2015-04-09 14:37:29 -07:00
Harshavardhana
9e5b24ae41
Merge pull request #280 from harshavardhana/pr_out_remove_an_additional_newline
2015-04-09 03:57:13 -07:00
Harshavardhana
4b2af7d447
Remove an additional newline
2015-04-09 03:56:53 -07:00
Harshavardhana
f276d24870
Merge pull request #279 from harshavardhana/pr_out_avoid_using_versions_for_mc_update_use_build_time_instead
2015-04-09 03:55:02 -07:00
Harshavardhana
bec4dc2b6c
Avoid using versions for ./mc update, use build time instead.
...
Also a minor fix in glob matching should be a proper HostURL
2015-04-09 03:53:32 -07:00
Anand Babu (AB) Periasamy
4e57bca160
Merge pull request #278 from abperiasamy/config
...
Config
2015-04-09 02:45:54 -07:00
Anand Babu (AB) Periasamy
22187fb0d7
config bug fixes and removed default-host support
2015-04-09 02:44:59 -07:00
Anand Babu (AB) Periasamy
99240bfb2d
config bug fixes and removed default-host support
2015-04-09 02:41:59 -07:00
Frederick F. Kautz IV
0850aedd0c
Merge pull request #277 from fkautz/pr_out_removing_more_unused_functions_and_variables
2015-04-08 23:21:13 -07:00
Frederick F. Kautz IV
4f4e472856
Removing more unused functions and variables
2015-04-08 23:21:05 -07:00
Frederick F. Kautz IV
4fbb1e33e4
Merge pull request #276 from fkautz/pr_out_simplifying_switch_case
2015-04-08 23:18:18 -07:00
Frederick F. Kautz IV
a2d0bfdc62
Simplifying switch case
2015-04-08 23:18:07 -07:00
Frederick F. Kautz IV
c8a96326ec
Merge pull request #275 from fkautz/pr_out_removing_unused_code
2015-04-08 23:13:13 -07:00
Frederick F. Kautz IV
9f791493ae
Removing unused code
2015-04-08 23:13:03 -07:00
Harshavardhana
22d9ab06f1
Merge pull request #274 from harshavardhana/pr_out_mc_client_interface_now_provides_typed_errors
2015-04-08 22:24:24 -07:00
Harshavardhana
6e9fe6dc56
mc client interface now provides typed errors
2015-04-08 22:21:01 -07:00
Harshavardhana
d21d925bd4
Merge pull request #273 from harshavardhana/pr_out_add_mc_update_command
2015-04-08 21:44:48 -07:00
Harshavardhana
e8baa6c8e9
Add ./mc update command
2015-04-08 21:41:59 -07:00
Frederick F. Kautz IV
608a1e78e0
Merge pull request #272 from fkautz/pr_out_running_goimports
2015-04-08 21:01:28 -07:00
Frederick F. Kautz IV
bf3182ac6b
Running goimports
2015-04-08 21:01:18 -07:00
Frederick F. Kautz IV
f9f2087b2d
Merge pull request #271 from fkautz/pr_out_updating_iodine
2015-04-08 19:48:02 -07:00
Frederick F. Kautz IV
540e0db62a
Updating iodine
2015-04-08 19:47:23 -07:00
Frederick F. Kautz IV
047edd30f2
Merge pull request #270 from fkautz/pr_out_fixing_iodine_error_type
2015-04-08 19:12:58 -07:00
Frederick F. Kautz IV
63570f1dcf
Fixing iodine error type
2015-04-08 19:12:50 -07:00
Frederick F. Kautz IV
63aad71dcd
Merge pull request #269 from fkautz/pr_out_updating_last_config_error_check_to_no_longer_use_sprintf
2015-04-08 19:06:18 -07:00
Frederick F. Kautz IV
8474b4dbbf
Updating last config error check to no longer use Sprintf
2015-04-08 19:06:10 -07:00
Frederick F. Kautz IV
1705852ba8
Merge pull request #268 from fkautz/pr_out_updating_debug_to_only_print_when_debug_mode_is_enabled_removed_init_function
2015-04-08 19:05:25 -07:00
Frederick F. Kautz IV
ba49d34579
Updating debug to only print when debug mode is enabled. Removed init() function
2015-04-08 19:05:13 -07:00
Harshavardhana
7b7c4c2269
Merge pull request #266 from harshavardhana/pr_out_iodine_deps_now_coming_in_from_minio_io_pkg_iodine
2015-04-08 18:20:36 -07:00
Harshavardhana
8ea467294f
iodine deps now coming in from minio-io/pkg/iodine
2015-04-08 18:19:51 -07:00
Harshavardhana
5ca54388d1
Merge pull request #265 from harshavardhana/pr_out_update_documentation
2015-04-08 17:03:12 -07:00
Harshavardhana
abd2bd729b
Update documentation
2015-04-08 17:02:50 -07:00
Harshavardhana
76d7710122
Merge pull request #264 from harshavardhana/pr_out_add_pkg_client_file_stub_file
2015-04-08 16:21:54 -07:00
Harshavardhana
0b583f6240
Add pkg/client/file stub file
2015-04-08 16:21:39 -07:00
Harshavardhana
bb1324148f
Revert "Get rid of client interface and move s3 back into a struct"
...
This reverts commit 4a2facfa7b .
2015-04-08 16:18:20 -07:00
Harshavardhana
166c6dc5b8
Add make bucket custom help template
2015-04-08 16:17:39 -07:00
Harshavardhana
e9efc7870e
Merge pull request #263 from harshavardhana/pr_out_get_rid_of_client_interface_and_move_s3_back_into_a_struct
2015-04-08 16:06:40 -07:00
Harshavardhana
4a2facfa7b
Get rid of client interface and move s3 back into a struct
2015-04-08 16:06:25 -07:00
Harshavardhana
3af592d342
Merge pull request #262 from harshavardhana/pr_out_now_mc_on_windows_uses_c_users_username_mc_as_the_config_directory
2015-04-08 15:16:16 -07:00
Harshavardhana
3eac44879f
Now mc on windows uses C:\Users\<Username>\mc as the config directory
2015-04-08 15:14:56 -07:00
Harshavardhana
5dd77e770f
Fix typo
2015-04-08 13:58:25 -07:00
Harshavardhana
076d115046
Merge pull request #261 from harshavardhana/pr_out_cleanup_s3_client_iodize_it_as_well
2015-04-08 13:56:40 -07:00
Harshavardhana
e279da678f
Cleanup s3 client, iodize it as well
2015-04-08 13:56:20 -07:00
Frederick F. Kautz IV
961ff150f5
Merge pull request #260 from fkautz/pr_out_updating_how_colors_go_now_takes_variable_number_of_inputs
2015-04-08 13:37:25 -07:00
Frederick F. Kautz IV
f9fb2077fd
Updating how colors go, now takes variable number of inputs
2015-04-08 13:36:44 -07:00
Harshavardhana
8624c5060f
Merge pull request #259 from harshavardhana/pr_out_remove_donut_and_other_deps_out_of_mc
2015-04-08 12:21:00 -07:00
Harshavardhana
dd159a0f96
Remove donut and other deps out of mc
2015-04-08 11:23:49 -07:00
Frederick F. Kautz IV
09a38f33d2
Merge pull request #258 from fkautz/pr_out_adding_more_iodine_to_url_parser
2015-04-06 13:15:42 -07:00
Frederick F. Kautz IV
fcf208b11f
Adding more iodine to url parser
2015-04-06 13:15:32 -07:00
Frederick F. Kautz IV
3cd07c2b80
Merge pull request #257 from fkautz/pr_out_go_files_now_conform_to_gimports
2015-04-06 12:56:25 -07:00
Frederick F. Kautz IV
4fb394c982
go files now conform to gimports
2015-04-06 12:56:10 -07:00
Harshavardhana
61472bbd81
Merge pull request #256 from harshavardhana/pr_out_add_coloring_outside_of_iodine_moving_iodine_messages_to_log_debug
2015-04-06 12:51:23 -07:00
Harshavardhana
44d0f86e54
Add coloring outside of iodine, moving iodine messages to log.Debug
2015-04-06 12:50:15 -07:00
Frederick F. Kautz IV
649cb0cded
Merge pull request #253 from fkautz/pr_out_adding_iodine_to_ls_and_mb
2015-04-06 12:30:05 -07:00
Frederick F. Kautz IV
3293d71516
Adding iodine to ls and mb
2015-04-06 12:29:27 -07:00
Harshavardhana
c2baf8876d
Merge pull request #255 from harshavardhana/pr_out_add_sprintf_format_strings
2015-04-06 12:20:22 -07:00
Harshavardhana
4f75905dbf
Add Sprintf format strings
2015-04-06 12:20:10 -07:00
Harshavardhana
a3dd22d110
Merge pull request #254 from harshavardhana/pr_out_move_from_mgutz_ansi_to_fatih_color_package_on_popularity_and_cleaner_api
2015-04-06 12:17:47 -07:00
Harshavardhana
9e7c367545
Move from mgutz/ansi to fatih/color package on popularity and cleaner API.
...
This package also supports Windows console coloring.
2015-04-06 12:17:34 -07:00
Frederick F. Kautz IV
f9bc767a72
Merge pull request #252 from fkautz/pr_out_adding_iodine_to_cmd_ls_go
2015-04-06 12:12:48 -07:00
Frederick F. Kautz IV
af3a4ed93e
Adding iodine to cmd-ls.go
2015-04-06 12:12:35 -07:00
Frederick F. Kautz IV
f4520a328b
Merge pull request #251 from fkautz/pr_out_adding_iodine_to_cmd_config
2015-04-06 12:08:25 -07:00
Frederick F. Kautz IV
8e438a7473
Adding iodine to cmd-config
2015-04-06 12:08:17 -07:00
Frederick F. Kautz IV
1cc01d56d3
Merge pull request #250 from fkautz/pr_out_adding_more_iodine_to_cmd_common_go
2015-04-06 11:58:21 -07:00
Frederick F. Kautz IV
36e0846b26
Adding more iodine to cmd-common.go
2015-04-06 11:58:10 -07:00
Harshavardhana
672d1d8099
Merge pull request #249 from harshavardhana/pr_out_update_erasure_to_minio_io_erasure
2015-04-05 23:50:01 -07:00
Harshavardhana
450cb8802d
Update erasure to minio-io/erasure
2015-04-05 23:49:43 -07:00
Harshavardhana
df5570a0c9
Merge pull request #248 from harshavardhana/pr_out_length_of_items_to_be_zero_in_listobjects_is_a_valid_case
2015-04-05 23:46:32 -07:00
Harshavardhana
f2c6faec66
Length of items to be zero in ListObjects is a valid case
2015-04-05 23:46:17 -07:00
Frederick F. Kautz IV
36b644ab4b
Merge pull request #247 from fkautz/pr_out_adding_iodine_to_cmd_common
2015-04-05 21:45:56 -07:00
Frederick F. Kautz IV
73627de0ca
Adding iodine to cmd-common
2015-04-05 21:45:38 -07:00
Frederick F. Kautz IV
45d936a5bd
Merge pull request #246 from fkautz/pr_out_close_reader_to_prevent_fd_leak
2015-04-05 21:44:20 -07:00
Frederick F. Kautz IV
e1a8a44d0f
Close reader to prevent fd leak
2015-04-05 21:44:07 -07:00
Harshavardhana
53d6ba1712
Merge pull request #245 from harshavardhana/pr_out_multitarget_now_works_properly_fixes_244
2015-04-05 19:10:33 -07:00
Harshavardhana
118713814f
Multitarget now works properly - fixes #244
2015-04-05 19:10:04 -07:00
Frederick F. Kautz IV
6aac499aa9
Merge pull request #243 from fkautz/pr_out_replacing_check_v1_with_minio_io_check_in_deps
2015-04-05 16:20:15 -07:00
Frederick F. Kautz IV
e671ad0ca4
Replacing check.v1 with minio-io/check in deps
2015-04-05 16:19:41 -07:00
Frederick F. Kautz IV
1cd40a3507
Updating donut_test to use minio-io/check
2015-04-05 16:15:14 -07:00
Frederick F. Kautz IV
aa4c7c8dcd
Merge pull request #242 from fkautz/pr_out_updating_build_constants
2015-04-05 16:12:35 -07:00
Frederick F. Kautz IV
a1188d9778
Updating build constants
2015-04-05 16:12:03 -07:00
Frederick F. Kautz IV
934bc87a1d
Merge pull request #241 from fkautz/pr_out_updating_aliases_go_with_iodine
2015-04-05 16:01:00 -07:00
Frederick F. Kautz IV
a05d5f0fd9
Updating aliases.go with iodine
2015-04-05 16:00:34 -07:00
Harshavardhana
0f92312653
Merge pull request #240 from harshavardhana/pr_out_update_donut_with_latest_changes
2015-04-05 16:00:32 -07:00
Harshavardhana
d64658ed7b
Update donut with latest changes
2015-04-05 16:00:05 -07:00
Frederick F. Kautz IV
03f7da784e
Merge pull request #239 from fkautz/pr_out_updating_mxj_to_latest
2015-04-05 15:56:50 -07:00
Frederick F. Kautz IV
e6a7d63609
Updating mxj to latest
2015-04-05 15:56:41 -07:00
Anand Babu (AB) Periasamy
0e7382bc5c
Merge pull request #238 from abperiasamy/donut-cleanup
...
donut cleanup
2015-04-05 11:22:10 -07:00
Anand Babu (AB) Periasamy
ec0360d9bd
donut cleanup
2015-04-05 11:21:19 -07:00
Anand Babu (AB) Periasamy
c892793810
Merge pull request #237 from abperiasamy/simplify-ls-cmd
...
simplify ls cmd as well
2015-04-05 01:47:59 -07:00
Anand Babu (AB) Periasamy
af41562446
simplify ls cmd as well
2015-04-05 01:43:00 -07:00
Anand Babu (AB) Periasamy
c6e45e9714
Merge pull request #236 from abperiasamy/list-obj-simple
...
Simplify ListObject API
2015-04-05 01:32:12 -07:00
Anand Babu (AB) Periasamy
d7a12dcef4
Simplify ListObject API
2015-04-05 01:29:13 -07:00
Harshavardhana
e6c6bedf76
Merge pull request #235 from harshavardhana/pr_out_appreciate_maxkeys_in_donut_listobjects_
2015-04-05 01:07:59 -07:00
Harshavardhana
a8434f9f40
Appreciate MaxKeys in donut ListObjects()
2015-04-05 01:07:37 -07:00
Harshavardhana
ddf0150234
Update donut tests
2015-04-05 00:22:58 -07:00
Harshavardhana
1f898e125e
out of memory issue fixed #234
...
This is fixed by removing bytes.Buffer to calculate md5 during upload
2015-04-04 22:23:07 -07:00
Harshavardhana
871e717a31
When using waitGroup avoid channel, they seem to hang
2015-04-04 19:50:03 -07:00
Harshavardhana
a3196ae6ed
Add iodine and other deps
2015-04-04 19:33:47 -07:00
Frederick F. Kautz IV
aa63a9f4bd
Merge pull request #233 from fkautz/pr_out_updating_multicopy_to_use_waitgroup_and_return_errors_instead_of_indexes
2015-04-04 19:24:25 -07:00
Frederick F. Kautz IV
fe2e5b8a0a
Updating multicopy to use waitgroup and return errors instead of indexes
2015-04-04 19:24:08 -07:00
Frederick F. Kautz IV
9144195d17
Adding iodine to main and cp
2015-04-04 19:08:16 -07:00
Harshavardhana
eba7ee4e0c
Update donut with new minio-io/donut changes
...
Merging this directly, due to some github.com issues
2015-04-04 18:35:23 -07:00
Harshavardhana
7931d66a23
Merge pull request #232 from harshavardhana/pr_out_cleanup_http_tracer_code
2015-04-04 18:30:06 -07:00
Harshavardhana
1d8564d003
cleanup http tracer code
2015-04-04 18:29:41 -07:00
Harshavardhana
e3108dd37c
Merge pull request #231 from harshavardhana/pr_out_add_new_cli_changes
2015-04-04 16:44:54 -07:00
Harshavardhana
9e265de883
Add new cli changes
2015-04-04 16:43:27 -07:00
Anand Babu (AB) Periasamy
a4da5e74c8
Merge pull request #230 from abperiasamy/copy-multi-target
...
multi target copy
2015-04-04 14:09:28 -07:00
Anand Babu (AB) Periasamy
97ef5809ff
multi target copy
2015-04-04 14:07:45 -07:00
Harshavardhana
3b49d62fe6
Merge pull request #229 from harshavardhana/pr_out_update_donut_to_minio_io_donut
2015-04-03 19:08:39 -07:00
Harshavardhana
0ed440e15a
Update donut to minio-io/donut
2015-04-03 19:08:25 -07:00
Harshavardhana
83e85ee847
Merge pull request #228 from harshavardhana/pr_out_update_to_donut_changes_at_minio_io_donut
2015-04-03 16:05:10 -07:00
Harshavardhana
d9837ce073
Update to donut changes at minio-io/donut
...
~~~
Now erasure coding is based on number of disks i.e
N = 1 (no erasure encoding or decoding)
N > 1 (data chunks are K = quotient + remainder)
(parity chunks are M = quotient)
Where N is divided by 2
~~~
2015-04-03 15:59:40 -07:00
Anand Babu (AB) Periasamy
b540688971
Merge pull request #227 from abperiasamy/unified-client
...
first step to rewrite copy cmd
2015-04-03 13:05:01 -07:00
Anand Babu (AB) Periasamy
02e7e35d7b
first step to rewrite copy cmd
2015-04-03 12:56:28 -07:00
Harshavardhana
5ea9971c9b
Merge pull request #226 from harshavardhana/pr_out_update_donut_to_new_changes_at_minio_io_donut
2015-04-02 18:36:31 -07:00
Harshavardhana
cbbe7bd8b2
Update donut to new changes at minio-io/donut
2015-04-02 18:36:16 -07:00
Harshavardhana
7cf882f33e
Merge pull request #225 from harshavardhana/pr_out_use_the_new_customhelptemplate_cli_command_option_for_detailed_help
2015-04-02 16:09:52 -07:00
Harshavardhana
f4f6f138d7
Use the new CustomHelpTemplate cli.Command{} option for detailed help
2015-04-02 16:09:00 -07:00
Harshavardhana
4456b33b17
Merge pull request #224 from harshavardhana/pr_out_build_everything_by_default
2015-04-02 14:38:09 -07:00
Harshavardhana
f37b63bf2c
Build everything by default
2015-04-02 14:37:24 -07:00
Harshavardhana
292c484905
Merge pull request #223 from harshavardhana/pr_out_update_donut_to_minio_io_donut
2015-04-02 12:54:44 -07:00
Harshavardhana
5aaa533bda
Update donut to minio-io/donut
2015-04-02 12:54:26 -07:00
Harshavardhana
3e9f582805
Merge pull request #222 from harshavardhana/pr_out_now_godep_is_minio_io_godep
2015-04-02 12:52:48 -07:00
Harshavardhana
fc41ea94cc
Now godep is minio-io/godep
2015-04-02 12:52:32 -07:00
Harshavardhana
967f1cb422
Merge pull request #221 from harshavardhana/pr_out_add_missing_globalmaxkeys
2015-04-01 22:28:54 -07:00
Harshavardhana
a8c1507617
Add missing globalMaxKeys
2015-04-01 22:28:37 -07:00
Harshavardhana
e99bb09f35
Merge pull request #220 from harshavardhana/pr_out_add_extra_information_into_mc_with_debug
2015-04-01 22:26:26 -07:00
Harshavardhana
45d32b6238
Add extra information into mc with --debug
...
~~~
MEM:
Used: 143.48 KB | Allocated: 192.23 KB | Used-Heap: 143.48 KB | Allocated-Heap: 816.00 KB
PLATFORM:
Host: command | OS: linux | Arch: amd64
RUNTIME:
Version: go1.4 | CPUs: 4
~~~
2015-04-01 22:25:19 -07:00
Anand Babu (AB) Periasamy
3bd30b3dc5
Merge pull request #219 from abperiasamy/globals
...
move all global variables to globals
2015-04-01 20:09:41 -07:00
Anand Babu (AB) Periasamy
ba233bab60
move all global variables to globals
2015-04-01 20:08:21 -07:00
Harshavardhana
ff694ca0f3
Merge pull request #218 from harshavardhana/pr_out_update_erasure_package_from_minio_io_erasure
2015-04-01 19:14:32 -07:00
Harshavardhana
1381b51ad4
Update erasure package from minio-io/erasure
2015-04-01 19:14:18 -07:00
Harshavardhana
2b96f49e68
Merge pull request #217 from harshavardhana/pr_out_mc_now_resumes_donut_downloads_getpartialobject_implemented_for_donut_client
2015-04-01 18:51:27 -07:00
Harshavardhana
4d7471fed7
mc now resumes donut downloads, GetPartialObject() implemented for donut client
2015-04-01 18:50:50 -07:00
Harshavardhana
8b3d6fb80e
Merge pull request #216 from harshavardhana/pr_out_update_erasure_code_to_latest
2015-04-01 16:51:05 -07:00
Harshavardhana
14a3d1d6ff
Update erasure code to latest
2015-04-01 16:49:45 -07:00
Harshavardhana
621764d081
Merge pull request #215 from harshavardhana/pr_out_purge_xmltime
2015-04-01 13:34:53 -07:00
Harshavardhana
7e56f281fa
Purge xmltime
2015-04-01 13:34:42 -07:00
Harshavardhana
c72477dead
Merge pull request #214 from harshavardhana/pr_out_simplify_donut_client_side
2015-04-01 13:23:34 -07:00
Harshavardhana
2803d404d5
Simplify donut client side
2015-04-01 13:21:41 -07:00
Harshavardhana
a9e88ab7b0
Merge pull request #213 from harshavardhana/pr_out_remove_scsi_package
2015-04-01 12:59:58 -07:00
Harshavardhana
2a97f1674a
Remove scsi package
2015-04-01 12:58:58 -07:00
Harshavardhana
cef2a76748
Merge pull request #212 from harshavardhana/pr_out_make_everything_as_packages
2015-04-01 12:55:57 -07:00
Harshavardhana
720dab89e2
Make everything as packages
...
- minio-io/erasure
- minio-io/donut
2015-04-01 12:55:25 -07:00
Harshavardhana
aed14d18b1
Merge pull request #211 from harshavardhana/pr_out_now_progress_bar_is_support_for_put_object
2015-03-31 22:58:14 -07:00
Harshavardhana
c7221386b2
Now progress bar is support for Put object
2015-03-31 22:57:36 -07:00
Harshavardhana
4111a974bd
Merge pull request #210 from harshavardhana/pr_out_support_donut_ls_object_files
2015-03-31 21:39:07 -07:00
Harshavardhana
97bfec7cf1
Support donut ls object files
2015-03-31 21:38:51 -07:00
Harshavardhana
37942d8ab9
Merge pull request #209 from harshavardhana/pr_out_implement_stat_
2015-03-31 20:38:54 -07:00
Harshavardhana
25c9a41bc1
Implement Stat()
2015-03-31 20:38:26 -07:00
Harshavardhana
4590209ff3
Merge pull request #208 from harshavardhana/pr_out_update_to_latest_changes_from_minio_io_donut_and_other_fixes
2015-03-31 16:35:08 -07:00
Harshavardhana
a2cd9ebbc2
Update to latest changes from minio-io/donut and other fixes
...
completed work
- ListObjects() - buckets(sorted)
- ListBuckets() - objects(sorted)
- Get() - object
- Put() - object
TODO: further cleanups in progress
2015-03-31 16:28:22 -07:00
Harshavardhana
94eb935743
Merge pull request #207 from harshavardhana/pr_out_implement_getobject_multi_disk
2015-03-31 00:33:16 -07:00
Harshavardhana
939c52ef3a
Implement GetObject() multi-disk
2015-03-31 00:32:56 -07:00
Harshavardhana
2571e801ff
Merge pull request #206 from harshavardhana/pr_out_use_single_place_for_maxkeys_at_client_interface
2015-03-30 19:07:39 -07:00
Harshavardhana
7e6c1cc705
Use single place for Maxkeys at client interface
2015-03-30 19:07:23 -07:00
Harshavardhana
0c0fcedff9
Merge pull request #205 from harshavardhana/pr_out_mc_and_new_donut_now_supports_listobjects_
2015-03-30 19:04:17 -07:00
Harshavardhana
5055071b8d
mc and new Donut now supports ListObjects()
2015-03-30 19:04:00 -07:00
Harshavardhana
08919db278
Merge pull request #204 from harshavardhana/pr_out_build_fix_erroneous_change_in_previous_commit
2015-03-30 17:39:17 -07:00
Harshavardhana
18906bce8b
Build fix erroneous change in previous commit
2015-03-30 17:38:58 -07:00
Harshavardhana
4db07943ee
Merge pull request #203 from harshavardhana/pr_out_new_changes_put_object_donut_works_with_multi_disk
2015-03-30 17:25:47 -07:00
Harshavardhana
4648965761
New changes, Put object donut works with multi-disk
2015-03-30 17:25:23 -07:00
Harshavardhana
7c9c1cbf67
Merge pull request #202 from harshavardhana/pr_out_remove_detach_attach_make_donut_from_mc_cli_moved_to_minio_io_donut_project
2015-03-30 13:12:02 -07:00
Harshavardhana
5123aa5d05
Remove detach, attach, make donut from mc - cli moved to minio-io/donut project
2015-03-30 13:11:41 -07:00
Harshavardhana
e5ddf80133
Merge pull request #201 from harshavardhana/pr_out_remove_stale_code
2015-03-30 01:18:17 -07:00
Harshavardhana
50b219fee7
Remove stale code
2015-03-30 01:17:50 -07:00
Harshavardhana
e8ed0b24fd
Merge pull request #200 from harshavardhana/pr_out_encoding_erasure_updates_from_minio_io_minio
2015-03-29 14:58:13 -07:00
Harshavardhana
27f9239c6c
Encoding erasure updates from minio-io/minio
2015-03-29 14:57:59 -07:00
Harshavardhana
e50eacfe7c
Merge pull request #199 from harshavardhana/pr_out_enable_detachnode_implement_disk_makefile_and_disk_openfile
2015-03-29 13:33:56 -07:00
Harshavardhana
fa5cfa9d02
Enable DetachNode, implement disk.MakeFile and disk.OpenFile
2015-03-29 13:33:20 -07:00
Harshavardhana
4495a805db
Merge pull request #198 from harshavardhana/pr_out_refactor_to_move_code_inside_donut
2015-03-28 20:33:08 -07:00
Harshavardhana
a286b12891
Refactor to move code inside Donut
2015-03-28 20:32:51 -07:00
Harshavardhana
cb240845e0
Build fix
2015-03-28 20:13:35 -07:00
Harshavardhana
f6f7e84d16
Merge pull request #197 from harshavardhana/pr_out_now_donut_with_erasure_largely_stub
2015-03-28 20:12:13 -07:00
Harshavardhana
0dc6fb1d40
Now donut with erasure, largely stub
2015-03-28 20:11:00 -07:00
Harshavardhana
2cbb75a947
Merge pull request #196 from harshavardhana/pr_out_update_cli_with_more_changes
2015-03-28 17:44:07 -07:00
Harshavardhana
22275eeea3
Update cli with more changes
2015-03-28 17:43:40 -07:00
Harshavardhana
979e267dc0
Merge pull request #195 from harshavardhana/pr_out_now_donut_ls_donut_mb_supported
2015-03-28 16:55:25 -07:00
Harshavardhana
92c608af31
Now donut ls, donut mb - supported
2015-03-28 16:54:56 -07:00
Harshavardhana
cf2a3ee22b
Merge pull request #194 from harshavardhana/pr_out_add_newbucket_and_some_more_api_changes
2015-03-28 14:33:53 -07:00
Harshavardhana
00916842b9
Add NewBucket() and some more api changes
2015-03-28 14:32:48 -07:00
Harshavardhana
a28c4a0257
Merge pull request #193 from harshavardhana/pr_out_further_changes_to_new_donut
2015-03-28 12:40:39 -07:00
Harshavardhana
fa959ef12b
Further changes to new Donut
2015-03-28 12:39:55 -07:00
Anand Babu (AB) Periasamy
5555a7a136
Merge pull request #192 from abperiasamy/arg_parser
...
better args/url parssing
2015-03-27 14:38:35 -07:00
Anand Babu (AB) Periasamy
a88f206f4b
better args/url parssing
2015-03-27 14:19:32 -07:00
Harshavardhana
0c0fa18234
Merge pull request #191 from harshavardhana/pr_out_add_some_descriptions_on_donut_commands
2015-03-26 22:43:35 -07:00
Harshavardhana
74b0d08f4a
Add some descriptions on donut commands
2015-03-26 22:43:07 -07:00
Harshavardhana
45b34d696a
Merge pull request #190 from harshavardhana/pr_out_make_donut_commands_more_robust
2015-03-26 22:35:19 -07:00
Harshavardhana
b62ee3d3dc
Make donut commands more robust
2015-03-26 22:35:10 -07:00
Harshavardhana
77ffd998a1
Merge pull request #189 from harshavardhana/pr_out_new_simplified_donut_specification_improvements_over_previous_donut_implementation
2015-03-26 19:33:37 -07:00
Harshavardhana
4490a75256
New simplified Donut specification, improvements over previous donut implementation
2015-03-26 19:33:24 -07:00
Harshavardhana
ccd9f8295d
Merge pull request #188 from harshavardhana/pr_out_implement_attach_detach_disk_into_donut_config
2015-03-26 18:48:18 -07:00
Harshavardhana
381f071390
Implement attach, detach disk into donut config
2015-03-26 18:48:00 -07:00
Harshavardhana
cfa45d88a9
Merge pull request #187 from harshavardhana/pr_out_add_new_commands_stub_re_arrange_options_as_below
2015-03-26 17:18:07 -07:00
Harshavardhana
8c191cdb23
Add new commands stub, re-arrange options as below
...
COMMANDS:
make make
attach attach disk
detach detach disk
heal heal donut
rebalance rebalance
mb mb
cp cp
help, h Shows a list of commands or help for one command
2015-03-26 17:17:40 -07:00
Harshavardhana
bd0090484e
Merge pull request #186 from harshavardhana/pr_out_add_donut_make_command
2015-03-26 17:07:06 -07:00
Harshavardhana
a62661e5f0
Add donut make command
2015-03-26 17:06:27 -07:00
Harshavardhana
1b6a6b746e
Merge pull request #185 from harshavardhana/pr_out_git_commit_hash_generator
2015-03-25 23:07:45 -07:00
Harshavardhana
4497de7f1d
git commit hash generator
2015-03-25 23:07:33 -07:00
Harshavardhana
1c388fea0e
Merge pull request #184 from harshavardhana/pr_out_revert_fix_commit_id
2015-03-25 21:53:38 -07:00
Harshavardhana
0c6fbe50a5
Revert "Fix commit id"
...
This reverts commit f227809fdb .
2015-03-25 21:53:23 -07:00
Harshavardhana
2384b9dafe
Merge pull request #183 from harshavardhana/pr_out_fix_commit_id
2015-03-25 21:41:33 -07:00
Harshavardhana
f227809fdb
Fix commit id
2015-03-25 21:41:16 -07:00
Harshavardhana
ee8c35cf79
Merge pull request #182 from harshavardhana/pr_out_update_iodine
2015-03-25 21:27:06 -07:00
Harshavardhana
d54a9bca19
Update iodine
2015-03-25 21:26:57 -07:00
Harshavardhana
114d36e7b9
Merge pull request #181 from harshavardhana/pr_out_update_iodine_for_mc_donut
2015-03-25 21:25:05 -07:00
Harshavardhana
1ddcaebd53
Update iodine for mc donut
2015-03-25 21:24:48 -07:00
Harshavardhana
0822d65e7b
Merge pull request #180 from harshavardhana/pr_out_cache_decode_matrix_tables_and_matrix
2015-03-25 19:12:18 -07:00
Anand Babu (AB) Periasamy
48cc36614d
cache decode matrix tables and matrix
2015-03-25 19:11:56 -07:00
Harshavardhana
acae0bb3a5
Merge pull request #179 from harshavardhana/pr_out_fix_golint_complaints
2015-03-25 18:59:58 -07:00
Harshavardhana
544f50705d
Fix golint complaints
2015-03-25 18:59:45 -07:00
Harshavardhana
49828183c3
Merge pull request #178 from harshavardhana/pr_out_add_gocyclo_and_fix_all_its_complaints_use_15_as_cyclomatic_threshold
2015-03-25 18:42:42 -07:00
Harshavardhana
936fda7eac
Add gocyclo and fix all its complaints use 15 as cyclomatic threshold
2015-03-25 18:39:42 -07:00
Harshavardhana
fdf1658980
Merge pull request #177 from harshavardhana/pr_out_make_code_simpler
2015-03-25 14:24:20 -07:00
Harshavardhana
8d97d218de
Make code simpler
2015-03-25 14:23:40 -07:00
Harshavardhana
464a2ec005
Merge pull request #176 from harshavardhana/pr_out_update_from_minio_io_minio
2015-03-25 13:33:52 -07:00
Harshavardhana
124aa34622
Update from minio-io/minio
2015-03-25 13:33:40 -07:00
Harshavardhana
45461ceca5
Merge pull request #175 from harshavardhana/pr_out_add_iodine_to_mc
2015-03-25 13:29:41 -07:00
Harshavardhana
1160f8ad53
Add iodine to mc
2015-03-25 13:29:32 -07:00
Harshavardhana
c818f4fddc
Merge pull request #174 from harshavardhana/pr_out_build_fix
2015-03-25 13:13:43 -07:00
Harshavardhana
71cdfe5d6f
Build fix
2015-03-25 13:13:15 -07:00
Harshavardhana
07a34e98dd
Merge pull request #173 from harshavardhana/pr_out_implement_donut_client_to_be_used_with_mc_now_supports_creating_bucket_cp_of_objects_in_and_out
2015-03-25 12:58:56 -07:00
Harshavardhana
3ea3256d87
Implement donut client to be used with mc now supports creating bucket, cp of objects in and out
2015-03-25 12:57:33 -07:00
Harshavardhana
7f029bb0f7
Merge pull request #172 from harshavardhana/pr_out_add_commitid_to_mc
2015-03-25 11:19:17 -07:00
Harshavardhana
f6e530898c
Add commitID to mc
2015-03-25 11:18:58 -07:00
Harshavardhana
5d1cd8f67b
Merge pull request #171 from harshavardhana/pr_out_remove_erroneous_erasure_package_from_godeps_but_keep_split_package
2015-03-24 20:29:44 -07:00
Harshavardhana
f56c05e554
Remove erroneous erasure package from Godeps, but keep split package
2015-03-24 20:28:22 -07:00
Harshavardhana
26b392a6ed
Merge pull request #170 from harshavardhana/pr_out_move_from_codegangsta_cli_to_minio_io_cli_fork
2015-03-24 20:25:23 -07:00
Harshavardhana
bcf41c53c2
Move From codegangsta/cli to minio-io/cli fork
2015-03-24 20:24:51 -07:00
Harshavardhana
c8bb7edd08
Merge pull request #169 from harshavardhana/pr_out_erasure_technique_is_now_uint8_handle_it_appropriately
2015-03-24 19:14:54 -07:00
Harshavardhana
dc1c59b245
Erasure technique is now uint8, handle it appropriately
2015-03-24 19:13:52 -07:00
Anand Babu (AB) Periasamy
c73ebceca2
erasure encode janitor duty
2015-03-24 19:13:44 -07:00
Harshavardhana
d1ad07fb62
Merge pull request #168 from harshavardhana/pr_out_handle_errors_properly_during_erasure_decoding_also_populate_technique_and_verify
2015-03-24 18:13:38 -07:00
Harshavardhana
23f14cfd09
Handle errors properly during erasure Decoding, also populate technique and verify
2015-03-24 18:13:18 -07:00
Harshavardhana
a20e8e39ed
Merge pull request #167 from harshavardhana/pr_out_move_donut_into_storage_exactly_like_minio_io_minio_project
2015-03-24 06:53:13 -07:00
Harshavardhana
b124d66d14
Move donut into storage/ exactly like minio-io/minio project.
...
This would make it easier to pull in and merge changes.
2015-03-24 06:52:57 -07:00
Harshavardhana
016658e399
Merge pull request #166 from harshavardhana/pr_out_pull_changes_from_donut_at_minio_io_minio
2015-03-24 06:50:04 -07:00
Harshavardhana
bb00c45c2f
Pull changes from donut at Minio-io/minio
2015-03-24 06:49:23 -07:00
Harshavardhana
13a1c3f234
Merge pull request #165 from harshavardhana/pr_out_donut_cp_explicitly_issue_a_close_on_donutwriter
2015-03-23 19:47:16 -07:00
Harshavardhana
2dcd1fc543
Donut cp explicitly issue a Close() on DonutWriter
2015-03-23 19:47:04 -07:00
Harshavardhana
64862d3169
Merge pull request #164 from harshavardhana/pr_out_build_fix
2015-03-23 19:35:59 -07:00
Harshavardhana
c8f254c6b2
Build fix
2015-03-23 19:35:42 -07:00
Harshavardhana
15bf7d0d25
Merge pull request #163 from harshavardhana/pr_out_move_back_to_functional_style_for_simplicity
2015-03-23 15:43:21 -07:00
Harshavardhana
bd18e3c260
Move back to functional style for simplicity
2015-03-23 15:43:02 -07:00
Harshavardhana
f028bdfd75
Merge pull request #162 from harshavardhana/pr_out_move_donut_cmd_into_mc
2015-03-23 14:18:10 -07:00
Harshavardhana
deb889d2fb
Move donut cmd into ./mc
2015-03-23 14:15:16 -07:00
Harshavardhana
760453fe32
Improve url parser, inherit url.URL
2015-03-23 14:08:33 -07:00
Harshavardhana
9754506a24
Merge pull request #161 from abperiasamy/parseopts
2015-03-23 13:33:35 -07:00
Anand Babu (AB) Periasamy
7259d50862
url parsers
2015-03-23 13:24:27 -07:00
Harshavardhana
e7bfa896e9
Merge pull request #160 from harshavardhana/pr_out_implement_donutclient_stub_code_and_other_misc_changes
2015-03-23 00:53:28 -07:00
Harshavardhana
640d860616
Implement donutclient stub code, and other misc changes
2015-03-23 00:52:49 -07:00
Harshavardhana
d233740e62
Merge pull request #159 from harshavardhana/pr_out_cleanup_janitor_duty
2015-03-22 20:38:48 -07:00
Anand Babu (AB) Periasamy
a8987f924a
Cleanup janitor duty
2015-03-22 20:37:41 -07:00
Harshavardhana
e6062c518d
Merge pull request #158 from harshavardhana/pr_out_co_incide_with_upstream_changes_and_other_misc_changes
2015-03-22 20:30:35 -07:00
Harshavardhana
b078e877b3
Co-incide with upstream changes and other misc changes
2015-03-22 20:30:23 -07:00
Harshavardhana
117002a6b3
Merge pull request #157 from harshavardhana/pr_out_fix_composite_literal_uses_unkeyed_fields
2015-03-22 20:15:05 -07:00
Harshavardhana
03248884de
Fix composite literal uses unkeyed fields
2015-03-22 20:14:53 -07:00
Harshavardhana
25969ef87a
Merge pull request #154 from harshavardhana/pr_out_more_cleanup
2015-03-22 20:04:54 -07:00
Harshavardhana
d1550045b3
Donut command
2015-03-22 20:03:39 -07:00
Harshavardhana
d1068168dc
Implementing client side donut
2015-03-22 20:03:32 -07:00
Harshavardhana
36a0bd6a78
Merge pull request #152 from harshavardhana/pr_out_add_support_for_proc_self_mountinfo
2015-03-21 21:19:03 -07:00
Harshavardhana
6e380c9247
Add support for /proc/self/mountinfo
2015-03-21 21:18:46 -07:00
Harshavardhana
394ef0daa8
Merge pull request #153 from harshavardhana/pr_out_build_fix_go_vet
2015-03-21 21:07:39 -07:00
Harshavardhana
4fceb5c496
Build fix go vet
2015-03-21 21:07:21 -07:00
Harshavardhana
bff62f5c11
Merge pull request #151 from harshavardhana/pr_out_add_partition_map_to_scsi_list
2015-03-21 19:51:54 -07:00
Harshavardhana
f52f2a7d0a
Add Partition map to scsi list
2015-03-21 19:51:36 -07:00
Anand Babu (AB) Periasamy
aa0e129597
Merge pull request #150 from abperiasamy/glob_match
...
glob matching for host configuration in config file
2015-03-20 02:55:08 -07:00
Anand Babu (AB) Periasamy
b0479c729c
glob matching for host configuration in config file
2015-03-20 02:53:46 -07:00
Anand Babu (AB) Periasamy
6d1e85b0a0
Merge pull request #149 from abperiasamy/config_improvements
...
new config file format and some restructuring
2015-03-19 18:12:39 -07:00
Anand Babu (AB) Periasamy
b855e37945
new config file format and some restructuring
2015-03-19 18:09:56 -07:00
Harshavardhana
e054fe651a
Merge pull request #148 from harshavardhana/pr_out_move_from_mini_minimalist_for_all_license_headers
2015-03-19 15:05:51 -07:00
Harshavardhana
3403ef08f7
Move from Mini --> Minimalist for all license headers
2015-03-19 15:05:30 -07:00
Harshavardhana
f7c83e51e9
Merge pull request #147 from harshavardhana/pr_out_add_scsi_detection_package_for_mc
2015-03-19 15:04:47 -07:00
Harshavardhana
15c53d8399
Add scsi detection package for mc.
...
This is a generic usable package to be wired up with donut,
eventually facilitating functionalities like 'add-disk', 'remove-disk'
2015-03-19 15:00:54 -07:00
Harshavardhana
ed5bf50541
Merge pull request #146 from harshavardhana/pr_out_add_a_way_to_update_alias_using_alias_aliasname_url
2015-03-19 14:24:37 -07:00
Harshavardhana
a911f67262
Add a way to update alias using --alias <aliasname> <url>
2015-03-19 14:24:27 -07:00
Harshavardhana
a8384f52b2
Merge pull request #145 from harshavardhana/pr_out_update_client_examples_for_listobjects_put_getbucketpolicy
2015-03-19 12:25:53 -07:00
Harshavardhana
927e18a1ed
Update client examples for ListObjects, Put/GetBucketPolicy
2015-03-19 12:25:07 -07:00
Harshavardhana
b888e0f0b8
Merge pull request #144 from harshavardhana/pr_out_move_s3errors_and_make_it_part_of_standard_s3_package
2015-03-19 00:17:08 -07:00
Harshavardhana
4067b0be18
Move s3errors and make it part of standard s3 package.
...
Also update 'resourceList' with additional resources from
amazon api.
2015-03-19 00:15:44 -07:00
Harshavardhana
4807cf1eb7
Merge pull request #143 from harshavardhana/pr_out_move_checkdeps_to_buildscripts_additionally_add_patch_sh
2015-03-18 14:22:12 -07:00
Harshavardhana
ac8a0e109f
Move checkdeps to buildscripts/, additionally add patch.sh
...
patch.sh patches any source codepath with the patch provided,
for now the patch file included is a way to Hide flags for
codegangsta until it is merged upstream.
Not part of the build yet.
2015-03-18 11:20:26 -07:00
Harshavardhana
635507453e
Update Godeps
2015-03-18 10:50:23 -07:00
Harshavardhana
df83d1fdcb
Merge pull request #142 from harshavardhana/pr_out_update_codegangsta_to_upstream_changes
2015-03-18 10:49:40 -07:00
Harshavardhana
1cbf56de81
Update codegangsta to upstream changes
2015-03-18 10:49:16 -07:00
Anand Babu (AB) Periasamy
eece3fddf7
Merge pull request #141 from abperiasamy/second_alias
...
alias support for second url
2015-03-18 02:35:43 -07:00
Anand Babu (AB) Periasamy
f146825cb3
alias support for second url
2015-03-18 02:30:11 -07:00
Harshavardhana
3ff31be6a2
Merge pull request #140 from harshavardhana/pr_out_if_config_json_is_not_created_yet_don_t_eagerly_error_out_handle_it_gracefully
2015-03-17 23:09:55 -07:00
Harshavardhana
b378a0d8ae
If config.json is not created yet, don't eagerly error out - handle it gracefully
2015-03-17 23:09:12 -07:00
Anand Babu (AB) Periasamy
d36c968148
Merge pull request #139 from abperiasamy/checkdeps
...
use minio's checkdeps
2015-03-17 23:02:18 -07:00
Anand Babu (AB) Periasamy
1fc91fdda6
use minio's checkdeps
2015-03-17 22:58:44 -07:00
Harshavardhana
29adda9801
Merge pull request #138 from abperiasamy/alias_check
...
Alias check
2015-03-17 22:43:53 -07:00
Anand Babu (AB) Periasamy
dc47ae2449
improvements to config file and alias
2015-03-17 22:35:58 -07:00
Anand Babu (AB) Periasamy
b3110539a4
alias support
2015-03-17 22:35:58 -07:00
Harshavardhana
e142984255
Merge pull request #137 from harshavardhana/pr_out_add_stub_options_and_rename_some_functions
2015-03-17 21:55:00 -07:00
Harshavardhana
f7d2f2cf3b
Add stub options and rename some functions
2015-03-17 21:54:27 -07:00
Harshavardhana
d846c16a93
Merge pull request #136 from harshavardhana/pr_out_adding_erasure_package_copying_from_github_com_minio_io_erasure
2015-03-17 19:38:04 -07:00
Harshavardhana
3920afe120
Adding erasure package copying from github.com/minio-io/erasure
2015-03-17 19:37:10 -07:00
Harshavardhana
7edd0f5ce2
Merge pull request #134 from harshavardhana/pr_out_call_don_t_interfere_with_config_json_updates_while_calling_only_completion
2015-03-16 11:37:06 -07:00
Harshavardhana
302aa7084b
Call don't interfere with config.json updates while calling only --completion
2015-03-16 11:35:51 -07:00
Harshavardhana
9ebc2aa138
Merge pull request #133 from harshavardhana/pr_out_remove_unneeded_map_allocation
2015-03-16 11:17:19 -07:00
Harshavardhana
7fd77f522f
Remove unneeded Map allocation
2015-03-16 11:11:49 -07:00
Harshavardhana
5e5ff81292
Merge pull request #132 from harshavardhana/pr_out_move_from_fmt_errorf_to_errors_new
2015-03-15 19:53:05 -07:00
Harshavardhana
537fa331ba
Move from fmt.Errorf to errors.New
...
In many cases fmt.Errorf is good enough, but since
error is an interface, you can use arbitrary data
structures as error values, to allow callers to
inspect the details of the error.
2015-03-15 19:52:35 -07:00
Harshavardhana
385abe1bef
Merge pull request #131 from harshavardhana/pr_out_move_bash_completion_to_mc_config_subcommand
2015-03-15 18:37:26 -07:00
Harshavardhana
5416124514
Move bash completion to ./mc config subcommand
2015-03-15 18:36:35 -07:00
Harshavardhana
f7562ad4a1
Merge pull request #130 from harshavardhana/pr_out_x2j_is_deprecated_new_one_is_to_use_mxj
2015-03-15 18:17:14 -07:00
Harshavardhana
e8b2541603
x2j is deprecated - new-one is to use mxj
2015-03-15 18:16:23 -07:00
Harshavardhana
92e72cc760
Merge pull request #129 from harshavardhana/pr_out_do_not_upload_already_uploaded_objects
2015-03-15 17:46:08 -07:00
Harshavardhana
9da373b16d
Do not upload already uploaded objects.
...
fix another bug in Get() and GetPartial()
2015-03-15 17:45:29 -07:00
Anand Babu (AB) Periasamy
38d80a4cd6
Merge pull request #128 from abperiasamy/utc_offset
...
remove utc offset while listing
2015-03-15 16:58:25 -07:00
Anand Babu (AB) Periasamy
f49582d9c8
remove utc offset while listing
2015-03-15 16:56:24 -07:00
Harshavardhana
ccc01e5523
Merge pull request #127 from harshavardhana/pr_out_build_fix_use_bucketfromhost
2015-03-15 16:43:46 -07:00
Harshavardhana
b2e638105b
Build fix use bucketFromHost
2015-03-15 16:43:27 -07:00
Anand Babu (AB) Periasamy
b838ba9c3b
Merge pull request #126 from abperiasamy/xmlerr
...
s3 error handling package
2015-03-15 16:42:57 -07:00
Anand Babu (AB) Periasamy
0ba286c359
s3 error handling package
2015-03-15 16:39:00 -07:00
Harshavardhana
9aa12a72e2
Merge pull request #125 from harshavardhana/pr_out_add_key_and_bucket_name_handling_for_s3_properly
2015-03-15 14:12:30 -07:00
Harshavardhana
bbe0fc5303
Add key and bucket name handling for s3 properly
2015-03-15 14:12:11 -07:00
Harshavardhana
a964b125e3
Merge pull request #124 from harshavardhana/pr_out_remove_redundant_app_name_internally_codegangsta_uses_os_args_0
2015-03-15 03:29:49 -07:00
Harshavardhana
59cfecf0d0
Remove redundant app.Name, internally codegangsta uses os.Args[0]
2015-03-15 03:29:18 -07:00
Harshavardhana
d4f1cf51a5
Merge pull request #123 from harshavardhana/pr_out_update_codegangsta_with_upstream
2015-03-15 02:23:49 -07:00
Harshavardhana
bbd3d51dfa
Update codegangsta with upstream
2015-03-15 02:23:27 -07:00
Harshavardhana
4d7ab9e204
Merge pull request #122 from harshavardhana/pr_out_new_changes_coming
2015-03-15 01:06:57 -07:00
Harshavardhana
427e38d837
New changes coming
...
- moving away from improper s3:// URI to standard http URI's
- migrate and test all commands ./mc ls, ./mc cp, ./mc cp -r
- move s3-trace.go s3/pkg/trace.go, make it part of S3 package
and document it.
- various other cleanup.
2015-03-15 01:05:54 -07:00
Harshavardhana
2e69213d04
Merge pull request #120 from harshavardhana/pr_out_upload_files_if_bucket_is_empty
2015-03-13 17:17:26 -07:00
Harshavardhana
6facf352be
Upload files if bucket is empty
2015-03-13 17:16:11 -07:00
Harshavardhana
50ddb74fba
Merge pull request #119 from harshavardhana/pr_out_print_mc_ls_in_a_proper_format
2015-03-13 15:47:38 -07:00
Harshavardhana
ee373be9c8
print ./mc ls in a proper format
2015-03-13 15:46:41 -07:00
Harshavardhana
1bda706663
Merge pull request #118 from harshavardhana/pr_out_update_docs
2015-03-13 03:20:23 -07:00
Harshavardhana
be59793b78
Update docs
2015-03-13 03:18:59 -07:00
Harshavardhana
b634ae33ac
Merge pull request #117 from harshavardhana/pr_out_cosmetic_change_missed_in_previous_commit
2015-03-13 03:02:54 -07:00
Harshavardhana
721dc02918
Cosmetic change missed in previous commit
2015-03-13 03:02:16 -07:00
Harshavardhana
919ee7b270
Merge pull request #116 from harshavardhana/pr_out_add_recursive_directory_upload_and_bucket_download_support_for_mc_cp_with_r_deprecate_mc_sync
2015-03-13 03:01:02 -07:00
Harshavardhana
503fa1f239
Add recursive directory upload and bucket download
...
support for './mc cp' with -r, deprecate './mc sync'
```
$ ./mc cp -r <directory_name> s3://<yourbucketname>
$ ./mc cp -r s3://<yourbucketname> <directory_name>
```
NOTE: resume is not supported yet
2015-03-13 02:59:57 -07:00
Anand Babu (AB) Periasamy
9036aeeb55
Merge pull request #115 from abperiasamy/opt_uri
...
empty URI lists top level buckets now & other minor cleanups
2015-03-12 22:33:26 -07:00
Anand Babu (AB) Periasamy
ac5a872220
empty URI lists top level buckets now & other minor cleanups
2015-03-12 22:30:51 -07:00
Harshavardhana
0e558ab3d8
Merge pull request #114 from harshavardhana/pr_out_refactor_mc_cp_with_various_modes_of_operation
2015-03-12 19:22:14 -07:00
Harshavardhana
8fd4e4a0bb
Refactor ./mc cp with various modes of operation
...
- First mode of operation supports with style `Path` `S3Path` or `Path` `S3Bucket`
- Second mode of operation supports with style `S3Path` `Path` or `S3Path` `.`
- Third mode of operation supports with style `S3Path` `S3Path` or `S3Path` `S3Bucket`
2015-03-12 19:12:19 -07:00
Anand Babu (AB) Periasamy
eb787b5a79
Merge pull request #113 from abperiasamy/transport_bug
...
fix transport nil bug
2015-03-12 19:10:03 -07:00
Anand Babu (AB) Periasamy
5c7aee2fb5
fix transport nil bug
2015-03-12 19:09:36 -07:00
Anand Babu (AB) Periasamy
98a9bc0b07
Merge pull request #112 from abperiasamy/http_verify
...
Http verify
2015-03-12 18:35:48 -07:00
Anand Babu (AB) Periasamy
a5d8fc114c
s3 generic validator and some improvements to httptrace
2015-03-12 18:27:40 -07:00
Harshavardhana
092f1ea511
Merge pull request #111 from harshavardhana/pr_out_build_fix
2015-03-11 18:17:27 -07:00
Harshavardhana
761a331ec4
Build fix
2015-03-11 18:17:04 -07:00
Harshavardhana
7cb1ebd930
Merge pull request #110 from harshavardhana/pr_out_more_restructue_and_add_a_new_cli_option_to_generate_bash_completion_file
2015-03-11 18:15:49 -07:00
Harshavardhana
7ef6214ddd
More restructue and add a new cli option to generate bash completion file.
2015-03-11 18:14:19 -07:00
Anand Babu (AB) Periasamy
c092140c0e
Merge pull request #109 from abperiasamy/file_reorg
...
renamed source files appropriately
2015-03-11 15:20:45 -07:00
Anand Babu (AB) Periasamy
77207a7477
renamed source files appropriately
2015-03-11 15:17:27 -07:00
Anand Babu (AB) Periasamy
1b979c6e96
Merge pull request #108 from abperiasamy/quiet_flag
...
disable progress-bar for --quiet flag
2015-03-11 14:41:00 -07:00
Anand Babu (AB) Periasamy
3bcaa23c33
disable progress-bar for --quiet flag
2015-03-11 13:29:06 -07:00
Anand Babu (AB) Periasamy
bb080a3fcd
Merge pull request #106 from abperiasamy/debug_flag
...
replace --verbose with --debug and --quiet bool flags
2015-03-11 12:57:07 -07:00
Anand Babu (AB) Periasamy
59ae161e52
replace --verbose with --debug and --quiet bool flags
2015-03-11 12:54:01 -07:00
Harshavardhana
bda4eb450d
Merge pull request #105 from abperiasamy/httptrace
...
Tracing support for S3 client
2015-03-11 10:24:15 -07:00
Anand Babu (AB) Periasamy
2dcf5a0390
HTTP trace code vet'ed
2015-03-11 01:24:39 -07:00
Anand Babu (AB) Periasamy
09f72d6f2b
improved httptrace framework
2015-03-11 01:24:39 -07:00
Anand Babu (AB) Periasamy
ba0fdcaa33
httptrace first commit
2015-03-11 01:24:39 -07:00
Harshavardhana
74c42cccf2
Merge pull request #104 from harshavardhana/pr_out_add_wget_style_format_and_also_use_set_current_position_instead_of_add_
2015-03-10 21:59:07 -07:00
Harshavardhana
dda9d128d5
add wget style format and also use Set() current position instead of 'Add()'
2015-03-10 21:58:51 -07:00
Harshavardhana
3dd09a735a
Merge pull request #103 from harshavardhana/pr_out_now_mc_cp_supports_resume_download
2015-03-10 20:32:20 -07:00
Harshavardhana
d8328e1d0f
Now ./mc cp supports resume download
2015-03-10 20:31:48 -07:00
Harshavardhana
9614b68a61
Merge pull request #102 from harshavardhana/pr_out_add_strict_build_with_vet_fmt_golint
2015-03-10 01:59:21 -07:00
Harshavardhana
306ddac9a7
Add strict build with vet, fmt, golint
2015-03-10 01:58:58 -07:00
Harshavardhana
447f3baec5
Merge pull request #101 from harshavardhana/pr_out_change_name_from_xmlformat_to_actual_understandable_name_iso8601format_
2015-03-10 01:51:11 -07:00
Harshavardhana
d690de5c45
Change name from xmlFormat to actual understandable name `iso8601Format`
2015-03-10 01:50:32 -07:00
Harshavardhana
3826620450
Merge pull request #100 from harshavardhana/pr_out_split_xmltime_to_new_file_and_update_licensing_information
2015-03-08 19:21:59 -07:00
Harshavardhana
ab01be0e3c
Split xmltime to new file and update licensing information
2015-03-08 19:18:50 -07:00
Harshavardhana
bc0245549a
Merge pull request #99 from harshavardhana/pr_out_code_cleanup_and_simplification
2015-03-08 18:49:27 -07:00
Harshavardhana
f21dc1a990
Code cleanup and simplification
...
- Print in human-readable not amazon format
- Send stat() before accessing object, error gracefully
- Move client and bucket API operations to their own files
- Remove unused functions, constants and variables
- Rename API operations to sensible names
* GetBucket --> ListObjects
* Buckets --> ListBuckets
2015-03-08 18:47:45 -07:00
Anand Babu (AB) Periasamy
d941a665bc
Merge pull request #97 from abperiasamy/time_cleanup
...
xmltime for bucket response as well
2015-03-08 17:35:44 -07:00
Anand Babu (AB) Periasamy
196a334823
xmltime for bucket response as well
2015-03-08 17:33:55 -07:00
Harshavardhana
2a88c8706c
Merge pull request #96 from abperiasamy/xml_time_format
...
xml encoded to native Time.time
2015-03-08 17:05:29 -07:00
Anand Babu (AB) Periasamy
e74834745f
xml encoded to native Time.time
2015-03-08 16:59:54 -07:00
Anand Babu (AB) Periasamy
a72bff85a3
Merge pull request #95 from abperiasamy/comments
...
added comments
2015-03-08 14:32:03 -07:00
Anand Babu (AB) Periasamy
4eb8e65ebf
added comments
2015-03-08 14:23:35 -07:00
Harshavardhana
124722f0bd
Merge pull request #94 from harshavardhana/pr_out_simplify_mc_ls
2015-03-08 13:03:26 -07:00
Harshavardhana
8830b92080
Simplify ./mc ls
2015-03-08 13:02:15 -07:00
Anand Babu (AB) Periasamy
47f30cb0e9
Merge pull request #93 from abperiasamy/format_ls
...
humanize ls size
2015-03-08 11:27:39 -07:00
Anand Babu (AB) Periasamy
1694bd0b45
humanize ls size
2015-03-08 11:26:10 -07:00
Harshavardhana
3d2d8e4133
Merge pull request #92 from harshavardhana/pr_out_change_output_style_deprecating_dir_prefix
2015-03-08 03:52:02 -07:00
Harshavardhana
0b8e37202e
Change output style deprecating DIR prefix
2015-03-08 03:50:46 -07:00
Harshavardhana
98afb5aa30
Merge pull request #90 from harshavardhana/pr_out_implement_color_coding_for_all_the_messages
2015-03-08 00:47:59 -08:00
Harshavardhana
3fb99cdce8
Implement color coding for all the messages
...
- Currently implemented are
info() --- "green"
infoCallback() --- "green"
fatal() --- "red"
warning() --- "yellow"
2015-03-08 00:43:05 -08:00
Harshavardhana
1e06e877d1
Merge pull request #89 from harshavardhana/pr_out_standardize_on_s3_as_the_default_uri_for_all_operations
2015-03-07 19:09:12 -08:00
Harshavardhana
10911e791f
Standardize on s3:// as the default URI for all operations
...
- ./mc ls s3://<bucket>/<object>
where <bucket> and <object> are optional
- ./mc cp s3://<bucket>/<object> .
Downloads <object> to your present working directory
- ./mc cp <object> s3://<bucket>/<key>
Uploads <object> to your <bucket> with name <key>
where <key> is optional
2015-03-07 19:05:51 -08:00
Harshavardhana
bddd21587c
By default print everything inside a bucket
2015-03-07 18:28:41 -08:00
Harshavardhana
0347a2076c
Merge pull request #88 from harshavardhana/pr_out_md5_b64_encoding_was_wrong_fix_it
2015-03-07 16:36:46 -08:00
Harshavardhana
d1ce84d26e
Md5 b64 encoding was wrong, fix it
2015-03-07 16:35:42 -08:00
Harshavardhana
2981e6688a
Merge pull request #87 from harshavardhana/pr_out_unmarshal_should_be_a_pointer_otherwise
2015-03-07 15:20:37 -08:00
Harshavardhana
3b89e16ac7
Unmarshal should be a pointer otherwise
...
-- 2015/03/07 15:18:56 json: Unmarshal(nil *main.mcConfig)
2015-03-07 15:19:46 -08:00
Harshavardhana
77d546b0e9
Merge pull request #86 from harshavardhana/pr_out_calculate_md5sum_for_every_object_during_put_
2015-03-07 15:02:26 -08:00
Harshavardhana
f21af8ce8c
Calculate md5sum for every object during Put()
2015-03-07 15:00:52 -08:00
Anand Babu (AB) Periasamy
1f0d7d3c82
Merge pull request #85 from abperiasamy/no_fixed_configbuffer
...
remove static allocation for config buffer
2015-03-07 12:49:14 -08:00
Anand Babu (AB) Periasamy
74b4668c4c
remove static allocation for config buffer
2015-03-07 12:48:04 -08:00
Harshavardhana
73086201ab
Merge pull request #84 from harshavardhana/pr_out_if_hostname_ip_s_ignore_subdomains
2015-03-07 02:48:00 -08:00
Harshavardhana
46ac2ec707
If hostname IP's ignore subdomains
2015-03-07 02:47:46 -08:00
Harshavardhana
d83804cbba
Merge pull request #83 from abperiasamy/core_improvements
2015-03-06 23:30:22 -08:00
Anand Babu (AB) Periasamy
67b044fb5f
configuration and other misc improements
2015-03-06 17:21:58 -08:00
Anand Babu (AB) Periasamy
0ed018af3a
Merge pull request #82 from abperiasamy/check_mkdocs
...
check for mkdocs dependency
2015-03-05 03:26:46 -08:00
Anand Babu (AB) Periasamy
cb6ddd23a6
check for mkdocs dependency
2015-03-05 03:25:03 -08:00
Harshavardhana
f139bfabc4
Cosmetic change
2015-03-05 02:32:25 -08:00
Harshavardhana
6fd634c154
Merge pull request #81 from harshavardhana/pr_out_keep_mc_specific_at_minio_mc_avoid_sudo_and_root_installs
2015-03-05 02:27:55 -08:00
Harshavardhana
593ef59999
Keep mc specific at '.minio/mc', avoid sudo and root installs
2015-03-05 02:27:19 -08:00
Harshavardhana
ef9b98b17c
Merge pull request #80 from harshavardhana/pr_out_user_net_url_and_remove_uri_implementation
2015-03-05 02:00:08 -08:00
Harshavardhana
c35ad418aa
User net/url and remove uri implementation
2015-03-05 01:59:54 -08:00
Harshavardhana
ce249c0d47
Merge pull request #79 from harshavardhana/pr_out_add_bash_command_completion
2015-03-05 01:45:16 -08:00
Harshavardhana
28be1c55ac
Add bash command completion
2015-03-05 01:45:03 -08:00
Harshavardhana
7df60328c2
Add bash autocompletion
2015-03-05 01:30:02 -08:00
Harshavardhana
3e1af5946c
Merge pull request #78 from harshavardhana/pr_out_code_cleanup_and_standardizing_in_accordance_with_golang_coding_guidelines
2015-03-05 01:18:19 -08:00
Harshavardhana
c1af2ccf67
Code cleanup and standardizing in accordance with Golang coding guidelines
2015-03-05 01:18:00 -08:00
Harshavardhana
d6aaf2b7c5
Merge pull request #77 from harshavardhana/pr_out_fixed_mc_sync_dir_bug_exposed_after_previous_changes
2015-03-04 02:29:17 -08:00
Harshavardhana
97f3016fee
Fixed ./mc sync <dir> bug exposed after previous changes
2015-03-04 02:29:07 -08:00
Harshavardhana
1bf6bd8b5b
Merge pull request #76 from harshavardhana/pr_out_make_sure_to_trim_the_prefix_for_uri_path
2015-03-04 01:35:40 -08:00
Harshavardhana
8995a58287
make sure to trim the Prefix for uri.Path
2015-03-04 01:35:29 -08:00
Harshavardhana
10ebcc49eb
Merge pull request #75 from harshavardhana/pr_out_previous_fix_was_incomplete_move_the_around_to_signature_consistency
2015-03-04 01:20:40 -08:00
Harshavardhana
d7a9407a87
Previous fix was incomplete move the '/' around to signature consistency
2015-03-04 01:20:28 -08:00
Harshavardhana
2d9bb642ff
Merge pull request #74 from harshavardhana/pr_out_now_cp_works_properly_with_amazons3
2015-03-04 01:15:42 -08:00
Harshavardhana
9910cbaabc
Now cp works properly with AmazonS3
2015-03-04 01:15:30 -08:00
Harshavardhana
e2814cd964
Merge pull request #73 from harshavardhana/pr_out_simplify_path_prefix_and_delimiters
2015-03-04 01:00:22 -08:00
Harshavardhana
09228f9569
Simplify path prefix and delimiters
2015-03-04 01:00:03 -08:00
Harshavardhana
1dddc9d139
Merge pull request #72 from harshavardhana/pr_out_verify_sync_to_be_a_directory
2015-03-03 16:22:45 -08:00
Harshavardhana
cf024f19b6
Verify sync to be a directory
2015-03-03 16:22:28 -08:00
Harshavardhana
12b3a6bda8
Handle subdomains properly
2015-03-03 16:18:12 -08:00
Harshavardhana
cbc76d2cd1
Merge pull request #71 from harshavardhana/pr_out_create_bucket_shouldn_t_use_domain_style_put_bucket_is_a_special_case
2015-03-03 16:09:57 -08:00
Harshavardhana
696577067b
Create bucket shouldn't use domain style, put bucket is a special case
2015-03-03 16:09:31 -08:00
Harshavardhana
a7d7b9d069
Merge pull request #70 from harshavardhana/pr_out_janitor_role_on_mc_and_fix_obvious_issues
2015-03-03 16:00:49 -08:00
Harshavardhana
b78a36d7ac
Janitor role on mc and fix obvious issues
2015-03-03 16:00:06 -08:00
Harshavardhana
d2195617ba
Merge pull request #69 from harshavardhana/pr_out_implement_progress_bar_using_pb_project_fixes_64
2015-03-01 23:46:58 -08:00
Harshavardhana
721a690ab5
Implement progress bar using 'pb' project - fixes #64
2015-03-01 23:43:16 -08:00
Harshavardhana
ea9e5eaad4
Merge pull request #68 from harshavardhana/pr_out_if_s3_stat_fails_send_a_getbucket_with_prefix_set
2015-03-01 09:29:40 -08:00
Harshavardhana
ed6cf244c5
if s3.Stat() fails, send a GetBucket with prefix set
2015-03-01 09:29:24 -08:00
Harshavardhana
93bfd43fed
Merge pull request #67 from harshavardhana/pr_out_add_delimiter_and_prefix_support_for_ls
2015-02-28 15:43:35 -08:00
Harshavardhana
e39e26bdea
Add delimiter and prefix support for 'ls'
2015-02-28 15:43:04 -08:00
Harshavardhana
d486e4332c
Merge pull request #66 from harshavardhana/pr_out_add_support_for_marker_delimiter_prefix
2015-02-26 19:20:21 -08:00
Harshavardhana
861e305604
Add support for marker, delimiter, prefix
2015-02-26 19:19:49 -08:00
Harshavardhana
f78df62a38
Merge pull request #60 from harshavardhana/pr_out_implement_basic_mc_sync_command
2015-02-25 02:09:31 -08:00
Harshavardhana
cd519cec33
Implement basic 'mc sync' command
...
Usage:
- ./mc sync docs
-- Creates a bucket named ``docs``
-- Copies all the files with in ``docs``
2015-02-25 02:09:07 -08:00
Harshavardhana
4187ba2ce2
Merge pull request #59 from harshavardhana/pr_out_add_env_variable_s3_endpoint
2015-02-25 00:12:04 -08:00
Harshavardhana
46facd1def
Add env variable S3_ENDPOINT
2015-02-25 00:11:53 -08:00
Harshavardhana
a3b302e996
Merge pull request #58 from vadmeste/add_and_report_missing_error_check
...
Add missing error check after Buckets() call
2015-02-24 23:59:41 -08:00
Anis Elleuch
e506b0eec2
Add missing error check after Buckets() call
2015-02-25 08:58:12 +01:00
Harshavardhana
460e79fe0c
Merge pull request #57 from harshavardhana/pr_out_build_fix
2015-02-24 17:39:52 -08:00
Harshavardhana
4a832b2919
Build fix
2015-02-24 17:39:41 -08:00
Harshavardhana
41d0647841
Merge pull request #56 from harshavardhana/pr_out_complete_ls_command_it_supports_now
2015-02-24 17:36:50 -08:00
Harshavardhana
6b685b744f
Complete ls command it supports now
...
- ./mc ls
[... list buckets ... ]
- ./mc ls your-bucket
[... list objects ... ]
- ./mc ls your-bucket/object
[date size object]
2015-02-24 17:36:04 -08:00
Harshavardhana
eac632cc7a
Merge pull request #55 from harshavardhana/pr_out_add_s3pathstyle_boolean_to_check_for_path_v_s_subdomain_requests
2015-02-24 14:13:37 -08:00
Harshavardhana
f3ed11a363
Add s3pathstyle boolean to check for path v/s subdomain requests
2015-02-24 14:13:28 -08:00
Harshavardhana
d5b6a07674
Merge pull request #54 from harshavardhana/pr_out_move_hostname_to_endpoint_remove_md5sum_calculation_for_now
2015-02-24 14:04:04 -08:00
Harshavardhana
c0bdcad429
Move Hostname to Endpoint, remove md5sum calculation for now.
2015-02-24 13:57:23 -08:00
Harshavardhana
22b0a820b0
Merge pull request #53 from harshavardhana/pr_out_fix_get_policy_put_policy_invalid_entries
2015-02-23 02:06:49 -08:00
Harshavardhana
c698b097aa
Fix get-policy/put-policy invalid entries.
...
Also update documentation, to use subdomains for buckets as minio
server starts supporting subdomains.
2015-02-23 02:06:36 -08:00
Harshavardhana
237c3cdc38
Merge pull request #52 from harshavardhana/pr_out_provide_new_style
2015-02-20 20:30:42 -08:00
Harshavardhana
4e7f621ebd
Provide new style
...
```
$ ./mc cp s3://yourbucket/key .
$ ./mc cp new-file s3://yourbucket
```
2015-02-20 20:26:13 -08:00
Harshavardhana
afcd161ff7
Merge pull request #51 from harshavardhana/pr_out_cp_is_now_proper
2015-02-20 19:31:12 -08:00
Harshavardhana
c61673957c
`cp` is now proper
2015-02-20 19:30:53 -08:00
Harshavardhana
b62aa980f1
Merge pull request #50 from harshavardhana/pr_out_add_example_bucket_policy
2015-02-20 19:14:50 -08:00
Harshavardhana
430efa4de8
Add example bucket policy
2015-02-20 19:13:58 -08:00
Harshavardhana
87c6b2335b
Merge pull request #49 from harshavardhana/pr_out_there_is_no_golang_1_4_0_use_only_1_4
2015-02-13 19:09:31 -08:00
Harshavardhana
cbf62f673a
There is no golang 1.4.0 use only 1.4
2015-02-13 19:09:20 -08:00
Harshavardhana
6b2e444b59
Merge pull request #48 from vadmeste/use_bash_in_checkdeps
...
Use bash interpreter instead of sh
2015-02-13 13:47:44 -08:00
Anis Elleuch
43f08a4999
Use bash interpreter instead of sh
2015-02-13 22:42:45 +01:00
Harshavardhana
f43485e9fc
Merge pull request #47 from harshavardhana/pr_out_depend_on_go1_4
2015-02-13 03:01:20 -08:00
Harshavardhana
40b55d5c64
Depend on go1.4
2015-02-13 03:01:01 -08:00
Harshavardhana
0c85a8f748
Minior change
2015-02-10 03:12:31 -08:00
Harshavardhana
1ea97e5a07
Merge pull request #46 from harshavardhana/pr_out_secretkey_should_be_secretaccesskey
2015-02-10 03:09:30 -08:00
Harshavardhana
516631d388
Secretkey should be SecretAccessKey
2015-02-10 03:08:00 -08:00
Harshavardhana
8ae3f13df8
Merge pull request #45 from harshavardhana/pr_out_remove_unnecessary_cli_options
2015-02-09 22:57:24 -08:00
Harshavardhana
417a99f973
Remove unnecessary CLI options
2015-02-09 22:55:39 -08:00
Harshavardhana
3c5d6d4373
Minor update
2015-02-09 18:23:37 -08:00
Harshavardhana
1b6b4bd4cd
Merge pull request #44 from harshavardhana/pr_out_update_docs_again_
2015-02-09 18:20:45 -08:00
Harshavardhana
2a602627e1
update docs again :)
2015-02-09 18:20:33 -08:00
Harshavardhana
cecfbc37a4
Merge pull request #43 from harshavardhana/pr_out_add_ruby_example
2015-02-09 18:17:53 -08:00
Harshavardhana
5187bad66c
Add ruby example
2015-02-09 18:17:39 -08:00
Harshavardhana
121686c843
Merge pull request #42 from harshavardhana/pr_out_cosmetic_changes
2015-02-09 17:42:13 -08:00
Harshavardhana
db1f9f550a
Cosmetic changes
2015-02-09 17:42:02 -08:00
Harshavardhana
0447ebd828
Merge pull request #41 from harshavardhana/pr_out_update_boto3_python_document
2015-02-09 17:39:13 -08:00
Harshavardhana
39badc18bf
Update boto3 python document
2015-02-09 17:39:00 -08:00
Harshavardhana
5e8e673e82
Merge pull request #40 from harshavardhana/pr_out_rename_mkdir_mb
2015-02-09 15:03:22 -08:00
Harshavardhana
4104278e98
Rename mkdir --> mb
2015-02-09 15:03:06 -08:00
Harshavardhana
b793087f12
Merge pull request #39 from harshavardhana/pr_out_add_put_bucket
2015-02-09 13:57:15 -08:00
Harshavardhana
cb824f0bf8
Add put bucket
2015-02-09 13:57:03 -08:00
Harshavardhana
dec9b77995
Merge pull request #38 from harshavardhana/pr_out_add_gh_deploy
2015-02-09 13:42:19 -08:00
Harshavardhana
3e30ce60fa
Add gh-deploy
2015-02-09 13:42:05 -08:00
Harshavardhana
abd088e6bc
Merge pull request #37 from harshavardhana/pr_out_update_docs
2015-02-09 13:28:52 -08:00
Harshavardhana
852fb59c15
Update docs
2015-02-09 13:28:37 -08:00
Harshavardhana
b46b657f53
Merge pull request #36 from harshavardhana/pr_out_add_documentation
2015-02-09 13:16:41 -08:00
Harshavardhana
37e9f2b7cc
Add documentation
2015-02-09 13:16:22 -08:00
Harshavardhana
53fba0bc6d
Merge pull request #35 from harshavardhana/pr_out_squash_minio_package_into_s3_package
2015-02-08 18:02:08 -08:00
Harshavardhana
231f0c3efb
Squash minio package into s3 package
2015-02-08 18:01:05 -08:00
Harshavardhana
e1c93116d3
Merge pull request #34 from harshavardhana/pr_out_never_send_request_with_trailing_for_buckets
2015-02-06 20:40:13 -08:00
Harshavardhana
0298c3ddf6
Never send request with trailing '/' for buckets
2015-02-06 20:39:58 -08:00
Harshavardhana
27d3e89baa
Merge pull request #33 from harshavardhana/pr_out_rename_secretaccess_to_secret_to_be_more_appropriate
2015-02-06 02:16:44 -08:00
Harshavardhana
43451eff68
Rename SecretAccess to Secret to be more appropriate
2015-02-06 02:16:35 -08:00
Harshavardhana
852d22dbf4
Merge pull request #32 from harshavardhana/pr_out_now_minio_client_can_access_minio_server_through_hmac_style_authentication
2015-02-06 01:38:03 -08:00
Harshavardhana
b41278d4e7
Now minio client can access minio server through HMAC style authentication
2015-02-06 01:36:47 -08:00
Harshavardhana
4ef184483e
Merge pull request #31 from harshavardhana/pr_out_disable_tls_for_now
2015-02-05 21:31:32 -08:00
Harshavardhana
fe3b013532
Disable TLS for now
2015-02-05 21:30:35 -08:00
Harshavardhana
ce37e24046
Merge pull request #30 from harshavardhana/pr_out_remove_cacerts_requirement
2015-01-30 16:23:47 -08:00
Harshavardhana
170f9bc9c7
Remove CACerts requirement
2015-01-30 16:23:23 -08:00
Harshavardhana
b2fd5fd489
Merge pull request #29 from harshavardhana/pr_out_minio_client_now_has_ssl_support
2015-01-29 15:21:39 -08:00
Harshavardhana
ed0a7e3c40
Minio client now has SSL support
2015-01-29 15:11:41 -08:00
Harshavardhana
a0f5031396
Merge pull request #28 from harshavardhana/pr_out_remove_bucketlocation_function_minio_does_not_implement_such_a_resource
2015-01-28 15:36:38 -08:00
Harshavardhana
deb11c2e32
Remove BucketLocation() function, minio does not implement such a resource
2015-01-28 15:36:27 -08:00
Harshavardhana
a96aacd958
Merge pull request #27 from harshavardhana/pr_out_implement_minio_put_bucket
2015-01-24 19:02:40 -08:00
Harshavardhana
5d75e56b60
Implement minio 'put-bucket'
2015-01-24 19:01:04 -08:00
Harshavardhana
9fcf34b604
Merge pull request #26 from harshavardhana/pr_out_implement_minio_list_objects
2015-01-23 12:13:34 -08:00
Harshavardhana
619e8f7b01
Implement minio 'list-objects'
2015-01-23 12:13:17 -08:00
Harshavardhana
0985159422
Merge pull request #25 from harshavardhana/pr_out_implement_minio_list_buckets
2015-01-23 01:59:15 -08:00
Harshavardhana
b5610793be
Implement minio list-buckets
2015-01-23 01:58:29 -08:00
Harshavardhana
b20438a812
Merge pull request #23 from harshavardhana/pr_out_add_minio_cli_move_s3_stuff_with_s3_prefix
2015-01-22 12:39:02 -08:00
Harshavardhana
741febd318
Add minio cli, move 's3' stuff with 's3' prefix
2015-01-22 12:38:02 -08:00
Harshavardhana
279826c3fa
Merge pull request #22 from harshavardhana/pr_out_differentiate_commands_and_subcommands
2015-01-21 23:14:48 -08:00
Harshavardhana
a8f0a7463f
Differentiate commands and subcommands
2015-01-21 23:14:02 -08:00
Harshavardhana
25be6e137f
Merge pull request #21 from harshavardhana/pr_out_implement_new_simple_minio_client
2015-01-21 15:30:08 -08:00
Harshavardhana
870faa6093
Implement new simple minio client
2015-01-21 15:29:48 -08:00
Harshavardhana
77e2a7d1a7
Merge pull request #20 from harshavardhana/pr_out_implement_mkdir
2015-01-20 15:45:51 -08:00
Harshavardhana
3e5f2322df
Implement 'mkdir'
2015-01-20 15:45:25 -08:00
Harshavardhana
e13a35e7f8
Merge pull request #19 from harshavardhana/pr_out_implement_ls
2015-01-20 15:18:15 -08:00
Harshavardhana
aaca72d8b5
Implement 'ls'
2015-01-20 15:17:58 -08:00
Harshavardhana
17332b071c
Merge pull request #18 from harshavardhana/pr_out_add_copyright_headers
2015-01-20 01:11:21 -08:00
Harshavardhana
115ae2ebc4
Add copyright headers
2015-01-20 01:11:05 -08:00
Harshavardhana
be50346a32
Merge pull request #17 from harshavardhana/pr_out_bring_all_errors_to_common_location
2015-01-19 18:00:41 -08:00
Harshavardhana
8e0f5ae7b6
Bring all errors to common location
2015-01-19 18:00:14 -08:00
Harshavardhana
4c865cc056
Merge pull request #16 from harshavardhana/pr_out_enhance_cp_command_implements_add_another_package_uri
2015-01-19 17:39:42 -08:00
Harshavardhana
26efb4d8d5
Enhance 'cp' command implements, add another package 'uri'
...
- <S3Path> <LocalPath>
- <LocalPath> <S3Path>
TODO
- <S3Path> <S3Path>
- <S3Path> <S3Bucket>
- <LocalDir> <S3Bucket>
Added a new package called 'URI' for parsing URI schemes
in standard way.
2015-01-19 17:38:15 -08:00
Harshavardhana
62659bc936
Merge pull request #12 from harshavardhana/pr_out_implement_cp_command
2015-01-18 16:59:53 -08:00
Harshavardhana
c4fcc3f2b7
Implement 'cp' command
2015-01-18 16:40:55 -08:00
Harshavardhana
925953f12d
Merge pull request #11 from harshavardhana/pr_out_add_developer_contribution_guidelines
2015-01-18 15:44:37 -08:00
Harshavardhana
94b28bd7b6
Add developer contribution guidelines
2015-01-18 15:43:31 -08:00
Harshavardhana
6160287182
Merge pull request #10 from harshavardhana/pr_out_cleanup_s3_pkg_code
2015-01-18 13:21:00 -08:00
Harshavardhana
d386c26807
Cleanup s3 pkg code
2015-01-18 13:19:47 -08:00
Harshavardhana
b4b6de12f6
Merge pull request #9 from harshavardhana/pr_out_implement_configure_command_and_update_description
2015-01-18 13:14:51 -08:00
Harshavardhana
da94ccfb0c
Implement 'configure' command and update description
2015-01-18 13:12:39 -08:00
Harshavardhana
3d7fb09758
Merge pull request #8 from harshavardhana/pr_out_add_list_buckets
2015-01-17 23:08:12 -08:00
Harshavardhana
2bf9df089a
Add 'list-buckets'
2015-01-17 23:06:50 -08:00
Harshavardhana
f0716d86b7
Merge pull request #7 from harshavardhana/pr_out_add_apache_license_v2_0
2015-01-17 12:11:34 -08:00
Harshavardhana
66554d07a7
Add Apache License v2.0
2015-01-17 12:09:27 -08:00
Harshavardhana
3e4235a3f3
Merge pull request #5 from harshavardhana/pr_out_add_hostname
2015-01-17 11:56:37 -08:00
Harshavardhana
0b3fa735f5
Add hostname
2015-01-17 11:54:27 -08:00
Harshavardhana
ff724a562e
Merge pull request #4 from harshavardhana/pr_out_now_get_object_works_properly_and_other_cosmetic_changes
2015-01-17 01:33:10 -08:00
Harshavardhana
deb84dfa2f
Now get-object works properly, and other cosmetic changes
2015-01-17 01:32:05 -08:00
Harshavardhana
5b7fafb2e5
Merge pull request #3 from harshavardhana/pr_out_add_list_objects
2015-01-17 01:05:06 -08:00
Harshavardhana
f53f03dcc1
Merge pull request #2 from harshavardhana/pr_out_add_get_object_put_object_in_accordance_with_aws_cli
2015-01-17 01:04:41 -08:00
Harshavardhana
c0b5d042fd
Add list-objects
2015-01-17 01:01:36 -08:00
Harshavardhana
29b975a4dd
Add get-object, put-object in accordance with aws cli
2015-01-16 22:03:18 -08:00
Harshavardhana
63c7e12f16
Update readme.md
2015-01-15 22:30:51 -08:00
Harshavardhana
9e0bf4cf50
add new stubs for commands cp, mv, mb, rm
2015-01-15 22:29:22 -08:00
Harshavardhana
f1eef8bd92
Update docs
2015-01-15 19:04:27 -08:00
Harshavardhana
8696850601
Implement new options
2015-01-15 18:45:25 -08:00
Harshavardhana
0746c84204
Implement initial cut of `mc` command
2015-01-15 18:00:19 -08:00
Harshavardhana
47735ca12f
Add NewS3Client() function
2015-01-15 14:45:45 -08:00
Harshavardhana
c5a6e559c0
Add top level files
2015-01-15 00:24:04 -08:00
Harshavardhana
a34985479e
A working s3Client library from Google
2015-01-15 00:20:16 -08:00
Harshavardhana
2de3b657b9
Initial commit
2015-01-14 00:21:08 -08:00