Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package autotiling-rs for openSUSE:Factory checked in at 2026-02-10 21:12:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/autotiling-rs (Old) and /work/SRC/openSUSE:Factory/.autotiling-rs.new.1670 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "autotiling-rs" Tue Feb 10 21:12:59 2026 rev:2 rq:1332200 version:0.1.8 Changes: -------- --- /work/SRC/openSUSE:Factory/autotiling-rs/autotiling-rs.changes 2025-07-01 11:36:29.595141927 +0200 +++ /work/SRC/openSUSE:Factory/.autotiling-rs.new.1670/autotiling-rs.changes 2026-02-10 21:13:29.854265792 +0100 @@ -1,0 +2,18 @@ +Tue Feb 10 09:15:57 UTC 2026 - Matej Cepl <[email protected]> + +- Update to 0.1.8: + - bump to 0.1.8 to fix lockfile +- Update to 0.1.6: + - fix --help command + - Need to re-enable "help" feature. + - Also will enable "usage" and "suggestions" to avoid cryptic + errors when incorrect flags etc given. + +------------------------------------------------------------------- +Thu Oct 2 20:27:06 UTC 2025 - Matej Cepl <[email protected]> + +- Update to 0.1.5: + - fix regression for arguments to -w option + - Update dependencies + +------------------------------------------------------------------- Old: ---- v0.1.3.tar.gz New: ---- v0.1.8.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ autotiling-rs.spec ++++++ --- /var/tmp/diff_new_pack.UjhKoU/_old 2026-02-10 21:13:30.830306691 +0100 +++ /var/tmp/diff_new_pack.UjhKoU/_new 2026-02-10 21:13:30.834306858 +0100 @@ -17,7 +17,7 @@ Name: autotiling-rs -Version: 0.1.3 +Version: 0.1.8 Release: 0 Summary: Container layout switcher for sway/i3 with automatic tiling License: MIT ++++++ v0.1.3.tar.gz -> v0.1.8.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autotiling-rs-0.1.3/Cargo.lock new/autotiling-rs-0.1.8/Cargo.lock --- old/autotiling-rs-0.1.3/Cargo.lock 2021-02-07 02:11:00.000000000 +0100 +++ new/autotiling-rs-0.1.8/Cargo.lock 2026-02-04 18:12:44.000000000 +0100 @@ -1,148 +1,120 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. +version = 4 + [[package]] -name = "addr2line" -version = "0.12.1" +name = "anstyle" +version = "1.0.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a49806b9dadc843c61e7c97e72490ad7f7220ae249012fbda9ad0609457c0543" -dependencies = [ - "gimli", -] +checksum = "5192cca8006f1fd4f7237516f40fa183bb07f8fbdfedaa0036de5ea9b0b45e78" [[package]] name = "autotiling-rs" -version = "0.1.3" +version = "0.1.8" dependencies = [ "clap", "swayipc", ] [[package]] -name = "backtrace" -version = "0.3.48" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0df2f85c8a2abbe3b7d7e748052fdd9b76a0458fdeb16ad4223f5eca78c7c130" -dependencies = [ - "addr2line", - "cfg-if", - "libc", - "object", - "rustc-demangle", -] - -[[package]] -name = "bitflags" -version = "1.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693" - -[[package]] -name = "cfg-if" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" - -[[package]] name = "clap" -version = "2.33.3" +version = "4.5.57" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37e58ac78573c40708d45522f0d80fa2f01cc4f9b4e2bf749807255454312002" +checksum = "6899ea499e3fb9305a65d5ebf6e3d2248c5fab291f300ad0a704fbe142eae31a" dependencies = [ - "bitflags", - "textwrap", - "unicode-width", + "clap_builder", + "clap_derive", ] [[package]] -name = "failure" -version = "0.1.8" +name = "clap_builder" +version = "4.5.57" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d32e9bd16cc02eae7db7ef620b392808b89f6a5e16bb3497d159c6b92a0f4f86" +checksum = "7b12c8b680195a62a8364d16b8447b01b6c2c8f9aaf68bee653be34d4245e238" dependencies = [ - "backtrace", - "failure_derive", + "anstyle", + "clap_lex", + "strsim", ] [[package]] -name = "failure_derive" -version = "0.1.8" +name = "clap_derive" +version = "4.5.55" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa4da3c766cd7a0db8242e326e9e4e081edd567072893ed320008189715366a4" +checksum = "a92793da1a46a5f2a02a6f4c46c6496b28c43638adea8306fcb0caa1634f24e5" dependencies = [ + "heck", "proc-macro2", "quote", "syn", - "synstructure", ] [[package]] -name = "gimli" -version = "0.21.0" +name = "clap_lex" +version = "0.7.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bcc8e0c9bce37868955864dbecd2b1ab2bdf967e6f28066d65aaac620444b65c" +checksum = "c3e64b0cc0439b12df2fa678eae89a1c56a529fd067a9115f7827f1fffd22b32" [[package]] -name = "itoa" -version = "0.4.5" +name = "heck" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8b7a7c0c47db5545ed3fef7468ee7bb5b74691498139e4b3f6a20685dc6dd8e" +checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" [[package]] -name = "libc" -version = "0.2.71" +name = "itoa" +version = "1.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9457b06509d27052635f90d6466700c65095fdf75409b3fbdd903e988b886f49" +checksum = "92ecc6618181def0457392ccd0ee51198e065e016d1d527a7ac1b6dc7c1f09d2" [[package]] -name = "object" -version = "0.19.0" +name = "memchr" +version = "2.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9cbca9424c482ee628fa549d9c812e2cd22f1180b9222c9200fdfa6eb31aecb2" +checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273" [[package]] name = "proc-macro2" -version = "1.0.17" +version = "1.0.106" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1502d12e458c49a4c9cbff560d0fe0060c252bc29799ed94ca2ed4bb665a0101" +checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934" dependencies = [ - "unicode-xid", + "unicode-ident", ] [[package]] name = "quote" -version = "1.0.6" +version = "1.0.44" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54a21852a652ad6f610c9510194f398ff6f8692e334fd1145fed931f7fbe44ea" +checksum = "21b2ebcf727b7760c461f091f9f0f539b77b8e87f2fd88131e7f1b433b3cece4" dependencies = [ "proc-macro2", ] [[package]] -name = "rustc-demangle" -version = "0.1.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c691c0e608126e00913e33f0ccf3727d5fc84573623b8d65b2df340b5201783" - -[[package]] -name = "ryu" -version = "1.0.2" +name = "serde" +version = "1.0.228" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfa8506c1de11c9c4e4c38863ccbe02a305c8188e85a05a784c9e11e1c3910c8" +checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e" +dependencies = [ + "serde_core", + "serde_derive", +] [[package]] -name = "serde" -version = "1.0.104" +name = "serde_core" +version = "1.0.228" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "414115f25f818d7dfccec8ee535d76949ae78584fc4f79a6f45a904bf8ab4449" +checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.104" +version = "1.0.228" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "128f9e303a5a29922045a830221b8f78ec74a5f544944f3d5984f8ec3895ef64" +checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79" dependencies = [ "proc-macro2", "quote", @@ -151,66 +123,84 @@ [[package]] name = "serde_json" -version = "1.0.48" +version = "1.0.149" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9371ade75d4c2d6cb154141b9752cf3781ec9c05e0e5cf35060e1e70ee7b9c25" +checksum = "83fc039473c5595ace860d8c4fafa220ff474b3fc6bfdb4293327f1a37e94d86" dependencies = [ "itoa", - "ryu", + "memchr", "serde", + "serde_core", + "zmij", ] [[package]] +name = "strsim" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" + +[[package]] name = "swayipc" -version = "2.7.2" +version = "3.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92c6565a48b46668f894564e855ea0adfef31f51f549af6fedd9cba8052b210f" +checksum = "2b8c50cb2e98e88b52066a35ef791fffd8f6fa631c3a4983de18ba41f718c736" dependencies = [ - "failure", "serde", "serde_json", + "swayipc-types", +] + +[[package]] +name = "swayipc-types" +version = "1.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a59277899d1da02e8d04f5118d780ba8d769c3c3c9f9fdbae4c2e77a56312a4f" +dependencies = [ + "serde", + "serde_json", + "thiserror", ] [[package]] name = "syn" -version = "1.0.29" +version = "2.0.114" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb37da98a55b1d08529362d9cbb863be17556873df2585904ab9d2bc951291d0" +checksum = "d4d107df263a3013ef9b1879b0df87d706ff80f65a86ea879bd9c31f9b307c2a" dependencies = [ "proc-macro2", "quote", - "unicode-xid", + "unicode-ident", ] [[package]] -name = "synstructure" -version = "0.12.3" +name = "thiserror" +version = "2.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67656ea1dc1b41b1451851562ea232ec2e5a80242139f7e679ceccfb5d61f545" +checksum = "4288b5bcbc7920c07a1149a35cf9590a2aa808e0bc1eafaade0b80947865fbc4" dependencies = [ - "proc-macro2", - "quote", - "syn", - "unicode-xid", + "thiserror-impl", ] [[package]] -name = "textwrap" -version = "0.11.0" +name = "thiserror-impl" +version = "2.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060" +checksum = "ebc4ee7f67670e9b64d05fa4253e753e016c6c95ff35b89b7941d6b856dec1d5" dependencies = [ - "unicode-width", + "proc-macro2", + "quote", + "syn", ] [[package]] -name = "unicode-width" -version = "0.1.8" +name = "unicode-ident" +version = "1.0.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9337591893a19b88d8d87f2cec1e73fad5cdfd10e5a6f349f498ad6ea2ffb1e3" +checksum = "9312f7c4f6ff9069b165498234ce8be658059c6728633667c526e27dc2cf1df5" [[package]] -name = "unicode-xid" -version = "0.2.0" +name = "zmij" +version = "1.0.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "826e7639553986605ec5979c7dd957c7895e93eabed50ab2ffa7f6128a75097c" +checksum = "3ff05f8caa9038894637571ae6b9e29466c1f4f829d26c9b28f869a29cbe3445" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autotiling-rs-0.1.3/Cargo.toml new/autotiling-rs-0.1.8/Cargo.toml --- old/autotiling-rs-0.1.3/Cargo.toml 2021-02-07 02:11:00.000000000 +0100 +++ new/autotiling-rs-0.1.8/Cargo.toml 2026-02-04 18:12:44.000000000 +0100 @@ -1,12 +1,19 @@ [package] name = "autotiling-rs" -version = "0.1.3" +version = "0.1.8" authors = ["Jason Nader <[email protected]>"] +description = "Autotiling for sway (and possibly i3)" edition = "2018" [dependencies] -swayipc = "2.7" +swayipc = "3.0" [dependencies.clap] -version = "2.33" +version = "4.5" default-features = false +features = ["std", "derive", "usage", "help", "suggestions"] + +[profile.release] +strip = true +opt-level = "s" +lto = true diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autotiling-rs-0.1.3/LICENSE new/autotiling-rs-0.1.8/LICENSE --- old/autotiling-rs-0.1.3/LICENSE 1970-01-01 01:00:00.000000000 +0100 +++ new/autotiling-rs-0.1.8/LICENSE 2026-02-04 18:12:44.000000000 +0100 @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2022 Jason Nader + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autotiling-rs-0.1.3/README.md new/autotiling-rs-0.1.8/README.md --- old/autotiling-rs-0.1.3/README.md 2021-02-07 02:11:00.000000000 +0100 +++ new/autotiling-rs-0.1.8/README.md 2026-02-04 18:12:44.000000000 +0100 @@ -8,4 +8,15 @@ ## Installation -Arch Linux: Found on the AUR as [autotiling-rs-git](https://aur.archlinux.org/packages/autotiling-rs-git). +Arch Linux: [autotiling-rs](https://archlinux.org/packages/?q=autotiling-rs) + +Arch Linux (AUR): [autotiling-rs-git](https://aur.archlinux.org/packages/autotiling-rs-git). + +Nix: [autotiling-rs](https://search.nixos.org/packages?channel=unstable&show=autotiling-rs&from=0&size=50&sort=relevance&type=packages&query=autotiling-rs) + +Gentoo GURU: [autotiling-rs](https://gpo.zugaina.org/gui-apps/autotiling-rs) + +## Compiling +``` +cargo build --release +``` diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autotiling-rs-0.1.3/src/main.rs new/autotiling-rs-0.1.8/src/main.rs --- old/autotiling-rs-0.1.3/src/main.rs 2021-02-07 02:11:00.000000000 +0100 +++ new/autotiling-rs-0.1.8/src/main.rs 2026-02-04 18:12:44.000000000 +0100 @@ -1,7 +1,7 @@ -use swayipc::reply::{Event, NodeLayout, NodeType, WindowChange}; use swayipc::{Connection, EventType}; +use swayipc::{Event, NodeLayout, NodeType, WindowChange}; -use clap::{app_from_crate, crate_authors, crate_description, crate_name, crate_version, Arg}; +use clap::Parser; fn switch_splitting(conn: &mut Connection, workspaces: &[i32]) -> Result<(), String> { // Check if focused workspace is in "allowed list". @@ -58,22 +58,16 @@ Ok(()) } +#[derive(Parser)] +#[clap(version, author, about)] +struct Cli { + /// Activate autotiling only on this workspace. More than one workspace may be specified. + #[clap(long, short = 'w', value_delimiter = ' ', num_args = 1..)] + workspace: Vec<i32>, +} + fn main() -> Result<(), std::io::Error> { - // Init clap - let params = app_from_crate!() - .arg( - Arg::with_name("workspace") - .short("w") - .help("Activate autotiling only on this workspace. More than one workspace may be specified.") - .multiple(true) - .takes_value(true) - .required(false), - ) - .get_matches(); - let workspaces = params - .values_of("workspace") - .map(|w| w.map(|w| w.parse::<i32>().unwrap()).collect::<Vec<i32>>()) - .unwrap_or_default(); + let args = Cli::parse(); let mut conn = Connection::new().unwrap(); for event in Connection::new() @@ -89,7 +83,7 @@ // delete a node we find that the e.container.rect.height and e.container.rect.width are stale, // and therefore we make the wrong decision on which layout our next window should be. // Refer to https://github.com/swaywm/sway/issues/5873 - if let Err(err) = switch_splitting(&mut conn, &workspaces) { + if let Err(err) = switch_splitting(&mut conn, &args.workspace) { eprintln!("err: {}", err); } } ++++++ vendor.tar.gz ++++++ /work/SRC/openSUSE:Factory/autotiling-rs/vendor.tar.gz /work/SRC/openSUSE:Factory/.autotiling-rs.new.1670/vendor.tar.gz differ: char 15, line 1
