From 5abecd1f701f3a56fcd76efe79b7a5dc89e96481 Mon Sep 17 00:00:00 2001 From: Valentin Haenel Date: Tue, 26 Mar 2013 00:43:58 +0100 Subject: [PATCH 1/4] fix trailing whitespace --- doc/source/intro.rst | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/source/intro.rst b/doc/source/intro.rst index 520cf159a..92b9cc24f 100644 --- a/doc/source/intro.rst +++ b/doc/source/intro.rst @@ -19,7 +19,7 @@ Requirements * `GitDB`_ - a pure python git database implementation * `async`_ - asynchronous task scheduling - + * `Python Nose`_ - used for running the tests * `Mock by Michael Foord`_ used for tests. Requires version 0.5 @@ -57,7 +57,7 @@ script: .. sourcecode:: none # python setup.py install - + .. note:: In this case, you have to manually install `GitDB`_ and `async`_ as well. It would be recommended to use the :ref:`git source repository ` in that case. Getting Started @@ -85,16 +85,16 @@ GitPython's git repo is available on GitHub, which can be browsed at: and cloned using:: $ git clone git://github.com/gitpython-developers/GitPython.git git-python - + Initialize all submodules to obtain the required dependencies with:: - + $ cd git-python $ git submodule update --init --recursive - + Finally verify the installation by running the `nose powered `_ unit tests:: - + $ nosetests - + Mailing List ============ http://groups.google.com/group/git-python @@ -104,7 +104,7 @@ Issue Tracker The issue tracker is hosted by github: https://github.com/gitpython-developers/GitPython/issues - + License Information =================== GitPython is licensed under the New BSD License. See the LICENSE file for From 484f2e80f1c9ead46d8aac7cb342bbdd9040767e Mon Sep 17 00:00:00 2001 From: Valentin Haenel Date: Tue, 26 Mar 2013 00:44:10 +0100 Subject: [PATCH 2/4] retab --- doc/source/intro.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/intro.rst b/doc/source/intro.rst index 92b9cc24f..cbe10c162 100644 --- a/doc/source/intro.rst +++ b/doc/source/intro.rst @@ -84,7 +84,7 @@ GitPython's git repo is available on GitHub, which can be browsed at: and cloned using:: - $ git clone git://github.com/gitpython-developers/GitPython.git git-python + $ git clone git://github.com/gitpython-developers/GitPython.git git-python Initialize all submodules to obtain the required dependencies with:: From 8a4b81cc0b68dfff804f0abb7f03175cffccf9fe Mon Sep 17 00:00:00 2001 From: Valentin Haenel Date: Tue, 26 Mar 2013 00:46:59 +0100 Subject: [PATCH 3/4] use proper synatx highlighting for shell commands --- doc/source/intro.rst | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/doc/source/intro.rst b/doc/source/intro.rst index cbe10c162..90ccea9e8 100644 --- a/doc/source/intro.rst +++ b/doc/source/intro.rst @@ -36,9 +36,9 @@ Installing GitPython is easily done using `setuptools`_. Assuming it is installed, just run the following from the command-line: -.. sourcecode:: none +.. sourcecode:: console - # easy_install GitPython + $ easy_install GitPython This command will download the latest version of GitPython from the `Python Package Index `_ and install it @@ -54,9 +54,9 @@ here: Alternatively, you can install from the distribution using the ``setup.py`` script: -.. sourcecode:: none +.. sourcecode:: console - # python setup.py install + $ python setup.py install .. note:: In this case, you have to manually install `GitDB`_ and `async`_ as well. It would be recommended to use the :ref:`git source repository ` in that case. @@ -82,16 +82,22 @@ GitPython's git repo is available on GitHub, which can be browsed at: * https://github.com/gitpython-developers/GitPython -and cloned using:: +and cloned using: + +.. sourcecode:: console $ git clone git://github.com/gitpython-developers/GitPython.git git-python -Initialize all submodules to obtain the required dependencies with:: +Initialize all submodules to obtain the required dependencies with: + +.. sourcecode:: console $ cd git-python $ git submodule update --init --recursive -Finally verify the installation by running the `nose powered `_ unit tests:: +Finally verify the installation by running the `nose powered `_ unit tests: + +.. sourcecode:: console $ nosetests From 8f349e329af9902b71430b5112f9cff3cdc0a995 Mon Sep 17 00:00:00 2001 From: Valentin Haenel Date: Tue, 26 Mar 2013 00:48:46 +0100 Subject: [PATCH 4/4] fix indentation of bullet --- doc/source/intro.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/intro.rst b/doc/source/intro.rst index 90ccea9e8..633bf398b 100644 --- a/doc/source/intro.rst +++ b/doc/source/intro.rst @@ -80,7 +80,7 @@ Source Code GitPython's git repo is available on GitHub, which can be browsed at: - * https://github.com/gitpython-developers/GitPython +* https://github.com/gitpython-developers/GitPython and cloned using: