Nice. I was interested in packaging Grafana but I eventually gave up due to too many nodejs packages missing. Will try to help you.
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.
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
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.