Fix Copybara source mirror URI on Windows

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.1.0-rc0
    • Affects Version/s: None
    • Component/s: Bazel
    • None
    • Fully Compatible
    • Build OnDeck
    • None
    • None
    • None
    • None
    • None
    • None
    • None

        1. Summary

      Fix `get_copybara_source_mirror_url()` so the Linux container path is converted to a file URI with POSIX semantics on every host OS. Add regression coverage in `buildscripts/tests/test_sync_repo_with_copybara.py`.

        1. Operational benefit

      Windows compile-required builds no longer fail while preparing the local Copybara source mirror.

        1. Safety and compatibility

      The change only affects conversion of the fixed container-local path and preserves the existing Linux URI.

        1. Testing
      • `bazel run format`
      • `python3-venv/bin/python -m py_compile buildscripts/copybara/sync_repo_with_copybara.py buildscripts/tests/test_sync_repo_with_copybara.py`

            Assignee:
            Daniel Moody
            Reporter:
            Daniel Moody
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: