-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
semver.xq should be tested against the more recent releases of exist 4, 5 and 6 #25
Comments
In #15 (comment) where the current testing array was set, I asked:
@adamretter responded:
I like the idea of ensuring maximal compatibility - as evidenced by my approval and merger of that PR. However, another principle for determining versions is to choose the latest version within each major release as a target for testing. This way, the tested release contains all bugfixes we have put into that major version. Users should, in principle, be able to update to the latest release in a major series without risking breakage. If we target the oldest possible version within a major series, then the project won't be able to count on the bugfixes that are already in later versions of the same major series. So on balance I would be in favor of adopting this principle - here and across eXist-db organization-maintained packages. |
I think my point is that with appropriate testing (as I added to CI) we have proven that this project doesn't need such later bug-fixes from eXist-db. If this project was to require a newer version of eXist-db (due to some desired fix or feature) then it could certainly advance the version number of eXist-db it depends on, but otherwise there is no point artificially depending on a newer version of eXist-db where it isn't needed. Minimum version compatibility (where possible) ensures the largest possible audience and user-base for this project, which I think we can all agree is the desired outcome. |
Testing against a minimal version 4.2 is desirable. Testing against the minimal version which receives community support 4.10 is a requirement. As we agreed ages ago, that supporting all possible versions isn’t feasible in light of the communities limited time. So we pick the latest in a release cycle for support. |
Testing is not the same as minimum compatibility! Feel free to add additional versions to CI config if you believe they are really warranted. |
@adamretter I am curious, when I run I ask because I noticed a pattern during my recent development sprints, when my local instance would pass with ... Looking into the ci.yml, I realize now that perhaps I should be running these 3 commands each time I want to get a comprehensive test result: # test with 4.2.0
mvn verify
# test with 5.1.0
mvn verify -Pexistdb-5-or-newer -Dexist.version=5.1.0
# test with 6.1.0-SNAPSHOT
mvn verify -Pexistdb-5-or-newer -Dexist.version=6.1.0-SNAPSHOT That would be really great to be able to quickly run the tests like this locally on all of the "representative" versions of eXist, instead of relying on CI. I'll try this the next time I work on the repo. But I am genuinely flummoxed why so many tests (incorrectly) passed under 4.2.0 that (correctly) failed under 5.1.0 and 6.1.0-SNAPSHOT. I wish I'd made note of which did, because I'd really like to see if 4.2.0 is a dependable target for this package. I'll keep an eye on this and report any discoveries. |
I would recommend running
Sure, just run:
Okay. I would need to actually see the details of where you thing the false-positives are occuring. |
At the moment this library is tested against
These versions should be added
The text was updated successfully, but these errors were encountered: