Bug 1433403 - npm man pages appearing in the nodejs package
Summary: npm man pages appearing in the nodejs package
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: nodejs
Version: epel7
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: NodeJS Packaging SIG
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-03-17 15:05 UTC by Nicholas Humfrey
Modified: 2017-04-05 23:18 UTC (History)
9 users (show)

Fixed In Version: nodejs-6.10.1-3.fc26 nodejs-6.10.1-2.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-04-05 22:00:45 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Nicholas Humfrey 2017-03-17 15:05:38 UTC
In EPEL 7, npm has been split out of nodejs into its own RPM.

    $ rpm -qf /usr/bin/node
    nodejs-6.9.4-2.el7.x86_64
    $ rpm -qf /usr/bin/npm
    npm-3.10.10-1.6.9.4.2.el7.x86_64


But it looks like all the man pages are still in the nodejs RPM:

    $ rpm -ql nodejs
    /usr/bin/node
    ...
    /usr/share/man/man1/npm-README.1.gz
    /usr/share/man/man1/npm-access.1.gz
    /usr/share/man/man1/npm-adduser.1.gz
    /usr/share/man/man1/npm-bin.1.gz
    /usr/share/man/man1/npm-bugs.1.gz
    /usr/share/man/man1/npm-build.1.gz
    ...

Is this deliberate? It seems like a mistake in the package split to me.

Comment 1 Stephen Gallagher 2017-03-17 15:36:53 UTC
Yeah, it's a bug in the packages. Just an overzealous glob of the manpages.
I'm not sure it's worth fixing though, since at least on EPEL 7, the `nodejs` and `npm` packages have a two-way dependency on each other, so they cannot actually be installed separately.

It's slightly more interesting on Fedora where we have `Recommends: npm` instead of `Requires: npm`, where it's possible to have just the interpreter installed. But I'm not sure a few kilobytes of extra documentation is worth fixing, particularly when 99% of people are going to want both packages installed anyway.

Comment 2 Nicholas Humfrey 2017-03-20 16:54:14 UTC
I would have thought it was worth fixing.


I am deploying my node.js application using speculate:
https://github.com/bbc/speculate

So it actually runs npm on a Continuous Integration server and then puts the resulting files into an RPM. So in theory it doesn't need npm on the application server.

Comment 3 Fedora Update System 2017-04-03 18:51:15 UTC
nodejs-6.10.1-2.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-9d4f011d75

Comment 4 Fedora Update System 2017-04-03 19:20:41 UTC
nodejs-6.10.1-3.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-7e241462b6

Comment 5 Fedora Update System 2017-04-04 21:22:40 UTC
nodejs-6.10.1-2.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-9d4f011d75

Comment 6 Fedora Update System 2017-04-04 23:52:08 UTC
nodejs-6.10.1-3.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-7e241462b6

Comment 7 Nicholas Humfrey 2017-04-05 09:57:53 UTC
Just installed the EPEL 7 RPMs from the epel-updates repo:
nodejs-6.10.1-2.el7.x86_64
npm-3.10.10-1.6.10.1.2.el7.x86_64

I can confirm that this bug is fix now for me - the the npm man pages are now in the npm RPM.

Thank you!

Comment 8 Fedora Update System 2017-04-05 22:00:45 UTC
nodejs-6.10.1-3.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2017-04-05 23:18:15 UTC
nodejs-6.10.1-2.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.