mirror of
https://github.com/dbcli/pgcli.git
synced 2024-09-11 13:56:36 +03:00
Add instructions for RPM and DEB package building.
This commit is contained in:
parent
c7f173d4ca
commit
e1958c0f9b
38
DEVELOP.rst
38
DEVELOP.rst
@ -84,3 +84,41 @@ 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.
|
||||
|
||||
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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user