Opened 15 years ago

Closed 13 years ago

#13340 closed Cleanup/optimization (fixed)

patch for updating postgis template script for ubuntu 10.04

Reported by: neskiem@… Owned by: nobody
Component: Documentation Version: 1.1
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: yes
Easy pickings: no UI/UX: no

Description

Attachments (2)

create_template_postgis-ubuntu-10.04.sh (661 bytes ) - added by anonymous 15 years ago.
update-create-postgis-template-script.patch (988 bytes ) - added by neskiem@… 15 years ago.
a patch to update create postgis template script

Download all attachments as: .zip

Change History (8)

by neskiem@…, 15 years ago

a patch to update create postgis template script

comment:1 by Ramiro Morales, 15 years ago

Has patch: set
Patch needs improvement: set

The current Debian stable release ships postgres 8.3 and postgis 1.3.3 and so the /usr/share/postgresql-8.3-postgis is the correct one to be used in the create_template_postgis-debian.sh script.

Making things work in a straightforward way for Ubuntu users is a good thing but it shouldn't break thing for people that use the script on stabler distributions/releases,m for that you could contribute another separate script.

Also, ideally it would me more robust than simply changing the path to the one used in the latest Ubuntu release. One possible approach would be to test for existence a sequence of paths corresponding to the postgis version as shipped wit all the officially supported Ubuntu releases, test them for existence one by one and setting the value of the POSTGIS_SQL_PATH variable to the one first found to be there. IMHO people using alpha/beta releases of a distribution are expected to cope with manually editing a shell file.

comment:2 by Russell Keith-Magee, 15 years ago

Triage Stage: UnreviewedAccepted

comment:3 by neskiem@…, 15 years ago

Perhaps there could be two scripts:

create_template_postgis-debian.sh for Debian stable
create_template_postgis-debian-unstable.sh for Debian unstable

I wonder if the package maintainers would consider putting this script in itself, and they would maintain it, because they know exactly where those files are going to be, because they have the README and change it when necessary.

comment:4 by Julien Phalip, 14 years ago

Severity: Normal
Type: Cleanup/optimization

in reply to:  3 comment:5 by Antti Kaihola, 13 years ago

Easy pickings: unset
UI/UX: unset

Replying to neskiem@…:

I wonder if the package maintainers would consider putting this script in itself, and they would maintain it, because they know exactly where those files are going to be, because they have the README and change it when necessary.

Do you mean distribution package maintainers?

A lot of developers on Debian-based systems install Django from a tarball or from the repository instead of using distribution packages. For this reason, I think these scripts belong to the repository and not only distribution packages.

See also #17584 for an updated script which supports Ubuntu 11.10 and derivatives.

comment:6 by Claude Paroz, 13 years ago

Resolution: fixed
Status: newclosed

This issue has been fixed some time ago by r15520.

Note: See TracTickets for help on using tickets.
Back to Top