Postgis version 2.5.0 was released this weekend. I take this opportunity to sort the different versions (EOLed) .
As pgRouting has also been updated this weekend, I'm upgrading to a new version in this diff.
Paths
| Differential D17320 Authored by lbartoletti on Sep 25 2018, 7:27 PM.
Details Summary Postgis version 2.5.0 was released this weekend. I take this opportunity to sort the different versions (EOLed) . As pgRouting has also been updated this weekend, I'm upgrading to a new version in this diff. Test Plan poudriere 11/12 i386/amd64
Diff Detail
Event TimelineThere are a very large number of changes, so older changes are hidden. Show Older Changes Herald added a subscriber: mat. · View Herald TranscriptSep 25 2018, 7:27 PM2018-09-25 19:27:43 (UTC+0) linimon added reviewers: sunpoet, harrison-astrodog.net, rhurlin.Sep 25 2018, 7:47 PM2018-09-25 19:47:22 (UTC+0) lbartoletti retitled this revision from update, clean and flavorize postgis (postgresql) and depends ports to update, clean and flavorize postgis (postgresql) and depends ports. Comment ActionsUpdate databases/Makefile Harbormaster completed remote builds in B19833: Diff 48497.Sep 27 2018, 7:30 AM2018-09-27 07:30:30 (UTC+0)
Comment Actions If you want to add postgresql flavors, which is most certainly a bad idea, it should go in USES=pgsql. It is a bad idea because the way postgresql works in the ports tree is bad and should be changed. We should only have one postgresql-client, most probably the latest version available, and everything, including the different versions of servers should use it. The only flavors should be for ports that need the server, and in any case, it should go in USES=pgsql.
Comment Actions
Thank you, @mat. Here is my need, to be able to install pgrouting versions that can take the latest version of postgis and the versions of postgresql present (95, 96, 10) directly in the pkg, without the need to compile; ok, I can make packages with poudriere but if it is directly in the official pkg it was better. Following your advice, I will propose a new one diff that removes flavors and does only the cleaning of postgis, its upgrade and the upgrade of pgrouting. Harbormaster completed remote builds in B20077: Diff 48914.Oct 8 2018, 9:19 PM2018-10-08 21:19:50 (UTC+0) Harbormaster completed remote builds in B20496: Diff 49749.Oct 29 2018, 11:06 AM2018-10-29 11:06:57 (UTC+0) lbartoletti retitled this revision from update, clean and flavorize postgis (postgresql) and depends ports to update and clean postgis (postgresql) and depends ports.Oct 30 2018, 8:57 PM2018-10-30 20:57:56 (UTC+0) Harbormaster completed remote builds in B20518: Diff 49805.Oct 30 2018, 8:59 PM2018-10-30 20:59:52 (UTC+0) rhurlin added inline comments.
lbartoletti added inline comments.
Comment Actions I don't quite understand the rationale here. According to https://postgis.net/source/, 2.3 and 2.4 are supported. Why remove them.
Harbormaster completed remote builds in B20859: Diff 50533.Nov 17 2018, 7:16 PM2018-11-17 19:16:26 (UTC+0)
Comment Actions
I had made a proposal to be able to have a postgis USE to select the version we want but it was never followed (except rainer ;) ). What I would like is to be able to have packages postgresql10-postgis25 postgresql95-postgis25 ... postgresql10-postgis24, postgresql95-postgis24... etc. ala debian, but I don't think this is feasible and what about maintainability? In any case, I doubt that there is a real need to maintain several versions of postgis concurrently. Rainer, what's your opinion? If you think we should leave the other ports, I will. On the other hand, all ports that must depend on postgis will depend on the latest current version.
Comment Actions
[..snip..]
I would be fine with having only one PostGIS version for all PostgreSQL versions. Version 2.5 will work with all existing PostgreSQL versions except of 9.3, which is EOL now[1]. On the other hand, there are several older versions already installed. For these versions, the users have to migrate their PostGIS data to the newer version 2.5. This migration can be painful with complex data ... Another problem could be, that future versions of PostgreSQL on FreeBSD again will need two PostGIS versions, e.g. 2.5 and 3.x [1] https://trac.osgeo.org/postgis/wiki/UsersWikiPostgreSQLPostGIS Comment Actions
mmm... I agree with you. OK to let all versions still supported upstream. But pgrouting and (others?) will be linked by default with the latest version of PostGIS.
These are two major versions, so for me, it doesn't cause me any problems to have these two versions together.
This revision is now accepted and ready to land.Nov 26 2018, 3:56 PM2018-11-26 15:56:35 (UTC+0) lbartoletti edited the summary of this revision. (Show Details)Dec 1 2018, 6:55 AM2018-12-01 06:55:03 (UTC+0) Comment Actions
Hi Loïc, Thanks for your work, really appreciated.
Comment Actions Beside the in-line comment:
Thank you for your hard work on postgis.
lbartoletti added inline comments. lbartoletti marked 2 inline comments as done. This revision now requires review to proceed.Dec 15 2018, 9:29 PM2018-12-15 21:29:40 (UTC+0) Comment Actions Thank you mat and sunpoet. Comment Actions
@mat @sunpoet gentle ping to a (last hope ;) ) review. Thank you Comment Actions LGTM. BTW, it would be great to sort USES, e.g. USES=... pgsql pkgconfig ... Thanks for your work!
Comment Actions
Done. Thank you Comment Actions
On the contrary, I have changed this logic so that the latest version is simply called "postgis". This simplifies the updating of the ports that depend on it and you can install the latest version without worrying about the version number. The only disadvantage to this is that in case of package updates, it will be necessary to update the database with the new extension. What do you think about that @rhurlin_gwdg.de ? Comment Actions Hi Loïc, I also tend to simplifying the name of the latest postgis ports version. The problem is, as you said before, that 'automated' updates like with pkg, poudriere, portmaster etc. do not point out, that a second step like 'ALTER EXTENSION postgis* UPDATE' is necessary. It is something like updating PostgreSQL itself and doing a dump before and a restore after the update, or pg_upgrade, depending on the situation. It would be nice to have a really good message for users after the PostGIS update process is done. This is often tricky, because several databases could need this ALTER EXTENSION, accessible by different users. But this is also the case with a PostGIS port, numbered by its version (e.g. postgis25). Perhaps, something like a user tunable knob and a mechanism for automated post upgrade steps could be of interest here? Comment Actions Hi rainer, It's a good idea and I think it should be complementary to https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213038 For this tour, I propose to stay on the name "postgis25" in order to merge it and we look at that in another ticket. Herald added a reviewer: Core Team. · View Herald TranscriptFeb 27 2019, 9:39 PM2019-02-27 21:39:54 (UTC+0) Comment Actions Remove core, the herald rule was over broad. Personal note: I'm unconvinced the triggering text "GNU General Public License" belongs in pkg-descr. Comment Actions
This pkg-descr was here before me, I can change it, but please I would like to do it in another PR to update all Postgis ports. Harbormaster completed remote builds in B23055: Diff 55009.Mar 13 2019, 6:37 AM2019-03-13 06:37:24 (UTC+0) This revision was not accepted when it landed; it landed in state Needs Review.Mar 15 2019, 12:47 AM2019-03-15 00:47:19 (UTC+0) Closed by commit rP495753: - Repocopy postgis24 --> postgis25 and update to 2.5.2 (authored by wen). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 54006 MOVED
databases/Makefile
databases/pgrouting/Makefile
databases/pgrouting/distinfo
|
This is a xdma_desc_dmamap_cb in , the name is too short and nondescript. I do not think descriptor allocation belongs in xdma at all, but this is wrong nonetheless.