]> khamidou — GitHub mirrors - imapclient.git/commitdiff
Cleaned up HACKING.rst
authorMenno Smits <menno@freshfoo.com>
Tue, 30 Jun 2015 02:34:52 +0000 (14:34 +1200)
committerMenno Smits <menno@freshfoo.com>
Tue, 30 Jun 2015 02:34:52 +0000 (14:34 +1200)
HACKING.rst

index 8df2da4d675ba26ac734d697de58b7b80425ac83..78c331cf84cfbde5f48c4f744edec1a28cb63a63 100644 (file)
@@ -1,16 +1,31 @@
-This file contains information for those wishing to modify IMAPClient
-and contribute back to the project.
+=============================
+ Contributing To The Project
+=============================
+The best way to contribute changes to IMAPClient is to fork the
+official repository on bitbucket, make changes to your personal fork
+and then submit a pull request.
+
+Discussion on the mailing list before undertaking development is
+highly encouraged for potentially major changes.
+
+Although not essential, it will make the project maintainer a much
+happier person if change submissions include appropriate updates to
+unit tests and the live tests. Please ask if you're unsure how of how
+the tests work.
+
+Please read on if you plan on submitting changes to IMAPClient.
 
-Source Code
------------
+=============
+ Source Code
+=============
 The official source code repository for IMAPClient can be found on
 bitbucket at: https://bitbucket.org/mjs0/imapclient/
 
-Any major feature branches will also be found on bitbucket as forks of
-this repository.
+Any major feature work will also be found as separate forks on
+bitbucket.
 
 Branches
---------
+========
 [Note that the branching scheme discussed here started to be used as
 of the 0.9.2 release of IMAPClient]
 
@@ -30,18 +45,21 @@ Mercurial project. See this blog article for more information:
 http://stevelosh.com/blog/2010/05/mercurial-workflows-stable-default/
 
 Release Tags
-------------
+============
 Each released version is available in the IMAPClient repository
 as a Mercurial tag (e.g. "0.9.1"). Release tags will always be created
 on the stable branch (as described above).
 
-Unit Tests
-----------
+============
+ Unit Tests
+============
 There are comprehensive unit tests for the server response parser and
 a number of other parts of the code. These tests use the unittest2
 package which is also included as the standard unittest package in
 Python 2.7 and 3.2 onwards.
 
+Running Unit Tests
+==================
 To run the tests run::
 
      python setup.py test
@@ -51,7 +69,7 @@ package (locally) if it isn't already installed as it is required for
 many of the tests.
 
 Where unittest2 is included in the standard library (eg. Python 2.7
-and 3.2) you can also run all unit tests like this (from the root
+and 3.2+) you can also run all unit tests like this (from the root
 directory of the IMAPClient source)::
 
      python -m unittest discover
@@ -63,25 +81,11 @@ script (for Unix-like systems) or the unit2.py script::
      unit2.py discover
 
 Running the Unit Tests Against Multiple Python Versions
--------------------------------------------------------
+=======================================================
 It is possible to run the unit tests against all supported Python
 versions at once using `tox`_. Once installed, the ``tox`` command
 will use the tox.ini file in the root of the source directory and run
 the unit tests against the Python versions officially supported by
-IMAPClient.
-
-Contributing To The Project
----------------------------
-The best way to contribute changes to IMAPClient is to fork the
-official repository on bitbucket, make changes to your personal fork
-and then submit a pull request.
-
-Discussion on the mailing list before undertaking development is
-highly encouraged for potentially major changes.
-
-Although not essential, it will make the project maintainer a much
-happier person if change submissions include appropriate updates to
-unit tests and the live tests. Please ask if you're unsure how of how
-the tests work.
+IMAPClient (provided these versions of Python are installed!).
 
 .. _`tox`: http://testrun.org/tox/