On 06/19/2013 04:45 AM, T.C. Hollingsworth wrote:
On Tue, Jun 18, 2013 at 2:21 AM, Tomas Hrcka <thrcka(a)redhat.com> wrote:
> when tinkering with packaged nodejs I have found that 'npm list --global'
> complains about missing README.md files.
> how do we fix this? I suggest linking README file in rpm spec and rebuild of
> all affected packages.
I'd really rather not do that. That symlink will dangle if
"tsflags=nodoc" is used in yum.conf, and we really shouldn't be
putting documentation (or even symlinks to it) in /usr/lib in Fedora
RPMs. Plus, once you do that, it might be confusing if README exists
in the module directory but other documentation do not. (At least
when they're all missing it's consistent.)
You are right I absolutely forgot that you can disable doc in yum.conf.
Instead I'd prefer to just silence this warning when `npm -g` is used
on Fedora. (But not without `-g`; I think this warning is useful for
modules under development.) Will that work for you?
Yes I think that will be ok. How do you want to do that? Carry fedora
specific npm patch or is there option in npm config to disable it?
nodejs mailing list
-- Tomas Hrcka