forked from TrueCloudLab/frostfs-s3-gw
Cleanup from legacy files
Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
This commit is contained in:
parent
9a7f7064f4
commit
91ae8b72f8
7 changed files with 0 additions and 20945 deletions
|
@ -1,68 +0,0 @@
|
||||||
# MinIO Contribution Guide [![Slack](https://slack.min.io/slack?type=svg)](https://slack.min.io) [![Docker Pulls](https://img.shields.io/docker/pulls/minio/minio.svg?maxAge=604800)](https://hub.docker.com/r/minio/minio/)
|
|
||||||
|
|
||||||
``MinIO`` community welcomes your contribution. To make the process as seamless as possible, we recommend you read this contribution guide.
|
|
||||||
|
|
||||||
## Development Workflow
|
|
||||||
|
|
||||||
Start by forking the MinIO GitHub repository, make changes in a branch and then send a pull request. We encourage pull requests to discuss code changes. Here are the steps in details:
|
|
||||||
|
|
||||||
### Setup your MinIO GitHub Repository
|
|
||||||
Fork [MinIO upstream](https://github.com/minio/minio/fork) source repository to your own personal repository. Copy the URL of your MinIO fork (you will need it for the `git clone` command below).
|
|
||||||
|
|
||||||
```sh
|
|
||||||
$ git clone https://github.com/minio/minio
|
|
||||||
$ go install -v
|
|
||||||
$ ls /go/bin/minio
|
|
||||||
```
|
|
||||||
|
|
||||||
### Set up git remote as ``upstream``
|
|
||||||
```sh
|
|
||||||
$ cd minio
|
|
||||||
$ git remote add upstream https://github.com/minio/minio
|
|
||||||
$ git fetch upstream
|
|
||||||
$ git merge upstream/master
|
|
||||||
...
|
|
||||||
```
|
|
||||||
|
|
||||||
### Create your feature branch
|
|
||||||
Before making code changes, make sure you create a separate branch for these changes
|
|
||||||
|
|
||||||
```
|
|
||||||
$ git checkout -b my-new-feature
|
|
||||||
```
|
|
||||||
|
|
||||||
### Test MinIO server changes
|
|
||||||
After your code changes, make sure
|
|
||||||
|
|
||||||
- To add test cases for the new code. If you have questions about how to do it, please ask on our [Slack](https://slack.min.io) channel.
|
|
||||||
- To run `make verifiers`
|
|
||||||
- To squash your commits into a single commit. `git rebase -i`. It's okay to force update your pull request.
|
|
||||||
- To run `make test` and `make build` completes.
|
|
||||||
|
|
||||||
### Commit changes
|
|
||||||
After verification, commit your changes. This is a [great post](https://chris.beams.io/posts/git-commit/) on how to write useful commit messages
|
|
||||||
|
|
||||||
```
|
|
||||||
$ git commit -am 'Add some feature'
|
|
||||||
```
|
|
||||||
|
|
||||||
### Push to the branch
|
|
||||||
Push your locally committed changes to the remote origin (your fork)
|
|
||||||
```
|
|
||||||
$ git push origin my-new-feature
|
|
||||||
```
|
|
||||||
|
|
||||||
### Create a Pull Request
|
|
||||||
Pull requests can be created via GitHub. Refer to [this document](https://help.github.com/articles/creating-a-pull-request/) for detailed steps on how to create a pull request. After a Pull Request gets peer reviewed and approved, it will be merged.
|
|
||||||
|
|
||||||
## FAQs
|
|
||||||
### How does ``MinIO`` manages dependencies?
|
|
||||||
``MinIO`` uses `go mod` to manage its dependencies.
|
|
||||||
- Run `go get foo/bar` in the source folder to add the dependency to `go.mod` file.
|
|
||||||
|
|
||||||
To remove a dependency
|
|
||||||
- Edit your code and remove the import reference.
|
|
||||||
- Run `go mod tidy` in the source folder to remove dependency from `go.mod` file.
|
|
||||||
|
|
||||||
### What are the coding guidelines for MinIO?
|
|
||||||
``MinIO`` is fully conformant with Golang style. Refer: [Effective Go](https://github.com/golang/go/wiki/CodeReviewComments) article from Golang project. If you observe offending code, please feel free to send a pull request or ping us on [Slack](https://slack.min.io).
|
|
9
NOTICE
9
NOTICE
|
@ -1,9 +0,0 @@
|
||||||
MinIO Cloud Storage, (C) 2014-2020 MinIO, Inc.
|
|
||||||
|
|
||||||
This product includes software developed at MinIO, Inc.
|
|
||||||
(https://min.io/).
|
|
||||||
|
|
||||||
The MinIO project contains unmodified/modified subcomponents too with
|
|
||||||
separate copyright notices and license terms. Your use of the source
|
|
||||||
code for these subcomponents is subject to the terms and conditions
|
|
||||||
of Apache License Version 2.0
|
|
106
README_zh_CN.md
106
README_zh_CN.md
|
@ -1,106 +0,0 @@
|
||||||
# MinIO Quickstart Guide [![Slack](https://slack.min.io/slack?type=svg)](https://slack.min.io) [![Docker Pulls](https://img.shields.io/docker/pulls/minio/minio.svg?maxAge=604800)](https://hub.docker.com/r/minio/minio/)
|
|
||||||
|
|
||||||
MinIO 是一个基于Apache License v2.0开源协议的对象存储服务。它兼容亚马逊S3云存储服务接口,非常适合于存储大容量非结构化的数据,例如图片、视频、日志文件、备份数据和容器/虚拟机镜像等,而一个对象文件可以是任意大小,从几kb到最大5T不等。
|
|
||||||
|
|
||||||
MinIO是一个非常轻量的服务,可以很简单的和其他应用的结合,类似 NodeJS, Redis 或者 MySQL。
|
|
||||||
|
|
||||||
## Docker 容器
|
|
||||||
### 稳定版
|
|
||||||
```
|
|
||||||
docker pull minio/minio
|
|
||||||
docker run -p 9000:9000 minio/minio server /data
|
|
||||||
```
|
|
||||||
|
|
||||||
### 尝鲜版
|
|
||||||
```
|
|
||||||
docker pull minio/minio:edge
|
|
||||||
docker run -p 9000:9000 minio/minio:edge server /data
|
|
||||||
```
|
|
||||||
更多Docker部署信息请访问 [这里](https://docs.min.io/docs/minio-docker-quickstart-guide)
|
|
||||||
|
|
||||||
## macOS
|
|
||||||
### Homebrew
|
|
||||||
使用 [Homebrew](http://brew.sh/)安装minio
|
|
||||||
|
|
||||||
```sh
|
|
||||||
brew install minio/stable/minio
|
|
||||||
minio server /data
|
|
||||||
```
|
|
||||||
#### Note
|
|
||||||
如果你之前使用 `brew install minio`安装过minio, 可以用 `minio/stable/minio` 官方镜像进行重装. 由于golang 1.8的bug,homebrew版本不太稳定。
|
|
||||||
|
|
||||||
```
|
|
||||||
brew uninstall minio
|
|
||||||
brew install minio/stable/minio
|
|
||||||
```
|
|
||||||
|
|
||||||
### 下载二进制文件
|
|
||||||
| 操作系统 | CPU架构 | 地址 |
|
|
||||||
| ---------- | -------- | ------ |
|
|
||||||
| Apple macOS | 64-bit Intel | https://dl.min.io/server/minio/release/darwin-amd64/minio |
|
|
||||||
```sh
|
|
||||||
chmod 755 minio
|
|
||||||
./minio server /data
|
|
||||||
```
|
|
||||||
|
|
||||||
## GNU/Linux
|
|
||||||
### 下载二进制文件
|
|
||||||
| 操作系统 | CPU架构 | 地址 |
|
|
||||||
| ---------- | -------- | ------ |
|
|
||||||
| GNU/Linux | 64-bit Intel | https://dl.min.io/server/minio/release/linux-amd64/minio |
|
|
||||||
```sh
|
|
||||||
chmod +x minio
|
|
||||||
./minio server /data
|
|
||||||
```
|
|
||||||
|
|
||||||
## 微软Windows系统
|
|
||||||
### 下载二进制文件
|
|
||||||
| 操作系统 | CPU架构 | 地址 |
|
|
||||||
| ---------- | -------- | ------ |
|
|
||||||
| 微软Windows系统 | 64位 | https://dl.min.io/server/minio/release/windows-amd64/minio.exe |
|
|
||||||
```sh
|
|
||||||
minio.exe server D:\Photos
|
|
||||||
```
|
|
||||||
|
|
||||||
## FreeBSD
|
|
||||||
### Port
|
|
||||||
使用 [pkg](https://github.com/freebsd/pkg)进行安装。
|
|
||||||
|
|
||||||
```sh
|
|
||||||
pkg install minio
|
|
||||||
sysrc minio_enable=yes
|
|
||||||
sysrc minio_disks=/home/user/Photos
|
|
||||||
service minio start
|
|
||||||
```
|
|
||||||
|
|
||||||
## 使用源码安装
|
|
||||||
|
|
||||||
采用源码安装仅供开发人员和高级用户使用,如果你还没有Golang环境, 请参考 [How to install Golang](https://golang.org/doc/install).
|
|
||||||
|
|
||||||
```sh
|
|
||||||
go get -u github.com/minio/minio
|
|
||||||
```
|
|
||||||
|
|
||||||
## 使用MinIO浏览器进行验证
|
|
||||||
安装后使用浏览器访问[http://127.0.0.1:9000](http://127.0.0.1:9000),如果可以访问,则表示minio已经安装成功。
|
|
||||||
|
|
||||||
![Screenshot](https://github.com/minio/minio/blob/master/docs/screenshots/minio-browser.png?raw=true)
|
|
||||||
|
|
||||||
## 使用MinIO客户端 `mc`进行验证
|
|
||||||
`mc` 提供了一些UNIX常用命令的替代品,像ls, cat, cp, mirror, diff这些。 它支持文件系统和亚马逊S3云存储服务。 更多信息请参考 [mc快速入门](https://docs.min.io/docs/minio-client-quickstart-guide) 。
|
|
||||||
|
|
||||||
## 已经存在的数据
|
|
||||||
当在单块磁盘上部署MinIO server,MinIO server允许客户端访问数据目录下已经存在的数据。比如,如果MinIO使用`minio server /mnt/data`启动,那么所有已经在`/mnt/data`目录下的数据都可以被客户端访问到。
|
|
||||||
|
|
||||||
上述描述对所有网关后端同样有效。
|
|
||||||
|
|
||||||
## 了解更多
|
|
||||||
- [MinIO纠删码入门](https://docs.min.io/docs/minio-erasure-code-quickstart-guide)
|
|
||||||
- [`mc`快速入门](https://docs.min.io/docs/minio-client-quickstart-guide)
|
|
||||||
- [使用 `aws-cli`](https://docs.min.io/docs/aws-cli-with-minio)
|
|
||||||
- [使用 `s3cmd`](https://docs.min.io/docs/s3cmd-with-minio)
|
|
||||||
- [使用 `minio-go` SDK](https://docs.min.io/docs/golang-client-quickstart-guide)
|
|
||||||
- [MinIO文档](https://docs.min.io)
|
|
||||||
|
|
||||||
## 如何参与到MinIO项目
|
|
||||||
请参考 [贡献者指南](https://github.com/minio/minio/blob/master/CONTRIBUTING.md)。欢迎各位中国程序员加到MinIO项目中。
|
|
41
SECURITY.md
41
SECURITY.md
|
@ -1,41 +0,0 @@
|
||||||
# Security Policy
|
|
||||||
|
|
||||||
## Supported Versions
|
|
||||||
|
|
||||||
We always provide security updates for the [latest release](https://github.com/minio/minio/releases/latest).
|
|
||||||
Whenever there is a security update you just need to upgrade to the latest version.
|
|
||||||
|
|
||||||
## Reporting a Vulnerability
|
|
||||||
|
|
||||||
All security bugs in [minio/minio](https://github,com/minio/minio) (or other minio/* repositories)
|
|
||||||
should be reported by email to security@min.io. Your email will be acknowledged within 48 hours,
|
|
||||||
and you'll receive a more detailed response to your email within 72 hours indicating the next steps
|
|
||||||
in handling your report.
|
|
||||||
|
|
||||||
Please, provide a detailed explanation of the issue. In particular, outline the type of the security
|
|
||||||
issue (DoS, authentication bypass, information disclose, ...) and the assumptions you're making (e.g. do
|
|
||||||
you need access credentials for a successful exploit).
|
|
||||||
|
|
||||||
If you have not received a reply to your email within 48 hours or you have not heard from the security team
|
|
||||||
for the past five days please contact the security team directly:
|
|
||||||
- Primary security coordinator: aead@min.io
|
|
||||||
- Secondary coordinator: harsha@min.io
|
|
||||||
- If you receive no response: dev@min.io
|
|
||||||
|
|
||||||
### Disclosure Process
|
|
||||||
|
|
||||||
MinIO uses the following disclosure process:
|
|
||||||
|
|
||||||
1. Once the security report is received one member of the security team tries to verify and reproduce
|
|
||||||
the issue and determines the impact it has.
|
|
||||||
2. A member of the security team will respond and either confirm or reject the security report.
|
|
||||||
If the report is rejected the response explains why.
|
|
||||||
3. Code is audited to find any potential similar problems.
|
|
||||||
4. Fixes are prepared for the latest release.
|
|
||||||
5. On the date that the fixes are applied a security advisory will be published on https://blog.min.io.
|
|
||||||
Please inform us in your report email whether MinIO should mention your contribution w.r.t. fixing
|
|
||||||
the security issue. By default MinIO will **not** publish this information to protect your privacy.
|
|
||||||
|
|
||||||
This process can take some time, especially when coordination is required with maintainers of other projects.
|
|
||||||
Every effort will be made to handle the bug in as timely a manner as possible, however it's important that we
|
|
||||||
follow the process described above to ensure that disclosures are handled consistently.
|
|
|
@ -1,80 +0,0 @@
|
||||||
# Contributor Covenant Code of Conduct
|
|
||||||
|
|
||||||
## Our Pledge
|
|
||||||
|
|
||||||
In the interest of fostering an open and welcoming environment, we as
|
|
||||||
contributors and maintainers pledge to making participation in our project and
|
|
||||||
our community a harassment-free experience for everyone, regardless of age, body
|
|
||||||
size, disability, ethnicity, gender identity and expression, level of experience,
|
|
||||||
nationality, personal appearance, race, religion, or sexual identity and
|
|
||||||
orientation.
|
|
||||||
|
|
||||||
## Our Standards
|
|
||||||
|
|
||||||
Examples of behavior that contributes to creating a positive environment
|
|
||||||
include:
|
|
||||||
|
|
||||||
* Using welcoming and inclusive language
|
|
||||||
* Being respectful of differing viewpoints and experiences
|
|
||||||
* Gracefully accepting constructive criticism
|
|
||||||
* Focusing on what is best for the community
|
|
||||||
* Showing empathy towards other community members
|
|
||||||
|
|
||||||
Examples of unacceptable behavior by participants include:
|
|
||||||
|
|
||||||
* The use of sexualized language or imagery and unwelcome sexual attention or
|
|
||||||
advances
|
|
||||||
* Trolling, insulting/derogatory comments, and personal or political attacks
|
|
||||||
* Public or private harassment
|
|
||||||
* Publishing others' private information, such as a physical or electronic
|
|
||||||
address, without explicit permission
|
|
||||||
* Other conduct which could reasonably be considered inappropriate in a
|
|
||||||
professional setting
|
|
||||||
|
|
||||||
## Our Responsibilities
|
|
||||||
|
|
||||||
Project maintainers are responsible for clarifying the standards of acceptable
|
|
||||||
behavior and are expected to take appropriate and fair corrective action in
|
|
||||||
response to any instances of unacceptable behavior, in compliance with the
|
|
||||||
licensing terms applying to the Project developments.
|
|
||||||
|
|
||||||
Project maintainers have the right and responsibility to remove, edit, or
|
|
||||||
reject comments, commits, code, wiki edits, issues, and other contributions
|
|
||||||
that are not aligned to this Code of Conduct, or to ban temporarily or
|
|
||||||
permanently any contributor for other behaviors that they deem inappropriate,
|
|
||||||
threatening, offensive, or harmful. However, these actions shall respect the
|
|
||||||
licensing terms of the Project Developments that will always supersede such
|
|
||||||
Code of Conduct.
|
|
||||||
|
|
||||||
## Scope
|
|
||||||
|
|
||||||
This Code of Conduct applies both within project spaces and in public spaces
|
|
||||||
when an individual is representing the project or its community. Examples of
|
|
||||||
representing a project or community include using an official project e-mail
|
|
||||||
address, posting via an official social media account, or acting as an appointed
|
|
||||||
representative at an online or offline event. Representation of a project may be
|
|
||||||
further defined and clarified by project maintainers.
|
|
||||||
|
|
||||||
## Enforcement
|
|
||||||
|
|
||||||
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
|
||||||
reported by contacting the project team at dev@min.io. The project team
|
|
||||||
will review and investigate all complaints, and will respond in a way that it deems
|
|
||||||
appropriate to the circumstances. The project team is obligated to maintain
|
|
||||||
confidentiality with regard to the reporter of an incident.
|
|
||||||
Further details of specific enforcement policies may be posted separately.
|
|
||||||
|
|
||||||
Project maintainers who do not follow or enforce the Code of Conduct in good
|
|
||||||
faith may face temporary or permanent repercussions as determined by other
|
|
||||||
members of the project's leadership.
|
|
||||||
|
|
||||||
## Attribution
|
|
||||||
|
|
||||||
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
|
||||||
available at [http://contributor-covenant.org/version/1/4][version]
|
|
||||||
|
|
||||||
This version includes a clarification to ensure that the code of conduct is in
|
|
||||||
compliance with the free software licensing terms of the project.
|
|
||||||
|
|
||||||
[homepage]: http://contributor-covenant.org
|
|
||||||
[version]: http://contributor-covenant.org/version/1/4/
|
|
|
@ -1 +0,0 @@
|
||||||
checks = ["all", "-ST1005", "-ST1000", "-SA4000", "-SA9004", "-SA1019", "-SA1008", "-U1000", "-ST1016"]
|
|
Loading…
Reference in a new issue