这是indexloc提供的服务,不要输入任何密码
Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: cirruslabs/tart
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.8.4
Choose a base ref
...
head repository: cirruslabs/tart
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1.9.0
Choose a head ref
  • 2 commits
  • 4 files changed
  • 2 contributors

Commits on Jul 11, 2023

  1. Configuration menu
    Copy the full SHA
    ad566fa View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2023

  1. Allow mounting a single directory without a name (#555)

    * Allow mounting a single directory without a name
    
    To utilize `VZSingleDirectoryShare` which seems more stable than `VZMultipleDirectoryShare`.
    
    We've been having reports from users that mounted directories occasionally return "no such file" errors when building large projects. I took a stab at reproducing the issue by running https://github.com/devMEremenko/XcodeBenchmark in a mounted directory:
    
    ```bash
    tart run --dir=workdir-test:~/workspace-temp/XcodeBenchmark ventura-xcode
    ```
    
    And I was able to reproduce the "no such file" error on the first try! After looking into the issue I decided to try `VZSingleDirectoryShare` as this PR changes and to my pleasant surprise it all worked like a charm the next run. So it seems there is a bug in `VZMultipleDirectoryShare` integration with virtiofs. Since in most cases users only mount a single directory it makes sense to allow doing it wihtout providing a `name`.
    
    So now it will be possible to run the following command:
    
    ```bash
    tart run --dir=~/workspace-temp/XcodeBenchmark ventura-xcode
    ```
    
    Which will make `~/workspace-temp/XcodeBenchmark` available under `/Volumes/My Shared Files/` without any intermediate directories.
    
    * Reformat
    
    * Updated description
    fkorotkov authored Jul 12, 2023
    Configuration menu
    Copy the full SHA
    cf9a3a9 View commit details
    Browse the repository at this point in the history
Loading