microsoft / winget-pkgs

The Microsoft community Windows Package Manager manifest repository
MIT License
8.33k stars 4.26k forks source link

[Package Request]: PostGIS for PostgreSQL #55742

Open kirkbrauer opened 2 years ago

kirkbrauer commented 2 years ago

Package Requested

Please provide the following information

Publisher: PostGIS Project Steering Committee (PSC) Publisher Url: https://postgis.net/ Package Name: PostGIS Description: PostGIS is a spatial database extender for PostgreSQL object-relational database. It adds support for geographic objects allowing location queries to be run in SQL. Package Version: pg14-3.2.0, pg13-3.2.0, pg12-3.2.0 Installer URL: https://download.osgeo.org/postgis/windows/pg14/postgis-bundle-pg14x64-setup-3.2.0-2.exe https://download.osgeo.org/postgis/windows/pg13/postgis-bundle-pg13x64-setup-3.2.0-2.exe https://download.osgeo.org/postgis/windows/pg12/postgis-bundle-pg12x64-setup-3.2.0-2.exe

This package may not be able to be added because there are several versions active at once. For example, there are different installer URLs for PostgreSQL 12-14 (I don't think it makes sense to include versions of PostgreSQL that aren't already available on Winget) Therefore, there must be different versions for each of these PostgreSQL versions. I think the version format pg14-3.2.0 would be sufficient for this.

Another note is that the currently available installer (3.2.0) is not the latest release (3.2.1) as the installers are not immediately updated after a new version is released.

The dependencies feature of Winget would also be required to make this package automatically install the correct PostgreSQL version, but for now being separate is acceptable as most people will install these two packages separately.

TechnicaVivunt commented 2 years ago

I can create a draft for this, but until dependency support is added this application will not be able to be added most likely unless the silent installer has a way to bypass the dependency baked in.

TechnicaVivunt commented 2 years ago

56155 #56156 and #56157 should do the trick. I'll let one pass through the pipeline to see if it passes; if it passes with no issue then I'll let the other 2 through.

TechnicaVivunt commented 2 years ago

Dependencies are required to finish the installers as suspected. Converting them over to drafts until dependency support is added.

Trenly commented 1 year ago

@msftbot dependencies

stephengillie commented 3 months ago

The dependency here appears to be PostgreSQL.PostgreSQL.