forked from nipy/nibabel
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RF - updated to latest gitwash docs and dumper
- Loading branch information
1 parent
7eb3a78
commit 972c94f
Showing
16 changed files
with
215 additions
and
109 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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,10 +16,3 @@ Contents: | |
git_resources | ||
|
||
|
||
.. silence 'not included' warnings | ||
.. toctree:: | ||
:hidden: | ||
|
||
dot2_dot3 | ||
|
||
|
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,41 @@ | ||
.. Known projects | ||
|
||
.. PROJECTNAME placeholders | ||
.. _PROJECTNAME: http://neuroimaging.scipy.org | ||
.. _`PROJECTNAME github`: http://github.com/nipy | ||
.. _`PROJECTNAME mailing list`: http://projects.scipy.org/mailman/listinfo/nipy-devel | ||
|
||
.. numpy | ||
.. _numpy: hhttp://numpy.scipy.org | ||
.. _`numpy github`: http://github.com/numpy/numpy | ||
.. _`numpy mailing list`: http://mail.scipy.org/mailman/listinfo/numpy-discussion | ||
|
||
.. scipy | ||
.. _scipy: http://www.scipy.org | ||
.. _`scipy github`: http://github.com/scipy/scipy | ||
.. _`scipy mailing list`: http://mail.scipy.org/mailman/listinfo/scipy-dev | ||
|
||
.. nipy | ||
.. _nipy: http://nipy.org/nipy | ||
.. _`nipy github`: http://github.com/nipy/nipy | ||
.. _`nipy mailing list`: http://mail.scipy.org/mailman/listinfo/nipy-devel | ||
|
||
.. ipython | ||
.. _ipython: http://ipython.scipy.org | ||
.. _`ipython github`: http://github.com/ipython/ipython | ||
.. _`ipython mailing list`: http://mail.scipy.org/mailman/listinfo/IPython-dev | ||
|
||
.. dipy | ||
.. _dipy: http://nipy.org/dipy | ||
.. _`dipy github`: http://github.com/Garyfallidis/dipy | ||
.. _`dipy mailing list`: http://mail.scipy.org/mailman/listinfo/nipy-devel | ||
|
||
.. nibabel | ||
.. _nibabel: http://nipy.org/nibabel | ||
.. _`nibabel github`: http://github.com/nipy/nibabel | ||
.. _`nibabel mailing list`: http://mail.scipy.org/mailman/listinfo/nipy-devel | ||
|
||
.. marsbar | ||
.. _marsbar: http://marsbar.sourceforge.net | ||
.. _`marsbar github`: http://github.com/matthew-brett/marsbar | ||
.. _`MarsBaR mailing list`: https://lists.sourceforge.net/lists/listinfo/marsbar-users |
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,4 @@ | ||
.. compiling links file | ||
.. include:: known_projects.inc | ||
.. include:: this_project.inc | ||
.. include:: git_links.inc |
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 |
---|---|---|
|
@@ -2,16 +2,18 @@ | |
Making a patch | ||
================ | ||
|
||
You've discovered a bug or something else you want to change in nibabel_ - excellent! | ||
You've discovered a bug or something else you want to change | ||
in nibabel_ .. |emdash| excellent! | ||
|
||
You've worked out a way to fix it - even better! | ||
You've worked out a way to fix it |emdash| even better! | ||
|
||
You want to tell us about it - best of all! | ||
You want to tell us about it |emdash| best of all! | ||
|
||
The easiest way is to make a *patch* or set of patches. Here we explain | ||
how. Making a patch is the simplest and quickest, but if you're going | ||
to be doing anything more than simple quick things, please consider | ||
following the :ref:`git-development` model instead. | ||
The easiest way is to make a *patch* or set of patches. Here | ||
we explain how. Making a patch is the simplest and quickest, | ||
but if you're going to be doing anything more than simple | ||
quick things, please consider following the | ||
:ref:`git-development` model instead. | ||
|
||
.. _making-patches: | ||
|
||
|
@@ -42,24 +44,28 @@ Overview | |
# make the patch files | ||
git format-patch -M -C master | ||
|
||
Then, send the generated patch files to the `nibabel mailing list`_ - where we will thank you warmly. | ||
Then, send the generated patch files to the `nibabel | ||
mailing list`_ |emdash| where we will thank you warmly. | ||
|
||
In detail | ||
--------- | ||
|
||
#. Tell git_ who you are so it can label the commits you've made:: | ||
#. Tell git_ who you are so it can label the commits you've | ||
made:: | ||
|
||
git config --global user.email [email protected] | ||
git config --global user.name "Your Name Comes Here" | ||
|
||
#. If you don't already have one, clone a copy of the nibabel_ repository:: | ||
#. If you don't already have one, clone a copy of the | ||
nibabel_ repository:: | ||
|
||
git clone git://github.com/nipy/nibabel.git | ||
cd nibabel | ||
|
||
#. Make a 'feature branch'. This will be where you work on your bug | ||
fix. It's nice and safe and leaves you with access to an unmodified | ||
copy of the code in the main branch:: | ||
#. Make a 'feature branch'. This will be where you work on | ||
your bug fix. It's nice and safe and leaves you with | ||
access to an unmodified copy of the code in the main | ||
branch:: | ||
|
||
git branch the-fix-im-thinking-of | ||
git checkout the-fix-im-thinking-of | ||
|
@@ -74,16 +80,18 @@ In detail | |
# hack hack, hack | ||
git commit -am 'BF - added fix for Funny bug' | ||
|
||
Note the ``-am`` options to ``commit``. The ``m`` flag just signals | ||
that you're going to type a message on the command line. The ``a`` | ||
flag - you can just take on faith - or see `why the -a flag?`_. | ||
Note the ``-am`` options to ``commit``. The ``m`` flag just | ||
signals that you're going to type a message on the command | ||
line. The ``a`` flag |emdash| you can just take on faith |emdash| | ||
or see `why the -a flag?`_. | ||
|
||
#. When you have finished, check you have committed all your changes:: | ||
#. When you have finished, check you have committed all your | ||
changes:: | ||
|
||
git status | ||
|
||
#. Finally, make your commits into patches. You want all the commits | ||
since you branched from the ``master`` branch:: | ||
#. Finally, make your commits into patches. You want all the | ||
commits since you branched from the ``master`` branch:: | ||
|
||
git format-patch -M -C master | ||
|
||
|
@@ -94,19 +102,21 @@ In detail | |
|
||
Send these files to the `nibabel mailing list`_. | ||
|
||
When you are done, to switch back to the main copy of the code, just | ||
return to the ``master`` branch:: | ||
When you are done, to switch back to the main copy of the | ||
code, just return to the ``master`` branch:: | ||
|
||
git checkout master | ||
|
||
Moving from patching to development | ||
=================================== | ||
|
||
If you find you have done some patches, and you have one or more feature | ||
branches, you will probably want to switch to development mode. You can | ||
do this with the repository you have. | ||
If you find you have done some patches, and you have one or | ||
more feature branches, you will probably want to switch to | ||
development mode. You can do this with the repository you | ||
have. | ||
|
||
Fork the nibabel_ repository on github_ - :ref:`forking`. Then:: | ||
Fork the nibabel_ repository on github_ |emdash| :ref:`forking`. | ||
Then:: | ||
|
||
# checkout and refresh master branch from main repo | ||
git checkout master | ||
|
@@ -118,6 +128,7 @@ Fork the nibabel_ repository on github_ - :ref:`forking`. Then:: | |
# push up any branches you've made and want to keep | ||
git push origin the-fix-im-thinking-of | ||
|
||
Then you can, if you want, follow the :ref:`development-workflow`. | ||
Then you can, if you want, follow the | ||
:ref:`development-workflow`. | ||
|
||
.. include:: git_links.inc | ||
.. include:: links.inc |
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 |
---|---|---|
|
@@ -64,5 +64,5 @@ Just for your own satisfaction, show yourself that you now have a new | |
origin [email protected]:your-user-name/nibabel.git (fetch) | ||
origin [email protected]:your-user-name/nibabel.git (push) | ||
|
||
.. include:: git_links.inc | ||
.. include:: links.inc | ||
|
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,3 @@ | ||
.. nibabel | ||
.. _nibabel: http://nipy.org/nibabel | ||
.. _`nibabel mailing list`: http://mail.scipy.org/mailman/listinfo/nipy-devel |
Oops, something went wrong.