Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package choose for openSUSE:Factory checked in at 2025-08-28 17:19:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/choose (Old) and /work/SRC/openSUSE:Factory/.choose.new.1977 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "choose" Thu Aug 28 17:19:59 2025 rev:4 rq:1301788 version:1.3.7 Changes: -------- --- /work/SRC/openSUSE:Factory/choose/choose.changes 2024-10-02 21:34:40.333593702 +0200 +++ /work/SRC/openSUSE:Factory/.choose.new.1977/choose.changes 2025-08-28 17:20:40.860276045 +0200 @@ -1,0 +2,8 @@ +Thu Aug 28 11:17:08 UTC 2025 - Michael Vetter <mvet...@suse.com> + +- Update to 1.3.7: + * name windows binary with .exe + * fix build warnings + * fix crlf messing up -1 + +------------------------------------------------------------------- Old: ---- choose-1.3.6.tar.xz New: ---- choose-1.3.7.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ choose.spec ++++++ --- /var/tmp/diff_new_pack.oLwV8n/_old 2025-08-28 17:20:41.392298343 +0200 +++ /var/tmp/diff_new_pack.oLwV8n/_new 2025-08-28 17:20:41.396298510 +0200 @@ -1,7 +1,7 @@ # # spec file for package choose # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 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: choose -Version: 1.3.6 +Version: 1.3.7 Release: 0 Summary: A human-friendly and fast alternative to cut and (sometimes) awk License: MIT ++++++ _service ++++++ --- /var/tmp/diff_new_pack.oLwV8n/_old 2025-08-28 17:20:41.428299852 +0200 +++ /var/tmp/diff_new_pack.oLwV8n/_new 2025-08-28 17:20:41.432300019 +0200 @@ -3,7 +3,7 @@ <param name="url">https://github.com/theryangeary/choose</param> <param name="versionformat">@PARENT_TAG@</param> <param name="scm">git</param> - <param name="revision">v1.3.6</param> + <param name="revision">v1.3.7</param> <param name="match-tag">*</param> <param name="versionrewrite-pattern">v(\d+\.\d+\.\d+)</param> <param name="versionrewrite-replacement">\1</param> ++++++ choose-1.3.6.tar.xz -> choose-1.3.7.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/choose-1.3.6/.github/workflows/release.yml new/choose-1.3.7/.github/workflows/release.yml --- old/choose-1.3.6/.github/workflows/release.yml 2024-10-02 00:11:57.000000000 +0200 +++ new/choose-1.3.7/.github/workflows/release.yml 2025-08-26 04:09:54.000000000 +0200 @@ -118,5 +118,16 @@ asset_name: choose-x86_64-pc-windows-gnu asset_content_type: application/raw + - name: Upload mingw .exe binary to GitHub release + id: upload-x86_64-pc-windows-gnu-release-asset-exe + uses: actions/upload-release-asset@v1.0.1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ steps.create-release.outputs.upload_url }} + asset_path: target/x86_64-pc-windows-gnu/release/choose.exe + asset_name: choose-x86_64-pc-windows-gnu.exe + asset_content_type: application/raw + - name: Create crates.io release run: cargo publish --token ${{ secrets.CRATES_IO_TOKEN }} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/choose-1.3.6/Cargo.lock new/choose-1.3.7/Cargo.lock --- old/choose-1.3.6/Cargo.lock 2024-10-02 00:11:57.000000000 +0200 +++ new/choose-1.3.7/Cargo.lock 2025-08-26 04:09:54.000000000 +0200 @@ -1,6 +1,6 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -version = 3 +version = 4 [[package]] name = "aho-corasick" @@ -45,7 +45,7 @@ [[package]] name = "choose" -version = "1.3.6" +version = "1.3.7" dependencies = [ "backslash", "lazy_static", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/choose-1.3.6/Cargo.toml new/choose-1.3.7/Cargo.toml --- old/choose-1.3.6/Cargo.toml 2024-10-02 00:11:57.000000000 +0200 +++ new/choose-1.3.7/Cargo.toml 2025-08-26 04:09:54.000000000 +0200 @@ -1,6 +1,6 @@ [package] name = "choose" -version = "1.3.6" +version = "1.3.7" authors = ["Ryan Geary <rtgn...@gmail.com>"] edition = "2021" license = "GPL-3.0-or-later" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/choose-1.3.6/src/config.rs new/choose-1.3.7/src/config.rs --- old/choose-1.3.6/src/config.rs 2024-10-02 00:11:57.000000000 +0200 +++ new/choose-1.3.7/src/config.rs 2025-08-26 04:09:54.000000000 +0200 @@ -12,7 +12,7 @@ impl Config { pub fn new(mut opt: Opt) -> Self { - for mut choice in &mut opt.choices { + for choice in &mut opt.choices { if (opt.exclusive && choice.kind == ChoiceKind::ColonRange) || choice.kind == ChoiceKind::RustExclusiveRange { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/choose-1.3.6/src/main.rs new/choose-1.3.7/src/main.rs --- old/choose-1.3.6/src/main.rs 2024-10-02 00:11:57.000000000 +0200 +++ new/choose-1.3.7/src/main.rs 2025-08-26 04:09:54.000000000 +0200 @@ -81,6 +81,9 @@ l }; + // trim end to remove newline or CRLF on windows + let l = l.trim_end(); + let choice_iter = &mut config.opt.choices.iter().peekable(); while let Some(choice) = choice_iter.next() { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/choose-1.3.6/src/opt.rs new/choose-1.3.7/src/opt.rs --- old/choose-1.3.6/src/opt.rs 2024-10-02 00:11:57.000000000 +0200 +++ new/choose-1.3.7/src/opt.rs 2025-08-26 04:09:54.000000000 +0200 @@ -14,6 +14,7 @@ /// Activate debug mode #[structopt(short, long)] + #[allow(unused)] pub debug: bool, /// Use exclusive ranges, similar to array indexing in many programming languages diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/choose-1.3.6/test/crlf.txt new/choose-1.3.7/test/crlf.txt --- old/choose-1.3.6/test/crlf.txt 1970-01-01 01:00:00.000000000 +0100 +++ new/choose-1.3.7/test/crlf.txt 2025-08-26 04:09:54.000000000 +0200 @@ -0,0 +1,2 @@ +ABC;GHI;JKKK;KLLL +JKL;YUI; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/choose-1.3.6/test/crlf_output.txt new/choose-1.3.7/test/crlf_output.txt --- old/choose-1.3.6/test/crlf_output.txt 1970-01-01 01:00:00.000000000 +0100 +++ new/choose-1.3.7/test/crlf_output.txt 2025-08-26 04:09:54.000000000 +0200 @@ -0,0 +1,2 @@ +KLLL +YUI diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/choose-1.3.6/test/e2e_test.sh new/choose-1.3.7/test/e2e_test.sh --- old/choose-1.3.6/test/e2e_test.sh 2024-10-02 00:11:57.000000000 +0200 +++ new/choose-1.3.7/test/e2e_test.sh 2025-08-26 04:09:54.000000000 +0200 @@ -28,6 +28,8 @@ diff -w <(cargo run -- -f : 1 -i ${test_dir}/colons.txt 2>/dev/null) <(cat "${test_dir}/choose_colon_1.txt") diff -w <(echo a:b | cargo run -- -f : 1) <(echo b) diff -w <(echo -n a:b | cargo run -- -f : 1) <(echo b) +# test CRLF for windows +diff -w <(cargo run -- -f ';' -1 -i ${test_dir}/crlf.txt 2>/dev/null) <(cat "${test_dir}/crlf_output.txt") # add tests using piping set +e ++++++ vendor.tar.xz ++++++ /work/SRC/openSUSE:Factory/choose/vendor.tar.xz /work/SRC/openSUSE:Factory/.choose.new.1977/vendor.tar.xz differ: char 15, line 1