-
-
Notifications
You must be signed in to change notification settings - Fork 824
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
Change version to 6.0.alpha1 #31763
base: master
Are you sure you want to change the base?
Change version to 6.0.alpha1 #31763
Conversation
🤖 Thank you for contributing to CiviCRM! ❤️ We will need to test and review this PR. 👷 Introduction for new contributors...
Quick links for reviewers...
|
Jenkins less enthusiastic... Looks like install crashes quite early:
Happy to investigate this further unless you are already into it @colemanw ? |
Oh it looks like the civicrm-core/mixin/lib/pathload.index.php Line 15 in 726d32a
If I read it correctly:
So when we bump core up to 6.x we need to either: civicrm-core/mixin/lib/pathload.index.php Lines 14 to 15 in 726d32a
5.1 b) bump up all the extensions to use 6 (feels unfeasible with contrib) c) add search directory for the current version and previous version? Probably an @totten question! |
I think my favorite options are:
In either scenario, the 5.x sequence can be specified formulaically: Since My first impulse was to go with the double-registration -- because it preserves the API POV that numbers match core. OTOH, it does create more numbers floating around On my local, I'm able to do basic install either way. Pushing up a commit which shows both. |
@totten it feels like the |
@colemanw Yes and no.
|
Before: * 'mixin/lib/civimix-schema' is numbered `5.x.x` * `mixin/lib/civimix-schema` is strictly pegged to the 'civicrm-core' After: * `mixin/lib/civimix-schema@5` is numbered `5.x.x.` * `mixin/lib/civimix-schema@5` is partially released from the numbering of `civicrm-core`. Comments: The version will still increment automatically (month-to-month; in parallel with core), but it will stay within 5.x. This is because it's supposed to be strictly SemVer, and we haven't actually made any major changes to it, so moving to 6.x would be a big hassle.
Yeah, if we're decoupling the version-sequence, then probably the folder-name should indicate the distinctive major-version. This would be more similar to |
I think I understand the theory. But in practice, is It seems to me that the key requirements are:
It doesn't make sense that the major version of the mixin is tied to the core major version. If we are slightly stuck with 5 for the major version now, and want to beat all the versions already out there up to |
That's a question Tim & I couldn't agree on when designing Entity-Framework v2. The mixin only needs to get copied into an extension if the author does want to use EFv2, but does not want to bump up their core version requirement to something recent-ish. |
Overview
It's happening!