Can't clone the rep. Error: Filename too long:
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
Start by reviewing the reported Windows clone and checkout failure, especially the long paths under src/Microsoft.Graph/Generated/. Determine whether the issue belongs in generated path naming or repository checkout support; the payload does not identify a source file or test. Done should mean a checkout can complete for the reported paths, with the relevant behavior verified.
由索引模型根据 Issue 内容生成。
描述
C:\projects> gh repo clone microsoftgraph/msgraph-sdk-dotnet
Cloning into 'msgraph-sdk-dotnet'...
remote: Enumerating objects: 940639, done.
remote: Counting objects: 100% (3392/3392), done.
remote: Compressing objects: 100% (668/668), done.
remote: Total 940639 (delta 3063), reused 2802 (delta 2721), pack-reused 937247 (from 3)
Receiving objects: 100% (940639/940639), 214.83 MiB | 16.28 MiB/s, done.
Resolving deltas: 100% (611869/611869), done.
error: unable to create file src/Microsoft.Graph/Generated/Communications/OnlineMeetings/GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse.cs: Filename too long
error: unable to create file src/Microsoft.Graph/Generated/Communications/OnlineMeetings/GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.cs: Filename too long
error: unable to create file src/Microsoft.Graph/Generated/Communications/OnlineMeetings/GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeResponse.cs: Filename too long
error: unable to create file src/Microsoft.Graph/Generated/Communications/OnlineMeetings/GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponse.cs: Filename too long
error: unable to create file src/Microsoft.Graph/Generated/Communications/OnlineMeetings/GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.cs: Filename too long
error: unable to create file src/Microsoft.Graph/Generated/Communications/OnlineMeetings/GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeResponse.cs: Filename too long
error: unable to create file src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs: Filename too long
error: unable to create file src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs: Filename too long
error: unable to create file src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse.cs: Filename too long
error: unable to create file src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.cs: Filename too long
error: unable to create file src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs: Filename too long
error: unable to create file src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse.cs: Filename too long
error: unable to create file src/Microsoft.Graph/Generated/Identity/AuthenticationEventsFlows/Item/GraphExternalUsersSelfServiceSignUpEventsFlow/OnAttributeCollection/GraphOnAttributeCollectionExternalUsersSelfServiceSignUp/Attributes/AttributesRequestBuilder.cs: Filename too long
error: unable to create file src/Microsoft.Graph/Generated/Identity/AuthenticationEventsFlows/Item/GraphExternalUsersSelfServiceSignUpEventsFlow/OnAttributeCollection/GraphOnAttributeCollectionExternalUsersSelfServiceSignUp/Attributes/Count/CountRequestBuilder.cs: Filename too long
error: unable to create file src/Microsoft.Graph/Generated/Identity/AuthenticationEventsFlows/Item/GraphExternalUsersSelfServiceSignUpEventsFlow/OnAttributeCollection/GraphOnAttributeCollectionExternalUsersSelfServiceSignUp/Attributes/Item/IdentityUserFlowAttributeItemRequestBuilder.cs: Filename too long
warning: unable to access 'src/Microsoft.Graph/Generated/Identity/AuthenticationEventsFlows/Item/GraphExternalUsersSelfServiceSignUpEventsFlow/OnAttributeCollection/GraphOnAttributeCollectionExternalUsersSelfServiceSignUp/Attributes/Item/Ref/.gitattributes': Filename too long
error: unable to create file src/Microsoft.Graph/Generated/Identity/AuthenticationEventsFlows/Item/GraphExternalUsersSelfServiceSignUpEventsFlow/OnAttributeCollection/GraphOnAttributeCollectionExternalUsersSelfServiceSignUp/Attributes/Item/Ref/RefRequestBuilder.cs: Filename too long
error: unable to create file src/Microsoft.Graph/Generated/Identity/AuthenticationEventsFlows/Item/GraphExternalUsersSelfServiceSignUpEventsFlow/OnAttributeCollection/GraphOnAttributeCollectionExternalUsersSelfServiceSignUp/Attributes/Ref/RefRequestBuilder.cs: Filename too long
error: unable to create file src/Microsoft.Graph/Generated/Identity/AuthenticationEventsFlows/Item/GraphExternalUsersSelfServiceSignUpEventsFlow/OnAttributeCollection/GraphOnAttributeCollectionExternalUsersSelfServiceSignUp/GraphOnAttributeCollectionExternalUsersSelfServiceSignUpRequestBuilder.cs: Filename too long
warning: unable to access 'src/Microsoft.Graph/Generated/Identity/AuthenticationEventsFlows/Item/GraphExternalUsersSelfServiceSignUpEventsFlow/OnAuthenticationMethodLoadStart/GraphOnAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp/.gitattributes': Filename too long
error: unable to create file src/Microsoft.Graph/Generated/Identity/AuthenticationEventsFlows/Item/GraphExternalUsersSelfServiceSignUpEventsFlow/OnAuthenticationMethodLoadStart/GraphOnAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp/GraphOnAuthenticationMethodLoadStartExternalUsersSelfServiceSignUpRequestBuilder.cs: Filename too long
fatal: cannot create directory at 'src/Microsoft.Graph/Generated/Identity/AuthenticationEventsFlows/Item/GraphExternalUsersSelfServiceSignUpEventsFlow/OnAuthenticationMethodLoadStart/GraphOnAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp/IdentityProviders': Filename too long
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
Any ideas on how to solve this?
Tried checking out in a different folder with a shorter name doesn't solve the problem.
- 主要语言
- C#
- 星标
- 791
- 派生
- 264
- 平均合并
- 5 小时 25 分钟
- 30 天内合并 PR
- 5
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoftgraph/msgraph-sdk-dotnet 的其他 Issue
-
status:waiting-for-triage type:bug
难度 2/5 1-3 小时 新手友好度 68/100
microsoftgraph/msgraph-sdk-dotnet#3170 ·
维护者通常 1 天内回复
-
status:waiting-for-triage type:bug
难度 2/5 1-3 小时 新手友好度 72/100
microsoftgraph/msgraph-sdk-dotnet#3165 · 2 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 85/100
microsoftgraph/msgraph-sdk-dotnet#3159 ·
维护者通常 1 天内回复
-
Bug: metadata
难度 2/5 1-3 小时 新手友好度 68/100
microsoftgraph/msgraph-sdk-dotnet#3004 · 1 条评论 ·
维护者通常 1 天内回复
-
Status: Needs investigation type:bug
难度 2/5 1-3 小时 新手友好度 64/100
microsoftgraph/msgraph-sdk-dotnet#2858 · 2 条评论 ·
维护者通常 1 天内回复
查看 microsoftgraph/msgraph-sdk-dotnet 的全部 Issue
相似的 Issue
-
area: design documentation
难度 2/5 1-3 小时 新手友好度 76/100
eyalgolan/statecraft-israel#883 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 3 天内回复
-
area/indexing bug package/core triage
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复
-
enhancement needs triage
难度 2/5 1-3 小时 新手友好度 70/100
elastic/docs-builder#4495 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
protobuf-net/protobuf-net#1375 · 2 条评论 ·
维护者通常 2 天内回复