Opened 5 years ago

Closed 3 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 5 years ago.
update-create-postgis-template-script.patch (988 bytes) - added by neskiem@… 5 years ago.
a patch to update create postgis template script

Download all attachments as: .zip

Change History (8)

Changed 5 years ago by anonymous

Changed 5 years ago by neskiem@…

a patch to update create postgis template script

comment:1 Changed 5 years ago by ramiro

  • Has patch set
  • Needs documentation unset
  • Needs tests unset
  • 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 Changed 5 years ago by russellm

  • Triage Stage changed from Unreviewed to Accepted

comment:3 follow-up: Changed 5 years ago by neskiem@…

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 Changed 4 years ago by julien

  • Severity set to Normal
  • Type set to Cleanup/optimization

comment:5 in reply to: ↑ 3 Changed 4 years ago by akaihola

  • 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 Changed 3 years ago by claudep

  • Resolution set to fixed
  • Status changed from new to closed

This issue has been fixed some time ago by r15520.

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