Bug 1364170

Summary: Review Request: nodejs-expand-range - Fast, bash-like range expansion
Product: [Fedora] Fedora Reporter: Jared Smith <jsmith.fedora>
Component: Package ReviewAssignee: Robert-André Mauchin 🐧 <eclipseo>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: eclipseo, hhorak, package-review, vanmeeuwen+fedora
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: 2017-09-26 18:14:53 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: 1347899, 1444628    
Bug Blocks: 956806, 1364172, 1387531, 1433764    

Description Jared Smith 2016-08-04 15:38:43 UTC
Spec URL: https://jsmith.fedorapeople.org/Packaging/nodejs-expand-range/nodejs-expand-range.spec
SRPM URL: https://jsmith.fedorapeople.org/Packaging/nodejs-expand-range/nodejs-expand-range-1.8.2-1.fc26.src.rpm
Description: Fast, bash-like range expansion
Fedora Account System Username: jsmith

Comment 1 Jared Smith 2017-04-17 14:21:17 UTC
*** Bug 1433776 has been marked as a duplicate of this bug. ***

Comment 2 Jared Smith 2017-04-17 14:21:49 UTC
*** Bug 1433775 has been marked as a duplicate of this bug. ***

Comment 4 Robert-André Mauchin 🐧 2017-09-22 15:11:45 UTC
Tests fails:

  17 passing (14ms)
  4 failing
  1) character classes: should return a string for a regex range when `true` is passed::
     AssertionError [ERR_ASSERTION]: [ '[a-e]' ] deepEqual '[a-e]'
      at Context.<anonymous> (test.js:108:12)
  2) character classes: should flip order when a sequential range is backwards:
     AssertionError [ERR_ASSERTION]: [ '(1023|1022|1021)' ] deepEqual '102[1-3]'
      at Context.<anonymous> (test.js:116:12)
  3) character classes: should return null for invalid patterns::
     AssertionError [ERR_ASSERTION]: null deepEqual []
      at Context.<anonymous> (test.js:124:12)
  4) when a custom function is used for expansions should expose the index:
      AssertionError [ERR_ASSERTION]: [ 'a', 'b', 'c', 'd', 'e' ] deepEqual [ 'a0', 'b1', 'c2', 'd3', 'e4' ]
      + expected - actual
       [
      +  "a0"
      +  "b1"
      +  "c2"
      +  "d3"
      +  "e4"
      -  "a"
      -  "b"
      -  "c"
      -  "d"
      -  "e"
       ]
      
      at Context.<anonymous> (test.js:168:12)

Comment 5 Robert-André Mauchin 🐧 2017-09-22 16:13:48 UTC
Needs an update of npm(fill-range) >= 4.0.0 (bug #1444628)

Comment 6 Robert-André Mauchin 🐧 2017-09-23 11:35:10 UTC
Works in Koji.

Package accepted.

Comment 7 Jared Smith 2017-09-24 00:32:42 UTC
'Requested package in ticket https://pagure.io/releng/fedora-scm-requests/issue/1575'

Comment 8 Gwyn Ciesla 2017-09-24 17:31:07 UTC
(fedrepo-req-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/nodejs-expand-range

Comment 9 Jared Smith 2017-09-26 18:14:53 UTC
In rawhide, closing bug