Get eiffel JSON schemas from github instead
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
調査の方向性
まず、ライブラリがローカルの Eiffel JSON スキーマを読み込み、イベントを検証している箇所を特定し、次にサブスクリプション中にイベントのバージョンがどのように選択されるかを調べます。そのフローを Eiffel リポジトリの公式スキーマと比較し、HTTP 取得とキャッシュをどのように機能させるべきかを定義します。対応しているスキーマのマイナー更新をライブラリのリリースなしで受け入れられるようになれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Description
Instead of hosting our own versions of the JSON schemas we should use the official schemas hosted on the eiffel repository.
Motivation
If a new version of an event is released and being sent, the eiffellib will not allow subscribers to that event.
Exemplification
The ArtifactCreated event gets updated from 4.0.0 to 4.0.1, a very minor release. A new version of the schema get published.
A publisher of that event starts publishing the 4.0.1 event, but the subscribers to that event do not update their eiffellib. This will mean that eiffellib will reject those events as there is no way to validate them.
In this case it was a very minor update and the subscribers would not be affected by the change, so it is quite annoying that eiffellib rejected it.
Benefits
Easier for subscribers of events to continue subscribing to that event, especially when there are only minor updates to the schemas.
Possible Drawbacks
Having to do HTTP requests, but the benefits of not having to update the entire chain on an eiffel specification update outweighs that completely.
Can be mitigated by having a cache in the library.
- 主要言語
- Python
- スター
- 8
- フォーク
- 12
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
eiffel-community/eiffel-pythonlib のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
eiffel-community/eiffel-pythonlib#44 · コメント 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
eiffel-community/eiffel-pythonlib#31 · コメント 1 件 ·
-
on-hold
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
eiffel-community/eiffel-pythonlib#28 · コメント 3 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 20/100
eiffel-community/eiffel-pythonlib の issue をすべて見る
似ている issue
-
debt
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
microsoft/vscode-flake8#601 ·
メンテナーはふだん 1 日以内に返信
-
nonews refactor
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Uninett/nav#4255 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 3 日以内に返信
-
namespace operations
難易度 1/5 1時間未満 初心者へのやさしさ 70/100
EclipseFdn/open-vsx.org#14421 ·
メンテナーはふだん 1 日以内に返信
-
untriaged
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
ubuntu/ubuntu-project-docs#850 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
メンテナーはふだん 1 日以内に返信