Skip to content

Conversation

@line-o
Copy link
Member

@line-o line-o commented Dec 2, 2025

This is a breaking change as older versions of exist-db cannot use this xqts-runner anymore

  • load exist-core snapshots from Github Maven package repository
  • update dependencies
  • fix codebase to be compatible with current develop HEAD
  • fix module import
  • address some linter warnings
  • due to Licensing issues the dependency on Akka was replaced with Apache Pekko

@line-o line-o force-pushed the 7-compat branch 2 times, most recently from 821a78f to cadd44d Compare December 2, 2025 11:29
@line-o
Copy link
Member Author

line-o commented Dec 2, 2025

for compilation to work again we need to point the build process to a more recent version of exist v7.0.0-SNAPSHOT

@adamretter
Copy link
Contributor

older versions of exist-db cannot use this xqts-runner anymore

@line-o There are different versions of xqts-runner that target 6.x.x and various 7.x.x - you just need to choose the right version. You can find the version of eXist-db supported by looking in the build.sbt of the various versions of xqts-runner

@line-o
Copy link
Member Author

line-o commented Dec 2, 2025

@adamretter I tried all published versions 1.3.0-SNAPSHOT, 1.3.0 and 1.4.0 none of them worked. This branch built against a current develop head does.

@adamretter
Copy link
Contributor

adamretter commented Dec 3, 2025

@line-o I am afraid you looked in the wrong place. If you want 7.0.0-SNAPSHOT compatibility it has been here for years - https://github.com/eXist-db/exist-xqts-runner/tree/compat/eXist-7.0.0-SNAPSHOT

@line-o line-o marked this pull request as draft December 3, 2025 23:19
@line-o
Copy link
Member Author

line-o commented Dec 3, 2025

Now that this finally passed the smoke test again a little cleanup is needed before it can be marked as ready.

adamretter and others added 12 commits December 4, 2025 10:27
BREAKING CHANGE: build target is now Java21
* mark exist-core dependency as "changing" to enforce SNAPSHOT updates
* update slf4j and log4j-slf4j2-impl to the same version that exist uses at the moment
* update akka-actor to 2.8.1-M1 to fix a vulnerability
* update all other dependencies to the latest non-breaking update
Dependencies like exist-core are published to the github maven repository.
It does _require_ authentication. For this to work a Github personal access token needs to be set.
This can be done in either `~/.ivy2/.credentials` or setting the environment variable "GITHUB_TOKEN" (used in the github action).
@line-o line-o marked this pull request as ready for review December 4, 2025 16:14
@line-o line-o requested review from dizzzz and duncdrum December 4, 2025 16:23
Copy link
Contributor

@adamretter adamretter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This targets the wrong branch, and is redundant as the work was already done years ago and can be found in the branch https://github.com/eXist-db/exist-xqts-runner/tree/compat/eXist-7.0.0-SNAPSHOT. In addition this project is redundant entirely as it has been replaced by XTH.


```scala
val existV = "5.3.0"
val existV = "7.0.0-SNAPSHOT"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This won't work in production as snapshots are not permitted

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not understand why this cannot be written in the readme. Should there be an additional sentence? To which production are you referring to?

@line-o
Copy link
Member Author

line-o commented Dec 4, 2025

@adamretter out of curiosity, what is XTH?

@adamretter
Copy link
Contributor

out of curiosity, what is XTH?

@line-o XTH = X Test Harness. It replaced this some time ago.

@line-o
Copy link
Member Author

line-o commented Dec 4, 2025

Do you have a link perhaps? @adamretter I cannot find any information on that.

@line-o
Copy link
Member Author

line-o commented Dec 4, 2025

This targets the wrong branch, and is redundant as the work was already done years ago and can be found in the branch [...]

This PR is built on top of the other branch and supersedes it. It targets main as this will be the next major version, if accepted.

@adamretter
Copy link
Contributor

This PR is built on top of the other branch and supersedes it. It targets main as this will be the next major version, if accepted.

That is not how this project is setup or structured.

@line-o
Copy link
Member Author

line-o commented Dec 5, 2025

That is not how this project is setup or structured.

I am not sure what you mean by this. If you want to suggest a way forward please do so, otherwise I would like to continue with the current plan.

@dizzzz
Copy link
Member

dizzzz commented Dec 5, 2025

PR looks solid to me; as stated we can correctly run the suite now, that is what counts in the end.
Probably there is an (yet unknown) alternative as stated , but this is what we can use right now.

Copy link
Member

@dizzzz dizzzz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@adamretter
Copy link
Contributor

adamretter commented Dec 5, 2025

I am not sure what you mean by this. If you want to suggest a way forward please do so, otherwise I would like to continue with the current plan.

The project was setup to have two branches - one for eXist-db and Elemental 6.x.x, and the other one for 7.x.x

@line-o
Copy link
Member Author

line-o commented Dec 5, 2025

It will still be that way. Just a slightly different approach:

  • main: contains the version compatible with latest develop HEAD

  • another branch - its name is not determined yet - will be used to publish legacy releases, if necessary

Please Note: Because tests are run against a version of existdb we only guarantee compatibility with this processor

@adamretter
Copy link
Contributor

@line-o Understood, but switching the main branch doesn't make sense until there is a release of eXist-db 7.0.0 as otherwise it cannot be used in production.

@line-o
Copy link
Member Author

line-o commented Dec 5, 2025

For me main is the branch I expect to get the current latest state from.

@adamretter
Copy link
Contributor

For me main is the branch I expect to get the current latest state from.

For me, what comes from main should be usable.

@line-o line-o changed the base branch from main to develop December 8, 2025 18:44
@dizzzz dizzzz merged commit d729b7e into develop Dec 8, 2025
6 checks passed
@dizzzz dizzzz deleted the 7-compat branch December 8, 2025 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants