Skip to content

Conversation

@BernhardPosselt
Copy link
Member

@BernhardPosselt BernhardPosselt commented Aug 3, 2016

Works in the following way:
If no tag exists the versions will be taken from and following will be done:

  • 9.0 will be transformed to 9.0
  • 9.1 will be transformed to 10
  • 9.2 will be transformed to 11

I hope that's enough and we dont need to consider further exceptions

Furthermore:

  • validation and docs for background-jobs, repair-steps and two-factor-providers elements (please review @ChristophWurst , I assumed two-factor-providers/two-factor-provider as element that contains the class name)
  • validation will fail if a non allowed element is found (shipped, default_enable, standalone) or if deprecated elements are used (requiremin, requiremax, public, remote)

@nickvergessen @janibonnevier @adsworth @LukasReschke @MorrisJobke please review

<xs:element name="lib" type="min-max-version" minOccurs="0"
maxOccurs="unbounded"/>
<xs:element name="owncloud" type="owncloud" minOccurs="1"
<xs:element name="nextcloud" type="nextcloud" minOccurs="1"
Copy link
Member

Choose a reason for hiding this comment

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

min === 0 ?

Copy link
Member Author

@BernhardPosselt BernhardPosselt Aug 3, 2016

Choose a reason for hiding this comment

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

Minimum version is required (also in core afaik)

provided owncloud tags are migrated to nextcloud tags, that way there will always be a nextcloud tag if set properly

@BernhardPosselt
Copy link
Member Author

I've also added the following things:

  • validation and docs for background-jobs and repair-steps elements
  • validation will fail if a non allowed tag is found (shipped, default_enable, standalone)

@BernhardPosselt
Copy link
Member Author

More validation, see updated first post

@BernhardPosselt BernhardPosselt changed the title Migrate owncloud versions Migrate owncloud versions and add validation for more elements Aug 3, 2016
@BernhardPosselt
Copy link
Member Author

👍 from IRC

@BernhardPosselt BernhardPosselt merged commit 65cdf11 into master Aug 4, 2016
@BernhardPosselt BernhardPosselt deleted the migrate-owncloud-versions branch August 4, 2016 14:00
joshtrichards added a commit to nextcloud/server that referenced this pull request Aug 18, 2025
Endpoints are all hardcoded since 7bdde98 and were formally deprecated within info.xml in nextcloud/appstore#156. 

Follow-up PR will clean-up references elsewhere.

Signed-off-by: Josh <[email protected]>
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.

3 participants