Repository navigation
Support package recipes under recipes/ - #151
Conversation
Keep repository assets at the checkout root and retain flat-layout support.
|
With lcg.bits (1108 Moving 1108 recipes into a subdirectory does not fix the web-UI listing cap, Half of the PR that consolidates recipe discovery into Since bits' own vocabulary is recipe throughout ( For now I'd migrate only lcg.bits, the code should continue to work with other repositories in present form. |
Keep asset-only directories compatible with flat lookups, and run the layout tests under unittest in CI.
|
Thanks @pbuncic. Updated Bits to look under |
Do not mistake a nested versioned Latest recipe for a flat-layout marker.
|
As it stands the PR makes
Required behaviour:
Note on semantics so it's a conscious choice: root precedence means a recipe copied into Everything else is ready; this precedence change (and its two tests) is the one remaining item. |
|
Thanks @pbuncic. Updated in 7a6245c: Bits now searches each checkout root first, then |
Allow flat and nested recipes to coexist without replacing root recipes, including in pinned refs.
|
OK, merged. Thanks! |
* Find package recipes under packages/ Keep repository assets at the checkout root and retain flat-layout support. * Use recipes/ for the nested recipe layout Keep asset-only directories compatible with flat lookups, and run the layout tests under unittest in CI. * Keep recipe discovery errors visible in strict scans Do not mistake a nested versioned Latest recipe for a flat-layout marker. * Search the checkout root before recipes/ Allow flat and nested recipes to coexist without replacing root recipes, including in pinned refs. --------- Co-authored-by: Juan Miguel Carceller <jmcarcell@users.noreply.github.com>
Summary
recipes/, before trying the next checkout. Both locations can coexist. A copied recipe remains shadowed until its root copy is removed.The move separates recipes from repository configuration and support files. It does not change GitHub's 1,000-entry directory listing limit.
Validation
unittestsuite ran 2,651 tests (42 skipped). Ruff andgit diff --checkpassed.zlibthrough the flat Stacks and registry checkouts; the compliance scan found 1,108 recipes.Rollout
Merge and deploy this change before lcg.bits #6, the only repository migration planned for now. Other repositories and unmigrated branches can stay flat.