Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Can't clone the rep. Error: Filename too long:

未关闭
#3,188 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
30/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
活跃
技术栈
csharp, git
领域
devtools

调研方向

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 内容生成。

描述

status:waiting-for-triage

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

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

microsoftgraph/msgraph-sdk-dotnet 的其他 Issue

查看 microsoftgraph/msgraph-sdk-dotnet 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。