Bundle storage report with bulk retention-limit management (pins focus)
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 15/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- R
- Stelle
- 10
- Fork
- 8
- Merge medio
- 9h 43m
- PR unite (30g)
- 2
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di posit-dev/connect-extensions
-
enhancement github_actions
Difficoltà 3/5 1-2 giorni Idoneità per principianti 50/100
posit-dev/connect-extensions#492 ·
-
enhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 52/100
posit-dev/connect-extensions#484 ·
-
documentation
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
posit-dev/connect-extensions#483 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
posit-dev/connect-extensions#477 · 1 commento ·
-
mcp
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
posit-dev/connect-extensions#467 ·
Tutte le issue di posit-dev/connect-extensions
Issue simili
-
Remove {watcher} importApertacould enhancement
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 80/100
The-Strategy-Unit/nhp_inputs#758 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
paul-buerkner/brms#1985 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
[R] abandon_ship() looks up `call` with an inheriting get(), so its "no call" guard never firesForse già presa Una pull request collegata a questa issue è aperta o già unita. ApertaComponent: R
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
rubenarslan/formr#60 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100