Skip to content

Commit 2cd72ec

Browse files
Merge pull request #52 from ibm-messaging/updateContributing
feat: Update contributing guidelines
2 parents 2b6613c + 5771cfe commit 2cd72ec

File tree

5 files changed

+190
-33
lines changed

5 files changed

+190
-33
lines changed

CLA.md

Lines changed: 0 additions & 32 deletions
This file was deleted.

CODE_OF_CONDUCT.md

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
In the interest of fostering an open and welcoming environment, we as
6+
contributors and maintainers pledge to making participation in our project and
7+
our community a harassment-free experience for everyone, regardless of age, body
8+
size, disability, ethnicity, gender identity and expression, level of experience,
9+
education, socio-economic status, nationality, personal appearance, race,
10+
religion, or sexual identity and orientation.
11+
12+
## Our Standards
13+
14+
Examples of behavior that contributes to creating a positive environment
15+
include:
16+
17+
* Using welcoming and inclusive language
18+
* Being respectful of differing viewpoints and experiences
19+
* Gracefully accepting constructive criticism
20+
* Focusing on what is best for the community
21+
* Showing empathy towards other community members
22+
23+
Examples of unacceptable behavior by participants include:
24+
25+
* The use of sexualized language or imagery and unwelcome sexual attention or
26+
advances
27+
* Trolling, insulting/derogatory comments, and personal or political attacks
28+
* Public or private harassment
29+
* Publishing others' private information, such as a physical or electronic
30+
address, without explicit permission
31+
* Other conduct which could reasonably be considered inappropriate in a
32+
professional setting
33+
34+
## Our Responsibilities
35+
36+
Project maintainers are responsible for clarifying the standards of acceptable
37+
behavior and are expected to take appropriate and fair corrective action in
38+
response to any instances of unacceptable behavior.
39+
40+
Project maintainers have the right and responsibility to remove, edit, or
41+
reject comments, commits, code, wiki edits, issues, and other contributions
42+
that are not aligned to this Code of Conduct, or to ban temporarily or
43+
permanently any contributor for other behaviors that they deem inappropriate,
44+
threatening, offensive, or harmful.
45+
46+
## Scope
47+
48+
This Code of Conduct applies both within project spaces and in public spaces
49+
when an individual is representing the project or its community. Examples of
50+
representing a project or community include using an official project e-mail
51+
address, posting via an official social media account, or acting as an appointed
52+
representative at an online or offline event. Representation of a project may be
53+
further defined and clarified by project maintainers.
54+
55+
## Enforcement
56+
57+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
58+
reported by contacting one of the project maintainers (@andrew-schofield or @katheris). All
59+
complaints will be reviewed and investigated and will result in a response that
60+
is deemed necessary and appropriate to the circumstances. The project team is
61+
obligated to maintain confidentiality with regard to the reporter of an incident.
62+
Further details of specific enforcement policies may be posted separately.
63+
64+
Project maintainers who do not follow or enforce the Code of Conduct in good
65+
faith may face temporary or permanent repercussions as determined by other
66+
members of the project's leadership.
67+
68+
## Attribution
69+
70+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71+
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
72+
73+
[homepage]: https://www.contributor-covenant.org

CONTRIBUTING.md

Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
# Contributing to the Kafka Connect source connector for IBM MQ
2+
3+
Please note that this project is released with a [Contributor Code of Conduct](CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms.
4+
5+
## Pull requests are always welcome
6+
7+
We are always thrilled to receive pull requests, and do our best to process them as fast as possible. Not sure if that typo is worth a pull request? Do it! We will appreciate it.
8+
9+
To contribute code or documentation, please submit a [pull request](https://github.com/ibm-messaging/kafka-connect-mq-source/pulls).
10+
11+
A good way to familiarize yourself with the codebase and contribution process is
12+
to look for and tackle low-hanging fruit in the [issue tracker](https://github.com/ibm-messaging/kafka-connect-mq-source/issues).
13+
14+
## Create issues...
15+
If you would like to implement a new feature, please [raise an issue](https://github.com/ibm-messaging/kafka-connect-mq-source/issues)
16+
before sending a pull request so the feature can be discussed before you start working on it.
17+
18+
> Note: We appreciate your effort, and want to avoid a situation where a contribution
19+
requires extensive rework (by you or by us), sits in backlog for a long time, or
20+
cannot be accepted at all!
21+
22+
### ...but check for existing issues first!
23+
24+
Please take a moment to check that an issue doesn't already exist documenting your bug report or improvement proposal. If it does, it never hurts to add a quick "+1" or "I have this problem too". This will help prioritize the most common problems and requests.
25+
26+
### Merge approval
27+
28+
The project maintainers use LGTM (Looks Good To Me) in comments on the code
29+
review to indicate acceptance.
30+
31+
For a list of the maintainers, see the [MAINTAINERS.md](MAINTAINERS.md) page.
32+
33+
## Legal
34+
35+
Each source file must include a license header for the Apache
36+
Software License 2.0.
37+
e.g.
38+
39+
```
40+
/**
41+
* Copyright <date>-<date> <holder>
42+
*
43+
* Licensed under the Apache License, Version 2.0 (the "License");
44+
* you may not use this file except in compliance with the License.
45+
* You may obtain a copy of the License at
46+
*
47+
* http://www.apache.org/licenses/LICENSE-2.0
48+
*
49+
* Unless required by applicable law or agreed to in writing, software
50+
* distributed under the License is distributed on an "AS IS" BASIS,
51+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
52+
* See the License for the specific language governing permissions and
53+
* limitations under the License.
54+
*/
55+
```
56+
57+
We have tried to make it as easy as possible to make contributions. This
58+
applies to how we handle the legal aspects of contribution. We use the
59+
same approach - the [Developer's Certificate of Origin 1.1 (DCO)](https://github.com/hyperledger/fabric/blob/master/docs/source/DCO1.1.txt) - that the Linux® Kernel [community](https://elinux.org/Developer_Certificate_Of_Origin)
60+
uses to manage code contributions.
61+
62+
The rules are pretty simple: if you
63+
can certify the below (from [developercertificate.org](http://developercertificate.org/)):
64+
```
65+
Developer Certificate of Origin
66+
Version 1.1
67+
68+
Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
69+
660 York Street, Suite 102,
70+
San Francisco, CA 94110 USA
71+
72+
Everyone is permitted to copy and distribute verbatim copies of this
73+
license document, but changing it is not allowed.
74+
75+
76+
Developer's Certificate of Origin 1.1
77+
78+
By making a contribution to this project, I certify that:
79+
80+
(a) The contribution was created in whole or in part by me and I
81+
have the right to submit it under the open source license
82+
indicated in the file; or
83+
84+
(b) The contribution is based upon previous work that, to the best
85+
of my knowledge, is covered under an appropriate open source
86+
license and I have the right under that license to submit that
87+
work with modifications, whether created in whole or in part
88+
by me, under the same open source license (unless I am
89+
permitted to submit under a different license), as indicated
90+
in the file; or
91+
92+
(c) The contribution was provided directly to me by some other
93+
person who certified (a), (b) or (c) and I have not modified
94+
it.
95+
96+
(d) I understand and agree that this project and the contribution
97+
are public and that a record of the contribution (including all
98+
personal information I submit with it, including my sign-off) is
99+
maintained indefinitely and may be redistributed consistent with
100+
this project or the open source license(s) involved.
101+
```
102+
103+
then you just add a line to end of the git commit message:
104+
105+
```
106+
Signed-off-by: John Doe <john.doe@example.com>
107+
```
108+
109+
using your real name. Sorry, no pseudonyms or anonymous contributions.
110+
111+
Many Git UI tools have support for adding the `Signed-off-by` line to the end of your commit
112+
message. This line can be automatically added by the `git commit` command by using the `-s` option.

MAINTAINERS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# MAINTAINERS
2+
3+
Andrew Schofield - andrew_schofield@uk.ibm.com
4+
Kate Stanley - katheris@uk.ibm.com

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ A commercially supported version of this connector is available for customers wi
283283

284284

285285
## Issues and contributions
286-
For issues relating specifically to this connector, please use the [GitHub issue tracker](https://github.com/ibm-messaging/kafka-connect-mq-source/issues). If you do submit a Pull Request related to this connector, please indicate in the Pull Request that you accept and agree to be bound by the terms of the [IBM Contributor License Agreement](CLA.md).
286+
For issues relating specifically to this connector, please use the [GitHub issue tracker](https://github.com/ibm-messaging/kafka-connect-mq-source/issues). If you do want to submit a Pull Request related to this connector, please read the [contributing guide](CONTRIBUTING.md) first to understand how to sign your commits.
287287

288288

289289
## License

0 commit comments

Comments
 (0)