# Best practice to use sources on a monorepository

**URL:** <https://discourse.julialang.org/t/best-practice-to-use-sources-on-a-monorepository/135074>\
**Category:** Package Management\
**Created:** [January 15, 2026, 12:49pm UTC](https://discourse.julialang.org/t/best-practice-to-use-sources-on-a-monorepository/135074 "2026-01-15T12:49:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![termi-official](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/termi-official/32/47815_2.png) [@termi-official](https://discourse.julialang.org/u/termi-official)\
**Post date:** [January 15, 2026, 12:49pm UTC](https://discourse.julialang.org/t/best-practice-to-use-sources-on-a-monorepository/135074/1 "2026-01-15T12:49:51Z")

</div>

Hi everyone,

I am wondering if there is an easy way to source a full monorepository without adding _all_ subdirectories manually to the sources section. The problem from my perspective is essentially that adding all subdirectories manually is quite error prone in complex projects. We might be in the scenario that we accidentally miss adding one of them in the development cycle of new subpackage. Adding all subpackages can become necessary if we have systematic changes in the monorepository, as for example when introducing subtle breaking changes. The section [11. Project.toml and Manifest.toml · Pkg.jl](https://pkgdocs.julialang.org/v1/toml-files/#The-%5Bsources%5D-section) does not contain much information about this. I would have assumed from reading the docs that `WithinMonorepo = {url = "https://github.org/author/BigProject"}` would do the trick – but it does not.
