Skip to content

Commit a26e6cc

Browse files
committed
Add a quick contributions guideline
1 parent a45fd16 commit a26e6cc

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

CONTRIBUTING.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
Contributing
2+
------------
3+
4+
When adding a new public function
5+
=================================
6+
7+
* Write a sample in the appropriate place in the samples/ directory.
8+
* Implement the function.
9+
* Submit a pull request.
10+
11+
When modifying an existing data structure
12+
=========================================
13+
14+
* Find all samples that use the data structure and make sure they run.
15+
* Modify the data structure.
16+
* Modify the samples as appropriate.
17+
* Make sure all relevant samples still run.
18+
* Submit a pull request.
19+
20+
Submitting a pull request
21+
=========================
22+
23+
* If your code is radically different from existing functionality, give
24+
some explanation for how it fits in this library.
25+
* Create a topic branch on your fork.
26+
* Rebase and squash your commits.

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ All functions produce an `IO (Either Error a)`, where `a` is the actual thing yo
4343
(intercalate "\n" . map githubUserLogin)
4444
possibleUsers
4545

46+
Contributions
47+
=============
48+
49+
Please see [CONTRIBUTING.md](https://github.com/mike-burns/github/tree/master/CONTRIBUTING.md) for details on how you can help.
4650

4751
Copyright
4852
=========

0 commit comments

Comments
 (0)