codio / boxparts

Simple package manager
https://codio.com
Other
29 stars 26 forks source link

Possibility of a 9.4 postgres package. #173

Open Garbee opened 10 years ago

Garbee commented 10 years ago

So, looking over the python2/3 setup, we could setup postgresql to work in the same manner. Where a "common_version" is defined which the config files are placed under. This would not solve the dependency problem of say php5-pdo-pgsql requiring postgres 9.3 and installing that when you already have 9.4 present. But, the services are named differently, so just like the MariaDB being installed and php5-pdo-mysql installing MySQL it shouldn't be an issue since the configs and data directories are completely separate and the dev chooses which one to start.

The problem is, due to the base postgres package needing to be modified (and possibly changing where config files are placed in an update) would that be doable? Boxes could update to then have configs moved around and things break.

dignifiedquire commented 10 years ago

This is for handling postgres versions on a mac, might be some pointers or ideas in there https://github.com/petere/homebrew-postgresql

sirwolfgang commented 9 years ago

I opened a PR for the needed changes. I not sure how that will effect current boxes? Do we need to have a deprecated stub that allows uninstall?

Also for some reason it doesnt seem to build 9.4 correctly, or rather past the tests.