Skip to content

setup-sourcebot emits fragile local repo bind mounts for paths with spaces #1385

Description

@DivyamTalwar

Problem

When setup-sourcebot writes docker-compose.override.yml for local repositories, it currently emits short-syntax volume entries using the raw host path. Paths containing spaces, colons, or other Compose-sensitive characters can be misparsed or fail when the generated Compose file is loaded.

Reproduction

Run the setup wizard, select a local repository under a path such as /Users/me/Code Projects/sourcebot repos/repo, and inspect the generated docker-compose.override.yml.

Expected

The generated override should use a Compose representation that safely preserves the full host path.

Actual

The host path is interpolated directly into source:target:mode short syntax.

Impact

First-run local repository indexing can fail for common host directory names, especially user-created folders containing spaces.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions