<feed xmlns='http://www.w3.org/2005/Atom'>
<title>leap_pycommon.git, branch 0.4.0</title>
<subtitle>[leap_pycommon] 
</subtitle>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_pycommon.git/'/>
<entry>
<title>[pkg] fold in changes</title>
<updated>2015-06-01T18:21:26+00:00</updated>
<author>
<name>Ivan Alejandro</name>
<email>ivanalejandro0@gmail.com</email>
</author>
<published>2015-06-01T18:20:21+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_pycommon.git/commit/?id=e753387ddf3d028423b778a1a0365ecc80c785e5'/>
<id>e753387ddf3d028423b778a1a0365ecc80c785e5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[bug] use dict keys to iterate</title>
<updated>2015-05-28T14:44:06+00:00</updated>
<author>
<name>Victor Shyba</name>
<email>victor.shyba@gmail.com</email>
</author>
<published>2015-05-27T21:51:44+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_pycommon.git/commit/?id=7826a96e526a450380917f9b89e3714576ca50b7'/>
<id>7826a96e526a450380917f9b89e3714576ca50b7</id>
<content type='text'>
We ran into a RuntimeError yesterday on this line, the callback can
modify this dict and make the iteration raise an error. Using keys
method to iterate is safer.
See
http://stackoverflow.com/questions/11941817/python-runtimeerror-dictionary-changed-size-during-iteration-how-to-avoid-th/11941855#11941855
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We ran into a RuntimeError yesterday on this line, the callback can
modify this dict and make the iteration raise an error. Using keys
method to iterate is safer.
See
http://stackoverflow.com/questions/11941817/python-runtimeerror-dictionary-changed-size-during-iteration-how-to-avoid-th/11941855#11941855
</pre>
</div>
</content>
</entry>
<entry>
<title>[feat] add initialization of events to BaseLeapTest</title>
<updated>2015-05-27T17:37:29+00:00</updated>
<author>
<name>Ruben Pollan</name>
<email>meskio@sindominio.net</email>
</author>
<published>2015-05-18T22:31:05+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_pycommon.git/commit/?id=aacf74601f35511b91a9ac111729c9c2cbf99674'/>
<id>aacf74601f35511b91a9ac111729c9c2cbf99674</id>
<content type='text'>
This is needed to get the tests working on environments where zmq was
not initalizated.

The environment variable XDG_CONFIG_HOME is set to get the leap
configuration in the temp folder.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is needed to get the tests working on environments where zmq was
not initalizated.

The environment variable XDG_CONFIG_HOME is set to get the leap
configuration in the temp folder.
</pre>
</div>
</content>
</entry>
<entry>
<title>[feat] refactor events to use ZMQ</title>
<updated>2015-05-27T17:37:27+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@leap.se</email>
</author>
<published>2015-02-04T17:04:10+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_pycommon.git/commit/?id=514c1434a016b09d93e8dfc5578b14825d14005a'/>
<id>514c1434a016b09d93e8dfc5578b14825d14005a</id>
<content type='text'>
Before this commit, protobuf and protobuf.socketrpc were used to serialize and
transmit messages between events clients. This change implements a simpler ZMQ
client/server events mechanism that uses ZMQ sockets for transmitting messages
from clients to server and to redistribute such messages to subscribed
clients.

Closes: #6359
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Before this commit, protobuf and protobuf.socketrpc were used to serialize and
transmit messages between events clients. This change implements a simpler ZMQ
client/server events mechanism that uses ZMQ sockets for transmitting messages
from clients to server and to redistribute such messages to subscribed
clients.

Closes: #6359
</pre>
</div>
</content>
</entry>
<entry>
<title>[refactor] move http twisted code from soledad</title>
<updated>2015-05-27T08:44:47+00:00</updated>
<author>
<name>Ruben Pollan</name>
<email>meskio@sindominio.net</email>
</author>
<published>2015-05-26T20:06:20+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_pycommon.git/commit/?id=71c750ef9c3e53ef416d1de6e85458f16ca48d74'/>
<id>71c750ef9c3e53ef416d1de6e85458f16ca48d74</id>
<content type='text'>
Implements an HTTP client the twisted way, with a focus on pinning the
SSL certs.

* Related: #6506
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Implements an HTTP client the twisted way, with a focus on pinning the
SSL certs.

* Related: #6506
</pre>
</div>
</content>
</entry>
<entry>
<title>[bug] get certificate times as UTC, add tests</title>
<updated>2015-05-21T20:41:06+00:00</updated>
<author>
<name>Ivan Alejandro</name>
<email>ivanalejandro0@gmail.com</email>
</author>
<published>2015-05-20T21:39:10+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_pycommon.git/commit/?id=00bfb22368c788bfc5de458e9159ee73cf3e66c7'/>
<id>00bfb22368c788bfc5de458e9159ee73cf3e66c7</id>
<content type='text'>
The certificate validity times were converted to local time and later on
compared with UTC time, which caused the certificate not being updated
at the right times.
Add tests to be sure this is not happenning again.
Add a joint pem file for the existing cert and key files to ease test.

- Resolves: #6994
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The certificate validity times were converted to local time and later on
compared with UTC time, which caused the certificate not being updated
at the right times.
Add tests to be sure this is not happenning again.
Add a joint pem file for the existing cert and key files to ease test.

- Resolves: #6994
</pre>
</div>
</content>
</entry>
<entry>
<title>Fold in changes.</title>
<updated>2015-01-26T16:40:47+00:00</updated>
<author>
<name>Ivan Alejandro</name>
<email>ivanalejandro0@gmail.com</email>
</author>
<published>2015-01-26T16:40:47+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_pycommon.git/commit/?id=60bcc511b5d715b4921645cad6c82adfacf7ec24'/>
<id>60bcc511b5d715b4921645cad6c82adfacf7ec24</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Consider different possibilities for tmpdir.</title>
<updated>2015-01-21T16:03:44+00:00</updated>
<author>
<name>Ivan Alejandro</name>
<email>ivanalejandro0@gmail.com</email>
</author>
<published>2015-01-12T20:13:05+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_pycommon.git/commit/?id=6ef20e16abb80ea0f265a35b7ecdbb38fb29298c'/>
<id>6ef20e16abb80ea0f265a35b7ecdbb38fb29298c</id>
<content type='text'>
In some systems the used tmp dir is like '/tmp/leap_tests-asdf' and in
others is like '/tmp/username/leap_tests-asdf'.
With this fix we protect the home dir and consider different possible
temp directories.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In some systems the used tmp dir is like '/tmp/leap_tests-asdf' and in
others is like '/tmp/username/leap_tests-asdf'.
With this fix we protect the home dir and consider different possible
temp directories.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for deferreds to memoize_method decorator</title>
<updated>2014-12-03T17:26:45+00:00</updated>
<author>
<name>Ruben Pollan</name>
<email>meskio@sindominio.net</email>
</author>
<published>2014-12-03T16:40:38+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_pycommon.git/commit/?id=7664fc93ebd5797f16b15d9f6f42acba3fd111dd'/>
<id>7664fc93ebd5797f16b15d9f6f42acba3fd111dd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Extract the environment set up and tear down for tests</title>
<updated>2014-12-03T16:28:19+00:00</updated>
<author>
<name>Ruben Pollan</name>
<email>meskio@sindominio.net</email>
</author>
<published>2014-12-03T15:42:45+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_pycommon.git/commit/?id=97831bcee1df96aa34a57f0a15f1d57006e96d46'/>
<id>97831bcee1df96aa34a57f0a15f1d57006e96d46</id>
<content type='text'>
Using trial there is no setUpClass neither tearDownClass, the setting up
of the environment needs to be in an external class to be able to call
it from inhereted classes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Using trial there is no setUpClass neither tearDownClass, the setting up
of the environment needs to be in an external class to be able to call
it from inhereted classes.
</pre>
</div>
</content>
</entry>
</feed>
