-
Notifications
You must be signed in to change notification settings - Fork 59
Only write major version of mixin to xml #310
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
base: master
Are you sure you want to change the base?
Conversation
|
Well... the tests have issues... |
|
@totten we're still getting minor versions written to xml files and it's quite confusing. For example, I just tried running It's not my extension so I'm not sure why the line was that way, but probably because somebody wrote it manually, based on the logical assumption that the version ought to match the one in core. Currently that is the correct version: so I can't fault the author for putting that in, (but I think all this confusion could be avoided by switching |
|
@totten ? |
|
@totten this is still an issue. |
|
civibot, test this please |
Yeah, I can see how someone might assume that, but the assumption is wrong. 👀
OK, re-ran tests. It still fails. I believe the test failures are saying something like this: "If you only specify major-version, then it stops writing proper+consistent backport files." For example...
One could probably update the thing which decides whether to write the It should be said: civix's current mixin-handler was not designed to support a free-for-all of mixin-version-constraints. It works with an opinionated list with a known/preferred versions, and it deals with tangential requirements (like optimizing-out But anyway, back to the issue -- that error message is annoying (for the user who tries to manually tune the versions). Some other options for tackling that:
|

As discussed on https://lab.civicrm.org/documentation/docs/dev/-/merge_requests/1117#note_151389