oxidized icon indicating copy to clipboard operation
oxidized copied to clipboard

Cannot clone git repository on windows

Open robertcheramy opened this issue 9 months ago • 0 comments

Describe the bug Due to model unit tests using : as a delimiter in the filename, the oxidized repository cannot be cloned on a Windows system. Oxidized is not intended to run on Windows, but it is nice to be able to clone a repo in order to inspect the code.

I propose to use = as a delimiter in the filename. Alternatives:

  • % is used for variable replacement (%APPDATA%)
  • $ is used for variable replacement in unix shells
  • _ and - are used in the test case descriptions
  • § and & are not a very visual separators

To Reproduce Steps to reproduce the behavior:

  1. git clone https://github.com/ytti/oxidized.git on a Windows system

Expected behavior Git clone does not fail

Logs

C:\XXX>git clone https://github.com/ytti/oxidized.git
Cloning into 'oxidized'...
remote: Enumerating objects: 16029, done.
remote: Counting objects: 100% (2314/2314), done.
remote: Compressing objects: 100% (434/434), done.
remote: Total 16029 (delta 2013), reused 1888 (delta 1880), pack-reused 13715 (from 4)
Receiving objects: 100% (16029/16029), 3.28 MiB | 11.72 MiB/s, done.
Resolving deltas: 100% (9979/9979), done.
error: invalid path 'spec/model/data/aos7:generic:prompt.yaml'
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 :/'```

Running environment (please complete the following information):

  • OS: Windows 11
  • oxidized version: latest master

robertcheramy avatar Apr 04 '25 06:04 robertcheramy