Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Another contributing docs reorganization
Redorder it all into a single docs/contributing/ subdirectory with one table of contents and no sub-sub-directories (except for the frontend guidelines one, which still needs sorting out). This makes it much easier to see what's there (one main table of contents for all of contributing) and navigate. Add _CKAN issue tracker hyperlink target to conf.py. Move commit messages guidelines to their own page. Move reviewing a pull request guidelines to their own page. Fix title style of various titles. A few other small changes
- Loading branch information
Sean Hammond
committed
Dec 16, 2013
1 parent
b3dff01
commit 84fc1b8
Showing
19 changed files
with
109 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
======================= | ||
Writing commit messages | ||
======================= | ||
|
||
We use the version control system `git <http://git-scm.com/>`_ for our code | ||
and documentation, so when contributing code or docs you'll have to commit | ||
your changes to git and write a git commit message. | ||
Generally, follow the `commit guidelines from the Pro Git book`_: | ||
|
||
- Try to make each commit a logically separate, digestible changeset. | ||
|
||
- The first line of the commit message should concisely summarise the | ||
changeset. | ||
|
||
- Optionally, follow with a blank line and then a more detailed explanation of | ||
the changeset. | ||
|
||
- Use the imperative present tense as if you were giving commands to the | ||
codebase to change its behaviour, e.g. *Add tests for...*, *make xyzzy do | ||
frotz...*, this helps to make the commit message easy to read. | ||
|
||
.. _commit guidelines from the Pro Git book: http://git-scm.com/book/en/Distributed-Git-Contributing-to-a-Project#Commit-Guidelines | ||
|
||
If your commit has an issue in the `CKAN issue tracker`_ put the issue number | ||
at the start of the first line of the commit message like this: ``[#123]``. | ||
This makes the CKAN release manager's job much easier! | ||
|
||
Here's an example of a good CKAN commit message:: | ||
|
||
[#607] Allow reactivating deleted datasets | ||
|
||
Currently if a dataset is deleted and users navigate to the edit form, | ||
there is no state field and the delete button is still shown. | ||
|
||
After this change, the state dropdown is shown if the dataset state is | ||
not active, and the delete button is not shown. | ||
|
File renamed without changes.
File renamed without changes.
22 changes: 13 additions & 9 deletions
22
...contributing/documentation-guidelines.rst → doc/contributing/documentation.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...standards/javascript-coding-standards.rst → doc/contributing/javascript.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
==================================== | ||
Reviewing and merging a pull request | ||
==================================== | ||
|
||
.. todo:: | ||
|
||
Put some more detailed docs here about how to review a CKAN pull request. | ||
|
||
---------------------- | ||
Merging a pull request | ||
---------------------- | ||
|
||
If you're reviewing a pull request for CKAN, when merging a branch into master: | ||
|
||
- Use the ``--no-ff`` option in the ``git merge`` command |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters