Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a Reva SDK #1280

Merged
merged 12 commits into from
Oct 27, 2020
Merged

Add a Reva SDK #1280

merged 12 commits into from
Oct 27, 2020

Conversation

Daniel-WWU-IT
Copy link
Contributor

This PR integrates the libreva directly into Reva as the Reva SDK.

The Reva SDK (located under /pkg/sdk/) is a simple software development kit to work with Reva through the CS3API. It's goal is to make working with Reva as easy as possible by providing a high-level API which hides all the details of the underlying CS3API. Basically, the SDK puts the Reva CLI code into a reusable library (this also means that the CLI should at some point, when the SDK is more feature-complete, be based on the SDK to avoid code duplication).

Documentation and an example are also provided. Note that at this early stage, only a few operations are support (up- & downloads, basic file operations); the functionality will be extended in the future, of course.

go.sum Outdated
@@ -30,6 +30,8 @@ github.com/Azure/go-ntlmssp v0.0.0-20200615164410-66371956d46c/go.mod h1:chxPXzS
github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo=
github.com/Daniel-WWU-IT/libreva v0.0.0-20201020084352-b17e3e76d0db h1:XQr9TOjKV0gCBQ62OIyZOqYpOYNapqXWyAf9wZBUxiY=
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

run go mod tidy to cleanup these deps

Copy link
Member

@labkode labkode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Daniel-WWU-IT can you change the license headers to match those of the existing code (Apache, styling) and then you can add your organisation under CERN, in your case WWU.
This development is sponsored under the project.

@labkode labkode merged commit 1727105 into cs3org:master Oct 27, 2020
@Daniel-WWU-IT Daniel-WWU-IT deleted the libreva-sdk branch October 27, 2020 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants