<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/gitpython.git/git/test/test_remote.py, branch 2.0.7</title>
<subtitle>github.com: gitpython-developers/GitPython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/'/>
<entry>
<title>Adding support for git remote set-url/get-url API to Remote</title>
<updated>2016-06-08T17:34:29+00:00</updated>
<author>
<name>Guyzmo</name>
<email>guyzmo+github@m0g.net</email>
</author>
<published>2016-05-26T18:43:28+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=b366d3fabd79e921e30b44448cb357a05730c42f'/>
<id>b366d3fabd79e921e30b44448cb357a05730c42f</id>
<content type='text'>
Both commands enable handling of a little known feature
of git, which is to support multiple URL for one remote.
You can add multiple url using the `set_url` subcommand of
`git remote`. As listing them is also handy, there's a
nice method to do it, using `get_url`.

* adding set_url method that maps to the git remote set-url command¶
 * can be used to set an URL, or replace an URL with optional positional arg¶
 * can be used to add, delete URL with kwargs (matching set-url options)¶
* adding add_url, delete_url methods that wraps around set_url for conveniency¶
* adding urls property that yields an iterator over the setup urls for a remote¶
* adding a test suite that checks all use case scenarii of this added API.¶

Signed-off-by: Guyzmo &lt;guyzmo+github@m0g.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Both commands enable handling of a little known feature
of git, which is to support multiple URL for one remote.
You can add multiple url using the `set_url` subcommand of
`git remote`. As listing them is also handy, there's a
nice method to do it, using `get_url`.

* adding set_url method that maps to the git remote set-url command¶
 * can be used to set an URL, or replace an URL with optional positional arg¶
 * can be used to add, delete URL with kwargs (matching set-url options)¶
* adding add_url, delete_url methods that wraps around set_url for conveniency¶
* adding urls property that yields an iterator over the setup urls for a remote¶
* adding a test suite that checks all use case scenarii of this added API.¶

Signed-off-by: Guyzmo &lt;guyzmo+github@m0g.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(RemoteProgress): improve message sanitization</title>
<updated>2016-05-25T07:57:54+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2016-05-25T07:42:52+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=6ef273914de9b8a50dd0dd5308e66de85eb7d44a'/>
<id>6ef273914de9b8a50dd0dd5308e66de85eb7d44a</id>
<content type='text'>
Don't allow `, ` prefixes or suffixes in messages.

Fixes #438
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Don't allow `, ` prefixes or suffixes in messages.

Fixes #438
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(remote): assert fetch respec is set</title>
<updated>2015-06-10T14:59:00+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2015-06-10T14:59:00+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=4a771adc5352dd3876dd2ef3d0c52c8e803fc084'/>
<id>4a771adc5352dd3876dd2ef3d0c52c8e803fc084</id>
<content type='text'>
It turns out we can't deal do fetches if no refspec is set as git
will change the format of the fetch return values, providing less
information than usual.

A test was added to show that such a case will fail, and an assertion
will assure we don't attempt to fetch/pull if there is no refspec
for 'fetch'.

Closes #296
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It turns out we can't deal do fetches if no refspec is set as git
will change the format of the fetch return values, providing less
information than usual.

A test was added to show that such a case will fail, and an assertion
will assure we don't attempt to fetch/pull if there is no refspec
for 'fetch'.

Closes #296
</pre>
</div>
</content>
</entry>
<entry>
<title>test: make git-daemon port configurable via env</title>
<updated>2015-04-21T12:44:16+00:00</updated>
<author>
<name>Benedikt Morbach</name>
<email>benedikt.morbach@googlemail.com</email>
</author>
<published>2015-04-21T11:45:02+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=c1cedc5c417ddf3c2a955514dcca6fe74913259b'/>
<id>c1cedc5c417ddf3c2a955514dcca6fe74913259b</id>
<content type='text'>
add a GIT_PYTHON_TEST_GIT_DAEMON_PORT to set a port other than 9418,
for example for when you already have a daemon running on that port.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
add a GIT_PYTHON_TEST_GIT_DAEMON_PORT to set a port other than 9418,
for example for when you already have a daemon running on that port.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(remote): allow to raise during push/fetch</title>
<updated>2015-04-08T09:00:32+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2015-04-08T09:00:32+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=e9f8f159ebad405b2c08aa75f735146bb8e216ef'/>
<id>e9f8f159ebad405b2c08aa75f735146bb8e216ef</id>
<content type='text'>
Do not swallow non-zero exit status during push and fetch unless
we managed to parse head information.

This behaviour will effetively handle cases were no work was done
due to invalid refspecs or insufficient permissions.

Fixes #271
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Do not swallow non-zero exit status during push and fetch unless
we managed to parse head information.

This behaviour will effetively handle cases were no work was done
due to invalid refspecs or insufficient permissions.

Fixes #271
</pre>
</div>
</content>
</entry>
<entry>
<title>Added 'insert_kwargs_after' flag for consumption by _call_process.</title>
<updated>2015-02-21T09:14:59+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2015-02-21T09:12:11+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=e0acb8371bb2b68c2bda04db7cb2746ba3f9da86'/>
<id>e0acb8371bb2b68c2bda04db7cb2746ba3f9da86</id>
<content type='text'>
While at it, all other invocations of .git in remote.py were reviewed

Fixes #262
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
While at it, all other invocations of .git in remote.py were reviewed

Fixes #262
</pre>
</div>
</content>
</entry>
<entry>
<title>This should fix the test failure on travis</title>
<updated>2015-01-30T05:54:49+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2015-01-30T05:54:49+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=91645aa87e79e54a56efb8686eb4ab6c8ba67087'/>
<id>91645aa87e79e54a56efb8686eb4ab6c8ba67087</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Added test to verify we can handle fetch prunes.</title>
<updated>2015-01-30T05:35:39+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2015-01-30T05:34:48+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=47d9f1321c3a6da68a7909fcb1a66a209066d4c9'/>
<id>47d9f1321c3a6da68a7909fcb1a66a209066d4c9</id>
<content type='text'>
They are just skipped.

Fixes #249
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
They are just skipped.

Fixes #249
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'master' into teeberg-master</title>
<updated>2015-01-22T15:28:29+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2015-01-22T15:28:29+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=5ad07f7b23e762e3eb99ce45020375d2bd743fc5'/>
<id>5ad07f7b23e762e3eb99ce45020375d2bd743fc5</id>
<content type='text'>
Need latest master to proceed with test
Conflicts:
	doc/source/tutorial.rst
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Need latest master to proceed with test
Conflicts:
	doc/source/tutorial.rst
</pre>
</div>
</content>
</entry>
<entry>
<title>Fetch now deals with custom refspecs much better.</title>
<updated>2015-01-22T14:22:39+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2015-01-22T14:22:39+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=06bec1bcd1795192f4a4a274096f053afc8f80ec'/>
<id>06bec1bcd1795192f4a4a274096f053afc8f80ec</id>
<content type='text'>
Even though the test-csae only verifies this spec:
	+refs/pull/*:refs/heads/pull/*
I could locally verify that it indeed handles other ones just as well:
	+refs/pull/*:refs/pull/*

Fixes #243
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Even though the test-csae only verifies this spec:
	+refs/pull/*:refs/heads/pull/*
I could locally verify that it indeed handles other ones just as well:
	+refs/pull/*:refs/pull/*

Fixes #243
</pre>
</div>
</content>
</entry>
</feed>
