Move to Visitor 1.8.0 and drop the logback exclusion
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 1/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 91/100
- issue の種類
- リファクタリング
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- scala
- 領域
- build-system
調査の方向性
build.sbtでvisitorVersionを1.7.0から1.8.0に更新し、Visitor依存関係からlogback-classicの除外を削除します。まず、依存関係の宣言と、issueで参照されている公開済みのVisitor 1.8.0のPOMを確認します。ビルドを実行します。更新した依存関係を使い、除外なしでビルドが成功すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Visitor 1.8.0 was released on 2026-11-17. Two lines in build.sbt should change:
val visitorVersion = "1.7.0" // -> "1.8.0"
"com.phasmidsoftware" %% "visitor" % visitorVersion exclude("ch.qos.logback", "logback-classic"),
// ^^^^^^^ no longer needed
The exclusion can go
It was there because Visitor published logback-classic at Runtime scope, putting a logging backend on every consumer's classpath — a library should not do that. 1.8.0 fixes it, confirmed against the published POM on Central, not just Visitor's build.sbt:
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.5.32</version>
<scope>test</scope>
</dependency>
The breaking changes should not affect us
1.8.0 is a deliberate binary break — under PVP the first two numbers form the major version — but none of it touches what TableParser uses.
TableParser references Visitor in exactly one file: core/src/main/scala/com/phasmidsoftware/tableparser/core/util/TopN.scala, which imports com.phasmidsoftware.visitor.core.PrioQueue. And git diff V1.7.0 V1.8.0 -- PrioQueue.scala in the Visitor repository is empty — that class did not change at all in 1.8.0.
For the record, the four breaking changes were: removal of core.Zero and core.Monoid; Visitor generalised over its journal's element type; visit losing its using Evaluable; and Appendable becoming F-bounded. None is reachable from PrioQueue.
So this is expected to be a two-line change plus a green build. If it turns out not to be, that is itself worth knowing.
Is there anything to "take advantage of"?
Open question, and the reason this issue is scoped the way it is. 1.8.0's new surface is traversal machinery — a Java API, SimpleVisitor, Traverse, ParentedVisitor, Traversal.dfsTracking — and TableParser is not a graph library; it uses Visitor solely for a priority queue. Nothing in the new API has an obvious use here.
If there is a use in mind, it belongs in a separate issue rather than being folded into this one, which should stay a dependency hygiene change.
Note on branching
main is the right base. At the time of filing the working checkout is on crime_brief_test with an uncommitted CrimeSpec.scala, so this wants a clean branch rather than being done in passing.
- 主要言語
- Scala
- スター
- 11
- フォーク
- 4
- 平均マージ
- 2時間 40分
- マージ済み PR(30日)
- 44
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
rchillyard/TableParser のほかの issue
-
enhancement question
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
rchillyard/TableParser#121 ·
メンテナーはふだん 1 日以内に返信
rchillyard/TableParser の issue をすべて見る
似ている issue
-
area:scripts priority:P2 status:backlog
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
KD5UJC-XYZ/scarab#1170 ·
メンテナーはふだん 1 日以内に返信
-
requires-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
apache/datafusion-comet#7672 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
zio/zio-telemetry#1288 ·
メンテナーはふだん 1 日以内に返信
-
? - Needs Triage audit audit_4.3.0 audit_5.0.0
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
NVIDIA/cudf-spark#16965 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
valkey-io/valkey-glide#7745 ·
メンテナーはふだん 1 日以内に返信