Welcome to CubeFS!
Please make sure the bug is not already reported by searching the repository with reasonable keywords. Then, open an issue with steps to reproduce.
Recommend the standard GitHub flow based on forking and pull requests.
The following diagram and practice steps show the basic process of contributing code to CubeFS:
$ git remote add me https://github.com/your/cubefs
)$ git checkout master && git pull
)$ git branch your-branch && git checkout your-branch
)$ git commit -s && git push me
)your/cubefs:your-branch
into cubefs/cubefs:master
)Note 1:
The DOC Check is enabled and required. Please make sign your commit by using -s
argument to add a valid Signed-off-by
line at bottom of your commit message.
Example:
$ git commit -s
Note 2:
If your pull request solves an existing issue or implements a feature request with an existing issue.
Please use the fixes keyword in the pull request to associate the pull request with the relevant issue.
Note 3:
Every pull request that merges code to the master branch needs to be approved by at least one core maintainer for code review and pass all checks (including the DCO check) before it can be merged.
# gofumpt
> go install mvdan.cc/gofumpt@latest
# golangci-lint
> go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.43.0
gofumpt
before submitting it.
> gofumpt -l -w .
> go generate .
# OR run in local docker
> ./docker/run_docker.sh --format
<type>(<scope>): <subject>
<BLANK LINE>
<body>
<BLANK LINE>
"close: #<issue_id>"
<BLANK LINE>
<footer>
"Signed-off-by: <name> <email>"
git commit --signoff
.subject
and line of body
should not exceed 100 bytes.Example:
For example, the author information must match the Signed-off-by information.
Author: users <users@cubefs.groups.io>
Date: Thu Apr 27 09:40:02 2023 +0800
feat(doc): this is an example
body's first line, explain more details of this commit,
new line if the body is more than 100 bytes.
close: #1
empty or anything else
Signed-off-by: users <users@cubefs.groups.io>
codeql
: Basic security code scanning.ci
: Run code format, unit test and coverage, s3 service testing and gosec.check_pull_request
: Check pull request title and new commit messages.goreleaser
: Build release package.slsa-releaser
: Build release package with SLSA.release_test
: Run ltp tests before released.Вы можете оставить комментарий после Вход в систему
Неприемлемый контент может быть отображен здесь и не будет показан на странице. Вы можете проверить и изменить его с помощью соответствующей функции редактирования.
Если вы подтверждаете, что содержание не содержит непристойной лексики/перенаправления на рекламу/насилия/вульгарной порнографии/нарушений/пиратства/ложного/незначительного или незаконного контента, связанного с национальными законами и предписаниями, вы можете нажать «Отправить» для подачи апелляции, и мы обработаем ее как можно скорее.
Опубликовать ( 0 )