Bug 1553866

Summary: Review Request: nodejs-libpq - Node native bindings to the PostgreSQL libpq C client library
Product: [Fedora] Fedora Reporter: Tom Hughes <tom>
Component: Package ReviewAssignee: Robert-André Mauchin 🐧 <eclipseo>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: eclipseo, package-review
Target Milestone: ---Flags: eclipseo: fedora-review+
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: 2021-06-07 13:13:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 956806    

Description Tom Hughes 2018-03-09 18:06:19 UTC
Spec URL: http://tomh.fedorapeople.org//nodejs-libpq.spec
SRPM URL: http://tomh.fedorapeople.org//nodejs-libpq-1.8.7-1.fc27.src.rpm

Description:
Node native bindings to the PostgreSQL libpq C client library. This module
attempts to mirror as closely as possible the C API provided by libpq and
provides the absolute minimum level of abstraction. It is intended to be
extremely low level and allow you the same access as you would have to libpq
directly from C, except in node.js! The obvious trade-off for being "close to
the metal" is having to use a very "c style" API in JavaScript.

Comment 1 Tom Hughes 2018-03-09 18:06:24 UTC
This package built on koji:  https://koji.fedoraproject.org/koji/taskinfo?taskID=25585484

Comment 2 Robert-André Mauchin 🐧 2018-03-09 18:49:56 UTC
 - Tests fail in fedora-review:

+ pg_ctl start -w -D pg_data -l pg_log -o '-k /builddir/build/BUILD/package -p 12345'
waiting for server to start.... done
server started
+ createdb -h /builddir/build/BUILD/package -p 12345 test
+ PGHOST=/builddir/build/BUILD/package
+ PGPORT=12345
+ PGDATABASE=test
+ /usr/bin/mocha -t 10000
  async connection

    ✓ works

    ✓ works with hard-coded connection parameters

    1) returns an error to the callback if connection fails
  2 passing (10s)
  1 failing
  1) async connection returns an error to the callback if connection fails:
     Error: timeout of 10000ms exceeded. Ensure the done() callback is being called in this test.
  
BUILDSTDERR: erreur : Mauvais statut de sortie pour /var/tmp/rpm-tmp.ftIlhM (%check)


Seems to work in Koji though: https://koji.fedoraproject.org/koji/taskinfo?taskID=25585943

Everything else is fine so package approved.

Comment 3 Gwyn Ciesla 2018-03-09 19:00:36 UTC
(fedrepo-req-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/nodejs-libpq

Comment 4 Mattia Verga 2021-06-07 13:13:15 UTC
Package imported and later retired, closing ticket.