Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1376389

Summary: Tracker for grafana dependencies
Product: Red Hat OpenStack Reporter: Matthias Runge <mrunge>
Component: grafanaAssignee: Matthias Runge <mrunge>
Status: CLOSED NOTABUG QA Contact: Udi Shkalim <ushkalim>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.0 (Essex)CC: fdinitto, jschluet, mmagr, mrunge, piotr1212
Target Milestone: ---Keywords: Tracking, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: tracker
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-17 19:49:03 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:
Bug Depends On: 1211821, 1370451, 1375986, 1376387, 1376407, 1376412, 1376437, 1376659, 1376689, 1376691, 1376719, 1377227, 1377229, 1377262, 1377343, 1377473, 1378416, 1378417, 1378420, 1378423, 1430143, 1689595, 1690185, 1691948    
Bug Blocks:    

Description Matthias Runge 2016-09-15 10:10:16 UTC

Comment 2 Piotr Popieluch 2017-02-19 13:16:58 UTC
Nice.

I was interested in packaging Grafana but I eventually gave up due to too many nodejs packages missing. 

Will try to help you.

Comment 3 Matthias Runge 2017-02-20 08:09:22 UTC
Thank you, very much appreciated.

Fun fact is, most of the deps are not required, as we have such tools as "cp" or "cat" available on the build system itself.

Comment 4 Piotr Popieluch 2017-02-20 12:22:14 UTC
I see this is for OpenStack, not Fedora. Are there different rules on bundling libraries? A quick check tells me there are 259 modules missing in Fedora Rawhide...

I've just run this in my Grafana git repo dir, not sure if it is accurate:

for module in $( find . -name node_modules -type d -exec ls -1 {} \; | sort -u); do dnf --enablerepo=rawhide whatprovides "npm($module)" >/dev/null 2>&1; if [ $? -ne 0 ]; then echo "npm($module) not found"; fi; done

Comment 5 Matthias Runge 2017-02-20 21:09:41 UTC
Uhm, actually I was trying to get this in line for Fedora, and that would fit for OpenStack as well. When I started (grafana-2.0.2), you could replace most of the node packages by 'cp' and 'cat'. That changed since then.