6 Star 24 Fork 4

Gitee 极速下载 / gh-ost

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/github/gh-ost/
克隆/下载
coding-ghost.md 1.23 KB
一键复制 编辑 原始数据 按行查看 历史

Getting started with gh-ost development.

Overview

Getting started with gh-ost development is simple!

  • First obtain the repository with git clone or go get.
  • From inside of the repository run script/cibuild.
  • This will bootstrap the environment if needed, format the code, build the code, and then run the unit test.

CI build workflow

script/cibuild performs the following actions will bootstrap the environment to build gh-ost correctly, build, perform syntax checks and run unit tests.

If additional steps are needed, please add them into this workflow so that the workflow remains simple.

golang-ci linter

To enfore best-practices, Pull Requests are automatically linted by golang-ci. The linter config is located at .golangci.yml and the golangci-lint GitHub Action is located at .github/workflows/golangci-lint.yml.

To run the golang-ci linters locally (recommended before push), use script/lint.

Notes:

Currently, script/ensure-go-installed will install go for Mac OS X and Linux. We welcome PR's to add other platforms.

Shell
1
https://gitee.com/mirrors/gh-ost.git
git@gitee.com:mirrors/gh-ost.git
mirrors
gh-ost
gh-ost
master

搜索帮助