-
Notifications
You must be signed in to change notification settings - Fork 9
Add new share types for OCS Share API #2
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
base: develop
Are you sure you want to change the base?
Conversation
|
Hi, sorry for the delay. Thx for you contribution. For this case, you can extend existing tests. You can move SHARE_WITH_ENABLED_SHARE_TYPES as a class property (see LOCAL as example) . |
|
If I understand correctly, testing these changes is anything but straightforward...
|
|
Indeed, not really simple to test the apps connections.
What you add don't require to test the apps, but to ensure no regression. |
|
Just to clarify that I've understood correctly: What you're saying is that this PR is good to merge if I include a comment documenting that tests have yet to be written for the mail, Circle and Talk share types? 🤔 |
Documentation shall be in the docstring. I add a review. But yes, if there is no regression, the PR will be merged. Anyway, this branch is is not the main branch. |
Actually yes, that would be awesome. But I also need a single method from the OCS Sharee API, so updating it now wouldn't help me unfortunately. I have a local implementation of this wrapper with only a single method inside (the one I need)... I don't know if that's really worth a PR. 😅 Edit: Nevermind, I just saw that the whole Sharee API has only two methods. I'll just implement them both and open up another PR. 🙂 |
|
Still this PR relevant ? There is some review opened. |
|
Oh, sorry for the long delay! Yes, support for the new share types would be really nice to have. Right now I'm still using my patched version of the package. What's left to do to get this merged? 🙂 Concerning the Sharee API, I've now set a reminder in my calendar and should be able to open the second PR in the next two weeks. Edit: Unfortunately, as I've chosen the |
|
@luffah: what is the status of this PR? I could help with any tasks that are blocking a merge |
Hi @luffah, I'd like to contribute the new share types introduced in the latest versions of NextCloud. 🙂
This PR is "work in progress", because I still need to write the tests for my changes. Should I create a new method or extend
test_create(self)intests/test_shares.py?