Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please dont use colons in file names. It will cause issues in windows! #43

Closed
shaneholloman opened this issue Sep 30, 2024 · 3 comments
Closed
Labels
bug Something isn't working OS:Windows

Comments

@shaneholloman
Copy link
Contributor

https://github.com/av/harbor/blob/main/ollama/modelfiles/llama3.1%3A8b.Modelfile#L8

@shaneholloman shaneholloman changed the title Please dont uswe colons in file names. It will cause issues in windows! Please dont use colons in file names. It will cause issues in windows! Sep 30, 2024
@shaneholloman
Copy link
Contributor Author

shane @ moa ❯ _repos ❯ gh repo clone shaneholloman/harbor
Cloning into 'harbor'...
remote: Enumerating objects: 2168, done.
remote: Counting objects: 100% (726/726), done.
remote: Compressing objects: 100% (447/447), done.
Rremote: Total 2168 (delta 266), reused 684 (delta 229), pack-reused 1442 (from 1)
Receiving objects: 100% (2168/2168), 6.14 MiB | 1.37 MiB/s, done.
Resolving deltas: 100% (1097/1097), done.
error: invalid path 'ollama/modelfiles/llama3.1:8b.Modelfile'
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 :/'

failed to run git: exit status 128
shane @ moa ❯ _repos  ❯

@av av added bug Something isn't working OS:Windows labels Sep 30, 2024
@av
Copy link
Owner

av commented Sep 30, 2024

Thanks for bringing this to my attention (and for the PR!), I'll keep an eye on cases like these from now on

@av
Copy link
Owner

av commented Oct 4, 2024

Closing this for now, since this was resolved with your PR (thanks again!)

Please, feel free to follow-up or open a new issue if anything similar happens again.

@av av closed this as completed Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working OS:Windows
Projects
None yet
Development

No branches or pull requests

2 participants