1
0
Fork 0

Add instructions for RPM and DEB package building.

This commit is contained in:
Amjith Ramanujam 2015-04-14 22:16:13 -07:00
parent c7f173d4ca
commit e1958c0f9b
2 changed files with 42 additions and 1 deletions

View File

@ -83,4 +83,42 @@ is to launch `psql -E` and entering `\l`.
That will print the results and also print the sql statement that was executed
to produce that result. In most cases it's a single sql statement, but sometimes
it's a series of sql statements that feed the results to each other to get to
the final result.
the final result.
Building RPM and DEB packages
-----------------------------
You will need Vagrant 1.7.2 or higher. In the project root there is a
Vagrantfile that is setup to do multi-vm provisioning. If you're setting things
up for the first time, then do:
::
$ version=x.y.z vagrant up debian
$ version=x.y.z vagrant up centos
If you already have those VMs setup and you're merely creating a new version of
DEB or RPM package, then you can do:
::
$ version=x.y.z vagrant provision
That will create a .deb file and a .rpm file.
The deb package can be installed as follows:
::
$ sudo dpkg -i pgcli*.deb # if dependencies are available.
or
$ sudo apt-get install -f pgcli*.deb # if dependencies are not available.
The rpm package can be installed as follows:
::
$ sudo yum install pgcli*.rpm

View File

@ -5,11 +5,13 @@ Features:
---------
* Add support for auto-completing view names. (Thanks: darikg_)
* Add support for building RPM and DEB packages. (Thanks: dp_)
Bug Fixes:
----------
* Fix the table formatting while printing multi-byte characters (Chinese, Japanese etc). (Thanks: `蔡佳男`_)
* Fix a crash when pg_catalog was present in search path. (Thanks: darikg_)
0.16.3
======
@ -186,3 +188,4 @@ Improvements:
.. _`Daniel Rocco`: https://github.com/drocco007
.. _`Jay Zeng`: https://github.com/jayzeng
.. _`蔡佳男`: https://github.com/xalley
.. _dp: https://github.com/ceocoder