-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Ability to skip max-version check in core for testing beta apps #31518
Comments
The other idea was to introduce a (hidden) config option. There are pro's con's to both approaches
Config option
Regarding the naming" Generally speaking, a major use-case is, when already setting up testing for master branches - which would have a version number higher than anything we currently release. |
We have to assume that people WILL abuse it. |
To reduce the probability of abuse I suggest to use an env variable which is more tricky to setup for a server + CLI, while setting a config.php option is too easy. |
|
@DeepDiver1975 any objection to using this approach for beta testing ? |
Alternative that we're going to try:
Doesn't require adding or removing flags in various apps. |
Use case
To make sure that an app will work correctly OC version X+1, QA needs to test it while the app is still in beta phase and not yet market as compatible with the latest X+1.
Problem
When testing a beta app or PR that still has max-version=X instead of max-version X+1, the X+1 version of OC will refuse to enable the app.
So a QA person would need to manually hack info.xml to increase the version temporarily just to make tests run.
In a CI environment this hack would need to be automated.
Proposed solution
Introduce a new environment variable
CI_IGNORE_APP_VERSION_REQUIREMENTS=1
which will skip any min/max version checks when enabling or installing apps.Open questions
@owncloud/qa
The text was updated successfully, but these errors were encountered: