PyFilesystem / pyfilesystem

Python filesystem abstraction layer
http://pyfilesystem.org/
BSD 3-Clause "New" or "Revised" License
288 stars 63 forks source link

Google drive support #247

Closed linshu closed 8 years ago

linshu commented 8 years ago

Is there any plan to support google drive?

lurch commented 8 years ago

Not until somebody volunteers to write the code to do so...

Ryanb58 commented 8 years ago

This would kind of be a nightmare since google does stuff based off ID's and allows for duplicates, whereas pytfilesystem does it's actions based off paths.

jirikuncar commented 8 years ago

There is a Google Drive plugin developed years back but never accepted to upstream.

https://github.com/inveniosoftware-attic/invenio-ext/blob/master/invenio_ext/fs/cloudfs/googledrivefs.py

Ryanb58 commented 8 years ago

@jirikuncar How does it mitigate the duplicate file name issue?

jirikuncar commented 8 years ago

How does it mitigate the duplicate file name issue?

@Ryanb58 I think it doesn't correctly. We would need to extend the virtual tree map to support multiple items under same name. I am not sure how would it work with FUSE though. It was sufficient for our use-case, because we used it for application-managed-folder only.

willmcgugan commented 8 years ago

Google drive is a great use case, but fs2.0 is intended to have fewer dependancies. Things like GDrive will live as separate projects.