commit eza for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package eza for openSUSE:Factory checked in at 2024-08-08 10:58:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/eza (Old) and /work/SRC/openSUSE:Factory/.eza.new.7232 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "eza" Thu Aug 8 10:58:47 2024 rev:44 rq:1192498 version:0.19.0+0 Changes: -------- --- /work/SRC/openSUSE:Factory/eza/eza.changes 2024-08-05 17:22:58.515304091 +0200 +++ /work/SRC/openSUSE:Factory/.eza.new.7232/eza.changes 2024-08-08 10:59:15.233730303 +0200 @@ -1,0 +2,9 @@ +Thu Aug 8 05:22:44 UTC 2024 - Michael Vetter <mvetter@suse.com> + +- Update to 0.19.0: + * [breaking] Implement EZA_GRID_ROWS grid details view minimum rows threshold + Before this change, the EZA_GRID_ROWS variable was + ignored, despite documentation existing. Users relying on EZA_GRID_ROW + not doing anything will find their output changed. For more info, see + +------------------------------------------------------------------- Old: ---- eza-0.18.24+0.obscpio New: ---- eza-0.19.0+0.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ eza.spec ++++++ --- /var/tmp/diff_new_pack.FrLo1p/_old 2024-08-08 10:59:17.305815485 +0200 +++ /var/tmp/diff_new_pack.FrLo1p/_new 2024-08-08 10:59:17.321816143 +0200 @@ -17,7 +17,7 @@ Name: eza -Version: 0.18.24+0 +Version: 0.19.0+0 Release: 0 Summary: Replacement for ls written in Rust License: MIT ++++++ _service ++++++ --- /var/tmp/diff_new_pack.FrLo1p/_old 2024-08-08 10:59:17.629828805 +0200 +++ /var/tmp/diff_new_pack.FrLo1p/_new 2024-08-08 10:59:17.673830614 +0200 @@ -3,7 +3,7 @@ <param name="url">https://github.com/eza-community/eza.git</param> <param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param> <param name="scm">git</param> - <param name="revision">v0.18.24</param> + <param name="revision">v0.19.0</param> <param name="match-tag">*</param> <param name="versionrewrite-pattern">v(\d+\.\d+\.\d+)</param> <param name="versionrewrite-replacement">\1</param> ++++++ eza-0.18.24+0.obscpio -> eza-0.19.0+0.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/eza-0.18.24+0/CHANGELOG.md new/eza-0.19.0+0/CHANGELOG.md --- old/eza-0.18.24+0/CHANGELOG.md 2024-08-03 18:01:28.000000000 +0200 +++ new/eza-0.19.0+0/CHANGELOG.md 2024-08-08 06:36:11.000000000 +0200 @@ -1,11 +1,21 @@ # Changelog +## [0.19.0] - 2024-08-08 + +### Bug Fixes + +- [**breaking**] Implement `EZA_GRID_ROWS` grid details view minimum rows threshold + ## [0.18.24] - 2024-08-03 ### Bug Fixes - 1.80 breakage from time crate +### Miscellaneous Tasks + +- Release eza v0.18.24 + ### Build - Bump time dependency diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/eza-0.18.24+0/Cargo.lock new/eza-0.19.0+0/Cargo.lock --- old/eza-0.18.24+0/Cargo.lock 2024-08-03 18:01:28.000000000 +0200 +++ new/eza-0.19.0+0/Cargo.lock 2024-08-08 06:36:11.000000000 +0200 @@ -387,7 +387,7 @@ [[package]] name = "eza" -version = "0.18.24" +version = "0.19.0" dependencies = [ "ansi-width", "chrono", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/eza-0.18.24+0/Cargo.toml new/eza-0.19.0+0/Cargo.toml --- old/eza-0.18.24+0/Cargo.toml 2024-08-03 18:01:28.000000000 +0200 +++ new/eza-0.19.0+0/Cargo.toml 2024-08-08 06:36:11.000000000 +0200 @@ -16,7 +16,7 @@ homepage = "https://github.com/eza-community/eza" license = "MIT" repository = "https://github.com/eza-community/eza" -version = "0.18.24" +version = "0.19.0" [package.metadata.deb] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/eza-0.18.24+0/src/output/grid_details.rs new/eza-0.19.0+0/src/output/grid_details.rs --- old/eza-0.18.24+0/src/output/grid_details.rs 2024-08-03 18:01:28.000000000 +0200 +++ new/eza-0.19.0+0/src/output/grid_details.rs 2024-08-08 06:36:11.000000000 +0200 @@ -143,11 +143,11 @@ let cells = rows .into_iter() - .zip(self.files) + .zip(&self.files) .map(|(row, file)| { let filename = self .file_style - .for_file(&file, self.theme) + .for_file(file, self.theme) .paint() .strings() .to_string(); @@ -178,6 +178,41 @@ }, ); + // If a minimum grid rows threshold has been set + // via the `EZA_GRID_ROWS` environment variable + // and the grid is going to get rendered with fewer rows, + // then render a details list view instead. + if let RowThreshold::MinimumRows(minimum_rows) = self.row_threshold { + if grid.row_count() < minimum_rows { + let Self { + dir, + files, + theme, + file_style, + details: opts, + filter, + git_ignoring, + git, + git_repos, + .. + } = self; + + let r = DetailsRender { + dir, + files, + theme, + file_style, + opts, + recurse: None, + filter, + git_ignoring, + git, + git_repos, + }; + return r.render(w); + } + } + if self.details.header { let row = table.header_row(); let name = TextCell::paint_str(self.theme.ui.header, "Name") ++++++ eza.obsinfo ++++++ --- /var/tmp/diff_new_pack.FrLo1p/_old 2024-08-08 10:59:19.013885703 +0200 +++ /var/tmp/diff_new_pack.FrLo1p/_new 2024-08-08 10:59:19.049887184 +0200 @@ -1,5 +1,5 @@ name: eza -version: 0.18.24+0 -mtime: 1722700888 -commit: 6cbb5ba981fc2583328f39e8b0c55caec10b5c8e +version: 0.19.0+0 +mtime: 1723091771 +commit: b9655bc181f412fcc3e4f4ae34fd7726a5d6339e ++++++ vendor.tar.zst ++++++ /work/SRC/openSUSE:Factory/eza/vendor.tar.zst /work/SRC/openSUSE:Factory/.eza.new.7232/vendor.tar.zst differ: char 426152, line 1728
participants (1)
-
Source-Sync