Bundle storage report with bulk retention-limit management (pins focus)
評価
調査の方向性
This is a multi-feature proposal, so start by agreeing on scope with the maintainers before coding. Read the endpoints named in the issue: GET /v1/content, GET /v1/content/{guid}/storage (admin-only), the /bundles fallback, and the content update API for the retention limit. Done would mean a reporting view with sorting, filtering and CSV export, plus a bulk retention-limit action, all tested against an admin API key.
索引モデルが issue の本文から書いたものです。
説明
Admins want to see which content items use the most bundle storage, especially pins, where every version is a separate bundle. Then they want to cut that storage down. Connect now lets you set a bundle retention limit for each content item, but you can only do it one item at a time. Admins have no single view that shows storage across the server and lets them act on it.
This proposes a Gallery extension that reports bundle storage and lets an admin apply retention limits in bulk.
Proposed features
Reporting
• List content with bundle storage per item: total, active and inactive bytes, plus the number of bundles/versions.
• Filter by content type, with a quick "pins only" filter (content_category == "pin").
• Sort by total or inactive storage so the largest items show first.
• Show the owner, so admins can contact publishers about migrating very large pins to more suitable storage.
• Show each item's current retention limit, whether it's the per-item setting or the server default.
• Export to CSV.
Actions
• Select multiple items and set a bundle retention limit on all of them in one action.
• Link through to each item's settings in the Connect UI so an admin can adjust its retention limit by hand.
Implementation notes
• Content list: GET /v1/content
• Storage: GET /v1/content/{guid}/storage (admin-only; returns bundle_bytes_total / bundle_bytes_active / bundle_bytes_inactive). Fall back to summing size from GET /v1/content/{guid}/bundles on older servers.
• Retention limit: the per-content bundle retention setting via the content update API
• Needs to run with an admin API key / visitor admin role to see all content.
- 主要言語
- R
- スター
- 10
- フォーク
- 8
- 平均マージ
- 9時間 43分
- マージ済み PR(30日)
- 2
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
posit-dev/connect-extensions のほかの issue
-
enhancement github_actions
難易度 3/5 1〜2日 初心者へのやさしさ 50/100
posit-dev/connect-extensions#492 ·
-
enhancement
難易度 3/5 1〜2日 初心者へのやさしさ 52/100
posit-dev/connect-extensions#484 ·
-
documentation
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
posit-dev/connect-extensions#483 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
posit-dev/connect-extensions#477 · コメント 1 件 ·
-
mcp
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
posit-dev/connect-extensions#467 ·
posit-dev/connect-extensions の issue をすべて見る
似ている issue
-
could enhancement
難易度 1/5 1時間未満 初心者へのやさしさ 80/100
The-Strategy-Unit/nhp_inputs#758 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
paul-buerkner/brms#1985 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
cull_database_entries() machine_id filter is a no-op due to missing comma in row indexing対応中かも @madhavzanwar が今日担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
PecanProject/pecan#4281 ·
メンテナーはふだん 1 日以内に返信
-
[R] abandon_ship() looks up `call` with an inheriting get(), so its "no call" guard never fires対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンComponent: R
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
rubenarslan/formr#60 ·