Currently the structure of _sources is just _sources/<package>/<version>. Suppose we allowed _sources/**/<package>/<version>. Then you could do things like this:
_sources/plutus
- plutus-core/...
- plutus-ledger-api/...
_sources/hackage-patches
- flat/...
And so on.
What's the benefit here? One is purely psychological: it lets people group stuff in a way that maybe makes more sense to them. The other is that it makes it much simpler to define e.g. a CODEOWNERS file, where you could match on plutus/* rather than having to list every package.
The intervening directories would of course have no effect on the build, so you could move them around freely.
Currently the structure of
_sourcesis just_sources/<package>/<version>. Suppose we allowed_sources/**/<package>/<version>. Then you could do things like this:And so on.
What's the benefit here? One is purely psychological: it lets people group stuff in a way that maybe makes more sense to them. The other is that it makes it much simpler to define e.g. a
CODEOWNERSfile, where you could match onplutus/*rather than having to list every package.The intervening directories would of course have no effect on the build, so you could move them around freely.