3 Star 7 Fork 0

Qinx / setl

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
CONTRIBUTING.md 1.73 KB
一键复制 编辑 原始数据 按行查看 历史

Contributing to SETL

Thanks sooooo much for taking time to contribute :+1:

Bug report

When you are creating a bug report, please include as many details as possible. Fill out the required template, the information it asks for helps us resolve issues faster.

Feature request

When you are creating an enhancement suggestion, please include as many details as possible. Fill in the template, including the steps that you imagine you would take if the feature you're requesting existed.

Development

Quick guide

  • Fork the project & clone locally.
  • Create an upstream remote and sync your local copy before you branch.
  • Branch for each separate piece of work.
  • Push to the origin repository (the fork).
  • Create a new Pull Request in GitHub.

Build

Use pre-created profiles to change version.

# Build SNAPSHOT with Scala 2.11
mvn clean package -Psnapshot -Pscala_2.11 -Pspark_2.4

# Build RELEASE with Scala 2.11
mvn clean package -Prelease -Pscala_2.11 -Pspark_2.4

# Build SNAPSHOT with Scala 2.12
./dev/change-scala-version.sh 2.12
mvn clean package -Psnapshot -Pscala_2.12 -Pspark_2.4

# Build RELEASE with Scala 2.12
./dev/change-scala-version.sh 2.12
mvn clean package -Prelease -Pscala_2.12 -Pspark_2.4

Unit tests

We use docker to provide services for the unit test. Run the following command before the unit test:

docker-compose -f ./dev/docker-compose.yml up

To start the test with cli:

export SCALA_VER=2.11
export SPARK_VER=2.4
./dev/test.sh

Styleguide

Commit styleguide

Please refer to Conventional Commits

Scala styleguide

Please refer to Databricks Scala Guide

Scala
1
https://gitee.com/qxzzxq/setl.git
git@gitee.com:qxzzxq/setl.git
qxzzxq
setl
setl
master

搜索帮助