Common interface for all statistic classes
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- リファクタリング
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- javascript
調査の方向性
まず ApiController、ApiControllerTest、既存のカスタム統計クラス、およびアプリケーションの初期化処理を確認します。現在の統計プロバイダーがどのように提供され、コンパイルされるかを追跡し、共有インターフェースとサービスを定義してから、登録とインジェクションを更新し、コントローラーテストで新しいプロバイダーの反復処理がカバーされていることを確認します。
索引モデルが issue の本文から書いたものです。
説明
- Write
IStatisticsProviderinterface-
getName()to retrieve the name of the key to publish the statistics under -
getGroup()to retrieve the name of the group key to publish the statistics under -
getStatistics()returns the stats to retrieve
-
- Write
StatisticsService-
registerStatisticsProvider(IStatisticsProvider) -
IStatisticsProvider[] getStatisticsProviders()
-
- adjust ApiController
- receive StatisticsProvider injected instead of all the custom classes
- query
StatisticsProvider->getStatisticsProviders()and iterate and compile the stats
- cleanup ApiControllerTest
- rewrite the custom classes to implement
IStatisticsProvider - register the custom classes in the application initialization
This cleantup and enhancement would also open the door to allowing third party apps to register their own statistics providers in the future.
- 主要言語
- JavaScript
- スター
- 133
- フォーク
- 67
- 平均マージ
- 22時間 55分
- マージ済み PR(30日)
- 53
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
nextcloud/serverinfo のほかの issue
-
Database checks: `Select_full_join` warning is caused by the setup checks' own schema introspectionオープン
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
nextcloud/serverinfo#1245 ·
メンテナーはふだん 1 日以内に返信
-
Database checks: ∞% reported as Failing when counter is zero; no way to acknowledge/mute a checkオープン0. Needs triage bug
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
nextcloud/serverinfo#1231 ·
メンテナーはふだん 1 日以内に返信
-
0. Needs triage enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
nextcloud/serverinfo#1248 ·
メンテナーはふだん 1 日以内に返信
-
1. to develop bug
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
nextcloud/serverinfo#1224 · コメント 5 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
0. Needs triage bug
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
nextcloud/serverinfo#1223 ·
メンテナーはふだん 1 日以内に返信
nextcloud/serverinfo の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
-
難易度 1/5 1〜3時間 初心者へのやさしさ 91/100
メンテナーはふだん 1 日以内に返信
-
enhancement ui-dashboard
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
security
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
remotestorage/remotestorage.js#1405 ·
-
🐞 bug 🧩 ai-context
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
owasp-noir/noir#3295 ·
メンテナーはふだん 1 日以内に返信