Add folders to organize recipes/packages
Proposed:
- Add organizing directories for packages. e.g
recipes/core/recipe_name
. Packages will still appear in the config file as only their basename, socook
andinstaller
will need to search for the recipes. - Organizing directories are optional. e.g. A package can appear as
recipes/recipe_name
orrecipes/core/recipe_name
. If a directory at the base level contains arecipe.toml
orrecipe.sh
, it cannot also contain package dirs. This allows for migration. - If two packages have the same name but are in different organizing directories, e.g. "lib/libx" and "core/libx", (or if one is directly under
recipes
) a build error will occur when that package name is included in the filesystem config file. - [Optional - TBD] A special directory named
wip
or something similar is allowed to contain packages that duplicate names of packages in other directories. The package inwip
takes priority. The "[source]" section of recipes in this directory is ignored, so the source is not updated if the git repo changes. This allows a developer to work with their own fork/branch without concern that it may get updated frommaster
.
This requires changes to installer
as well as cookbook
.