Hi,
I was further thinking about splitting the core cockpit and the recent 'pkg' plugins to allow independent build for each of them.
I would expect that plugins will share same set of run/build dependencies and I don't think the 'first class' plugins shall maintain their dependencies on its own.
I think it would be beneficial to define (and further maintain) shared set of nodejs/bower deps as separate .rpms (or .debs), like
cockpit-nodejs-...rpm - just nodejs
cockpit-nodejs-modules-...rpm - all node_modules
cockpit-bower-...rpm - tentative, probably deprecating in favour of nodejs/webpack
The build will require these packages.
The resulting source tarball(s) will be much smaller since just the sources and not dependencies will be included.
Potential licence issues can be solved just once.
There will be still control over dependencies but with more flexibility.
Any ideas?
Thanks,
Marek