Browse code

De-duplicated contribution instructions. The authoritative instructions are in CONTRIBUTING.md at the root of the repo.

Solomon Hykes authored on 2013/05/29 06:57:36
Showing 2 changed files
... ...
@@ -1,9 +1,6 @@
1 1
 # Contributing to Docker
2 2
 
3
-Want to hack on Docker? Awesome! There are instructions to get you
4
-started on the website: http://docker.io/gettingstarted.html
5
-
6
-They are probably not perfect, please let us know if anything feels
3
+Want to hack on Docker? Awesome! Here are instructions to get you started. They are probably not perfect, please let us know if anything feels
7 4
 wrong or incomplete.
8 5
 
9 6
 ## Contribution guidelines
... ...
@@ -5,101 +5,5 @@
5 5
 Contributing to Docker
6 6
 ======================
7 7
 
8
-Want to hack on Docker? Awesome! There are instructions to get you
9
-started on the website: http://docker.io/gettingstarted.html
8
+Want to hack on Docker? Awesome! The repository includes `all the instructions you need to get started <https://github.com/dotcloud/docker/blob/master/CONTRIBUTING.md>`.
10 9
 
11
-They are probably not perfect, please let us know if anything feels
12
-wrong or incomplete.
13
-
14
-Contribution guidelines
15
-
16
-Pull requests are always welcome
17
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18
-
19
-We are always thrilled to receive pull requests, and do our best to
20
-process them as fast as possible. Not sure if that typo is worth a pull
21
-request? Do it! We will appreciate it.
22
-
23
-If your pull request is not accepted on the first try, don't be
24
-discouraged! If there's a problem with the implementation, hopefully you
25
-received feedback on what to improve.
26
-
27
-We're trying very hard to keep Docker lean and focused. We don't want it
28
-to do everything for everybody. This means that we might decide against
29
-incorporating a new feature. However, there might be a way to implement
30
-that feature *on top of* docker.
31
-
32
-Discuss your design on the mailing list
33
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
34
-
35
-We recommend discussing your plans `on the mailing
36
-list <https://groups.google.com/forum/?fromgroups#!forum/docker-club>`__
37
-before starting to code - especially for more ambitious contributions.
38
-This gives other contributors a chance to point you in the right
39
-direction, give feedback on your design, and maybe point out if someone
40
-else is working on the same thing.
41
-
42
-Create issues...
43
-~~~~~~~~~~~~~~~~
44
-
45
-Any significant improvement should be documented as `a github
46
-issue <https://github.com/dotcloud/docker/issues>`__ before anybody
47
-starts working on it.
48
-
49
-...but check for existing issues first!
50
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
51
-
52
-Please take a moment to check that an issue doesn't already exist
53
-documenting your bug report or improvement proposal. If it does, it
54
-never hurts to add a quick "+1" or "I have this problem too". This will
55
-help prioritize the most common problems and requests.
56
-
57
-Conventions
58
-~~~~~~~~~~~
59
-
60
-Fork the repo and make changes on your fork in a feature branch:
61
-
62
-- If it's a bugfix branch, name it XXX-something where XXX is the number of the
63
-  issue
64
-- If it's a feature branch, create an enhancement issue to announce your
65
-  intentions, and name it XXX-something where XXX is the number of the issue.
66
-
67
-Submit unit tests for your changes.  Go has a great test framework built in; use
68
-it! Take a look at existing tests for inspiration. Run the full test suite on
69
-your branch before submitting a pull request.
70
-
71
-Make sure you include relevant updates or additions to documentation when
72
-creating or modifying features.
73
-
74
-Write clean code. Universally formatted code promotes ease of writing, reading,
75
-and maintenance. Always run ``go fmt`` before committing your changes. Most
76
-editors have plugins that do this automatically, and there's also a git
77
-pre-commit hook:
78
-
79
-.. code-block:: bash
80
-
81
-    curl -o .git/hooks/pre-commit https://raw.github.com/edsrzf/gofmt-git-hook/master/fmt-check && chmod +x .git/hooks/pre-commit
82
-
83
-
84
-Pull requests descriptions should be as clear as possible and include a
85
-reference to all the issues that they address.
86
-
87
-Code review comments may be added to your pull request. Discuss, then make the
88
-suggested modifications and push additional commits to your feature branch. Be
89
-sure to post a comment after pushing. The new commits will show up in the pull
90
-request automatically, but the reviewers will not be notified unless you
91
-comment.
92
-
93
-Before the pull request is merged, make sure that you squash your commits into
94
-logical units of work using ``git rebase -i`` and ``git push -f``. After every
95
-commit the test suite should be passing. Include documentation changes in the
96
-same commit so that a revert would remove all traces of the feature or fix.
97
-
98
-Commits that fix or close an issue should include a reference like ``Closes #XXX``
99
-or ``Fixes #XXX``, which will automatically close the issue when merged.
100
-
101
-Add your name to the AUTHORS file, but make sure the list is sorted and your
102
-name and email address match your git configuration. The AUTHORS file is
103
-regenerated occasionally from the git commit history, so a mismatch may result
104
-in your changes being overwritten.