I went ahead and did the following, let me know if I should try doing
something different:

1. Cloned a copy of Fipy from the matforge Github repository

git clone git://code.matforge.org/nist/fipy.git

2. Made a branch with changes (I called it "dev"):

git checkout -b dev

3. Made my change to pysparseMatrix.py

patch -p1 < pysparseMatrix.patch

3. Added a new remote branch to my local cloned copy of Fipy; this new
remote branch was/is https://github.com/charlesreid1/FipyFork

git remote add gh [email protected]:charlesreid1/FipyFork.git

4. Pushed the modified branch to the new Github repo

git push gh dev

and now it's available at github.com/charlesreid1/FipyFork .


Though I'm no git expert, I am relatively certain that you can add the
FipyFork Github repo as a remote repository for your local copy of FIpy,
then run a fetch on it:

git fetch gh

and then merge the dev branch into the main branch,

git merge dev

although I'm a little fuzzy on whether that will work or how exactly to do
that.



(By the way, someone used Markov-chain natural language processing to
generate hilarious fake git documentation, which is not that much different
from git documentation, here: http://www.antichipotle.com/git/)



Charles


On Wed, Apr 9, 2014 at 3:11 PM, Charles Reid <[email protected]> wrote:

> Hi Daniel,
>
> I've got a patch and a test case (although I uncovered a couple of
> additional vector equation issues in the process). Is there a copy of the
> latest and greatest Fipy on Github so that I can push my changes to that
> repo? Otherwise, how would you suggest pushing changes using Github?
>
>
>
>
>
>
> Charles
>
>
> On Thu, Apr 3, 2014 at 3:08 PM, Charles Reid <[email protected]>wrote:
>
>> OK, thanks. I'll push changes shortly...
>>
>>
>>
>> Charles
>>
>>
>> On Thu, Apr 3, 2014 at 7:19 AM, Daniel Wheeler <[email protected]
>> > wrote:
>>
>>> On Wed, Apr 2, 2014 at 9:35 PM, Charles Reid <[email protected]>
>>> wrote:
>>> > Hi there,
>>> >
>>> > I had a question about adding a test. Is that as straightforward as
>>> adding
>>> > to the example code in the docstrings for the pysparseMatrix.multiply()
>>> > method?
>>>
>>> Yes, exactly.
>>>
>>> > How can I then run the test for that specific class/class method?
>>>
>>>     $ python fipy/matrices/pysparseMatrix.py -v
>>>
>>> will run your tests in verbose mode so you can see it is actually being
>>> tested.
>>>
>>> --
>>> Daniel Wheeler
>>> _______________________________________________
>>> fipy mailing list
>>> [email protected]
>>> http://www.ctcms.nist.gov/fipy
>>>   [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]
>>>
>>
>>
>
_______________________________________________
fipy mailing list
[email protected]
http://www.ctcms.nist.gov/fipy
  [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]

Reply via email to