nextcloud / nextcloud/workflow_script
Request: Run certain commands only once for multiple files
オープン
まだ誰も着手していません。
enhancement
- 主要言語
- PHP
- スター
- 89
- フォーク
- 19
- 平均マージ
- 6時間 38分
- マージ済み PR(30日)
- 3
説明
Currently a task is added to the scheduler for every individual file.
This can be inefficient.
Example:
- The camera uploads a larger group of photos within a short time.
- Each photo creates a task
- All tasks get run one after the other on the next cron run.
Most scripts need to have the occ files:scan after their work, how ever that can be slow.
Idea:
Add a way that a script only gets run after all other tasks in one cron intrerval got run.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、アップロードされた各ファイルについてどこで scheduler task が作成され、次の cron interval がそれらの task をどのように実行するかを追跡します。occ files:scan を呼び出すスクリプトがどのように処理されるかを確認し、同じ interval に複数の task が属する場合に完了が何を意味すべきかを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- php
- 領域
- backend
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100