Support symbolic links

未关闭
#454 15 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 2 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
javascript

调研方向

Start by reading lib/adapters/FileSystem.js around line 46, where symbolic links are ignored during source walking. Trace how the FileSystem adapter is configured and determine whether symlink support should be allowed or configurable; done means the intended symlink behavior is implemented without breaking normal walking.

由索引模型根据 Issue 内容生成。

描述

module/ui5-fs

At this time, the FileSystem adapter explicitly ignores symbolic links when walking the source files:

https://github.com/SAP/ui5-fs/blob/f6803f512d47a6f305a0b0669f3c942350f40f2d/lib/adapters/FileSystem.js#L46

Is there a reason for this behaviour? My build pipeline involves custom tooling built around broccolijs and uses symlinks to avoid copying files unnecessarily between various build steps - this change in @ui5/fs breaks this for me.

Would you accept a PR that changes the hard-coded behaviour to allow symlinks? Or could this be configurable, and if so, how?

主要语言
JavaScript
星标
510
派生
80
平均合并
2 天 22 小时
30 天内合并 PR
12

环境准备

从这里开始

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

UI5/cli 的其他 Issue

查看 UI5/cli 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

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