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#
- 星标
- 486
- 派生
- 93
- 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可能已有人在做 @brecht-yperman-uz 于 5 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
aspnet/LibraryManager#824 · 1 条评论 · 3 个 reaction ·
-
Add documentation about using `Microsoft.Web.LibraryManager.Build`可能已有人在做 @jimmylewis 于 322 天前认领。 未关闭
难度 1/5 1 小时以内 新手友好度 68/100
aspnet/LibraryManager#804 · 2 个 reaction ·
-
难度 1/5 1 小时以内 新手友好度 48/100
aspnet/LibraryManager#829 · 1 条评论 · 4 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 42/100
aspnet/LibraryManager#820 ·
-
难度 4/5 3-5 天 新手友好度 35/100
aspnet/LibraryManager#808 · 5 条评论 ·
查看 aspnet/LibraryManager 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 86/100
Devolutions/UniGetUI#5541 ·
维护者通常 1 天内回复
-
agentic-workflows Needs: Triage :mag:
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
-
dette technique priorité: basse zone: service
难度 2/5 1-3 小时 新手友好度 68/100
damiensabau/nexus-lobby#25 ·