zrepl status: switch back to tview from cview & upgrade to latest (#846)

While investigating https://github.com/zrepl/zrepl/issues/700
I checked in on `zrepl status` dependencies and found that
`cview`, which was/is a fork of tview, appears to be unmaintained.

We switched to it 4.5 years ago in a58ce74.

Checking now, `github.com/rivo/tview` seems to be somewhat maintained
again.
I also checked what k9s uses because that tool came to mind as a Go
terminal UI app.
It does use `tview`, but, a fork that has diverged substantially.

Maybe in another 4.5 years stuff the ecosystem has consolidated...

refs https://github.com/zrepl/zrepl/issues/700
This commit is contained in:
Christian Schwarz
2024-11-05 21:35:30 +01:00
committed by GitHub
parent bca37c741c
commit d7ede3f82c
4 changed files with 15 additions and 14 deletions
+3 -2
View File
@@ -1,10 +1,10 @@
module github.com/zrepl/zrepl
go 1.22.7
toolchain go1.23.1
require (
code.rocketnine.space/tslocum/cview v1.5.9
github.com/bits-and-blooms/bitset v1.14.3
github.com/fatih/color v1.7.0
github.com/gdamore/tcell/v2 v2.7.4
@@ -70,7 +70,8 @@ require (
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/procfs v0.15.1 // indirect
github.com/rivo/uniseg v0.4.6 // indirect
github.com/rivo/tview v0.0.0-20241103174730-c76f7879f592
github.com/rivo/uniseg v0.4.7 // indirect
github.com/sergi/go-diff v1.0.1-0.20180205163309-da645544ed44 // indirect; go1.12 thinks it needs this
github.com/theckman/goconstraint v1.11.0 // indirect
github.com/yudai/golcs v0.0.0-20170316035057-ecda9a501e82 // indirect; go1.12 thinks it needs this