Skip to content

Can we rename file path to avoid error on Windows (which does not support colon in file paths)? #47

@James-QiuHaoran

Description

@James-QiuHaoran

Error cloning the repository to a Windows machine:

$ git clone https://github.com/Azure/AzurePublicDataset.git
Cloning into 'AzurePublicDataset'...
remote: Enumerating objects: 3801, done.
remote: Counting objects: 100% (113/113), done.
remote: Compressing objects: 100% (41/41), done.
remote: Total 3801 (delta 88), reused 80 (delta 71), pack-reused 3688 (from 1)
Receiving objects: 100% (3801/3801), 97.22 MiB | 29.37 MiB/s, done.
Resolving deltas: 100% (297/297), done.
error: invalid path 'vm-noise-data/test_suite=Flexible_IO_Tester/test_name=Type:_Random_Read_-_IO_Engine:_Linux_AIO_-_Buffered:_No_-_Direct:_Yes_-_Block_Size:_64KB_-_Remote_Disk/vm_lifespan=long/vm_region=eastus/vm_sku=B8ms/unit=IOPS.csv'
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'

Renaming the files that contain : would resolve the issue.

For example, vm-noise-data/test_suite=Flexible_IO_Tester/test_name=Type:_Random_Read_-_IO_Engine:_Linux_AIO_-_Buffered:_No_-_Direct:_Yes_-_Block_Size:_64KB_-_Remote_Disk/vm_lifespan=long/vm_region=eastus/vm_sku=B8ms/unit=IOPS.csv

@jsfreischuetz

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions