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: | 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
http://geodjango.org/docs/create_template_postgis-debian.sh
it probably works on debian too...
Attachments (2)
Change History (8)
by , 15 years ago
Attachment: | create_template_postgis-ubuntu-10.04.sh added |
---|
by , 15 years ago
Attachment: | update-create-postgis-template-script.patch added |
---|
comment:1 by , 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 , 15 years ago
Triage Stage: | Unreviewed → Accepted |
---|
follow-up: 5 comment:3 by , 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 , 14 years ago
Severity: | → Normal |
---|---|
Type: | → Cleanup/optimization |
comment:5 by , 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 , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
This issue has been fixed some time ago by r15520.
a patch to update create postgis template script