Bug 1477643

Summary: pgtune - should ignore 'requires postgresql-server' dep
Product: [Fedora] Fedora EPEL Reporter: Sage Grigull <mgrigull>
Component: pgtuneAssignee: Miroslav Suchý <msuchy>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: el6CC: msuchy
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-20 09:08:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sage Grigull 2017-08-02 14:17:59 UTC
Description of problem:
the pgtune assumes the postgresql-server has to be installed.  This conflicts with running software collections of postgres

Version-Release number of selected component (if applicable):
0.9.3

How reproducible:
enable software collections for system
install software collections version of postgres
install pgtune

Steps to Reproduce:
1. 
2.
3.

Actual results:
`yum install pgtune` attempts to install `postgresql-server`

Expected results:
`yum install pgtune` should not attempt to install `postgresql-server`.  pgtune should just fail if it cannot find the postgresql.conf in the default expected location and in that case should expect --input-config= arg

Additional info:
pgtune runs fine with scl version of postgresql server; it may require that the postgres binaries' paths are added to the default env paths and that the main system ldconf includes the scl variant libs in its search path.

Comment 1 Miroslav Suchý 2018-09-20 09:08:22 UTC
I retired this packages. Here is a copy sent to devel:

I want to retire pgtune
  https://src.fedoraproject.org/rpms/pgtune

The original upstream is dead and python2 only:
  https://github.com/gregs1104/pgtune

There is a new upstream based on the original version:
  https://github.com/le0pard/pgtune

But it is far from being simple. It is made in ruby and node.js. And I do not want to maintain it.
Additionally is no more command line tool, but web service, which is available online as well:
    https://pgtune.leopard.in.ua/#/

If you want to take overtake this package - not sure why - then please contact me. Otherwise, I will retire this package.


The current version will stay in EPEL, but do not expect any changes there.