Azure / Azure/azure-sdk-tools

This repo cannot be cloned on Windows because file names are too long

Open
#11,381 0 comments 0 reactions 0 assignees View on GitHub
needs-triage
Dominant language
C#
Stars
135
Forks
260
Avg merge
3d 2h
Merged PRs (30d)
130

Description

I think the precedence in Azure repos is to fix the file paths rather than asking contributors to enable long file paths? If I'm wrong feel free to close.

warning: unable to access 'tools/sdk-testgen/swagger/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2022-02-01-preview/examples/Datastore/AzureDataLakeGen1WServicePrincipal/.gitattributes': Filename too long
error: unable to create file tools/sdk-testgen/swagger/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2022-02-01-preview/examples/Datastore/AzureDataLakeGen1WServicePrincipal/createOrUpdate.json: Filename too long
warning: unable to access 'tools/sdk-testgen/swagger/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2022-02-01-preview/examples/Datastore/AzureDataLakeGen2WServicePrincipal/.gitattributes': Filename too long
error: unable to create file tools/sdk-testgen/swagger/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2022-02-01-preview/examples/Datastore/AzureDataLakeGen2WServicePrincipal/createOrUpdate.json: Filename too long
error: unable to create file tools/sdk-testgen/swagger/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2022-02-01-preview/examples/OnlineDeployment/KubernetesOnlineDeployment/createOrUpdate.json: Filename too long
error: unable to create file tools/sdk-testgen/swagger/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2022-02-01-preview/examples/OnlineDeployment/ManagedOnlineDeployment/createOrUpdate.json: Filename too long

Contributor guide

Open the contributing guide

Research direction

Reproduce the clone on Windows and inspect the paths listed under tools/sdk-testgen/swagger/specification, especially the Microsoft.MachineLearningServices examples. Determine which path names cause the reported errors; done means the repository clones successfully without filename-too-long warnings or errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
git
Domain
operating-systems, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.