Skip to contentSkip to conversation

dool: upgrade 1.1.0 -> 1.3.1

PATCH Applied alperak 2 participants 2 messages Dec 22, 2023 – Dec 27, 2023

lore
Share & tools
lore

alperak

author
#0 lore raw

PATCH 1/1 dool: upgrade 1.1.0 -> 1.3.1

* Patches removed because fixed in the new version
* License-Update: GPL-2.0 -> GPL-3.0

Changelog:

* Fix help of vmstat (as it includes sys instead of swap)
* Fix multiple SWAP's breaks output
* Better support for NVME drives
* Support for Python v3.12
* Shorter and more concise device names
* add support for terminals with only 16 colors
* Correctly report disk stats for NVME drives
* Capture VM name for top-cpu
* Properly capitalize unit letters for real this time
* Add a \n to output when using a count
* Fix the NTP plugin for Python 3.x
* Massive internal naming change dstat -> dool
* Fix bits/bytes in CSV file output
* Add a --devel logging option to assist in future developementg
* Update Github templates to simplify them and reflect the Dool name
* Lots of comments in the code as I slowly learn more about how it works
* --output now correctly writes to files cleanly
Introduced --display to allow outputting to both screen and file
* Fix building docs with make docs
* Update the .spec file to allow building RPMs for Dool on modern systems
* Fix potential crashes from "OverflowError: cannot convert float infinity to integer"
* Updated Lustre plugin for modern versions
* Cleaned up output of sub frames in table output
* Add a plug-in for Linux bonding devices
* Add signal handling to better close down things when dool quits
* Added an option for --diskset to group drives together

---
 .../0001-Fix-build-error-as-following.patch   |  39 ---
 .../dool/dool/0001-Fix-rename-in-docs.patch   | 261 ------------------
 meta-oe/recipes-support/dool/dool_1.1.0.bb    |  25 --
 meta-oe/recipes-support/dool/dool_1.3.1.bb    |  23 ++
 4 files changed, 23 insertions(+), 325 deletions(-)
 delete mode 100644 meta-oe/recipes-support/dool/dool/0001-Fix-build-error-as-following.patch
 delete mode 100644 meta-oe/recipes-support/dool/dool/0001-Fix-rename-in-docs.patch
 delete mode 100644 meta-oe/recipes-support/dool/dool_1.1.0.bb
 create mode 100644 meta-oe/recipes-support/dool/dool_1.3.1.bb
meta-oe/recipes-support/dool/dool/0001-Fix-build-error-as-following.patch deleted +0 -39
deleted file mode 100644
index 2324af499..000000000
@@ -1,39 +0,0 @@
-From e81feec1ebbc676220cd8759d83f46335602d079 Mon Sep 17 00:00:00 2001
-From: Lei Maohui <[email protected]>
-Date: Fri, 7 Jan 2022 14:37:36 +0900
-Subject: [PATCH] Fix build error as following:
-
-*** No rule to make target 'dstat.1', needed by 'docs'.  Stop.
-
-Upstream-Status: Pending
-
-Signed-off-by: Lei Maohui <[email protected]>
----
- docs/Makefile | 8 ++++----
- 1 file changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/docs/Makefile b/docs/Makefile
-index c031e82..1a85e61 100644
---- a/docs/Makefile
-+++ b/docs/Makefile
-@@ -11,13 +11,13 @@ all:
- 
- dist: docs
- 
--docs: dstat.1 $(htmltargets)
-+docs: dool.1 $(htmltargets)
- 
--install: dstat.1
--	install -Dp -m0644 dstat.1 $(DESTDIR)$(mandir)/man1/dstat.1
-+install: dool.1
-+	install -Dp -m0644 dool.1 $(DESTDIR)$(mandir)/man1/dool.1
- 
- clean:
--	rm -f dstat.1 *.html *.xml
-+	rm -f dool.1 *.html *.xml
- 
- %.1.html: %.1.adoc
- 	asciidoc -d manpage $<
--- 
-2.25.1
-
meta-oe/recipes-support/dool/dool/0001-Fix-rename-in-docs.patch deleted +0 -261

261 lines not on this page · raw message

meta-oe/recipes-support/dool/dool_1.1.0.bb deleted +0 -25
deleted file mode 100644
index 211f3a2b1..000000000
@@ -1,25 +0,0 @@
-SUMMARY = "versatile resource statics tool"
-DESCRIPTION = "Dstat is a versatile replacement for vmstat, iostat, netstat and ifstat. \
-Dstat overcomes some of their limitations and adds some extra features, more counters \
-and flexibility. Dstat is handy for monitoring systems during performance tuning tests, \
-benchmarks or troubleshooting."
-HOMEPAGE = "http://dag.wiee.rs/home-made/dstat"
-LICENSE = "GPL-2.0-only"
-LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
-
-DEPENDS += "asciidoc-native xmlto-native"
-
-SRC_URI = "git://github.com/scottchiefbaker/dool.git;branch=master;protocol=https \
-	   file://0001-Fix-build-error-as-following.patch \
-	   file://0001-Fix-rename-in-docs.patch \
-          "
-
-SRCREV = "41ec7b392b358dae29f0b587711d5c8f7f462805"
-
-S = "${WORKDIR}/git"
-
-do_install() {
-    oe_runmake 'DESTDIR=${D}' install
-}
-
-RDEPENDS:${PN} += "python3-core python3-misc python3-resource python3-shell python3-six python3-unixadmin"
meta-oe/recipes-support/dool/dool_1.3.1.bb new file +23 -0
new file mode 100644
index 000000000..b20f8b401
@@ -0,0 +1,23 @@
+SUMMARY = "Dool is a Python3 compatible fork of Dstat"
+DESCRIPTION = "Dool is a command line tool to monitor many aspects of your system: \
+CPU, Memory, Network, Load Average, etc. It also includes a robust plug-in architecture \
+to allow monitoring other system metrics."
+HOMEPAGE = "http://dag.wiee.rs/home-made/dstat"
+LICENSE = "GPL-3.0-only"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=1ebbd3e34237af26da5dc08a4e440464"
+
+DEPENDS += "asciidoc-native xmlto-native"
+RDEPENDS:${PN} += "python3-core python3-misc python3-resource python3-shell python3-six python3-unixadmin"
+
+SRC_URI = "git://github.com/scottchiefbaker/dool.git;branch=master;protocol=https \
+          "
+
+SRCREV = "30847c748483bc088549486292232d805b086b1f"
+
+S = "${WORKDIR}/git"
+
+do_install() {
+    oe_runmake 'DESTDIR=${D}' install
+}
+
+
Signature · 1 line
2.25.1
Applied
#1 lore raw
Quoted 32 lines · alperak

* Patches removed because fixed in the new version
* License-Update: GPL-2.0 -> GPL-3.0

Changelog:

* Fix help of vmstat (as it includes sys instead of swap)
* Fix multiple SWAP's breaks output
* Better support for NVME drives
* Support for Python v3.12
* Shorter and more concise device names
* add support for terminals with only 16 colors
* Correctly report disk stats for NVME drives
* Capture VM name for top-cpu
* Properly capitalize unit letters for real this time
* Add a \n to output when using a count
* Fix the NTP plugin for Python 3.x
* Massive internal naming change dstat -> dool
* Fix bits/bytes in CSV file output
* Add a --devel logging option to assist in future developementg
* Update Github templates to simplify them and reflect the Dool name
* Lots of comments in the code as I slowly learn more about how it works
* --output now correctly writes to files cleanly
Introduced --display to allow outputting to both screen and file
* Fix building docs with make docs
* Update the .spec file to allow building RPMs for Dool on modern systems
* Fix potential crashes from "OverflowError: cannot convert float infinity to integer"
* Updated Lustre plugin for modern versions
* Cleaned up output of sub frames in table output
* Add a plug-in for Linux bonding devices
* Add signal handling to better close down things when dool quits
* Added an option for --diskset to group drives together

Quoted 1 line

[...]

Applied, thanks!

[1/1] dool: upgrade 1.1.0 -> 1.3.1

      commit: 4929a3c44755dcc856c0b83f53a4cbd7359f670d

Best regards,

Signature · 1 line
Khem Raj <[email protected]>