Harshavardhana
975eb31973
api/bucketPolicy: Use minio-go/pkg/set and fix bucket policy regression. ( #2506 )
...
Current master has a regression 'mc policy <policy-type> alias/bucket/prefix'
does not work anymore, due to the way new minio-go changes do json marshalling.
This led to a regression on server side when a ``prefix`` is provided
policy is rejected as malformed from th server which is not the case with
AWS S3.
This patch uses the new ``minio-go/pkg/set`` package to address the
unmarshalling problems.
Fixes #2503
8 years ago
Jesse Lucas
f2fd8b0265
Adding test coverage for server-mux.go by creating TestListenAndServeTLS(). ( #2493 )
...
Editing config.go to add lock on customConfigPath to avoid race condition
when setGlobalConfigPath() and getConfigPath() are called concurrently.
8 years ago
Jesse Lucas
a8052889fe
server-mux_test.go updating test to fix race condition with TestListenAndServe ( #2485 )
8 years ago
Harshavardhana
bccf549463
server: Move all the top level files into cmd folder. ( #2490 )
...
This change brings a change which was done for the 'mc'
package to allow for clean repo and have a cleaner
github drop in experience.
8 years ago
Harshavardhana
aabfd541e1
Merge cmd/donut into minio cmd, deprecate controller RPC request
10 years ago
Harshavardhana
f15375426a
minor: Add commands into donut template
10 years ago
Harshavardhana
0eefbdef0c
use new app.ExtraInfo inside minio and donut commands properly
10 years ago
Harshavardhana
63c9cf0c4b
Move from Minimalist Object Storage to Minio Cloud Storage
10 years ago
Harshavardhana
4498662c16
Remove scsi non portable code, instead "donut make" implements functionality to instantiate a donut
10 years ago
Harshavardhana
1e80925ca7
Remove dependency on minio/cli for make.go fixes #738
10 years ago
Harshavardhana
f360ee0ab5
Add mkdonut examples
10 years ago
Harshavardhana
55e4d0c6a5
mkdonut now creates a donut processing cli args
10 years ago
Harshavardhana
535bcc3eac
Add mkdonut command
10 years ago
Harshavardhana
432275e966
Full restructure in accordance with
...
- pkg/{subsystem}/{package} style
- modify Makefile to reflect the new style,
consolidate various entries
- add a dummy ``main.go`` at top level
10 years ago
Harshavardhana
462808b87a
Disable sha1,sha256,sha512 avx,avx2,sse3 crypto implementations.
...
Re-implement them later, once stable
10 years ago
Frederick F. Kautz IV
992dea1bf3
Adding index command
10 years ago
Harshavardhana
fff6b589cf
Rename split-file --> split
10 years ago
Frederick F. Kautz IV
f5010e1ee2
Adding initial split-file command
10 years ago
Harshavardhana
0212079cd5
Remove template files, make them const strings instead
10 years ago
Harshavardhana
0e4a26e3b4
Add Diskattrmap, Scsiattrmap for probed scsi devices
...
Additional changes
- Use ``iota`` for constants
- Remove unncessary C header files
- ``new-cmd`` now depends on codegangsta cli
10 years ago
Harshavardhana
6b36b5c551
A full restructure
10 years ago
Harshavardhana
13650e088c
Implement md5c function, slower than Golang's implementation
...
keeping it in repo to make further improvements and also rename
minio-hash ---> crypto
10 years ago
Frederick F. Kautz IV
2278df9910
Adding minio-hash with streaming crypto hashes
10 years ago
Harshavardhana
d4c05f11c7
Update documentation
10 years ago
Harshavardhana
b0e986c82c
Rename appname to commandname for consistency
10 years ago
Harshavardhana
5268a62166
Add minio-cli stub generator
10 years ago
Harshavardhana
65e2031cfc
Implement add, commit - instead of put, encoded
10 years ago
Harshavardhana
98119707fb
Move wrappers at pkgs/minio back to cmd/minio - as their usage is limited
10 years ago
Harshavardhana
3ec5c2fb8f
Implement commands
...
Commands implemented
$ minio put <objectname> <file>
$ minio encode <objectname>
$ minio get <objectname>
$ minio list
TODO :
$ minio init
$ minio verify
...
...
10 years ago
Frederick F. Kautz IV
5efc0d54f8
storage.ObjectStorage List() is now List(objectPath string)
10 years ago
Frederick F. Kautz IV
05baa6d9a2
Removing fsstorage
10 years ago
Harshavardhana
fc50291cac
fsStorage should use appendStorage with offsets
...
- also takes in 'blockSize' cli option.
- robustness fixes
10 years ago
Harshavardhana
0a0e1111cd
Add list() object support for erasure and append storage drivers
...
- Reply back objects with their protectionlevel and md5sum
- // TODO hash value
- Calculate md5sum after "storeBlocks()", to make sure data is committed
10 years ago
Harshavardhana
f71b323e32
Provide new cli options for 'put' command
...
- --protection-level
- --block-size
10 years ago
Harshavardhana
0bd2b8516e
Build fix, fixing without a PR
10 years ago
Harshavardhana
dddc555491
Use objectName with basename for the filepath
10 years ago
Frederick F. Kautz IV
568ca4e1bc
erasure encoded demo
10 years ago
Frederick F. Kautz IV
a1040ae657
erasure-demo put now takes 1 or 2 arguments
10 years ago
Frederick F. Kautz IV
19da9760b3
ObjectStorage refactor to take io.Reader instead of []byte
10 years ago
Frederick F. Kautz IV
cae9b288b0
Adding List(path) to object storage definition and accompanying definition to fs
10 years ago
Harshavardhana
01c0e45b5c
Add crc32c checksum support for erasure chunks
...
Now upon conditions
- if checksum '.cksum' file is missing
- or corrupted chunk (mismatching chunk)
- or missing chunk entirely
Decoding works consistently
10 years ago
Harshavardhana
f6a5b61b00
Make get/put more robust
...
- init folder if not present already in 'get()' call
- put.go was referencing wrong args - fix it
- if no OBJECTNAME is specified during 'get' - grab a
list of files under "~/.minio"
- Provide new API GetList() for ObjectStorage struct
10 years ago
Frederick F. Kautz IV
d1ebf935da
Adding extremely simple fs based get and put in erasure-demo
10 years ago
Harshavardhana
7314b5e37d
Fixes #71 - some crazy races inside erasure and simplify the code
...
- This change also brings in changing 'unsigned char' to 'uint8_t'
for brevity
10 years ago
Harshavardhana
9a5003dd25
Provide JoinFilesWithPrefix case with Gochannel
10 years ago
Frederick F. Kautz IV
46b08681a4
Adding chunking by block to erasure-demo via --block-size parameter
10 years ago
Frederick F. Kautz IV
323a7b8492
Refactoring input parsing for erasure-demo
10 years ago
Frederick F. Kautz IV
6382ee161e
Renaming minio-demo to erasure-demo
10 years ago
Frederick F. Kautz IV
30687a8c66
Increasing parity from 5 to 6
10 years ago
Frederick F. Kautz IV
3c09029049
Merging encode and decode to single minio-demo binary
10 years ago