diffplug / diffplug/cache-horizon
What's left to make this work
- 主要言語
- Java
- スター
- 0
- フォーク
- 0
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
There are two open questions:
1) **Does gradle let you disable a task during task execution?** That's our whole premise, so hopefully the answer to this is yes!
https://github.com/diffplug/cache-horizon/blob/13424bc79e322285c8f8916700109874e24edaf2/src/main/java/com/diffplug/cachehorizon/CacheHorizonPlugin.java#L131-L135
2) **How can we implement `boolean isCachedOrUpToDate(Task task)`?**
This is how far we got, by copying out the relevant-looking parts of Gradle's task execution. It definitely doesn't work as written, but it points towards the internal APIs that Gradle uses for this.
https://github.com/diffplug/cache-horizon/blob/13424bc79e322285c8f8916700109874e24edaf2/src/main/java/com/diffplug/cachehorizon/CacheHorizonPlugin.java#L139-L203
That's as far as we got, and as far as we are likely to get for the foreseeable future. We're happy to merge PRs and add committers here if you don't want to deal with publishing and maintaining, also we're also happy to shut this project down and link to yours if you find a way forward and want to maintain it.
Our intent is to use this issue as the "forum" for solving the two questions above, or for linking out to other solutions that frame the problem differently.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
CacheHorizonPlugin.java の 131-135 行目と 139-203 行目から始め、次に、コピーされた実装が参照している Gradle のタスク実行 API を調査します。実行中にタスクを無効化できるかどうか、および isCachedOrUpToDate(Task task) をどのように実装するかを判断します。両方の質問に検証済みの回答があり、プラグインの動作が機能すれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- build-system, tooling
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100