Issue with directory separator on linux
还没有人认领这个 Issue。
评估
调研方向
Start by reproducing the restore described in the issue on Linux with a libman.json destination containing a subfolder, then trace the restore path handling that destination. Done means a destination such as lib\\jquery creates lib/jquery rather than a directory containing a backslash, while / continues to work on both Linux and Windows.
由索引模型根据 Issue 内容生成。
描述
Functional impact
When restoring libraries on linux, the \ character is not used as a directory separator.
Minimal repro steps
- Create a libman.json with a library with a destination containing a subfolder (the default suggested value can be used)
- Use libman on a linux environment (bash on windows in my case) to restore the library
Expected result
The directory separator should be respected and converted to /, eg: lib\\jquery => lib/jquery
Actual result
A single directory is created with a \ character in its name.
Further technical details
As a workaround, using / in the libman.json as a directory separator works on both linux and windows.
- 主要语言
- C#
- 星标
- 485
- 派生
- 92
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
aspnet/LibraryManager 的其他 Issue
-
System.IO.IOException: The process cannot access the file because it is being used by another process可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
aspnet/LibraryManager#824 · 1 条评论 · 3 个 reaction ·
-
Add documentation about using `Microsoft.Web.LibraryManager.Build`可能已有人在做 @jimmylewis 于 319 天前认领。 未关闭
难度 1/5 1 小时以内 新手友好度 68/100
aspnet/LibraryManager#804 · 2 个 reaction ·
-
难度 1/5 1 小时以内 新手友好度 48/100
aspnet/LibraryManager#829 · 1 条评论 · 3 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 42/100
aspnet/LibraryManager#820 ·
-
难度 4/5 3-5 天 新手友好度 35/100
aspnet/LibraryManager#808 · 5 条评论 ·
查看 aspnet/LibraryManager 的全部 Issue
相似的 Issue
-
area-signalr
难度 2/5 1-3 小时 新手友好度 75/100
dotnet/aspnetcore#69842 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 64/100
维护者通常 2 天内回复
-
bug needs-triage
难度 2/5 1 小时以内 新手友好度 78/100
microsoft/microsoft-ui-reactor#1373 ·
维护者通常 1 天内回复
-
Client customer-reported KeyVault needs-team-attention question Service Attention
难度 2/5 1-3 小时 新手友好度 62/100
Azure/azure-sdk-for-net#63861 · 3 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
:watch: Not Triaged dotnet-csharp/svc fundamentals/subsvc
难度 1/5 1 小时以内 新手友好度 85/100
维护者通常 1 天内回复