Azure-Samples / openai

The repository for all Azure OpenAI Samples complementing the OpenAI cookbook.
https://aka.ms/azure-openai
MIT License
1.05k stars 353 forks source link

Surface Australia On-Site service and repair.pdf file path too long, unnable to clone the repo #88

Open Fr4nc3 opened 8 months ago

Fr4nc3 commented 8 months ago

Please provide us with the following information:

I forked this repository, and when I tried to clone it with GitHub desktop, I got an error because this file's path is too long. I tried to download the zip file, and I got the same error, but I was able to skip the file when extracted the repo from the zip file _azure-samples-openai-main/End_to_end_Solutions/AOAISearchDemo/data/surface_device_documentation/Commercial service & repair/Service & repair options/Service & repair features/Surface Australia On-Site service and repair.pdf_

This issue is for a: (mark with an x)

- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [x] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

  1. Fork this repo
  2. In your repo click Code
  3. Open with GitHub repo
  4. Durin the clone process you will get an error
  5. If you download the zip file you get the same error but you can skip the file

Any log messages given by the failure

Cloning into 'C:\azure-samples-openai\azure-samples-openai'... remote: Enumerating objects: 2030, done.
remote: Counting objects: 100% (835/835), done.
remote: Compressing objects: 100% (360/360), done.
remote: Total 2030 (delta 474), reused 654 (delta 378), pack-reused 1195
Receiving objects: 100% (2030/2030), 195.65 MiB | 35.65 MiB/s, done. Resolving deltas: 100% (851/851), done. error: unable to create file End_to_end_Solutions/AOAISearchDemo/data/surface_device_documentation/Commercial service & repair/Service & repair options/Service & repair features/Surface Australia On-Site service and repair.pdf: Filename too long Updating files: 100% (623/623), done. 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 :/'

Would you like to retry cloning ?

Expected/desired behavior

I should clone without a problem

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?) Windows 11 PRO

azd version?

run azd version and copy paste here.

Versions

Mention any other details that might be useful


Thanks! We'll be in touch soon.