Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add contributing guidelines #632

Merged
merged 10 commits into from
Jun 17, 2020
Merged

add contributing guidelines #632

merged 10 commits into from
Jun 17, 2020

Conversation

cwen0
Copy link
Member

@cwen0 cwen0 commented Jun 16, 2020

Signed-off-by: cwen0 [email protected]

What problem does this PR solve?

Add contributing guidelines and this pr base one #631 ,

@cwen0 cwen0 added the documentation Improvements or additions to documentation label Jun 16, 2020
@cwen0 cwen0 requested review from dcalvin and anotherrachel June 16, 2020 11:18
@codecov-commenter
Copy link

codecov-commenter commented Jun 16, 2020

Codecov Report

Merging #632 into master will decrease coverage by 0.21%.
The diff coverage is 25.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #632      +/-   ##
==========================================
- Coverage   55.78%   55.57%   -0.22%     
==========================================
  Files          68       68              
  Lines        4383     4398      +15     
==========================================
- Hits         2445     2444       -1     
- Misses       1768     1783      +15     
- Partials      170      171       +1     
Impacted Files Coverage Δ
controllers/networkchaos/ipset/ipset.go 37.14% <0.00%> (ø)
pkg/store/experiment/experiment.go 32.20% <0.00%> (-6.58%) ⬇️
pkg/utils/chaosdaemon.go 51.21% <0.00%> (ø)
pkg/utils/grpc.go 0.00% <0.00%> (ø)
controllers/twophase/types.go 54.20% <33.33%> (-1.68%) ⬇️
controllers/networkchaos/netem/types.go 47.27% <50.00%> (ø)
controllers/podchaos/containerkill/types.go 64.38% <100.00%> (ø)
controllers/timechaos/types.go 61.44% <100.00%> (ø)
pkg/utils/selector.go 51.42% <0.00%> (-0.82%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5dd0b86...f85eae8. Read the comment docs.

CONTRIBUTING.md Outdated
@@ -0,0 +1,175 @@
# Contributing to Chaos Mesh

Thanks for your help improving the project!
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Thanks for your help improving the project!
Thanks for your help in improving the project! This document provides a step-by-step guide for general contributions to Chaos Mesh. If you want to develop a specific chaos type, you may also find [Development Guide](https://chaos-mesh.org/docs/development_guides/development_overview) useful.

CONTRIBUTING.md Outdated

## Getting Help

If you have a question about Chaos Mesh or have encountered problems using it, [raise an issue in Github](https://github.com/pingcap/chaos-mesh/issues) or join us the #sig-chaos-mesh channel in the [TiDB Community](https://pingcap.com/tidbslack) slack workspace..
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move to the end.

CONTRIBUTING.md Outdated

### Step 1: Make the change

1. Fork the Chaos Mesh repo, and then clone it to your local:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to your local sounds weird.

CONTRIBUTING.md Outdated
### Step 3: Run e2e test

Chaos Mesh code must pass e2e test before being submitted. Before started, you must have [Docker](https://www.docker.com/get-started/) installed and running.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am wondering whether we really need to add this step. Running e2e locally is not easy and it is really slow...

For users who want to do contributions, open a pr and run e2e test via Jenkins is much more convenient

CONTRIBUTING.md Show resolved Hide resolved
CONTRIBUTING.md Show resolved Hide resolved
CONTRIBUTING.md Outdated

Before starting work on something major, please reach out to us via GitHub, Slack, email, etc. We will make sure no one else is already working on it and ask you to open a GitHub issue. Also, we will provide necessary guidance should you need it.

Specifically, if you want to develop a specific chaos type, åyou may also find [Development Guide](https://chaos-mesh.org/docs/development_guides/development_overview) useful.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Specifically, if you want to develop a specific chaos type, åyou may also find [Development Guide](https://chaos-mesh.org/docs/development_guides/development_overview) useful.
Specifically, if you want to develop a specific chaos type, you may also find [Development Guide](https://chaos-mesh.org/docs/development_guides/development_overview) useful.

cwen0 and others added 2 commits June 17, 2020 13:43
Copy link
Contributor

@dcalvin dcalvin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cwen0 cwen0 merged commit 1c0ff23 into chaos-mesh:master Jun 17, 2020
@cwen0 cwen0 deleted the add_contributing branch June 17, 2020 11:19
shonge pushed a commit to shonge/chaos-mesh that referenced this pull request Jul 7, 2020
sjwsl pushed a commit to sjwsl/chaos-mesh that referenced this pull request May 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants