Automatic clean-up of the outdated ExApp Docker images

オープン
#667 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

  • #837 @aliz71 による — マージされずにクローズ

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
docker, php
領域
backend, devops

調査の方向性

Nextcloud 管理者向けの AppAPI 設定ページから開始し、Docker Engine v1.47 の ImagePrune エンドポイントを確認します。設定可能な間隔と、更新後に任意で実行するクリーンアップをどのように表現し、トリガーするかを、無効値 0 を含めて定義します。設定したスケジュールに従って古い ExApp イメージをクリーンアップでき、更新後にも任意でクリーンアップでき、指定された設定場所に両方のオプションが公開されていれば完了です。

索引モデルが issue の本文から書いたものです。

説明

enhancement priority: low
Describe why it is important and where it will be useful

Docker images of former versions of the ex-apps fill up the disk space.

Describe your proposed solution
  1. Implement a background task for cleaning images with a configurable time interval(measurement in days, value 0 means job is disabled, default value=7).

  2. Optional checkbox "clean images right after update", disabled by default.

Note: Options should be located here: http://nextcloud.local/index.php/settings/admin/app_api

Relevant API endpoint would be: https://docs.docker.com/reference/api/engine/version/v1.47/#tag/Image/operation/ImagePrune

Describe alternatives you've considered, if relevant

No response

Additional context

Additional related changes to be done in other repos in a separate PRs:

主要言語
PHP
スター
202
フォーク
30
平均マージ
3日 20時間
マージ済み PR(30日)
24

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

nextcloud/app_api のほかの issue

nextcloud/app_api の issue をすべて見る

似ている issue

PHP の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。