Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Support Gradle wildcard version or placeholder variable in dependency management recipes

オープン
#182 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
java
領域
build-system

調査の方向性

AddDependency レシピと関連する依存関係管理レシピから始め、次にバージョン値がどのように解釈され、表示されるかを追跡します。1.2.+ のようなバージョンが結果として追加される依存関係で正しく保持されることを確認して、期待される動作を検証します。プレースホルダーのサポートについては、別途スコープを明確にする必要がある可能性があります。

索引モデルが issue の本文から書いたものです。

説明

enhancement

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

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。