Opened 11 years ago

Closed 10 years ago

#2357 closed defect (fixed)

Rethink the extension script building

Reported by: robe Owned by: strk
Priority: medium Milestone: PostGIS 2.2.0
Component: build Version: master
Keywords: Cc:

Description

Right now the postgis sql files included in extension are hardcoded. This is what caused the break at #2356.

At some point we'll need to variablize this based on version we are at so changes like this don't easily break the extension build. Testing extensions would help too.

We also may have issues when there is a difference between minor and micro upgrades. right now the same script is used for all upgrades.

Change History (4)

comment:1 by robe, 11 years ago

Component: postgisbuild/upgrade/install
Owner: changed from pramsey to strk

comment:2 by strk, 10 years ago

I made it so minor and micro will always be the same script. Sounds better now ? Does it resolve this ?

comment:3 by robe, 10 years ago

I think so. I'll test later this week (probably over weekend) with upgrading from 2.0-2.1 2.0-2.2 , 2.1-2.2, 2.1.1 - 2.1.2 dev and see if I run into any issues. I'll close this out if all looks good.

comment:4 by robe, 10 years ago

Resolution: fixed
Status: newclosed

I think this is fine.

Note: See TracTickets for help on using tickets.