-
Notifications
You must be signed in to change notification settings - Fork 29
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
ENH CMS 6 compatibility #49
ENH CMS 6 compatibility #49
Conversation
66f566c
to
3bde587
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assume this needs silverstripe/supported-modules#49 to go green....
Though the error is "No valid PHP version allowed". I thought it used the php dependency from composer.json as a fallback? Seems we should definitely investigate that and fix it if needed rather than arbitrarily dropping this into the supported modules json.
It would, expect this module does not actually require silverstripe so CI cannot just look at the version of framework in composer.json |
3bde587
to
45cba3f
Compare
What does the version of framework have to do with it? The composer.json file for this repo has Edit: I've just had a look and |
I think isAllowedPhpVersion() checks to see if a particular version of php is allowed given the current composer.json being used Before that a list of valid PHP versions is generated, e.g. for cms 6 it is 8.3 and 8.4 However doorman is not aware of what version of the cms is being used, because there isn't a version of framework, or admin etc in composer.json which can be used to derive the version of installer to use Hence it's given the error "No valid PHP version allowed", cos the list of allowable PHP versions is empty |
Ahhhh yup you're right. Probably that's something we ought to change but not right now. For now, the change you've made is correct. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MOG
Create a 5.0 branch after this is merged and tag 5.0.0-beta1, though we could arguably just release it straight to stable
Wouldn't it be alpha1
not beta1
?
In any case I think since this isn't a supported repo it doesn't need to go through the alpha->beta->rc->stable cycle. Feel free to tag as stable if you think that's more appropriate.
We might forget to tag the stable if we don't do it right away so that's probably best.
Matrix still refusing to build |
45cba3f
to
8fc3eed
Compare
I've created a PR which should resolve silverstripe/gha-generate-matrix#115 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Issue silverstripe/.github#350
Needs silverstripe/supported-modules#49 merged before CI will work
Changes silverstripe/closure dependency to laravel/serializable-closure
Also a bunch of other maintenance changes to make this compatible with a CMS 6 install to ensure things work correctly in CI
Create a 5.0 branch after this is merged and tag 5.0.0-beta1, though we could arguably just release it straight to stable