Skip to content

Commit 80e94ea

Browse files
authored
Merge pull request #38 from eranra/add_contributing
add_contributing
2 parents 850fa1e + 9cf136d commit 80e94ea

File tree

1 file changed

+106
-0
lines changed

1 file changed

+106
-0
lines changed

CONTRIBUTING.md

Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
# Contributing to flowlogs2metrics
2+
3+
:fire: A big welcome and thank you for considering contributing to flowlogs2metrics open source project! :fire:
4+
5+
We want to make contributing to this project as easy and transparent as possible.
6+
Please read the following notes to learn how the contribute process works.
7+
8+
## Pull Request Process
9+
10+
1. Follow [pull requests](http://help.github.com/pull-requests/) guidelines.
11+
1. We use git actions to gate pull requests.
12+
- Pull Requests need to at least pass `make build` and `make test`.
13+
- Pull Requests need to be approved by at least one reviewer.
14+
1. For golang code, follow standard coding convention as described [here](https://go.dev/doc/effective_go).
15+
- Use `go fmt` and `golangci-lint` to lint and verify code style.
16+
1. for all other contributions, follow existing project coding style (by example).
17+
1. Connecting an issue to pull Request is always a preference.
18+
1. Always write a clear log message for your commits. One-line messages are fine for small changes,
19+
but bigger changes should look like this:
20+
21+
```shell
22+
> git commit -m "A brief summary of the commit
23+
24+
A paragraph describing what changed and its impact."
25+
```
26+
27+
## Bugs, enhancements and questions
28+
29+
1. Use git [issues](https://docs.github.com/en/issues/tracking-your-work-with-issues/about-issues) to document bugs, enhancements and questions.
30+
1. Be as clear, concise and simple as possible.
31+
1. Good example can always help to clear things. Please use examples when possible.
32+
33+
34+
## Code of Conduct
35+
36+
### Our Pledge
37+
38+
In the interest of fostering an open and welcoming environment, we as
39+
contributors and maintainers pledge to making participation in our project and
40+
our community a harassment-free experience for everyone, regardless of age, body
41+
size, disability, ethnicity, gender identity and expression, level of experience,
42+
nationality, personal appearance, race, religion, or sexual identity and
43+
orientation.
44+
45+
### Our Standards
46+
47+
Examples of behavior that contributes to creating a positive environment
48+
include:
49+
50+
* Using welcoming and inclusive language
51+
* Being respectful of differing viewpoints and experiences
52+
* Gracefully accepting constructive criticism
53+
* Focusing on what is best for the community
54+
* Showing empathy towards other community members
55+
56+
Examples of unacceptable behavior by participants include:
57+
58+
* The use of sexualized language or imagery and unwelcome sexual attention or
59+
advances
60+
* Trolling, insulting/derogatory comments, and personal or political attacks
61+
* Public or private harassment
62+
* Publishing others' private information, such as a physical or electronic
63+
address, without explicit permission
64+
* Other conduct which could reasonably be considered inappropriate in a
65+
professional setting
66+
67+
### Our Responsibilities
68+
69+
Project maintainers are responsible for clarifying the standards of acceptable
70+
behavior and are expected to take appropriate and fair corrective action in
71+
response to any instances of unacceptable behavior.
72+
73+
Project maintainers have the right and responsibility to remove, edit, or
74+
reject comments, commits, code, wiki edits, issues, and other contributions
75+
that are not aligned to this Code of Conduct, or to ban temporarily or
76+
permanently any contributor for other behaviors that they deem inappropriate,
77+
threatening, offensive, or harmful.
78+
79+
### Scope
80+
81+
This Code of Conduct applies both within project spaces and in public spaces
82+
when an individual is representing the project or its community. Examples of
83+
representing a project or community include using an official project e-mail
84+
address, posting via an official social media account, or acting as an appointed
85+
representative at an online or offline event. Representation of a project may be
86+
further defined and clarified by project maintainers.
87+
88+
### Enforcement
89+
90+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
91+
reported by contacting the project team. All
92+
complaints will be reviewed and investigated and will result in a response that
93+
is deemed necessary and appropriate to the circumstances. The project team is
94+
obligated to maintain confidentiality with regard to the reporter of an incident.
95+
Further details of specific enforcement policies may be posted separately.
96+
97+
Project maintainers who do not follow or enforce the Code of Conduct in good
98+
faith may face temporary or permanent repercussions as determined by other
99+
members of the project's leadership.
100+
101+
### Attribution
102+
103+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
104+
available at [http://contributor-covenant.org/version/1/4][version]
105+
106+

0 commit comments

Comments
 (0)