unison icon indicating copy to clipboard operation
unison copied to clipboard

Share Search ignores definitions within subprojects

Open ChrisPenner opened this issue 1 year ago • 2 comments

At the moment search ignores things within libs, but it uses dependency mounts to do this, and we don't make a distinction between actual lib dependencies and sub-projects at the moment.

Edit: Whoops, this issue should be on Share.

ChrisPenner avatar Feb 14 '24 18:02 ChrisPenner

What are subprojects?

ceedubs avatar Feb 14 '24 21:02 ceedubs

A "subproject" is detected wherever you have non-root namespaces with their own libs in your branch:

If myproject is your root namespace (i.e. your branch root)

myproject
├── lib
│   └── base
└── examples
    └── thing
        └── lib
            └── base

Here myproject.examples.thing is inferred to be a subproject because it's got a lib namespace with something in it.

ChrisPenner avatar Feb 15 '24 00:02 ChrisPenner