You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ocp-matrix emits dev-stable36 before nextcloud/ocp has a stable36 branch #13
Since v1.3.5, getBranch() returns stable36 for any version in KNOWN_PHP_VERSION_RANGES without checking that the branch exists. v1.3.4 had no stable36 entry, so it probed GitHub and fell back to master.
For an app declaring <nextcloud max-version="36" />, the ocp-matrix output now includes dev-stable36. The Psalm workflow then runs composer require --dev nextcloud/ocp:dev-stable36, which fails because neither nextcloud/server nor nextcloud/ocp has a stable36 branch yet:
Root composer.json requires nextcloud/ocp dev-stable36, found nextcloud/ocp[dev-master, ..., dev-stable35, ...] but it does not match the constraint.
Seen in nextcloud/mail after the org template bumped to v1.3.5 (nextcloud/.github#842). Calendar, Contacts and Notes will likely hit it once they update.
Suggested fix: keep the hard-coded PHP ranges, but only return stable<N> when the branch exists, otherwise return master as before. Alternatively, keep stable36 for the PHP ranges and map the OCP version to master until the branch exists.
Activity