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
It occurred to me that despite the design of the essential layout, it might be possible to provide a compatible view of the repo that mimics the flat layout (or maybe the src layout) by leveraging subrepos (i.e. Git submodules).
And it makes me wonder, can a repo have a submodule into itself? I'm imagining something like:
In the main branch, store the code in the essential layout. In another branch, which I've yet to name, but maybe full or merged, it would have all of the ancillary details manifest (perhaps by tooling) and then link to the code in a src layout or flat layout:
This approach could provide a compatibility layer and branch where the ancillary details could be statically manifest for tools that require them (such as pip install from repo).
The text was updated successfully, but these errors were encountered:
It occurred to me that despite the design of the essential layout, it might be possible to provide a compatible view of the repo that mimics the flat layout (or maybe the src layout) by leveraging subrepos (i.e. Git submodules).
And it makes me wonder, can a repo have a submodule into itself? I'm imagining something like:
In the
main
branch, store the code in the essential layout. In another branch, which I've yet to name, but maybefull
ormerged
, it would have all of the ancillary details manifest (perhaps by tooling) and then link to the code in a src layout or flat layout:This approach could provide a compatibility layer and branch where the ancillary details could be statically manifest for tools that require them (such as pip install from repo).
The text was updated successfully, but these errors were encountered: