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

Spring 6+ upgrades trigger migration to HttpClient 5 – how to deal with undeclared dependency on HttpClient 4?

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

メンテナーはふだん 1 日以内に返信

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
静か
技術スタック
java, spring
領域
backend, tooling

調査の方向性

まずディスカッション 4584 と openrewrite/rewrite-spring#566 の関連する変更を確認し、いつ移行がトリガーされるのかを理解します。HttpClient 4 が推移的な依存関係にすぎないプロジェクトについて、recipe とその依存関係検出の動作を調査します。Done は、再現可能なケースと、欠落している HttpClient 5 の依存関係を処理するための検証済みの戦略によって定義します。

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

説明

bug enhancement good first issue recipe
Discussed in https://github.com/openrewrite/rewrite/discussions/4584

Originally posted by @DidierLoiseau October 16, 2024
I noticed an issue with this migration, which is triggered transitively by Spring Boot 3+ upgrades since openrewrite/rewrite-spring#566: HttpClient 4 is a relatively common dependency, so people often use it without even realizing it is pulled transitively by another dependency, and they don’t declare HttpClient as an explicit dependency.

The problem with this migration is that it will update the code without adding the HttpClient 5 dependency if HttpClient 4 was missing.

Is there a way around this?

主要言語
Java
スター
6
フォーク
18
平均マージ
10分
マージ済み PR(30日)
11

環境構築

はじめの一歩

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

openrewrite/rewrite-apache のほかの issue

openrewrite/rewrite-apache の issue をすべて見る

似ている issue

Java の issue をもっと見る

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

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