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

Allow apps to check for a given nextcloud version #556

Merged
merged 1 commit into from
Jul 29, 2016

Conversation

nickvergessen
Copy link
Member

@nickvergessen nickvergessen commented Jul 25, 2016

Translates the displayed server version in dependency errors

  • 10.0* maps to 9.1*
  • 11.0* maps to 9.2*

@MorrisJobke @LukasReschke

@karlitschek I'd like to backport this down to 9, so new apps are displayed/denied with the correct information.

@mention-bot
Copy link

@nickvergessen, thanks for your PR! By analyzing the annotation information on this pull request, we identified @DeepDiver1975, @BernhardPosselt, @MorrisJobke and @Xenopathic to be potential reviewers

@icewind1991
Copy link
Member

I don't think the owncloud field should be seen as deprecated as long as the nextcloud field is set, that way an app author can define both to keep their app compatible with both systems

@nickvergessen
Copy link
Member Author

well that is why I made it deprecated, it doesn't cause any error on validation or whatsoever, just says that the value is not required anymore

@karlitschek
Copy link
Member

great idea. 👍 please backport!

@@ -9,7 +9,7 @@
<author>Nextcloud</author>
<version>1.1.0</version>
<dependencies>
<owncloud min-version="9.2" max-version="9.2" />
Copy link
Contributor

Choose a reason for hiding this comment

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

@karlitschek isn't this breaking the compatibility we have been trying to keep up?

Copy link
Member

Choose a reason for hiding this comment

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

Well the next cloud version 10 kinda broke it anyways

Copy link
Member

Choose a reason for hiding this comment

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

What I mean is that versioning is totally fcked up at the moment

Copy link
Member Author

Choose a reason for hiding this comment

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

@DeepDiver1975 both are supported, and our shipped "core apps" are not required to work on ownCloud anyway? I mean switching our files app with yours or the other way around makes little sense to me?

Copy link
Member

Choose a reason for hiding this comment

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

@BernhardPosselt Well 10 is only the human readable version number. internally it is 9.1 exactly because we don't want to break apps. :-)

Copy link
Member

Choose a reason for hiding this comment

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

Right I mean the version started a new versioning schema which will break compatibility in the next version (11 will be 11 internally, correct?)

Copy link
Member

Choose a reason for hiding this comment

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

@DeepDiver1975 Hmm. Interesting. This tags a re optional. So I'm not sure this would break anything. But we are happy to discuss if we can improve something. call?

Copy link
Member Author

Choose a reason for hiding this comment

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

Right I mean the version started a new versioning schema which will break compatibility in the next version (11 will be 11 internally, correct?)

I don't think so...

Copy link
Contributor

Choose a reason for hiding this comment

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

@DeepDiver1975 Hmm. Interesting. This tags a re optional. So I'm not sure this would break anything. But we are happy to discuss if we can improve something. call?

Looks like soled 😉

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks for keeping up the discussion between the projects 🚀

@nickvergessen nickvergessen force-pushed the nextcloud-version-check branch 2 times, most recently from e292868 to 9c3dea2 Compare July 26, 2016 10:46
@nickvergessen
Copy link
Member Author

Updated to only translate the version, sorry for the misunderstanding, confusions and troubles

@nickvergessen nickvergessen force-pushed the nextcloud-version-check branch from 9c3dea2 to 0fcc39c Compare July 26, 2016 12:40
@MorrisJobke
Copy link
Member

👍

@MorrisJobke MorrisJobke merged commit 54ae8ee into master Jul 29, 2016
@MorrisJobke MorrisJobke deleted the nextcloud-version-check branch July 29, 2016 07:26
@MorrisJobke
Copy link
Member

@nickvergessen Could you create the backport PR to stable10?

@nickvergessen
Copy link
Member Author

@MorrisJobke no, will be on vacation until it's too late.

@icewind1991
Copy link
Member

Stable10: #757

GitHubUser4234 pushed a commit to GitHubUser4234/server that referenced this pull request Aug 30, 2016
Allow apps to check for a given nextcloud version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants