fix(OCMProvider): Advertise the correct apiVersion - #52758
Conversation
|
I am afraid this would break compatibility with older setup, |
|
What older setup is relying on the string |
|
any version prior to 8b9e7e2#diff-968dd2f309a1906f4e65f96b5e04999c1dfa79ee617fdf5060d5746534f42ca5L227 I would say lower than 28.0.0 |
Those versions are not supported any more though, are they? And if they are, it seems trivial to backport a fix that bypasses the check? In any case, it is much simpler to fix here, than to try to change the name of a key in the discovery payload in the specification, that has been there from the start and is implemented in reva,ocis,opencloud and seafile already. Any version prior to that fix is also unable to do ocm with any of those providers, so it is not much of a federation support anyway. |
|
But this will require patching ... Do you have a use-case that require From my point of view, I do not consider |
Hi there, this was discussed today within the OCM team, and in fact At the same time, if Nextcloud needs to guarantee backwards compatibility prior to v28, then you have to keep that legacy string, and the discussion with @mickenordin was that this PR would have to wait until end of support for versions earlier than v28. Yet, I added that the |
|
I have reset the |
come-nc
left a comment
There was a problem hiding this comment.
Is there still a point to merging this? It’s only removing version key, which seems useful?
come-nc
left a comment
There was a problem hiding this comment.
Is there still a point to merging this? It’s only removing version key, which seems useful?
@glpatcern @mickenordin I am deeply sorry I could not spend more time with you to discuss about this... Regards and Love, |
@ArtificialOwl you're welcome to join the OCM calls :) and a discussion here works as well if you don't have enough time. IMHO what you are after is the |
|
Hello there, We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process. Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6 Thank you for contributing to Nextcloud and we hope to hear from you soon! (If you believe you should not receive this message, you can add yourself to the blocklist.) |
Advertise the correct apiVersion
Fixes #52754