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 )
RELEASE.2016-07-13T21-46-05Z
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 )
RELEASE.2016-06-03T18-48-37Z
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