Bug 1376389 - Tracker for grafana dependencies
Summary: Tracker for grafana dependencies
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: grafana
Version: 1.0 (Essex)
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Matthias Runge
QA Contact: Udi Shkalim
URL:
Whiteboard: tracker
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
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-15 10:10 UTC by Matthias Runge
Modified: 2019-09-03 06:33 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-07-17 19:49:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


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