OwnCloudDriver: Support for ownCloud & Nextcloud#86
Draft
scy wants to merge 6 commits intoscottwernervt:masterfrom
Draft
OwnCloudDriver: Support for ownCloud & Nextcloud#86scy wants to merge 6 commits intoscottwernervt:masterfrom
scy wants to merge 6 commits intoscottwernervt:masterfrom
Conversation
More recent versions of pip (or setuptools?) will refuse to accept
these, leading to the error message:
'extras_require' must be a dictionary whose values are strings or
lists of strings containing valid project/version requirement
specifiers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is using
pyocclientto implement a driver for ownCloud & Nextcloud.As both of these systems rather use file/directory semantics instead of container/blob ones, the driver behaves somewhat similar to
LocalDriver: A container can be any (sub)directory (including""for the top-level directory), a blob is a file. Uploading blobs with slashes in their name will cause the respective parent directories to be created. Also, some features (e.g. ACLs and CDN URLs) are not supported.Multiple ways of access are supported:
endpoint="https://cloud.example.com/",user="AzureDiamond",password="hunter2"endpoint="https://cloud.example.com/s/XAPaqtjYbg5cJca",user=None(oruser=""), optionallypassword="hunter2"if the share is using a password, elsepassword=NoneThe code is basically working, but not yet complete. Open tasks:
If you have any comments, suggestions or criticism, let me know :)