Hi Jerry,
Jerry James <loganjerry(a)gmail.com> writes:
Back when I started working on packaging the dependencies of odoc, I
had a vision of a tree of nicely cross-referenced documentation for
Fedora OCaml packages. That vision has not come to pass, and probably
never will. To achieve it, we would have to do bootstrap builds of
all packages in the odoc dependency tree, then start the builds over
again with documentation included. That would be a big hassle. Most
of the documentation is online anyway, and OCaml developers will
probably use opam to generate a tree of nicely cross-linked
documentation, so the payoff for doing that extra work would be small.
As a result, I propose that going forward we remove odoc from the
BuildRequires of OCaml packages and consequently stop building the
documentation. Does anybody object?
I do not object as I don't have the cycles to make odoc build.
However after a call with Marián today, he brought up the idea of
bootstrapping odoc similarly to how it is done for Maven. If I
understood it correctly, then Maven is bootstrapped from bundled source
(maven + all of its dependencies), that are then build from scratch and
afterwards Maven builds its dependencies from the bootstrap and then
finally itself again from the bootstrapped dependencies.
Could we maybe use this approach with odoc? I.e. we "just" dump all of
its dependencies into a huge tarball, build them all into the buildroot
only and build odoc from that?
Cheers,
Dan