Repo checker: an input only in build/, dist/ or target/ gets "No lockfile found" (or an untrue "nothing up to 3 down"), where `wheelgap DIR` checks it

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

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
半天
新手友好度
42/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
javascript, python
领域
tooling

调研方向

The repo checker's input detection lives in the site code that handles unlisted_inputs and the "No lockfile found" and "elsewhere" messages; start there and compare with wheelgap DIR in the CLI, which searches build/, dist/ and target/. Add one test per table row under tests/site/ that fails on main, covering a file only in dist/ and a dist/ file plus a root prod-requirements.txt. Done when the page names the unlisted file or offers it, never claims no input exists, and the "To check it anyway" wording is fixed.

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

描述

bug

Since #241 the checker counts inputs in build/, dist/ and target/ (folders plan() skips but wheelgap DIR searches) as unlisted_inputs, and asks when one sits beside another subfolder input. Two layouts still get an untrue answer:

layout wheelgap DIR (main) page now
only dist/requirements.txt checks dist/requirements.txt "No lockfile found"
dist/requirements.txt + root prod-requirements.txt checks dist/requirements.txt "has no input that wheelgap reads by itself at its root or in a folder up to 3 down, only prod-requirements.txt"

The first predates #241; the second is #241's "elsewhere" wording, which ignores unlistedInputs.

Done when

  • When unlistedInputs has a non-side input and nothing else is picked, the page says so (names the file, or uses the "subfolders" wording with "(and maybe more…)"), and never says there is no input up to 3 folders down. Either check the file (if the worker can fetch it) or offer it, but never claim it isn't there.
  • A test per row above in tests/site/ that fails on main.
  • While there: "To check one anyway" reads "To check it anyway" when only one file is listed.
主要语言
JavaScript
星标
0
派生
0
平均合并
1 小时 38 分钟
30 天内合并 PR
132

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

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

wheelgap/tracker 的其他 Issue

查看 wheelgap/tracker 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

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