Skip to content

Commit 4aa6d1f

Browse files
tarcinilperlun
authored andcommitted
Creates CONTRIBUTOR and MAINTAINERS files (#353)
* * moving CHANGELOG to markdown to get benefits of the format that it is written in * adding CONTRIBUTING and MAINTAINERS markdown file based on projects that I have worked it (discussion still open for final) * adding new files and extension to gemspec Signed-off-by: Vern Burton <me@vernburton.com> * fixing dco anchor Signed-off-by: Vern Burton <me@vernburton.com> * using markdown formats Signed-off-by: Vern Burton <me@vernburton.com> * adding pull request requirements and license information Signed-off-by: Vern Burton <me@vernburton.com> * adding github templates for issues/pull requests Signed-off-by: Vern Burton <me@vernburton.com> * fixing comments to PR * updating Github to GitHub * completing sentence for DCO signoff Signed-off-by: Vern Burton <me@vernburton.com>
1 parent c8d1012 commit 4aa6d1f

6 files changed

+141
-11
lines changed

CHANGELOG renamed to CHANGELOG.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
1-
== 1.3.0
1+
# Change Log
2+
3+
## 1.3.0
24

35
* Dropping Ruby 1.8.x support
46

5-
== 1.2.10
7+
## 1.2.10
68

79
* Adding Git::Diff.name_status
810
* Checking and fixing encoding on commands output to prevent encoding errors afterwards
911

10-
== 1.2.9
12+
## 1.2.9
1113

1214
* Adding Git.configure (to configure the git env)
1315
* Adding Git.ls_remote [Git.ls_remote(repo_path_or_url='.')]
@@ -27,13 +29,13 @@
2729
* Git.fetch - supporting --prune
2830
* Git.tag - supporting
2931

30-
== 1.2.8
32+
## 1.2.8
3133

3234
* Keeping the old escape format for windows users
3335
* revparse: Supporting ref names containing SHA like substrings (40-hex strings)
3436
* Fix warnings on Ruby 2.1.2
3537

36-
== 1.2.7
38+
## 1.2.7
3739

3840
* Fixing mesages encoding
3941
* Fixing -f flag in git push
@@ -45,7 +47,7 @@
4547
* Git.add_tag options - supporting -a, -m and -s
4648
* Added Git.delete_tag
4749

48-
== 1.2.6
50+
## 1.2.6
4951

5052
* Ruby 1.9.X/2.0 fully supported
5153
* JRuby 1.8/1.9 support
@@ -61,24 +63,24 @@
6163
* Travis configuration
6264
* Licence included with the gem
6365

64-
== 1.0.4
66+
## 1.0.4
6567

6668
* added camping/gitweb.rb frontend
6769
* added a number of speed-ups
6870

69-
== 1.0.3
71+
## 1.0.3
7072

7173
* Sped up most of the operations
7274
* Added some predicate functions (commit?, tree?, etc)
7375
* Added a number of lower level operations (read-tree, write-tree, checkout-index, etc)
7476
* Fixed a bug with using bare repositories
7577
* Updated a good amount of the documentation
7678

77-
== 1.0.2
79+
## 1.0.2
7880

7981
* Added methods to the git objects that might be helpful
8082

81-
== 1.0.1
83+
## 1.0.1
8284

8385
* Initial version
8486

CONTRIBUTING.md

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
# Contributing to ruby-git
2+
3+
Thank you for your interest in contributing to this project.
4+
5+
These are mostly guidelines, not rules.
6+
Use your best judgment, and feel free to propose changes to this document in a pull request.
7+
8+
#### Table Of Contents
9+
10+
[How Can I Contribute?](#how-can-i-contribute)
11+
* [Submitting Issues](#submitting-issues)
12+
* [Contribution Process](#contribution-process)
13+
* [Pull Request Requirements](#pull-request-requirements)
14+
* [Code Review Process](#code-review-process)
15+
* [Developer Certification of Origin (DCO)](#developer-certification-of-origin-dco)
16+
17+
18+
## How Can I Contribute?
19+
20+
### Submitting Issues
21+
22+
We utilize **GitHub Issues** for issue tracking and contributions. You can contribute in two ways:
23+
24+
1. Reporting an issue or making a feature request [here](https://github.com/ruby-git/ruby-git/issues/new).
25+
2. Adding features or fixing bugs yourself and contributing your code to ruby-git.
26+
27+
### Contribution Process
28+
29+
We have a 3 step process for contributions:
30+
31+
1. Commit changes to a git branch in your fork. Making sure to sign-off those changes for the [Developer Certificate of Origin](#developer-certification-of-origin-dco).
32+
2. Create a GitHub Pull Request for your change, following the instructions in the pull request template.
33+
3. Perform a [Code Review](#code-review-process) with the project maintainers on the pull request.
34+
35+
### Pull Request Requirements
36+
In order to ensure high quality, we require that all pull requests to this project meet these specifications:
37+
38+
1. Unit Testing: We require all the new code to include unit tests, and any fixes to pass previous units.
39+
2. Green CI Tests: We are using [Travis CI](https://travis-ci.org/ruby-git/ruby-git) to run unit tests on various ruby versions, we expect them to all pass before a pull request will be merged.
40+
3. Up-to-date Documentation: New methods as well as updated methods should have [YARD](https://yardoc.org/) documentation added to them
41+
42+
### Code Review Process
43+
44+
Code review takes place in GitHub pull requests. See [this article](https://help.github.com/articles/about-pull-requests/) if you're not familiar with GitHub Pull Requests.
45+
46+
Once you open a pull request, project maintainers will review your code and respond to your pull request with any feedback they might have.
47+
48+
The process at this point is as follows:
49+
50+
1. One thumbs-up (:+1:) is required from project maintainers. See the master maintainers document for the ruby-git project at <https://github.com/ruby-git/ruby-git/blob/master/MAINTAINERS.md>.
51+
2. When ready, your pull request will be merged into `master`, we may require you to rebase your PR to the latest `master`.
52+
53+
### Developer Certification of Origin (DCO)
54+
55+
Licensing is very important to open source projects. It helps ensure the software continues to be available under the terms that the author desired.
56+
57+
ruby-git uses [the MIT license](https://github.com/ruby-git/ruby-git/blob/master/LICENSE)
58+
59+
Detail about the LICENSE can be found [here](https://choosealicense.com/licenses/mit/)
60+
61+
To make a good faith effort to ensure these criteria are met, ruby-git requires the Developer Certificate of Origin (DCO) process to be followed.
62+
63+
The DCO is an attestation attached to every contribution made by every developer.
64+
65+
In the commit message of the contribution, the developer simply adds a Signed-off-by statement and thereby agrees to the DCO, which you can find below or at <http://developercertificate.org/>.
66+
67+
```
68+
Developer's Certificate of Origin 1.1
69+
70+
By making a contribution to this project, I certify that:
71+
72+
(a) The contribution was created in whole or in part by me and I
73+
have the right to submit it under the open source license
74+
indicated in the file; or
75+
76+
(b) The contribution is based upon previous work that, to the
77+
best of my knowledge, is covered under an appropriate open
78+
source license and I have the right under that license to
79+
submit that work with modifications, whether created in whole
80+
or in part by me, under the same open source license (unless
81+
I am permitted to submit under a different license), as
82+
Indicated in the file; or
83+
84+
(c) The contribution was provided directly to me by some other
85+
person who certified (a), (b) or (c) and I have not modified
86+
it.
87+
88+
(d) I understand and agree that this project and the contribution
89+
are public and that a record of the contribution (including
90+
all personal information I submit with it, including my
91+
sign-off) is maintained indefinitely and may be redistributed
92+
consistent with this project or the open source license(s)
93+
involved.
94+
```

ISSUE_TEMPLATE.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
### Subject of the issue
2+
Describe your issue here.
3+
4+
### Your environment
5+
* version of git and ruby-git
6+
* version of ruby
7+
8+
### Steps to reproduce
9+
Tell us how to reproduce this issue.
10+
11+
### Expected behaviour
12+
What did you expect to happen?
13+
14+
### Actual behaviour
15+
What actually happened?

MAINTAINERS.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Maintainers
2+
3+
When making changes to the system, this file tells you who needs to review your patch - you need at least two maintainers to provide a :+1: on your pull request.
4+
5+
### Maintainers
6+
7+
* [Per Lundberg](https://github.com/perlun)
8+
* [Vern Burton](https://github.com/tarcinil)

PULL_REQUEST_TEMPLATE.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
### Your checklist for this pull request
2+
🚨Please review the [guidelines for contributing](../CONTRIBUTING.md) to this repository.
3+
4+
- [ ] Ensure all commits include DCO sign-off.
5+
- [ ] Ensure that your contributions pass unit testing.
6+
- [ ] Ensure that your contributions contain documentation if applicable.
7+
8+
### Description
9+
Please describe your pull request.

git.gemspec

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ Gem::Specification.new do |s|
2323
s.rdoc_options = ['--charset=UTF-8']
2424

2525
s.files = [
26-
'CHANGELOG',
26+
'CHANGELOG.md',
27+
'CONTRIBUTING.md',
28+
'MAINTAINERS.md',
2729
'LICENSE',
2830
'README.md',
2931
'VERSION',

0 commit comments

Comments
 (0)