You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Builds from source repositories: control submodule pull #127
Lately I've been building most packages directly from their source repositories. Not best-practice perhaps, but in this case a necessity.
Adding an entry to rosdistro_additional_recipes.yaml is easy enough and works well.
Some of those repositories however use submodules, and similar to the motivation given in prefix-dev/rattler-build#2107 it would be nice if we could prevent those submodules from getting pulled: they may not be necessary for the build of a particular package from a set of packages in a (mono)repository or undesired for other reasons.
prefix-dev/rattler-build#2158 seems to have added a way to make rattler-build ignore them, but I couldn't find a way for Vinca to generate recipes that added the submodules: false key-value pair to the source dict.
Would there be interest in adding this? If so, what would be the nicest way of doing that?
This works (add a submodules: false to rosdistro_additional_recipes.yaml for a specific package and the recipe generated will contain the required key as well).
It's a hack because I don't like I'm directly indexing into vinca_conf, but without spending more time I couldn't immediately see a way to access the key-value pairs for a specific package in rosdistro_additional_recipes.yaml.
Edit: it only 'works' with rattler-build>=0.58 btw, as that's the first release that included prefix-dev/rattler-build#2158.
Activity
gavanderhoorn commentedon Jul 18, 2026
I currently have a very ugly hack that adds this to
main.py:This works (add a
submodules: falsetorosdistro_additional_recipes.yamlfor a specific package and the recipe generated will contain the required key as well).It's a hack because I don't like I'm directly indexing into
vinca_conf, but without spending more time I couldn't immediately see a way to access the key-value pairs for a specific package inrosdistro_additional_recipes.yaml.Edit: it only 'works' with
rattler-build>=0.58btw, as that's the first release that included prefix-dev/rattler-build#2158.Tobias-Fischer commentedon Jul 24, 2026
I think this works for me if you want to open a pull request @gavanderhoorn