SigNoz / signoz

SigNoz is an open-source observability platform native to OpenTelemetry with logs, traces and metrics in a single application. An open-source alternative to DataDog, NewRelic, etc. 🔥 🖥. 👉 Open source Application Performance Monitoring (APM) & Observability tool
https://signoz.io
Other
17.72k stars 1.11k forks source link

cloning on windows results in "filename too long" #4497

Open johnny-smitherson opened 5 months ago

johnny-smitherson commented 5 months ago

Bug description

Please describe.

This repo has a file with a path of length 191. Windows has a hard limit for path lengths: 255. That means we have less than 60 chars for the root folder, a limit very easily reached.

Expected behavior

Clone works.

How to reproduce

  1. Install Windows 10.
  2. Make folder structure on desktop with a path of 60 chars. For example: C://Users/john/Desktop/WORK_IN_WINDOWS/project_XXXXXX/lib_docker
  3. Try to follow "self-hosted docker instructions" inside the folder above.
  4. Run command git clone -b main https://github.com/SigNoz/signoz.git && cd signoz/deploy/.
  5. Get back error from git: error: unable to create file frontend/tests/expections/index.spec.ts-snapshots/Expections-page-Should-render-the-page-with-50-26a88--in-antd-notification-with-no-data-antd-table-1-Signoz-darwin.png: Filename too long

Version information

Additional context

Workaround: clone in a root folder C://signoz, delete offending files, move repo where you wanted it to be

Thank you for your bug report – we love squashing them!

welcome[bot] commented 5 months ago

Thanks for opening this issue. A team member should give feedback soon. In the meantime, feel free to check out the contributing guidelines.