<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gluster-swift.git/modules, branch v1.10.2-0</title>
<subtitle></subtitle>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/gluster-swift.git/'/>
<entry>
<title>Rebase to lastest OpenStack Swift DiskFile API</title>
<updated>2013-10-29T14:25:59+00:00</updated>
<author>
<name>Peter Portante</name>
<email>peter.portante@redhat.com</email>
</author>
<published>2013-09-20T15:25:04+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/gluster-swift.git/commit/?id=100d6b01bd40d8b01335e5ecd4a592df79e75b63'/>
<id>100d6b01bd40d8b01335e5ecd4a592df79e75b63</id>
<content type='text'>
As of October 28th, 2013, we rebase to OpenStack Swift master (commit
4bfe674) to pick up the lastest officially supported DiskFile API
changes. We use a snapshot of OpenStack Swift stored in the
gluster-swift launchpad downloads area so that we can deliberately
rebase at our own pace.

With this refactoring, all the code for handling I/O is wholly
contained in the swift tree for object operations. This will allow us
to use a different fs_utils implementation in the future (for example,
one based on a yet-to-be-implemented python bindings over libgfapi).
This also means the "Fake_file" class has been removed entirely.

Change-Id: I767983f88c59786e30b6c64da16d1cb6ab3c3e7f
Signed-off-by: Peter Portante &lt;peter.portante@redhat.com&gt;
Reviewed-on: http://review.gluster.org/5993
Reviewed-by: Luis Pabon &lt;lpabon@redhat.com&gt;
Tested-by: Luis Pabon &lt;lpabon@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As of October 28th, 2013, we rebase to OpenStack Swift master (commit
4bfe674) to pick up the lastest officially supported DiskFile API
changes. We use a snapshot of OpenStack Swift stored in the
gluster-swift launchpad downloads area so that we can deliberately
rebase at our own pace.

With this refactoring, all the code for handling I/O is wholly
contained in the swift tree for object operations. This will allow us
to use a different fs_utils implementation in the future (for example,
one based on a yet-to-be-implemented python bindings over libgfapi).
This also means the "Fake_file" class has been removed entirely.

Change-Id: I767983f88c59786e30b6c64da16d1cb6ab3c3e7f
Signed-off-by: Peter Portante &lt;peter.portante@redhat.com&gt;
Reviewed-on: http://review.gluster.org/5993
Reviewed-by: Luis Pabon &lt;lpabon@redhat.com&gt;
Tested-by: Luis Pabon &lt;lpabon@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Rebase to OpenStack Swift Havana (1.10.0)</title>
<updated>2013-10-28T18:51:51+00:00</updated>
<author>
<name>Peter Portante</name>
<email>peter.portante@redhat.com</email>
</author>
<published>2013-10-24T20:15:25+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/gluster-swift.git/commit/?id=286a1308db72c5cfdd6ce16aff3f291ebce257c2'/>
<id>286a1308db72c5cfdd6ce16aff3f291ebce257c2</id>
<content type='text'>
Change-Id: I90821230a1a7100c74d97cccc9c445251d0f65e7
Signed-off-by: Peter Portante &lt;peter.portante@redhat.com&gt;
Reviewed-on: http://review.gluster.org/6157
Reviewed-by: Luis Pabon &lt;lpabon@redhat.com&gt;
Tested-by: Luis Pabon &lt;lpabon@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I90821230a1a7100c74d97cccc9c445251d0f65e7
Signed-off-by: Peter Portante &lt;peter.portante@redhat.com&gt;
Reviewed-on: http://review.gluster.org/6157
Reviewed-by: Luis Pabon &lt;lpabon@redhat.com&gt;
Tested-by: Luis Pabon &lt;lpabon@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Sync functional tests with Swift v1.9.1</title>
<updated>2013-10-25T17:57:40+00:00</updated>
<author>
<name>Peter Portante</name>
<email>peter.portante@redhat.com</email>
</author>
<published>2013-10-25T02:04:40+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/gluster-swift.git/commit/?id=04e402599b7b01c0a98df4724618555ab53cb775'/>
<id>04e402599b7b01c0a98df4724618555ab53cb775</id>
<content type='text'>
Change-Id: Id478f651fe937883837291059da9da853fcd2de2
Signed-off-by: Peter Portante &lt;peter.portante@redhat.com&gt;
Reviewed-on: http://review.gluster.org/6141
Reviewed-by: Luis Pabon &lt;lpabon@redhat.com&gt;
Tested-by: Luis Pabon &lt;lpabon@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Id478f651fe937883837291059da9da853fcd2de2
Signed-off-by: Peter Portante &lt;peter.portante@redhat.com&gt;
Reviewed-on: http://review.gluster.org/6141
Reviewed-by: Luis Pabon &lt;lpabon@redhat.com&gt;
Tested-by: Luis Pabon &lt;lpabon@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add OpenStack Swift as a git submodule</title>
<updated>2013-09-05T11:23:50+00:00</updated>
<author>
<name>Luis Pabon</name>
<email>lpabon@redhat.com</email>
</author>
<published>2013-09-04T14:01:28+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/gluster-swift.git/commit/?id=0f1ad38c2f7e8d3cd6cce5db959773dc516d836a'/>
<id>0f1ad38c2f7e8d3cd6cce5db959773dc516d836a</id>
<content type='text'>
This allows developers to easily insert the python
debugger to the OpenStack Swift code which in turn
calls gluster-swift.

Using 'git submodule' allows developers to not only create
a clone of the OpenStack Swift repo locally, but
also automatically set the repo to the appropriate tested version.
This change also allows us to always match the version
of OpenStack Swift that gluster-swift has been tested against.

For this change, the submodule of OpenStack Swift has
been set to version 1.9.1 which, according to the RDO
rpms, it is commit id 95bcd7180c546f91414c2493d343fe1a4ae3ce44.

Here is how developers can setup their repo after this change:

$ git submodule init
$ git submodule update

Now that the correct version of the OpenStack Swift
code has been cloned to the modules directory, it can be
used for debugging during development.  First we need
to setup a link called 'swift' to point to the python
code from the root of the gluster-swift repo as follows:

$ ln -s swift modules/swift/swift

Here is simple example of how to debug an object PUT command.
First, we need to add the following line:
`import pdb ; pdb.set_trace`
to swift/proxy/controllers/obj.py at line 818.

To execute the debug line added above, we can use the following
unit test:

$ nosetests -v -s -exe test/unit/proxy/test_server.py

Change-Id: I01dd58954e5ef139208a1132140c6c83ada82c18
Signed-off-by: Luis Pabon &lt;lpabon@redhat.com&gt;
Reviewed-on: http://review.gluster.org/5787
Reviewed-by: Chetan Risbud &lt;crisbud@redhat.com&gt;
Tested-by: Chetan Risbud &lt;crisbud@redhat.com&gt;
Reviewed-by: Peter Portante &lt;pportant@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows developers to easily insert the python
debugger to the OpenStack Swift code which in turn
calls gluster-swift.

Using 'git submodule' allows developers to not only create
a clone of the OpenStack Swift repo locally, but
also automatically set the repo to the appropriate tested version.
This change also allows us to always match the version
of OpenStack Swift that gluster-swift has been tested against.

For this change, the submodule of OpenStack Swift has
been set to version 1.9.1 which, according to the RDO
rpms, it is commit id 95bcd7180c546f91414c2493d343fe1a4ae3ce44.

Here is how developers can setup their repo after this change:

$ git submodule init
$ git submodule update

Now that the correct version of the OpenStack Swift
code has been cloned to the modules directory, it can be
used for debugging during development.  First we need
to setup a link called 'swift' to point to the python
code from the root of the gluster-swift repo as follows:

$ ln -s swift modules/swift/swift

Here is simple example of how to debug an object PUT command.
First, we need to add the following line:
`import pdb ; pdb.set_trace`
to swift/proxy/controllers/obj.py at line 818.

To execute the debug line added above, we can use the following
unit test:

$ nosetests -v -s -exe test/unit/proxy/test_server.py

Change-Id: I01dd58954e5ef139208a1132140c6c83ada82c18
Signed-off-by: Luis Pabon &lt;lpabon@redhat.com&gt;
Reviewed-on: http://review.gluster.org/5787
Reviewed-by: Chetan Risbud &lt;crisbud@redhat.com&gt;
Tested-by: Chetan Risbud &lt;crisbud@redhat.com&gt;
Reviewed-by: Peter Portante &lt;pportant@redhat.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
