beyondcode / beyondcode/polyscope-community

[Bug]: copyGitignored not working

未关闭
#159 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
没有语言数据
星标
20
派生
0
PR 合并指标
30 天内没有已合并 PR

描述

### Platform

Windows

### Operating system version

Windows 10

### System architecture

Intel (x86)

### PolyScope Version

0.19.0.0

### Bug description

I have `copyGitignored` set to `true` in `polyscope.json`. When I create a new workspace, it doesn't copy Git ignored files.

### Steps to reproduce

1. Create `polyscope.json` in the root of the project.
2. Set `copyGitignored` to `true`.
3. Create a new workspace.
4. Visit the clone folder.

### Relevant log output

```shell
[server] [clone-repo] [1722ms] git clone --no-local
[server:err] [clone-repo] Failed to copy gitignored files: 70 | path: iss.path ? [${WE(W)}, ...iss.path] : [${WE(W)}]
```

贡献指南

这个仓库没有索引到贡献指南

调研方向

从日志中显示的 clone-repo 路径开始,检查 workspace 创建后如何处理 polyscope.json 中的 copyGitignored 设置。在启用 copyGitignored 的 Windows 10 上重现,然后验证 Git 忽略的文件是否出现在 clone 文件夹中,且不会出现报告的复制错误。

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

评估

领域
tooling
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
52/100

把新 issue 发到你的邮箱

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