Skip to content

Workspaces: should nested workspaces be eliminated?

Created by: eseliger

When a workspace definition like

workspaces:
  - rootAtLocationOf: package.json
    onlyFetchWorkspace: true
    in: github.com/sourcegraph/sourcegraph

matches

client/branded
client/web
client/web/enterprise

What should the outcome be?

  • 3 workspaces?
  • 2 workspaces {client/branded, client/web}
  • Something entirely different?

I'm not sure, but I found this to be quite strange when I discovered it.