Skip to content

Commit 83a9d8b

Browse files
ebozdumankannappanr
authored andcommitted
Adds missing codebase MinIO and min.io changes (minio#2745)
1 parent 68a9eea commit 83a9d8b

File tree

173 files changed

+392
-392
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

173 files changed

+392
-392
lines changed

.mailmap

+5-5
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
#
77
# For explanation on this file format: man git-shortlog
88

9-
Anand Babu (AB) Periasamy <ab@minio.io> Anand Babu (AB) Periasamy <[email protected]>
10-
Anand Babu (AB) Periasamy <ab@minio.io> <[email protected]>
9+
Anand Babu (AB) Periasamy <ab@min.io> Anand Babu (AB) Periasamy <[email protected]>
10+
Anand Babu (AB) Periasamy <ab@min.io> <[email protected]>
1111
Anis Elleuch <[email protected]>
12-
Frederick F. Kautz IV <fkautz@minio.io> <[email protected]>
13-
Harshavardhana <harsha@minio.io> <[email protected]>
14-
Krishna Srinivas <krishna@minio.io> <[email protected]>
12+
Frederick F. Kautz IV <fkautz@min.io> <[email protected]>
13+
Harshavardhana <harsha@min.io> <[email protected]>
14+
Krishna Srinivas <krishna@min.io> <[email protected]>
1515

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM golang:1.12-alpine
22

3-
LABEL maintainer="Minio Inc <dev@minio.io>"
3+
LABEL maintainer="MinIO Inc <dev@min.io>"
44

55
ENV GOPATH /go
66
ENV CGO_ENABLED 0

Dockerfile.release

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
FROM alpine:3.9
22

3-
MAINTAINER Minio Inc <dev@minio.io>
3+
MAINTAINER MinIO Inc <dev@min.io>
44

55
RUN \
66
apk add --no-cache ca-certificates && \
77
apk add --no-cache --virtual .build-deps curl && \
8-
curl https://dl.minio.io/client/mc/release/linux-amd64/mc > /usr/bin/mc && \
8+
curl https://dl.min.io/client/mc/release/linux-amd64/mc > /usr/bin/mc && \
99
chmod +x /usr/bin/mc && apk del .build-deps
1010

1111
ENTRYPOINT ["mc"]

Makefile

+5-5
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ spelling:
4646
@${GOPATH}/bin/misspell -error `find pkg/`
4747
@${GOPATH}/bin/misspell -error `find docs/`
4848

49-
# Builds minio, runs the verifiers then runs the tests.
49+
# Builds MinIO, runs the verifiers then runs the tests.
5050
check: test
5151
test: verifiers build
5252
@echo "Running unit tests"
@@ -55,15 +55,15 @@ test: verifiers build
5555
@(env bash $(PWD)/functional-tests.sh)
5656

5757
coverage: build
58-
@echo "Running all coverage for minio"
58+
@echo "Running all coverage for MinIO"
5959
@(env bash $(PWD)/buildscripts/go-coverage.sh)
6060

61-
# Builds minio locally.
61+
# Builds MinIO locally.
6262
build: checks
63-
@echo "Building minio binary to './mc'"
63+
@echo "Building MinIO binary to './mc'"
6464
@GO111MODULE=on GO_FLAGS="" CGO_ENABLED=0 go build -tags kqueue --ldflags $(BUILD_LDFLAGS) -o $(PWD)/mc
6565

66-
# Builds minio and installs it to $GOPATH/bin.
66+
# Builds MinIO and installs it to $GOPATH/bin.
6767
install: build
6868
@echo "Installing mc binary to '$(GOPATH)/bin/mc'"
6969
@mkdir -p $(GOPATH)/bin && cp -uf $(PWD)/mc $(GOPATH)/bin/mc

NOTICE

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
Minio Client (C) 2014, 2015 Minio, Inc.
1+
MinIO Client (C) 2014, 2015 MinIO, Inc.
22

3-
This product includes software developed at Minio, Inc.
4-
(https://minio.io/).
3+
This product includes software developed at MinIO, Inc.
4+
(https://min.io/).
55

6-
The Minio project contains unmodified/modified subcomponents too with
6+
The MinIO project contains unmodified/modified subcomponents too with
77
separate copyright notices and license terms. Your use of the source
88
code for the these subcomponents is subject to the terms and conditions
99
of the following licenses.

README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ rm remove objects
2121
event manage object notifications
2222
watch watch for object events
2323
policy manage anonymous access to objects
24-
admin manage minio servers
24+
admin manage MinIO servers
2525
session manage saved sessions for cp command
2626
config manage mc configuration file
2727
update check for a new software update
@@ -62,11 +62,11 @@ mc --help
6262
### Binary Download
6363
| Platform | Architecture | URL |
6464
| ---------- | -------- |------|
65-
|GNU/Linux|64-bit Intel|https://dl.minio.io/client/mc/release/linux-amd64/mc |
66-
||64-bit PPC|https://dl.minio.io/client/mc/release/linux-ppc64le/mc |
65+
|GNU/Linux|64-bit Intel|https://dl.min.io/client/mc/release/linux-amd64/mc |
66+
||64-bit PPC|https://dl.min.io/client/mc/release/linux-ppc64le/mc |
6767

6868
```sh
69-
wget https://dl.minio.io/client/mc/release/linux-amd64/mc
69+
wget https://dl.min.io/client/mc/release/linux-amd64/mc
7070
chmod +x mc
7171
./mc --help
7272
```
@@ -75,7 +75,7 @@ chmod +x mc
7575
### Binary Download
7676
| Platform | Architecture | URL |
7777
| ---------- | -------- |------|
78-
|Microsoft Windows|64-bit Intel|https://dl.minio.io/client/mc/release/windows-amd64/mc.exe |
78+
|Microsoft Windows|64-bit Intel|https://dl.min.io/client/mc/release/windows-amd64/mc.exe |
7979

8080
```sh
8181
mc.exe --help
@@ -156,11 +156,11 @@ mc config host add gcs https://storage.googleapis.com BKIKJAA5BMMU2RHO6IBB V8f1
156156
NOTE: Google Cloud Storage only supports Legacy Signature Version 2, so you have to pick - S3v2
157157

158158
## Test Your Setup
159-
`mc` is pre-configured with https://play.minio.io:9000, aliased as "play". It is a hosted MinIO server for testing and development purpose. To test Amazon S3, simply replace "play" with "s3" or the alias you used at the time of setup.
159+
`mc` is pre-configured with https://play.min.io:9000, aliased as "play". It is a hosted MinIO server for testing and development purpose. To test Amazon S3, simply replace "play" with "s3" or the alias you used at the time of setup.
160160

161161
*Example:*
162162

163-
List all buckets from https://play.minio.io:9000
163+
List all buckets from https://play.min.io:9000
164164

165165
```sh
166166
mc ls play

README_zh_CN.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ mc --help
5858
### 下载二进制文件
5959
| 平台 | CPU架构 | URL |
6060
| ---------- | -------- |------|
61-
|GNU/Linux|64-bit Intel|https://dl.minio.io/client/mc/release/linux-amd64/mc |
61+
|GNU/Linux|64-bit Intel|https://dl.min.io/client/mc/release/linux-amd64/mc |
6262

6363
```sh
6464
chmod +x mc
@@ -69,7 +69,7 @@ chmod +x mc
6969
### 下载二进制文件
7070
| 平台 | CPU架构 | URL |
7171
| ---------- | -------- |------|
72-
|Microsoft Windows|64-bit Intel|https://dl.minio.io/client/mc/release/windows-amd64/mc.exe |
72+
|Microsoft Windows|64-bit Intel|https://dl.min.io/client/mc/release/windows-amd64/mc.exe |
7373

7474
```sh
7575
mc.exe --help
@@ -121,11 +121,11 @@ mc config host add gcs https://storage.googleapis.com BKIKJAA5BMMU2RHO6IBB V8f1
121121
注意:Google云存储只支持旧版签名版本V2,所以你需要选择S3v2。
122122

123123
## 验证
124-
`mc`预先配置了云存储服务URL:https://play.minio.io:9000,别名“play”。它是一个用于研发和测试的MinIO服务。如果想测试Amazon S3,你可以将“play”替换为“s3”。
124+
`mc`预先配置了云存储服务URL:https://play.min.io:9000,别名“play”。它是一个用于研发和测试的MinIO服务。如果想测试Amazon S3,你可以将“play”替换为“s3”。
125125

126126
*示例:*
127127

128-
列出https://play.minio.io:9000上的所有存储桶。
128+
列出https://play.min.io:9000上的所有存储桶。
129129

130130
```sh
131131
mc ls play

buildscripts/checkdeps.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22
#
3-
# Minio Client, (C) 2015, 2016, 2017, 2018, 2019 Minio, Inc.
3+
# MinIO Client, (C) 2015, 2016, 2017, 2018, 2019 MinIO, Inc.
44
#
55
# Licensed under the Apache License, Version 2.0 (the "License");
66
# you may not use this file except in compliance with the License.
@@ -97,7 +97,7 @@ assert_is_supported_os() {
9797

9898
assert_check_golang_env() {
9999
if ! which go >/dev/null 2>&1; then
100-
echo "Cannot find go binary in your PATH configuration, please refer to Go installation document at https://docs.minio.io/docs/how-to-install-golang"
100+
echo "Cannot find go binary in your PATH configuration, please refer to Go installation document at https://docs.min.io/docs/how-to-install-golang"
101101
exit 1
102102
fi
103103

buildscripts/gen-ldflags.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// +build ignore
22

33
/*
4-
* Minio Client (C) 2014, 2015, 2016, 2017, 2018 Minio, Inc.
4+
* MinIO Client (C) 2014, 2015, 2016, 2017, 2018 MinIO, Inc.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

cmd/access-perms.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Minio Client (C) 2015 Minio, Inc.
2+
* MinIO Client (C) 2015 MinIO, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

cmd/accounting-reader.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Minio Client (C) 2014, 2015 Minio, Inc.
2+
* MinIO Client (C) 2014, 2015 MinIO, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

cmd/admin-config-get.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Minio Client (C) 2017 Minio, Inc.
2+
* MinIO Client (C) 2017 MinIO, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -24,7 +24,7 @@ import (
2424

2525
var adminConfigGetCmd = cli.Command{
2626
Name: "get",
27-
Usage: "get config of a minio server/cluster",
27+
Usage: "get config of a MinIO server/cluster",
2828
Before: setGlobalsFromContext,
2929
Action: mainAdminConfigGet,
3030
Flags: globalFlags,
@@ -38,7 +38,7 @@ FLAGS:
3838
{{range .VisibleFlags}}{{.}}
3939
{{end}}
4040
EXAMPLES:
41-
1. Get server configuration of a Minio server/cluster.
41+
1. Get server configuration of a MinIO server/cluster.
4242
$ {{.HelpName}} play/
4343
4444
`,
@@ -82,7 +82,7 @@ func mainAdminConfigGet(ctx *cli.Context) error {
8282
args := ctx.Args()
8383
aliasedURL := args.Get(0)
8484

85-
// Create a new Minio Admin Client
85+
// Create a new MinIO Admin Client
8686
client, err := newAdminClient(aliasedURL)
8787
fatalIf(err, "Cannot get a configured admin connection.")
8888

cmd/admin-config-set.go

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Minio Client (C) 2017 Minio, Inc.
2+
* MinIO Client (C) 2017 MinIO, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -28,7 +28,7 @@ import (
2828

2929
var adminConfigSetCmd = cli.Command{
3030
Name: "set",
31-
Usage: "set new config file to a minio server/cluster.",
31+
Usage: "set new config file to a MinIO server/cluster.",
3232
Before: setGlobalsFromContext,
3333
Action: mainAdminConfigSet,
3434
Flags: globalFlags,
@@ -42,7 +42,7 @@ FLAGS:
4242
{{range .VisibleFlags}}{{.}}
4343
{{end}}
4444
EXAMPLES:
45-
1. Set server configuration of a Minio server/cluster.
45+
1. Set server configuration of a MinIO server/cluster.
4646
$ cat myconfig | {{.HelpName}} myminio/
4747
4848
`,
@@ -59,12 +59,12 @@ func (u configSetMessage) String() (msg string) {
5959
// Print the general set config status
6060
if u.setConfigStatus {
6161
msg += console.Colorize("SetConfigSuccess",
62-
"Setting new Minio configuration file has been successful.\n")
62+
"Setting new MinIO configuration file has been successful.\n")
6363
msg += console.Colorize("SetConfigSuccess",
6464
"Please restart your server with `mc admin service restart`.\n")
6565
} else {
6666
msg += console.Colorize("SetConfigFailure",
67-
"Setting new Minio configuration file has failed.\n")
67+
"Setting new MinIO configuration file has failed.\n")
6868
}
6969
return
7070
}
@@ -103,7 +103,7 @@ func mainAdminConfigSet(ctx *cli.Context) error {
103103
args := ctx.Args()
104104
aliasedURL := args.Get(0)
105105

106-
// Create a new Minio Admin Client
106+
// Create a new MinIO Admin Client
107107
client, err := newAdminClient(aliasedURL)
108108
fatalIf(err, "Cannot get a configured admin connection.")
109109

cmd/admin-config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Minio Client (C) 2017, 2018 Minio, Inc.
2+
* MinIO Client (C) 2017, 2018 MinIO, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

cmd/admin-credential.go

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Minio Client (C) 2016, 2017, 2018 Minio, Inc.
2+
* MinIO Client (C) 2016, 2017, 2018 MinIO, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -42,8 +42,8 @@ FLAGS:
4242
{{range .VisibleFlags}}{{.}}
4343
{{end}}
4444
EXAMPLES:
45-
1. Set new **admin** credential of a Minio server represented by its alias 'alias'.
46-
$ {{.HelpName}} alias/ minio minio123
45+
1. Set new **admin** credential of a MinIO server represented by its alias 'alias'.
46+
$ {{.HelpName}} alias minio minio123
4747
4848
`,
4949
}
@@ -65,15 +65,15 @@ func mainAdminCreds(ctx *cli.Context) error {
6565
args := ctx.Args()
6666
// TODO: if accessKey and secretKey are not supplied we should
6767
// display the existing credential. This needs GetCredential
68-
// support from Minio server.
68+
// support from MinIO server.
6969
aliasedURL := args.First()
7070
accessKey, secretKey := args.Get(1), args.Get(2)
7171

72-
// Create a new Minio Admin Client
72+
// Create a new MinIO Admin Client
7373
client, err := newAdminClient(aliasedURL)
7474
fatalIf(err, "Cannot get a configured admin connection.")
7575

76-
// Change the credential of the specified Minio server
76+
// Change the credential of the specified MinIO server
7777
e := client.SetAdminCredentials(accessKey, secretKey)
7878
fatalIf(probe.NewError(e), "Unable to set new credential to '"+aliasedURL+"'.")
7979

cmd/admin-heal-result-item.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Minio Client (C) 2018 Minio, Inc.
2+
* MinIO Client (C) 2018 MinIO, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

cmd/admin-heal-ui.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Minio Client (C) 2018 Minio, Inc.
2+
* MinIO Client (C) 2018 MinIO, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

cmd/admin-heal.go

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Minio Client (C) 2017, 2018 Minio, Inc.
2+
* MinIO Client (C) 2017, 2018 MinIO, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -63,7 +63,7 @@ var adminHealFlags = []cli.Flag{
6363

6464
var adminHealCmd = cli.Command{
6565
Name: "heal",
66-
Usage: "heal disks, buckets and objects on minio server",
66+
Usage: "heal disks, buckets and objects on MinIO server",
6767
Action: mainAdminHeal,
6868
Before: setGlobalsFromContext,
6969
Flags: append(adminHealFlags, globalFlags...),
@@ -83,10 +83,10 @@ SCAN MODES:
8383
deep : Heal objects which are missing on one or more disks. Also heal objects with silent data corruption.
8484
8585
EXAMPLES:
86-
1. To format newly replaced disks in a Minio server with alias 'play'
86+
1. To format newly replaced disks in a MinIO server with alias 'play'
8787
$ {{.HelpName}} play
8888
89-
2. Heal 'testbucket' in a Minio server with alias 'play'
89+
2. Heal 'testbucket' in a MinIO server with alias 'play'
9090
$ {{.HelpName}} play/testbucket/
9191
9292
3. Heal all objects under 'dir' prefix
@@ -155,7 +155,7 @@ func mainAdminHeal(ctx *cli.Context) error {
155155
console.SetColor("HealUpdateUI", color.New(color.FgYellow, color.Bold))
156156
console.SetColor("HealStopped", color.New(color.FgGreen, color.Bold))
157157

158-
// Create a new Minio Admin Client
158+
// Create a new MinIO Admin Client
159159
client, err := newAdminClient(aliasedURL)
160160
if err != nil {
161161
fatalIf(err.Trace(aliasedURL), "Cannot initialize admin client.")

0 commit comments

Comments
 (0)