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
Add postgis 2.4.0 #30321
Add postgis 2.4.0 #30321
Conversation
|
Adding this
in
|
Since it is a single test, it should be just |
Hum postgresql doesn't seems it want to start. But on my machine the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi,
Thanks for the work!
I have added few comments here and there, but at the end it looks good and I can run the test successfully.
nixos/tests/postgis.nix
Outdated
#initialScript = pkgs.writeText "postgresql-init.sql" | ||
#'' | ||
#CREATE ROLE postgres WITH superuser login createdb; | ||
#''; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think those lines can be completly removed singe they are not necessary anymore.
nixos/release.nix
Outdated
@@ -303,6 +303,7 @@ in rec { | |||
#tests.panamax = hydraJob (import tests/panamax.nix { system = "x86_64-linux"; }); | |||
tests.peerflix = callTest tests/peerflix.nix {}; | |||
tests.postgresql = callSubTests tests/postgresql.nix {}; | |||
tests.postgis = callTest tests/postgis.nix { system = "x86_64-linux"; }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you have any particular reason to restrict to "x86_64" ? Why not letting it open:
tests.postgis = callTest tests/postgis.nix {};
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the next push is ok (test, ok for you) i'll rebase
Looks good to me. Before this is merged, you should squash those commits (note that the first of your commits have been done with another identity, you may want to fix that). Also to get closer to the contribution guidelines, the commit message should be |
@RemiDesgrange the commit is still authored by "System administrator", is this what you want ? If yes, I’ll merge it shortly. Otherwise, |
Add postgis 2.4.0 doesn't remove v2.3.1. There are some big change in 2.4 that people may don't want. see https://postgis.net/docs/release_notes.html#idm41021 fix test call modify following recommandation of lsix
Sorry for that I changed it |
Merged, thanks ! |
nixos/postgis: add postgis 2.4.0
doesn't remove v2.3.1. There are some big change in 2.4 that people may
don't want. see https://postgis.net/docs/release_notes.html#idm41021
Motivation for this change
Postgis v2.3.1 doesn't work with postgresql v10. Adding v2.4 add support for v10
This is my first PR here, please don't hesitate to comment. I changed a test, but I didn't know if it was better to create a new one or changing this one, since v2.2 isn't in nixpkgs anymore.
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)