On Thu, Oct 1, 2020 at 12:50 PM Andreas Gerstmayr <agerstmayr(a)redhat.com> wrote:
[starting a new thread, I guess my last reply to another thread got lost]
I'm one of the maintainers of Grafana in Fedora.
Latest Grafana has:
$ du -sch node_modules
Some of the largest dependencies:
$ du -d 1 -am node_modules | sort -n -r | head -n 20
$ ls node_modules | wc -l
Compressing the node_modules folder using zstd:
default level: 183 MB
zstd level 19: 111 MB
How can/should we bundle that? Is this size acceptable for a SRPM?
Bundling it would allow us to build the frontend and run the frontend
tests as part of the spec, and we can apply patches properly (without
(re)generating anything locally). Most of the patches at least, in case
some security patch requires an upgrade of a npm dependency, we also
need to recreate the vendor tarball.
It's fine for SRPMs, we have had larger for other things. I know of
cases where entire VM disk images were added as sources in SRPMs,
making them ridiculously large.
真実はいつも一つ！/ Always, there's only one truth!