No problem.

Yeah, you can check the existing CloudFiles tests -
https://github.com/Kami/libcloud/blob/storage_api/test/storage/test_cloudfiles.py
.

For the reference you can check the base.py file <
https://github.com/Kami/libcloud/blob/storage_api/libcloud/storage/base.py>
and the CloudFiles <
https://github.com/Kami/libcloud/blob/storage_api/libcloud/storage/drivers/cloudfiles.py>
or
Dummy storage driver <
https://github.com/Kami/libcloud/blob/storage_api/libcloud/storage/drivers/dummy.py
>.

It would be great though if we can first agree on the current API before
implementing more drivers :)

Wiki is currently out-of-date, but I plan to write an article about storage
API in the upcoming weeks.

On Tue, Mar 8, 2011 at 1:23 AM, Jerry Chen <[email protected]> wrote:

> Awesome Tomaz, thanks for working on that!
>
> Do you have any good examples or tests we can look at for using the Storage
> API? Are the wiki pages an accurate reference for the existing
> implementation?
>
> Cheers,
> Jerry
>
> On Mar 7, 2011, at 6:04 PM, Tomaz Muraus wrote:
>
> > Hello all,
> >
> > I just wanted to let you know that I have finally finished tests for the
> > CloudFiles driver and the Storage API code is now in trunk.
> >
> > Keep in mind that this is a development version so it is possible that
> there
> > are still some bugs left (I did my best with writing tests, but it is
> > possible that I have missed something so more manual testing is needed).
> >
> > Reference CloudFiles drivers is mostly complete, only thing left to do is
> to
> > implement some kind of "LazyList" class, because the list_containers and
> > list_objects methods now only return first 10.000 containers / objects.
> >
> > Changes are backward compatible which means it should work with code
> which
> > depends on libcloud 0.4.x (you will only receive a warning if you are
> > importing from a now obsolete path - e.g. libcloud.base has been moved to
> > libcloud.compute.base and so on). If you are currently using libcloud,
> > please test it with the latest version from trunk and let us know if you
> > find any problems.
> >
> > Test away!
> >
> > Thanks,
> > Tomaz
>
>

Reply via email to