From 77fd7fdc01d416fc92250883b83f1c0fb1227e8f Mon Sep 17 00:00:00 2001 From: Anton Novojilov Date: Thu, 17 Oct 2019 14:52:08 +0300 Subject: [PATCH] ek package updated to the latest stable version --- .travis.yml | 2 +- Makefile | 6 +++--- README.md | 8 +++++++- common/redis-monitor-top.spec | 7 +++++-- redis-monitor-top.go | 26 +++++++++++++------------- 5 files changed, 29 insertions(+), 20 deletions(-) diff --git a/.travis.yml b/.travis.yml index edd4276..94a4e55 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +1,9 @@ language: go go: - - 1.10.x - 1.11.x - 1.12.x + - 1.13.x - tip os: diff --git a/Makefile b/Makefile index 8dc3789..5013d40 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ ################################################################################ -# This Makefile generated by GoMakeGen 1.1.0 using next command: +# This Makefile generated by GoMakeGen 1.2.0 using next command: # gomakegen . # # More info: https://kaos.sh/gomakegen @@ -27,7 +27,7 @@ git-config: ## Configure git redirects for stable import path services git config --global http.https://pkg.re.followRedirects true deps: git-config ## Download dependencies - go get -d -v pkg.re/essentialkaos/ek.v10 + go get -d -v pkg.re/essentialkaos/ek.v11 fmt: ## Format source code with gofmt find . -name "*.go" -exec gofmt -s -w {} \; @@ -40,6 +40,6 @@ help: ## Show this info @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) \ | awk 'BEGIN {FS = ":.*?## "}; {printf " \033[33m%-19s\033[0m %s\n", $$1, $$2}' @echo -e '' - @echo -e '\033[90mGenerated by GoMakeGen 1.1.0\033[0m\n' + @echo -e '\033[90mGenerated by GoMakeGen 1.2.0\033[0m\n' ################################################################################ diff --git a/README.md b/README.md index 8beb61d..d4b79f0 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ Before the initial install allows git to use redirects for [pkg.re](https://gith git config --global http.https://pkg.re.followRedirects true ``` -To build the `redis-monitor-top` from scratch, make sure you have a working Go 1.10+ workspace (_[instructions](https://golang.org/doc/install)_), then: +To build the `redis-monitor-top` from scratch, make sure you have a working Go 1.11+ workspace (_[instructions](https://golang.org/doc/install)_), then: ``` go get github.com/essentialkaos/redis-monitor-top @@ -57,6 +57,12 @@ go get -u github.com/essentialkaos/redis-monitor-top You can download prebuilt binaries for Linux from [EK Apps Repository](https://apps.kaos.st/redis-monitor-top/latest). +To install the latest prebuilt version, do: + +```bash +bash <(curl -fsSL https://apps.kaos.st/get) redis-monitor-top +``` + ### Usage ``` diff --git a/common/redis-monitor-top.spec b/common/redis-monitor-top.spec index a83a904..baf6864 100644 --- a/common/redis-monitor-top.spec +++ b/common/redis-monitor-top.spec @@ -10,7 +10,7 @@ Summary: Tiny Redis client for monitor command output top Name: redis-monitor-top -Version: 1.3.0 +Version: 1.3.1 Release: 0%{?dist} Group: Applications/System License: EKOL @@ -20,7 +20,7 @@ Source0: https://source.kaos.st/%{name}/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: golang >= 1.12 +BuildRequires: golang >= 1.13 Provides: %{name} = %{version}-%{release} @@ -85,6 +85,9 @@ fi ################################################################################ %changelog +* Thu Oct 17 2019 Anton Novojilov - 1.3.1-0 +- ek package updated to the latest stable version + * Sat Jun 15 2019 Anton Novojilov - 1.3.0-0 - ek package updated to the latest stable version - Added completion generation for bash, zsh and fish diff --git a/redis-monitor-top.go b/redis-monitor-top.go index 2c7ff78..48acb87 100644 --- a/redis-monitor-top.go +++ b/redis-monitor-top.go @@ -19,25 +19,25 @@ import ( "strings" "time" - "pkg.re/essentialkaos/ek.v10/fmtc" - "pkg.re/essentialkaos/ek.v10/fmtutil" - "pkg.re/essentialkaos/ek.v10/fmtutil/table" - "pkg.re/essentialkaos/ek.v10/mathutil" - "pkg.re/essentialkaos/ek.v10/options" - "pkg.re/essentialkaos/ek.v10/strutil" - "pkg.re/essentialkaos/ek.v10/system/procname" - "pkg.re/essentialkaos/ek.v10/timeutil" - "pkg.re/essentialkaos/ek.v10/usage" - "pkg.re/essentialkaos/ek.v10/usage/completion/bash" - "pkg.re/essentialkaos/ek.v10/usage/completion/fish" - "pkg.re/essentialkaos/ek.v10/usage/completion/zsh" + "pkg.re/essentialkaos/ek.v11/fmtc" + "pkg.re/essentialkaos/ek.v11/fmtutil" + "pkg.re/essentialkaos/ek.v11/fmtutil/table" + "pkg.re/essentialkaos/ek.v11/mathutil" + "pkg.re/essentialkaos/ek.v11/options" + "pkg.re/essentialkaos/ek.v11/strutil" + "pkg.re/essentialkaos/ek.v11/system/procname" + "pkg.re/essentialkaos/ek.v11/timeutil" + "pkg.re/essentialkaos/ek.v11/usage" + "pkg.re/essentialkaos/ek.v11/usage/completion/bash" + "pkg.re/essentialkaos/ek.v11/usage/completion/fish" + "pkg.re/essentialkaos/ek.v11/usage/completion/zsh" ) // ////////////////////////////////////////////////////////////////////////////////// // const ( APP = "Redis Monitor Top" - VER = "1.3.0" + VER = "1.3.1" DESC = "Tiny Redis client for aggregating stats from MONITOR flow" )