Prepped for release

This commit is contained in:
Sean E. Russell 2020-02-18 13:27:38 -06:00
parent a197638e1f
commit f96a97c3d8
6 changed files with 17 additions and 3 deletions

3
.gitignore vendored
View File

@ -8,3 +8,6 @@ dist/
/*.snap
/snap/.snapcraft/
/*_source.tar.bz2
build/gotop_*
build.log

View File

@ -13,7 +13,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
> - **Fixed**: for any bug fixes.
> - **Security**: in case of vulnerabilities.
## [3.3.0] -
## [3.3.1] - 2020-02-18
- Fixed: Fixes a layout bug where, if columns filled up early, widgets would be
consumed but not displayed.
- Fixed: Rolled back dependency update on github.com/shirou/gopsutil; the new version
has a bug that causes cores to not be seen.
## [3.3.0] - 2020-02-17
- Added: Logs are now rotated. Settings are currently hard-coded at 4 files of 5MB
each, so logs shouldn't take up more than 20MB. I'm going to see how many

View File

@ -25,7 +25,7 @@ import (
const (
appName = "gotop"
version = "3.3.0"
version = "3.3.1"
graphHorizontalScaleDelta = 3
defaultUI = "cpu\ndisk/1 2:mem/2\ntemp\nnet procs"

2
go.sum
View File

@ -1,3 +1,4 @@
github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6 h1:fLjPD/aNc3UIOA6tDi6QXUemppXK3P9BI7mr2hd6gx8=
github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6/go.mod h1:3eOhrUMpNV+6aFIbp5/iudMxNCF27Vw2OZgy4xEx0Fg=
github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d h1:G0m3OIz70MZUWq3EgK3CesDbo8upS2Vm9/P3FtgI+Jk=
github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d/go.mod h1:3eOhrUMpNV+6aFIbp5/iudMxNCF27Vw2OZgy4xEx0Fg=
@ -32,6 +33,7 @@ github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2
github.com/go-kit/kit v0.9.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as=
github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE=
github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk=
github.com/go-ole/go-ole v1.2.1 h1:2lOsA72HgjxAuMlKpFiCbHTvu44PIVkZ5hqm3RSdI/E=
github.com/go-ole/go-ole v1.2.1/go.mod h1:7FAglXiTm7HKlQRDeOQ6ZNUHidzCWXuZWq/1dTyBNF8=
github.com/go-ole/go-ole v1.2.4 h1:nNBDSCOigTSiarFpYE9J/KtEA1IOW4CNeqT9TQDqCxI=
github.com/go-ole/go-ole v1.2.4/go.mod h1:XCwSNxSkXRo4vlyPy93sltvi/qJq0jqQhjqQNIwKuxM=

2
layouts/consume_test Normal file
View File

@ -0,0 +1,2 @@
5:cpu 6:procs
mem

View File

@ -22,7 +22,6 @@ function candz() {
D=${D}.exe
fi
go build -o $D ./cmd/gotop >> build.log 2>&1
unset GOOS GOARCH GOARM CGO_ENABLED
if [[ $? -ne 0 ]]; then
printenv | grep GO >> build.log
echo "############### FAILED ###############" >> build.log
@ -31,6 +30,7 @@ function candz() {
echo FAILED $OUT
return
fi
unset GOOS GOARCH GOARM CGO_ENABLED
cd build
zip $(basename $OUT) $(basename $D) >> ../build.log 2>&1
cd ..