Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package eza for openSUSE:Factory checked in at 2025-01-28 16:41:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/eza (Old) and /work/SRC/openSUSE:Factory/.eza.new.2316 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "eza" Tue Jan 28 16:41:11 2025 rev:60 rq:1240827 version:0.20.18 Changes: -------- --- /work/SRC/openSUSE:Factory/eza/eza.changes 2025-01-17 18:43:21.883852209 +0100 +++ /work/SRC/openSUSE:Factory/.eza.new.2316/eza.changes 2025-01-28 16:41:24.971639754 +0100 @@ -1,0 +2,10 @@ +Tue Jan 28 13:04:19 UTC 2025 - Michael Vetter <mvet...@suse.com> + +- Update to 0.20.18: + Bug Fixes: + * Support additional yaml file extension, clippy + Build: + * Cargo bump 2025-01-23 + * Flake bump 2025-01-23 + +------------------------------------------------------------------- Old: ---- eza-0.20.17.obscpio New: ---- eza-0.20.18.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ eza.spec ++++++ --- /var/tmp/diff_new_pack.dL1OKC/_old 2025-01-28 16:41:26.231691725 +0100 +++ /var/tmp/diff_new_pack.dL1OKC/_new 2025-01-28 16:41:26.231691725 +0100 @@ -17,7 +17,7 @@ Name: eza -Version: 0.20.17 +Version: 0.20.18 Release: 0 Summary: Replacement for ls written in Rust License: EUPL-1.2 ++++++ _service ++++++ --- /var/tmp/diff_new_pack.dL1OKC/_old 2025-01-28 16:41:26.267693210 +0100 +++ /var/tmp/diff_new_pack.dL1OKC/_new 2025-01-28 16:41:26.271693375 +0100 @@ -3,7 +3,7 @@ <param name="url">https://github.com/eza-community/eza.git</param> <param name="versionformat">@PARENT_TAG@</param> <param name="scm">git</param> - <param name="revision">v0.20.17</param> + <param name="revision">v0.20.18</param> <param name="match-tag">*</param> <param name="versionrewrite-pattern">v(\d+\.\d+\.\d+)</param> <param name="versionrewrite-replacement">\1</param> ++++++ eza-0.20.17.obscpio -> eza-0.20.18.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/eza-0.20.17/.github/workflows/unit-tests.yml new/eza-0.20.18/.github/workflows/unit-tests.yml --- old/eza-0.20.17/.github/workflows/unit-tests.yml 2025-01-16 08:10:34.000000000 +0100 +++ new/eza-0.20.18/.github/workflows/unit-tests.yml 2025-01-23 07:22:45.000000000 +0100 @@ -92,11 +92,14 @@ release: '14.2' usesh: true prepare: | - pkg install -y rust git + pkg install -y curl git + curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain 1.74 -y + . ~/.cargo/env cargo install cargo-hack git config --global --add safe.directory /home/runner/work/eza/eza run: | set -e + . ~/.cargo/env export CARGO_TERM_COLOR="always" export RUSTFLAGS="--deny warnings" cargo fmt --check diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/eza-0.20.17/CHANGELOG.md new/eza-0.20.18/CHANGELOG.md --- old/eza-0.20.17/CHANGELOG.md 2025-01-16 08:10:34.000000000 +0100 +++ new/eza-0.20.18/CHANGELOG.md 2025-01-23 07:22:45.000000000 +0100 @@ -6,12 +6,31 @@ --> # Changelog +## [0.20.18] - 2025-01-23 + +### Bug Fixes + +- Support additional yaml file extension, clippy + +### Build + +- Cargo bump 2025-01-23 +- Flake bump 2025-01-23 + +### Ci + +- Use rust 1.74 instead of latest via rustup + ## [0.20.17] - 2025-01-16 ### Features - Add editorconfig icon for .editorconfig +### Miscellaneous Tasks + +- Eza v0.20.17 changelogs, version bump + ### Build - Cargo bump 2025-01-16 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/eza-0.20.17/Cargo.lock new/eza-0.20.18/Cargo.lock --- old/eza-0.20.17/Cargo.lock 2025-01-16 08:10:34.000000000 +0100 +++ new/eza-0.20.18/Cargo.lock 2025-01-23 07:22:45.000000000 +0100 @@ -185,9 +185,9 @@ [[package]] name = "cc" -version = "1.2.9" +version = "1.2.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8293772165d9345bdaaa39b45b2109591e63fe5e6fbc23c6ff930a048aa310b" +checksum = "13208fcbb66eaeffe09b99fffbe1af420f00a7b35aa99ad683dfc1aa76145229" dependencies = [ "jobserver", "libc", @@ -241,18 +241,18 @@ [[package]] name = "clap" -version = "4.5.26" +version = "4.5.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8eb5e908ef3a6efbe1ed62520fb7287959888c88485abe072543190ecc66783" +checksum = "769b0145982b4b48713e01ec42d61614425f27b7058bda7180a3a41f30104796" dependencies = [ "clap_builder", ] [[package]] name = "clap_builder" -version = "4.5.26" +version = "4.5.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96b01801b5fc6a0a232407abc821660c9c6d25a1cafc0d4f85f29fb8d9afc121" +checksum = "1b26884eb4b57140e4d2d93652abfa49498b938b3c9179f9fc487b0acc3edad7" dependencies = [ "anstyle", "clap_lex", @@ -348,9 +348,9 @@ [[package]] name = "crunchy" -version = "0.2.2" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7" +checksum = "43da5946c66ffcc7745f48db692ffbb10a83bfe0afd96235c5c2a4fb23994929" [[package]] name = "datetime" @@ -434,7 +434,7 @@ [[package]] name = "eza" -version = "0.20.17" +version = "0.20.18" dependencies = [ "ansi-width", "backtrace", @@ -741,9 +741,9 @@ [[package]] name = "indexmap" -version = "2.7.0" +version = "2.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62f822373a4fe84d4bb149bf54e584a7f4abec90e072ed49cda0edea5b95471f" +checksum = "8c9c992b02b5b4c94ea26e32fe5bccb7aa7d9f390ab5c1221ff895bc7ea8b652" dependencies = [ "equivalent", "hashbrown", @@ -751,13 +751,13 @@ [[package]] name = "is-terminal" -version = "0.4.13" +version = "0.4.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "261f68e344040fbd0edea105bef17c66edf46f984ddb1115b775ce31be948f4b" +checksum = "e19b23d53f35ce9f56aebc7d1bb4e6ac1e9c0db7ac85c8d1760c04379edced37" dependencies = [ "hermit-abi", "libc", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -1258,9 +1258,9 @@ [[package]] name = "rustix" -version = "0.38.43" +version = "0.38.44" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a78891ee6bf2340288408954ac787aa063d8e8817e9f53abb37c695c6d834ef6" +checksum = "fdb5bc1ae2baa591800df16c9ca78619bf65c0488b41b96ccec5d11220d8c154" dependencies = [ "bitflags", "errno", @@ -1312,9 +1312,9 @@ [[package]] name = "serde_json" -version = "1.0.135" +version = "1.0.137" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b0d7ba2887406110130a978386c4e1befb98c674b4fba677954e4db976630d9" +checksum = "930cfb6e6abf99298aaad7d29abbef7a9999a9a8806a40088f55f0dcec03146b" dependencies = [ "itoa", "memchr", @@ -1352,9 +1352,9 @@ [[package]] name = "similar" -version = "2.6.0" +version = "2.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1de1d4f81173b03af4c0cbed3c898f6bff5b870e4a7f5d6f4057d62a7a4b686e" +checksum = "bbbb5d9659141646ae647b42fe094daf6c6192d1620870b449d9557f748b2daa" [[package]] name = "siphasher" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/eza-0.20.17/Cargo.toml new/eza-0.20.18/Cargo.toml --- old/eza-0.20.17/Cargo.toml 2025-01-16 08:10:34.000000000 +0100 +++ new/eza-0.20.18/Cargo.toml 2025-01-23 07:22:45.000000000 +0100 @@ -29,7 +29,7 @@ homepage = "https://github.com/eza-community/eza" license = "EUPL-1.2" repository = "https://github.com/eza-community/eza" -version = "0.20.17" +version = "0.20.18" [package.metadata.deb] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/eza-0.20.17/flake.lock new/eza-0.20.18/flake.lock --- old/eza-0.20.17/flake.lock 2025-01-16 08:10:34.000000000 +0100 +++ new/eza-0.20.18/flake.lock 2025-01-23 07:22:45.000000000 +0100 @@ -3,11 +3,11 @@ "advisory-db": { "flake": false, "locked": { - "lastModified": 1735928634, - "narHash": "sha256-Qg1vJOuEohAbdRmTTOLrbbGsyK9KRB54r3+aBuOMctM=", + "lastModified": 1737565911, + "narHash": "sha256-WxIWw1mSPJVU1JfIcTdIubU5UoIwwR8h7UcXop/6htg=", "owner": "rustsec", "repo": "advisory-db", - "rev": "63a2f39924f66ca89cf5761f299a8a244fe02543", + "rev": "ffa26704690a3dc403edcd94baef103ee48f66eb", "type": "github" }, "original": { @@ -95,11 +95,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1736910646, - "narHash": "sha256-Jzq/EKtSxOCA9hFuovQGlzOuRA8p9cB4mMYWUeCW4FA=", + "lastModified": 1737525964, + "narHash": "sha256-3wFonKmNRWKq1himW9N3TllbeGIHFACI5vmLpk6moF8=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "0bd024d34eb07cef235f94258423f40a41182088", + "rev": "5757bbb8bd7c0630a0cc4bb19c47e588db30b97c", "type": "github" }, "original": { @@ -150,11 +150,11 @@ ] }, "locked": { - "lastModified": 1735882644, - "narHash": "sha256-3FZAG+pGt3OElQjesCAWeMkQ7C/nB1oTHLRQ8ceP110=", + "lastModified": 1737465171, + "narHash": "sha256-R10v2hoJRLq8jcL4syVFag7nIGE7m13qO48wRIukWNg=", "owner": "cachix", "repo": "pre-commit-hooks.nix", - "rev": "a5a961387e75ae44cc20f0a57ae463da5e959656", + "rev": "9364dc02281ce2d37a1f55b6e51f7c0f65a75f17", "type": "github" }, "original": { @@ -183,11 +183,11 @@ ] }, "locked": { - "lastModified": 1736994333, - "narHash": "sha256-v4Jrok5yXsZ6dwj2+2uo5cSyUi9fBTurHqHvNHLT1XA=", + "lastModified": 1737599167, + "narHash": "sha256-S2rHCrQWCDVp63XxL/AQbGr1g5M8Zx14C7Jooa4oM8o=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "848db855cb9e88785996e961951659570fc58814", + "rev": "38374302ae9edf819eac666d1f276d62c712dd06", "type": "github" }, "original": { @@ -218,11 +218,11 @@ ] }, "locked": { - "lastModified": 1736154270, - "narHash": "sha256-p2r8xhQZ3TYIEKBoiEhllKWQqWNJNoT9v64Vmg4q8Zw=", + "lastModified": 1737483750, + "narHash": "sha256-5An1wq5U8sNycOBBg3nsDDgpwBmR9liOpDGlhliA6Xo=", "owner": "numtide", "repo": "treefmt-nix", - "rev": "13c913f5deb3a5c08bb810efd89dc8cb24dd968b", + "rev": "f2cc121df15418d028a59c9737d38e3a90fbaf8f", "type": "github" }, "original": { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/eza-0.20.17/src/options/config.rs new/eza-0.20.18/src/options/config.rs --- old/eza-0.20.17/src/options/config.rs 2025-01-16 08:10:34.000000000 +0100 +++ new/eza-0.20.18/src/options/config.rs 2025-01-23 07:22:45.000000000 +0100 @@ -628,43 +628,43 @@ #[test] fn parse_none_color_from_string() { - ["", "none", "None"].iter().for_each(|case| { + for case in &["", "none", "None"] { assert_eq!(color_from_str(case), None); - }); + } } #[test] fn parse_default_color_from_string() { - ["default", "Default"].iter().for_each(|case| { + for case in &["default", "Default"] { assert_eq!(color_from_str(case), Some(Color::Default)); - }); + } } #[test] fn parse_fixed_color_from_string() { - ["black", "Black"].iter().for_each(|case| { + for case in &["black", "Black"] { assert_eq!(color_from_str(case), Some(Color::Black)); - }); + } } #[test] fn parse_long_hex_color_from_string() { - ["#ff00ff", "#FF00FF"].iter().for_each(|case| { + for case in &["#ff00ff", "#FF00FF"] { assert_eq!(color_from_str(case), Some(Color::Rgb(255, 0, 255))); - }); + } } #[test] fn parse_short_hex_color_from_string() { - ["#f0f", "#F0F"].iter().for_each(|case| { + for case in ["#f0f", "#F0F"].iter() { assert_eq!(color_from_str(case), Some(Color::Rgb(255, 0, 255))); - }); + } } #[test] fn parse_color_code_from_string() { - [("10", 10), ("01", 1)].iter().for_each(|(s, c)| { + for (s, c) in &[("10", 10), ("01", 1)] { assert_eq!(color_from_str(s), Some(Color::Fixed(*c))); - }); + } } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/eza-0.20.17/src/options/theme.rs new/eza-0.20.18/src/options/theme.rs --- old/eza-0.20.17/src/options/theme.rs 2025-01-16 08:10:34.000000000 +0100 +++ new/eza-0.20.18/src/options/theme.rs 2025-01-23 07:22:45.000000000 +0100 @@ -35,23 +35,26 @@ impl ThemeConfig { fn deduce<V: Vars>(vars: &V) -> Option<Self> { - if let Some(path) = vars.get("EZA_CONFIG_DIR") { - let path = PathBuf::from(path); - let path = path.join("theme.yml"); - if path.exists() { - Some(ThemeConfig::from_path(&path.to_string_lossy())) - } else { - None - } + let (base_path, is_default_location) = if let Some(path) = vars.get("EZA_CONFIG_DIR") { + (PathBuf::from(path), false) + } else if let Some(path) = dirs::config_dir() { + (path.join("eza"), true) } else { - let path = dirs::config_dir().unwrap_or_default(); - let path = path.join("eza").join("theme.yml"); - if path.exists() { - Some(ThemeConfig::default()) + return None; + }; + let yml_path = base_path.join("theme.yml"); + if yml_path.exists() { + return if is_default_location { + Some(ThemeConfig::from_path(&yml_path.to_string_lossy())) } else { - None - } + Some(ThemeConfig::default()) + }; + } + let yaml_path = base_path.join("theme.yaml"); + if yaml_path.exists() { + return Some(ThemeConfig::from_path(&yaml_path.to_string_lossy())); } + None } } ++++++ eza.obsinfo ++++++ --- /var/tmp/diff_new_pack.dL1OKC/_old 2025-01-28 16:41:26.647708884 +0100 +++ /var/tmp/diff_new_pack.dL1OKC/_new 2025-01-28 16:41:26.651709049 +0100 @@ -1,5 +1,5 @@ name: eza -version: 0.20.17 -mtime: 1737011434 -commit: 2353c15e2fc091e74a813cc90463bfffe67d50e3 +version: 0.20.18 +mtime: 1737613365 +commit: 1f882d8155a3c253c954196dd8101ba534581d2b ++++++ vendor.tar.zst ++++++ /work/SRC/openSUSE:Factory/eza/vendor.tar.zst /work/SRC/openSUSE:Factory/.eza.new.2316/vendor.tar.zst differ: char 7, line 1