Version bump to v4
This commit is contained in:
parent
61e080e518
commit
ccbc71755f
|
@ -13,7 +13,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
> - **Fixed**: for any bug fixes.
|
||||
> - **Security**: in case of vulnerabilities.
|
||||
|
||||
## PENDING (NOT RELEASED 3.6)
|
||||
## [4.0.0] PENDING
|
||||
|
||||
**Command line options have changed.**
|
||||
|
||||
### Added
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ parts:
|
|||
gotop:
|
||||
source: .
|
||||
plugin: go
|
||||
go-importpath: github.com/xxxserxxx/gotop/v3
|
||||
go-importpath: github.com/xxxserxxx/gotop/v4
|
||||
build-packages:
|
||||
- git-core
|
||||
- gcc
|
||||
|
|
|
@ -19,12 +19,12 @@ import (
|
|||
"github.com/prometheus/client_golang/prometheus/promhttp"
|
||||
"github.com/shibukawa/configdir"
|
||||
|
||||
"github.com/xxxserxxx/gotop/v3"
|
||||
"github.com/xxxserxxx/gotop/v3/colorschemes"
|
||||
"github.com/xxxserxxx/gotop/v3/devices"
|
||||
"github.com/xxxserxxx/gotop/v3/layout"
|
||||
"github.com/xxxserxxx/gotop/v3/logging"
|
||||
w "github.com/xxxserxxx/gotop/v3/widgets"
|
||||
"github.com/xxxserxxx/gotop/v4"
|
||||
"github.com/xxxserxxx/gotop/v4/colorschemes"
|
||||
"github.com/xxxserxxx/gotop/v4/devices"
|
||||
"github.com/xxxserxxx/gotop/v4/layout"
|
||||
"github.com/xxxserxxx/gotop/v4/logging"
|
||||
w "github.com/xxxserxxx/gotop/v4/widgets"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -12,8 +12,8 @@ import (
|
|||
"time"
|
||||
|
||||
"github.com/shibukawa/configdir"
|
||||
"github.com/xxxserxxx/gotop/v3/colorschemes"
|
||||
"github.com/xxxserxxx/gotop/v3/widgets"
|
||||
"github.com/xxxserxxx/gotop/v4/colorschemes"
|
||||
"github.com/xxxserxxx/gotop/v4/widgets"
|
||||
)
|
||||
|
||||
type Config struct {
|
||||
|
|
|
@ -6,7 +6,7 @@ import (
|
|||
"time"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/xxxserxxx/gotop/v3/widgets"
|
||||
"github.com/xxxserxxx/gotop/v4/widgets"
|
||||
)
|
||||
|
||||
// FIXME This is totally broken since the updates
|
||||
|
|
|
@ -7,7 +7,7 @@ import (
|
|||
"strconv"
|
||||
"strings"
|
||||
|
||||
"github.com/xxxserxxx/gotop/v3/utils"
|
||||
"github.com/xxxserxxx/gotop/v4/utils"
|
||||
)
|
||||
|
||||
func init() {
|
||||
|
|
2
go.mod
2
go.mod
|
@ -1,4 +1,4 @@
|
|||
module github.com/xxxserxxx/gotop/v3
|
||||
module github.com/xxxserxxx/gotop/v4
|
||||
|
||||
require (
|
||||
github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6 // indirect
|
||||
|
|
3
go.sum
3
go.sum
|
@ -100,6 +100,9 @@ github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXf
|
|||
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
|
||||
github.com/stretchr/testify v1.4.0 h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJyk=
|
||||
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
|
||||
github.com/xxxserxxx/gotop v0.0.0-20200228201131-d16cf1c6d2b9 h1:Sn+TuKkfF+CVaJjm4oVmeADtrOaHtrWpgqVLtsMpUqg=
|
||||
github.com/xxxserxxx/gotop/v3 v3.5.1 h1:aBf++Oxg7qCZpKqYpPPnXKFOxT1KYLPtiEXRh57ywu0=
|
||||
github.com/xxxserxxx/gotop/v3 v3.5.1/go.mod h1:DGPTiAmUhqE21xvokK64BuMxW+EmnOptaxpdOlqiH6s=
|
||||
github.com/xxxserxxx/iSMC v1.0.1 h1:M9Gkwnnkl+evvnugoB5yRYrbUP+cRIVOPM+xrHZc3Hs=
|
||||
github.com/xxxserxxx/iSMC v1.0.1/go.mod h1:TGgNjU7BF2DZSuxiTft+BdzxzcujFJYqFfMCzcTl/aY=
|
||||
golang.org/x/arch v0.0.0-20181203225421-5a4828bb7045/go.mod h1:cYlCBUl1MsqxdiKgmc4uh7TxZfWSFLOGSRR090WDxt8=
|
||||
|
|
|
@ -5,8 +5,8 @@ import (
|
|||
"log"
|
||||
"sort"
|
||||
|
||||
"github.com/xxxserxxx/gotop/v3"
|
||||
"github.com/xxxserxxx/gotop/v3/widgets"
|
||||
"github.com/xxxserxxx/gotop/v4"
|
||||
"github.com/xxxserxxx/gotop/v4/widgets"
|
||||
|
||||
ui "github.com/gizak/termui/v3"
|
||||
)
|
||||
|
|
|
@ -8,7 +8,7 @@ import (
|
|||
"path/filepath"
|
||||
"sync"
|
||||
|
||||
"github.com/xxxserxxx/gotop/v3"
|
||||
"github.com/xxxserxxx/gotop/v4"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -8,7 +8,7 @@ import (
|
|||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/xxxserxxx/gotop/v3"
|
||||
"github.com/xxxserxxx/gotop/v4"
|
||||
)
|
||||
|
||||
func TestLogging(t *testing.T) {
|
||||
|
|
|
@ -7,7 +7,7 @@ import (
|
|||
|
||||
. "github.com/gizak/termui/v3"
|
||||
rw "github.com/mattn/go-runewidth"
|
||||
"github.com/xxxserxxx/gotop/v3/utils"
|
||||
"github.com/xxxserxxx/gotop/v4/utils"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -5,7 +5,7 @@ import (
|
|||
"sort"
|
||||
|
||||
. "github.com/gizak/termui/v3"
|
||||
drawille "github.com/xxxserxxx/gotop/v3/termui/drawille-go"
|
||||
drawille "github.com/xxxserxxx/gotop/v4/termui/drawille-go"
|
||||
)
|
||||
|
||||
// LineGraph implements a line graph of data points.
|
||||
|
|
|
@ -10,7 +10,7 @@ import (
|
|||
"github.com/distatus/battery"
|
||||
"github.com/prometheus/client_golang/prometheus"
|
||||
|
||||
ui "github.com/xxxserxxx/gotop/v3/termui"
|
||||
ui "github.com/xxxserxxx/gotop/v4/termui"
|
||||
)
|
||||
|
||||
type BatteryWidget struct {
|
||||
|
|
|
@ -9,7 +9,7 @@ import (
|
|||
"github.com/distatus/battery"
|
||||
"github.com/prometheus/client_golang/prometheus"
|
||||
|
||||
. "github.com/xxxserxxx/gotop/v3/termui"
|
||||
. "github.com/xxxserxxx/gotop/v4/termui"
|
||||
)
|
||||
|
||||
type BatteryGauge struct {
|
||||
|
|
|
@ -7,9 +7,9 @@ import (
|
|||
"time"
|
||||
|
||||
"github.com/prometheus/client_golang/prometheus"
|
||||
"github.com/xxxserxxx/gotop/v3/devices"
|
||||
"github.com/xxxserxxx/gotop/v4/devices"
|
||||
|
||||
ui "github.com/xxxserxxx/gotop/v3/termui"
|
||||
ui "github.com/xxxserxxx/gotop/v4/termui"
|
||||
)
|
||||
|
||||
type CpuWidget struct {
|
||||
|
|
|
@ -10,8 +10,8 @@ import (
|
|||
"github.com/prometheus/client_golang/prometheus"
|
||||
psDisk "github.com/shirou/gopsutil/disk"
|
||||
|
||||
ui "github.com/xxxserxxx/gotop/v3/termui"
|
||||
"github.com/xxxserxxx/gotop/v3/utils"
|
||||
ui "github.com/xxxserxxx/gotop/v4/termui"
|
||||
"github.com/xxxserxxx/gotop/v4/utils"
|
||||
)
|
||||
|
||||
type Partition struct {
|
||||
|
|
|
@ -6,9 +6,9 @@ import (
|
|||
|
||||
"github.com/prometheus/client_golang/prometheus"
|
||||
|
||||
"github.com/xxxserxxx/gotop/v3/devices"
|
||||
ui "github.com/xxxserxxx/gotop/v3/termui"
|
||||
"github.com/xxxserxxx/gotop/v3/utils"
|
||||
"github.com/xxxserxxx/gotop/v4/devices"
|
||||
ui "github.com/xxxserxxx/gotop/v4/termui"
|
||||
"github.com/xxxserxxx/gotop/v4/utils"
|
||||
)
|
||||
|
||||
type MemWidget struct {
|
||||
|
|
|
@ -9,8 +9,8 @@ import (
|
|||
"github.com/prometheus/client_golang/prometheus"
|
||||
psNet "github.com/shirou/gopsutil/net"
|
||||
|
||||
ui "github.com/xxxserxxx/gotop/v3/termui"
|
||||
"github.com/xxxserxxx/gotop/v3/utils"
|
||||
ui "github.com/xxxserxxx/gotop/v4/termui"
|
||||
"github.com/xxxserxxx/gotop/v4/utils"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -12,8 +12,8 @@ import (
|
|||
psCPU "github.com/shirou/gopsutil/cpu"
|
||||
|
||||
tui "github.com/gizak/termui/v3"
|
||||
ui "github.com/xxxserxxx/gotop/v3/termui"
|
||||
"github.com/xxxserxxx/gotop/v3/utils"
|
||||
ui "github.com/xxxserxxx/gotop/v4/termui"
|
||||
"github.com/xxxserxxx/gotop/v4/utils"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -8,7 +8,7 @@ import (
|
|||
"strconv"
|
||||
"strings"
|
||||
|
||||
"github.com/xxxserxxx/gotop/v3/utils"
|
||||
"github.com/xxxserxxx/gotop/v4/utils"
|
||||
)
|
||||
|
||||
type processList struct {
|
||||
|
|
|
@ -9,7 +9,7 @@ import (
|
|||
"strconv"
|
||||
"strings"
|
||||
|
||||
"github.com/xxxserxxx/gotop/v3/utils"
|
||||
"github.com/xxxserxxx/gotop/v4/utils"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -9,8 +9,8 @@ import (
|
|||
ui "github.com/gizak/termui/v3"
|
||||
"github.com/prometheus/client_golang/prometheus"
|
||||
|
||||
"github.com/xxxserxxx/gotop/v3/devices"
|
||||
"github.com/xxxserxxx/gotop/v3/utils"
|
||||
"github.com/xxxserxxx/gotop/v4/devices"
|
||||
"github.com/xxxserxxx/gotop/v4/utils"
|
||||
)
|
||||
|
||||
type TempScale rune
|
||||
|
|
Loading…
Reference in New Issue
Block a user