On 6/4/26 6:05 PM, Manfred Stock wrote:
I'd also vote for removing the postinst script from
openstreetmap-carto-common. Not just because it currently doesn't work
out-of-the-box, but also because it might not actually be that useful
anymore. The way I understand it, the get-external-data.py script (or
its predecessor) originally downloaded (shape-) files with e.g.
coastlines, extracted them and stored them in a 'data' directory where
they were referenced from the style. So it made sense to run it after
the installation in order to have this data, which is required for
rendering, already downloaded and ready.

However, for a couple versions of the style now, it doesn't store the
files anymore, it imports them into a running PostgreSQL/PostGIS
database where the corresponding tables are then used by the style (in
order to be able to actually render anything, an OSM extract or planet
must be imported into the same database, too). So I guess that this
change in behavior is what actually somewhat broke the postinst script -
originally, no database access was required, but now it is.

Since you actually use the package, I suggest you get more involved in its 
maintenance, I'm just keeping it on life support and have already had it 
removed from the archive once before because no one was willing and able to fix 
node-carto until josch needed to scratch that itch.

I was waiting for him to chime in on this issue, but he hasn't touched this 
package since 2022.

Kind Regards,

Bas

--
 PGP Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1

Reply via email to