Skip to content

Conversation

@peter-boden
Copy link
Member

Changes introduced with this PR

  • Instead of requiring postgresql client and server version to be exactly the same; compare the major versions and require client to be the same or newer than the server.
  • Fix a path in de devcontainer
    *Add install-setup-dev target to Makefile to facilitate development on the setup

Are you the owner of the code you are sending in, or do you have permission of the owner?

y

Copy link
Contributor

@JasperB-TeamBlue JasperB-TeamBlue left a comment

Choose a reason for hiding this comment

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

Tested dev container on centos 9 & 10, both function with this fix.

DEVELOPMENT.adoc Outdated
For development on the setup itself it might be usefull to reset the setup. Do the following:
```
find $PREFIX -type f -name '*.conf' -path '*setup*' -ok sudo rm {} \;
Copy link
Member

Choose a reason for hiding this comment

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

You could also add some 'make clean' or 'make clean-setup' or so.

)[
-1
],
'ok': self._pg_versions_match,
Copy link
Member

Choose a reason for hiding this comment

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

_pg_versions_match is not used anymore anywhere after this? Then drop the function.

Add install-setup-dev target to enable more rapid development of the
engine-setup. The regular install-dev does the whole java build which is
pretty slow. + add some info in dev doc regarding setup development.

Add clean-seutp-conf target to cleanup the setup config files.

Signed-off-by: Peter Boden <[email protected]>
The setup compares the local psql version with the postgresql server
version.

Instead of requiring them to be equal, just require that
client major >= server major version.

Signed-off-by: Peter Boden <[email protected]>
The PATH for e.g. ovirt-engine.py wasn't correct.

Signed-off-by: Peter Boden <[email protected]>
@dupondje dupondje merged commit c036868 into oVirt:master Oct 27, 2025
3 checks passed
@dupondje dupondje deleted the postgres_check branch October 27, 2025 10:46
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.

3 participants