Support Gradle wildcard version or placeholder variable in dependency management recipes
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- java
- 領域
- build-system
調査の方向性
AddDependency レシピと関連する依存関係管理レシピから始め、次にバージョン値がどのように解釈され、表示されるかを追跡します。1.2.+ のようなバージョンが結果として追加される依存関係で正しく保持されることを確認して、期待される動作を検証します。プレースホルダーのサポートについては、別途スコープを明確にする必要がある可能性があります。
索引モデルが issue の本文から書いたものです。
説明
What problem are you trying to solve?
My organization regularly wildcards the patch version for projects rather than using an explicit version as it helps to avoid the churn of versioning artifacts explicitly, but we use OpenRewrite to change the versions of several artifacts at once across many repositories. We'd like to have the ability to specify a version of a.b.+ to better support this. We also use placeholders in several locations (i.e. a version of ${dependencyVersion}) which would also be helpful but might be out-of-scope for this issue. I can open another issue for this work if you'd like.
Describe the solution you'd like
When running the AddDependency recipe (or other dependency management recipes), I'd like to be able to specify version: 1.2.+ and have the resulting added dependency be wildcarded properly.
Have you considered any alternatives or workarounds?
A rawVersion property or similar would be just as useful and would allow for wildcarding and for placeholders.
Are you interested in contributing this feature to OpenRewrite?
I'd be interested in contributing but given how busy I am I likely won't be able to work on it anytime soon. I'll update if I find time to work on this.
- 主要言語
- Java
- スター
- 18
- フォーク
- 12
- 平均マージ
- 58分
- マージ済み PR(30日)
- 5
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
似ている issue
-
status: waiting-for-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
AOT compilation fails for derived delete queries returning Set対応中かも @ryujungkyun が今日担当しました。 オープンstatus: waiting-for-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
spring-projects/spring-data-jpa#4387 ·
メンテナーはふだん 3 日以内に返信
-
:ml/Transform >bug Team:ML
難易度 2/5 半日 初心者へのやさしさ 64/100
elastic/elasticsearch#161960 · コメント 2 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信