This tiny guide shows you how you can use TripleO UI dependencies packaged in
openstack-tripleo-ui-deps
during development.
Why? Many of our dependencies in package.json
aren't pinned down to a
specific version. This can cause problems when a small change is introduced in
one or more of our dependencies. You can get the dependencies from the upstream
RPM to see what will be included in production, and how you change will be affected.
Go to https://trunk.rdoproject.org/centos7-master/deps/el7/SRPMS/ and download the
latest openstack-tripleo-ui-deps
source RPM.
$ mkdir rpm
$ cd rpm
$ wget http://....
$ rpm2cpio openstack-tripleo-ui-deps-<...>.src.rpm | cpio -imdv
$ tar xf tripleo-ui-deps-*.tar.gz
$ ls
dist/ src/ rpm/ package.json
$ mv rpm/node_modules .
In RDO Rocky buildtime-only deps are in https://trunk.rdoproject.org/centos7-master/build-deps/latest/SRPMS/