Right now, the hydra-kernel package in Haskell includes Hydra/Sources, i.e. the Haskell-based sources of truth for the Hydra kernel. The hydra-kernel packages for Java and Python do not have these sources, because they are not written in Java or Python, and are not copied into dist/java/hydra-kernel or dist/python/hydra-kernel, respectively.
Arguably, the sources should not be copied into dist/haskell/hydra-kernel either; they are not needed anywhere outside of Hydra's own repository, and they bloat the hydra-kernel dependency. If module sources are needed, the fully-typed generated JSON would be much more generally useful, and this is not currently included.
The same goes for Java sources in hydra-java, and Python sources in hydra-python; don't include them in the distributions.
Right now, the
hydra-kernelpackage in Haskell includes Hydra/Sources, i.e. the Haskell-based sources of truth for the Hydra kernel. Thehydra-kernelpackages for Java and Python do not have these sources, because they are not written in Java or Python, and are not copied intodist/java/hydra-kernelordist/python/hydra-kernel, respectively.Arguably, the sources should not be copied into
dist/haskell/hydra-kerneleither; they are not needed anywhere outside of Hydra's own repository, and they bloat the hydra-kernel dependency. If module sources are needed, the fully-typed generated JSON would be much more generally useful, and this is not currently included.The same goes for Java sources in
hydra-java, and Python sources inhydra-python; don't include them in the distributions.