Optionally provide a callback in apply_changeset
まだ誰も着手していません。
評価
調査の方向性
まず、apply_changeset と、Python API がそれをどのように公開しているかを追跡します。進行状況、キャンセル、定期的な呼び出しに関する callback の動作を定義し、その後、各文の後に呼び出すことを要求せずに、メイン API と Python API の両方で callback がサポートされていることを確認します。
索引モデルが issue の本文から書いたものです。
説明
Sometimes it is useful to be able to provide a callback function when applying changes - especially if the input diff file contains many changes. The callback could do things like
- report progress of the operation to the user
- allow early cancellation if the client is impatient
- on server side, yield to indicate that the worker is doing work (did not freeze and should not get killed)
The callback could be something like this:
bool callback(geodiff_context, caller_context, progress);
... and apply_changeset would call it every now and then (not necessarily after each statement it applies).
Should be also supported in python API.
- 主要言語
- Python
- スター
- 183
- フォーク
- 21
- 平均マージ
- 26分
- マージ済み PR(30日)
- 2
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
MerginMaps/geodiff のほかの issue
-
Support for long paths on Windows (> 260 characters)再び着手できるかも @dvdkon が 33 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンbug
MerginMaps/geodiff#264 · 担当者 1 名 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
MerginMaps/geodiff#262 ·
-
GeoDiff 2.3.0 cannot open GeoPackage when filename contains Unicode character (EM DASH U+2014) on Windows再び着手できるかも @dvdkon が 33 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
MerginMaps/geodiff#258 · 担当者 1 名 ·
-
bug data corruption - sync failure - crash
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
MerginMaps/geodiff#255 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
MerginMaps/geodiff#253 · コメント 1 件 ·
MerginMaps/geodiff の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
RedHatQE/mtv-api-tests#721 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 85/100
pytest-dev/pluggy#757 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 85/100
NousResearch/hermes-agent#134960 ·
メンテナーはふだん 1 日以内に返信
-
HTML backend: `<br>` leaks the internal sentinel U+E000 into list items, headings and captions対応中かも @morten-lagabote が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
docling-project/docling#4671 ·
メンテナーはふだん 1 日以内に返信