ci: start each shipped tool once from its packaged plugin copy
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 57/100
Hướng nghiên cứu
Read tools/dev/check-family-plugins.py, especially _packaged_pyproject, and inspect the existing workflows under .github/workflows. Copy plugin tools outside the checkout and probe their entry points with the supplied uv commands; the two tools without project scripts need another probe. Done means CI verifies packaged tools can resolve and start, with the coverage scope chosen by maintainers.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What
Nothing in CI starts a tool from its copy under plugins/magpie-*/tools/. tools/dev/check-family-plugins.py copies framework tools into plugins and rewrites each copied pyproject.toml (_packaged_pyproject) so the tool resolves without the uv workspace. The tests assert the rewritten text. plugins/pyproject.toml excludes the copied tools/ trees from mypy and pytest. I found no test or workflow that resolves or starts a tool from its copy (searched .github/workflows and tools/*/tests).
Why it matters
#1357 and part of #1937 fixed copies that uv could not resolve on a marketplace install. Each was found after it shipped.
Suggested fix
A CI job that copies the plugin tools/ trees outside the checkout and starts each tool once. On main at ff313989 this worked for two tools, with --offline:
uv run --project tools/local-tracker magpie-local-tracker --help
uv run --project tools/maildir maildir-draft-find --help
27 of the 29 copied pyproject.toml files list entry points under [project.scripts]. typed-decision and security-tracker-stats-dashboard list none and need a different probe. Whether to cover every copy or a sample, given the CI cost, is the maintainers' call.
Related
#1357, #1937
- Ngôn ngữ chính
- Python
- Star
- 152
- Fork
- 133
- Merge trung bình
- 12 giờ 39 phút
- Pull request đã merge (30 ngày)
- 384
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của apache/magpie
-
vote-tally: date_order_mismatches compares ISO dates as text, so UTC offsets are misreadCó thể đã có người làm @leninworld đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
release-verify-rc: the Nexus staging id shape refuses Maven's maven-NNNN idsCó thể đã có người làm @Anurag-S1ngh đã nhận 3 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
family:tools substrate:sandbox
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
apache/magpie#2176 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
capability:fix capability:intake family:docs family:security family:tools substrate:sandbox
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
Maintainer thường phản hồi trong vòng 1 ngày
-
feat(issue): interactive duplicate-picker pane mod for issue-deduplicateCó thể đã có người làm @Kaap10 đã nhận 8 ngày trước. Đang mởcapability:resolve enhancement family:ci family:dev family:docs family:issue family:setup family:tools substrate:framework-dev
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 22/100
apache/magpie#2075 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của apache/magpie
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
OpenFreeEnergy/openfe#2371 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
HMDB's smiles file writes "None" for metabolites with an empty <smiles/> (file not currently used)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
NCATSTranslator/Babel#1269 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 80/100
Maintainer thường phản hồi trong vòng 1 ngày
-
404 on sample dataĐang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
bcgov/nr-hydrometric-rating-curve#443 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100