Gap wheels page: show how often each wheel has been downloaded
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 72/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- github, github-actions, python
- 領域
- ci-cd, documentation, tooling
調査の方向性
Start with scripts/build_gap_index.py (human_page(), build()) and tests/test_gap_index.py (assert_status_matches_index). Read the 'Build the index and page' step in .github/workflows/pages.yml, then add a read-only gh api fetch whose failure cannot break the deploy. Implement optional --downloads, the Downloads column/total, and status.json counts only when present; update the README. Done means uvx --python 3.14 [email protected] passes offline with tests for counts, a missing wheel, no flag and malformed input.
索引モデルが issue の本文から書いたものです。
説明
The page lists 47 wheels and gives no sign of whether anyone uses them. GitHub counts downloads of every release asset: download_count for each file in GET /repos/wheelgap/wheels/releases/tags/gap-wheels. pip and uv fetch the wheels from those release URLs, so the number is real installs (plus CI caches missing).
For a visitor deciding whether to trust an unofficial wheel, "installed 1,240 times, no problem reported" is evidence nothing else on the page gives. For us it says which packages to keep building for each new release.
(Moved from wheelgap/tracker#134, rewritten for this repo.)
Where
.github/workflows/pages.yml: the "Build the index and page" step runsscripts/build_gap_index.py. It hascontents: readand no token in its environment today.scripts/build_gap_index.py:human_page()builds the table (columns Package, Version, Target, Verified, Builds, File, Install, Status) and the "N so far" line;build()writesdata/status.json.
What to do
- In
pages.yml, before the build, fetch the release's assets with the job's read-only token (gh api --paginate "repos/$GITHUB_REPOSITORY/releases/tags/gap-wheels" --jq '[.assets[] | {name, download_count}]') into a file. If the call fails, write nothing and carry on: the hourly index must never wait on this. - Give
build_gap_index.pyan optional--downloads PATH. Read it defensively: a list of{name: str, download_count: int >= 0}, names that match the wheel pattern, a size limit; anything else is a::warning::and no counts. - With counts: a "Downloads" column, and a total in the intro line ("47 so far, downloaded 3,120 times"). A wheel with no count shows an empty cell, not 0. Without the file the page is byte-for-byte what it is now.
- Add
downloadsto each wheel indata/status.jsonwhen known, and say in the README's "Machine-readable status" paragraph what it counts (release asset downloads since publication, GitHub's number). - Say on the page what the number is in a few words. It isn't unique users.
- Later: downloads in the last 7 days (needs yesterday's numbers kept somewhere).
Done when:
- Tests in
tests/test_gap_index.pycover: with counts (column, total, thousands separator), a wheel missing from the counts, no--downloads(no column; existing tests unchanged), and a malformed file (warning, no column, exit 0). - The test that compares
status.jsonwith the simple index (assert_status_matches_index) still passes with the new field. - The workflow step can't fail the deploy: the PR shows the step's shell with the fallback.
uvx --python 3.14 [email protected]passes, offline.
- 主要言語
- Python
- スター
- 0
- フォーク
- 1
- 平均マージ
- 5時間 59分
- マージ済み PR(30日)
- 19
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
wheelgap/wheels のほかの issue
-
documentation good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
enhancement help wanted
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
メンテナーはふだん 1 日以内に返信
-
bug help wanted
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
メンテナーはふだん 1 日以内に返信
wheelgap/wheels の issue をすべて見る
似ている issue
-
flaky: test_fire_returns_thread_per_http_entry_on_head waits 5 s per dispatch worker on busy shardsオープンstatus/accepted type/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
microsoft/apm#5309 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug vector-store
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
EverMind-AI/Raven#1413 ·
メンテナーはふだん 1 日以内に返信
-
Tests: parallel pyinstallcheck runs oversubscribe the machine through nested TBB and BLAS pools対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 86/100
ACCESS-NRI/containerised-environments-infra#143 ·
メンテナーはふだん 2 日以内に返信