Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package zenith for openSUSE:Factory checked in at 2026-01-12 10:22:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/zenith (Old) and /work/SRC/openSUSE:Factory/.zenith.new.1928 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "zenith" Mon Jan 12 10:22:43 2026 rev:3 rq:1326509 version:0.14.3 Changes: -------- --- /work/SRC/openSUSE:Factory/zenith/zenith.changes 2026-01-01 15:01:51.848983904 +0100 +++ /work/SRC/openSUSE:Factory/.zenith.new.1928/zenith.changes 2026-01-12 10:31:41.739122977 +0100 @@ -1,0 +2,7 @@ +Sat Jan 10 12:21:41 UTC 2026 - Alessio Biancalana <[email protected]> + +- Update to version 0.14.3: + * fix for issue #161 (#175) + * fix: `3 warnings` generated by `bin "zenith"` (#174) + +------------------------------------------------------------------- Old: ---- zenith-0.14.2.obscpio zenith-0.14.2.tar.zst New: ---- zenith-0.14.3.obscpio zenith-0.14.3.tar.zst ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ zenith.spec ++++++ --- /var/tmp/diff_new_pack.zl6kjB/_old 2026-01-12 10:31:42.395149894 +0100 +++ /var/tmp/diff_new_pack.zl6kjB/_new 2026-01-12 10:31:42.395149894 +0100 @@ -1,7 +1,7 @@ # # spec file for package zenith # -# Copyright (c) 2025 SUSE LLC and contributors +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: zenith -Version: 0.14.2 +Version: 0.14.3 Release: 0 Summary: Sort of like top or htop but with zoom-able charts License: MIT ++++++ _service ++++++ --- /var/tmp/diff_new_pack.zl6kjB/_old 2026-01-12 10:31:42.431151371 +0100 +++ /var/tmp/diff_new_pack.zl6kjB/_new 2026-01-12 10:31:42.435151535 +0100 @@ -3,7 +3,7 @@ <param name="url">https://github.com/bvaisvil/zenith.git</param> <param name="versionformat">@PARENT_TAG@</param> <param name="scm">git</param> - <param name="revision">0.14.2</param> + <param name="revision">0.14.3</param> <param name="match-tag">*</param> <param name="versionrewrite-pattern">v(\d+\.\d+\.\d+)</param> <param name="versionrewrite-replacement">\1</param> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.zl6kjB/_old 2026-01-12 10:31:42.455152356 +0100 +++ /var/tmp/diff_new_pack.zl6kjB/_new 2026-01-12 10:31:42.459152520 +0100 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/bvaisvil/zenith.git</param> - <param name="changesrevision">ac3565d0a83902d2947eb90302640a72c76a1d39</param></service></servicedata> + <param name="changesrevision">8e52c18fc9e076d0cbe867bf55c9ab8e5a18ebd2</param></service></servicedata> (No newline at EOF) ++++++ vendor.tar.zst ++++++ /work/SRC/openSUSE:Factory/zenith/vendor.tar.zst /work/SRC/openSUSE:Factory/.zenith.new.1928/vendor.tar.zst differ: char 7, line 1 ++++++ zenith-0.14.2.obscpio -> zenith-0.14.3.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zenith-0.14.2/Cargo.lock new/zenith-0.14.3/Cargo.lock --- old/zenith-0.14.2/Cargo.lock 2025-12-30 19:12:46.000000000 +0100 +++ new/zenith-0.14.3/Cargo.lock 2026-01-08 17:51:03.000000000 +0100 @@ -1278,9 +1278,9 @@ [[package]] name = "libc" -version = "0.2.171" +version = "0.2.179" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c19937216e9d3aa9956d9bb8dfc0b0c8beb6058fc4f7a4dc4d850edf86a237d6" +checksum = "c5a2d376baa530d1238d133232d15e239abad80d05838b4b59354e5268af431f" [[package]] name = "libloading" @@ -2185,7 +2185,7 @@ [[package]] name = "sysinfo" version = "0.15.1" -source = "git+https://github.com/bvaisvil/sysinfo.git?branch=zenith_changes_15.1#bcff3dc5c5b53320c53984cef5773ed850001fd8" +source = "git+https://github.com/bvaisvil/sysinfo.git?branch=zenith_changes_15.1_mem_fix#671c4e14a0ff9c653fc842c83fabb5be4cae25c1" dependencies = [ "cfg-if 0.1.10", "doc-comment", @@ -2696,7 +2696,7 @@ [[package]] name = "zenith" -version = "0.14.2" +version = "0.14.3" dependencies = [ "bincode", "byte-unit", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zenith-0.14.2/Cargo.toml new/zenith-0.14.3/Cargo.toml --- old/zenith-0.14.2/Cargo.toml 2025-12-30 19:12:46.000000000 +0100 +++ new/zenith-0.14.3/Cargo.toml 2026-01-08 17:51:03.000000000 +0100 @@ -1,6 +1,6 @@ [package] name = "zenith" -version = "0.14.2" +version = "0.14.3" authors = ["Benjamin Vaisvil"] edition = "2018" description = "Similar to top or htop but with CPU, Network Usage, and Disk Usage charts." @@ -29,7 +29,7 @@ futures = "0.3.31" gumdrop = { version = "~0.8.1", features = ["default_expr"] } chrono = "~0.4.39" -sysinfo = { git = "https://github.com/bvaisvil/sysinfo.git", branch = "zenith_changes_15.1" } +sysinfo = { git = "https://github.com/bvaisvil/sysinfo.git", branch = "zenith_changes_15.1_mem_fix" } dirs-next = "2.0.0" serde = { version = "~1.0.217", features = ["derive"] } serde_derive = "~1.0.217" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zenith-0.14.2/src/metrics/histogram.rs new/zenith-0.14.3/src/metrics/histogram.rs --- old/zenith-0.14.2/src/metrics/histogram.rs 2025-12-30 19:12:46.000000000 +0100 +++ new/zenith-0.14.3/src/metrics/histogram.rs 2026-01-08 17:51:03.000000000 +0100 @@ -191,7 +191,7 @@ }) } - pub fn get(&self, name: &HistogramKind) -> Option<&Histogram> { + pub fn get(&'_ self, name: &HistogramKind) -> Option<&'_ Histogram<'_>> { self.map.get(name) } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zenith-0.14.2/src/renderer/cpu.rs new/zenith-0.14.3/src/renderer/cpu.rs --- old/zenith-0.14.2/src/renderer/cpu.rs 2025-12-30 19:12:46.000000000 +0100 +++ new/zenith-0.14.3/src/renderer/cpu.rs 2026-01-08 17:51:03.000000000 +0100 @@ -92,7 +92,7 @@ ]) } -fn mem_title(app: &CPUTimeApp) -> Line { +fn mem_title(app: &'_ CPUTimeApp) -> Line<'_> { let mem = percent_of(app.mem_utilization, app.mem_total) as u64; let swp = percent_of(app.swap_utilization, app.swap_total) as u64; @@ -109,8 +109,8 @@ Span::styled( format!( "{} / {} - {:}%", - float_to_byte_string!(app.mem_utilization as f64, Unit::KB), - float_to_byte_string!(app.mem_total as f64, Unit::KB), + float_to_byte_string!(app.mem_utilization as f64, Unit::B), + float_to_byte_string!(app.mem_total as f64, Unit::B), mem ), if mem > 95 { max_style() } else { ok_style() }, @@ -119,8 +119,8 @@ Span::styled( format!( "{} / {} - {:}%", - float_to_byte_string!(app.swap_utilization as f64, Unit::KB), - float_to_byte_string!(app.swap_total as f64, Unit::KB), + float_to_byte_string!(app.swap_utilization as f64, Unit::B), + float_to_byte_string!(app.swap_total as f64, Unit::B), swp, ), if swp > 20 { max_style() } else { ok_style() }, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zenith-0.14.2/src/renderer/macros.rs new/zenith-0.14.3/src/renderer/macros.rs --- old/zenith-0.14.2/src/renderer/macros.rs 2025-12-30 19:12:46.000000000 +0100 +++ new/zenith-0.14.3/src/renderer/macros.rs 2026-01-08 17:51:03.000000000 +0100 @@ -5,11 +5,9 @@ macro_rules! float_to_byte_string { ($x:expr, $unit:expr) => { match Byte::from_f64_with_unit($x, $unit) { - Some(b) => format!( - "{:.2}", - b.get_appropriate_unit(byte_unit::UnitType::Decimal) - ) - .replace(" ", ""), + Some(b) => format!("{:.2}", b.get_appropriate_unit(byte_unit::UnitType::Binary)) + .replace(" ", "") + .replace("iB", ""), None => String::from("Err"), } }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zenith-0.14.2/src/renderer/mod.rs new/zenith-0.14.3/src/renderer/mod.rs --- old/zenith-0.14.2/src/renderer/mod.rs 2025-12-30 19:12:46.000000000 +0100 +++ new/zenith-0.14.3/src/renderer/mod.rs 2026-01-08 17:51:03.000000000 +0100 @@ -221,10 +221,10 @@ impl<'a> TerminalRenderer<'_> { pub fn new( tick_rate: u64, - section_geometry: &[(Section, f64)], + section_geometry: &'_ [(Section, f64)], db_path: Option<PathBuf>, disable_history: bool, - ) -> TerminalRenderer { + ) -> TerminalRenderer<'_> { debug!("Create Metrics App"); let mut app = CPUTimeApp::new(Duration::from_millis(tick_rate), db_path); debug!("Create Event Loop"); ++++++ zenith-0.14.2.tar.zst -> zenith-0.14.3.tar.zst ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zenith-0.14.2/Cargo.lock new/zenith-0.14.3/Cargo.lock --- old/zenith-0.14.2/Cargo.lock 2025-12-30 19:12:46.000000000 +0100 +++ new/zenith-0.14.3/Cargo.lock 2026-01-08 17:51:03.000000000 +0100 @@ -1278,9 +1278,9 @@ [[package]] name = "libc" -version = "0.2.171" +version = "0.2.179" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c19937216e9d3aa9956d9bb8dfc0b0c8beb6058fc4f7a4dc4d850edf86a237d6" +checksum = "c5a2d376baa530d1238d133232d15e239abad80d05838b4b59354e5268af431f" [[package]] name = "libloading" @@ -2185,7 +2185,7 @@ [[package]] name = "sysinfo" version = "0.15.1" -source = "git+https://github.com/bvaisvil/sysinfo.git?branch=zenith_changes_15.1#bcff3dc5c5b53320c53984cef5773ed850001fd8" +source = "git+https://github.com/bvaisvil/sysinfo.git?branch=zenith_changes_15.1_mem_fix#671c4e14a0ff9c653fc842c83fabb5be4cae25c1" dependencies = [ "cfg-if 0.1.10", "doc-comment", @@ -2696,7 +2696,7 @@ [[package]] name = "zenith" -version = "0.14.2" +version = "0.14.3" dependencies = [ "bincode", "byte-unit", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zenith-0.14.2/Cargo.toml new/zenith-0.14.3/Cargo.toml --- old/zenith-0.14.2/Cargo.toml 2025-12-30 19:12:46.000000000 +0100 +++ new/zenith-0.14.3/Cargo.toml 2026-01-08 17:51:03.000000000 +0100 @@ -1,6 +1,6 @@ [package] name = "zenith" -version = "0.14.2" +version = "0.14.3" authors = ["Benjamin Vaisvil"] edition = "2018" description = "Similar to top or htop but with CPU, Network Usage, and Disk Usage charts." @@ -29,7 +29,7 @@ futures = "0.3.31" gumdrop = { version = "~0.8.1", features = ["default_expr"] } chrono = "~0.4.39" -sysinfo = { git = "https://github.com/bvaisvil/sysinfo.git", branch = "zenith_changes_15.1" } +sysinfo = { git = "https://github.com/bvaisvil/sysinfo.git", branch = "zenith_changes_15.1_mem_fix" } dirs-next = "2.0.0" serde = { version = "~1.0.217", features = ["derive"] } serde_derive = "~1.0.217" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zenith-0.14.2/src/metrics/histogram.rs new/zenith-0.14.3/src/metrics/histogram.rs --- old/zenith-0.14.2/src/metrics/histogram.rs 2025-12-30 19:12:46.000000000 +0100 +++ new/zenith-0.14.3/src/metrics/histogram.rs 2026-01-08 17:51:03.000000000 +0100 @@ -191,7 +191,7 @@ }) } - pub fn get(&self, name: &HistogramKind) -> Option<&Histogram> { + pub fn get(&'_ self, name: &HistogramKind) -> Option<&'_ Histogram<'_>> { self.map.get(name) } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zenith-0.14.2/src/renderer/cpu.rs new/zenith-0.14.3/src/renderer/cpu.rs --- old/zenith-0.14.2/src/renderer/cpu.rs 2025-12-30 19:12:46.000000000 +0100 +++ new/zenith-0.14.3/src/renderer/cpu.rs 2026-01-08 17:51:03.000000000 +0100 @@ -92,7 +92,7 @@ ]) } -fn mem_title(app: &CPUTimeApp) -> Line { +fn mem_title(app: &'_ CPUTimeApp) -> Line<'_> { let mem = percent_of(app.mem_utilization, app.mem_total) as u64; let swp = percent_of(app.swap_utilization, app.swap_total) as u64; @@ -109,8 +109,8 @@ Span::styled( format!( "{} / {} - {:}%", - float_to_byte_string!(app.mem_utilization as f64, Unit::KB), - float_to_byte_string!(app.mem_total as f64, Unit::KB), + float_to_byte_string!(app.mem_utilization as f64, Unit::B), + float_to_byte_string!(app.mem_total as f64, Unit::B), mem ), if mem > 95 { max_style() } else { ok_style() }, @@ -119,8 +119,8 @@ Span::styled( format!( "{} / {} - {:}%", - float_to_byte_string!(app.swap_utilization as f64, Unit::KB), - float_to_byte_string!(app.swap_total as f64, Unit::KB), + float_to_byte_string!(app.swap_utilization as f64, Unit::B), + float_to_byte_string!(app.swap_total as f64, Unit::B), swp, ), if swp > 20 { max_style() } else { ok_style() }, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zenith-0.14.2/src/renderer/macros.rs new/zenith-0.14.3/src/renderer/macros.rs --- old/zenith-0.14.2/src/renderer/macros.rs 2025-12-30 19:12:46.000000000 +0100 +++ new/zenith-0.14.3/src/renderer/macros.rs 2026-01-08 17:51:03.000000000 +0100 @@ -5,11 +5,9 @@ macro_rules! float_to_byte_string { ($x:expr, $unit:expr) => { match Byte::from_f64_with_unit($x, $unit) { - Some(b) => format!( - "{:.2}", - b.get_appropriate_unit(byte_unit::UnitType::Decimal) - ) - .replace(" ", ""), + Some(b) => format!("{:.2}", b.get_appropriate_unit(byte_unit::UnitType::Binary)) + .replace(" ", "") + .replace("iB", ""), None => String::from("Err"), } }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zenith-0.14.2/src/renderer/mod.rs new/zenith-0.14.3/src/renderer/mod.rs --- old/zenith-0.14.2/src/renderer/mod.rs 2025-12-30 19:12:46.000000000 +0100 +++ new/zenith-0.14.3/src/renderer/mod.rs 2026-01-08 17:51:03.000000000 +0100 @@ -221,10 +221,10 @@ impl<'a> TerminalRenderer<'_> { pub fn new( tick_rate: u64, - section_geometry: &[(Section, f64)], + section_geometry: &'_ [(Section, f64)], db_path: Option<PathBuf>, disable_history: bool, - ) -> TerminalRenderer { + ) -> TerminalRenderer<'_> { debug!("Create Metrics App"); let mut app = CPUTimeApp::new(Duration::from_millis(tick_rate), db_path); debug!("Create Event Loop"); ++++++ zenith.obsinfo ++++++ --- /var/tmp/diff_new_pack.zl6kjB/_old 2026-01-12 10:31:42.831167784 +0100 +++ /var/tmp/diff_new_pack.zl6kjB/_new 2026-01-12 10:31:42.835167948 +0100 @@ -1,5 +1,5 @@ name: zenith -version: 0.14.2 -mtime: 1767118366 -commit: ac3565d0a83902d2947eb90302640a72c76a1d39 +version: 0.14.3 +mtime: 1767891063 +commit: 8e52c18fc9e076d0cbe867bf55c9ab8e5a18ebd2
