Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ouch for openSUSE:Factory checked in at 2023-12-06 23:48:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ouch (Old) and /work/SRC/openSUSE:Factory/.ouch.new.25432 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ouch" Wed Dec 6 23:48:32 2023 rev:7 rq:1131277 version:0.5.1+0 Changes: -------- --- /work/SRC/openSUSE:Factory/ouch/ouch.changes 2023-12-02 17:13:24.433862955 +0100 +++ /work/SRC/openSUSE:Factory/.ouch.new.25432/ouch.changes 2023-12-06 23:49:11.917384241 +0100 @@ -1,0 +2,8 @@ +Wed Dec 6 07:50:54 UTC 2023 - Michael Vetter <mvet...@suse.com> + +- Update to 0.5.1: + * Fix misleading help message + * Fix misleading CHANGELOG and README for packages + * Explicitly declare feature flags use_zlib & use_zstd_thin #564 + +------------------------------------------------------------------- Old: ---- ouch-0.5.0+0.tar.xz New: ---- ouch-0.5.1+0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ouch.spec ++++++ --- /var/tmp/diff_new_pack.PzTtfB/_old 2023-12-06 23:49:13.109427323 +0100 +++ /var/tmp/diff_new_pack.PzTtfB/_new 2023-12-06 23:49:13.109427323 +0100 @@ -17,7 +17,7 @@ Name: ouch -Version: 0.5.0+0 +Version: 0.5.1+0 Release: 0 Summary: Compression and decompression utility for the terminal License: MIT ++++++ _service ++++++ --- /var/tmp/diff_new_pack.PzTtfB/_old 2023-12-06 23:49:13.133428190 +0100 +++ /var/tmp/diff_new_pack.PzTtfB/_new 2023-12-06 23:49:13.137428335 +0100 @@ -3,7 +3,7 @@ <param name="url">https://github.com/ouch-org/ouch.git</param> <param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param> <param name="scm">git</param> - <param name="revision">0.5.0</param> + <param name="revision">0.5.1</param> <param name="match-tag">*</param> <param name="versionrewrite-pattern">v(\d+\.\d+\.\d+)</param> <param name="versionrewrite-replacement">\1</param> ++++++ ouch-0.5.0+0.tar.xz -> ouch-0.5.1+0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ouch-0.5.0+0/.github/workflows/build-and-test.yml new/ouch-0.5.1+0/.github/workflows/build-and-test.yml --- old/ouch-0.5.0+0/.github/workflows/build-and-test.yml 2023-12-01 20:22:10.000000000 +0100 +++ new/ouch-0.5.1+0/.github/workflows/build-and-test.yml 2023-12-05 23:24:48.000000000 +0100 @@ -61,7 +61,7 @@ uses: actions/checkout@v4 - name: Install cross (non-x86_64 linux) - if: "matrix.target != 'x86_64-unknown-linux-gnu' && runner.os == 'Linux'" + if: matrix.target != 'x86_64-unknown-linux-gnu' && runner.os == 'Linux' run: | pushd "$(mktemp -d)" wget https://github.com/cross-rs/cross/releases/download/v0.2.4/cross-x86_64-unknown-linux-musl.tar.gz @@ -73,7 +73,7 @@ - name: Set up extra cargo flags if: matrix.no-zstd-thin run: | - echo "EXTRA_CARGO_FLAGS=--no-default-features --features flate2/zlib,zip/deflate-zlib" >> $GITHUB_ENV + echo "EXTRA_CARGO_FLAGS=--no-default-features --features use_zlib" >> $GITHUB_ENV - name: Install Rust run: | diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ouch-0.5.0+0/.github/workflows/create-draft-release-with-artifacts.yml new/ouch-0.5.1+0/.github/workflows/create-draft-release-with-artifacts.yml --- old/ouch-0.5.0+0/.github/workflows/create-draft-release-with-artifacts.yml 1970-01-01 01:00:00.000000000 +0100 +++ new/ouch-0.5.1+0/.github/workflows/create-draft-release-with-artifacts.yml 2023-12-05 23:24:48.000000000 +0100 @@ -0,0 +1,33 @@ +name: create-draft-release-with-artifacts + +on: + workflow_dispatch: + inputs: + run_id: + description: Run id of the action run to pull artifacts from + required: true + +jobs: + github-release: + name: github-release + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Download artifacts + uses: dawidd6/action-download-artifact@v2 + with: + path: artifacts + workflow: build-and-test.yml + run_id: ${{ github.event.inputs.run_id }} + + - name: Package release assets + run: scripts/package-release-assets.sh + + - name: Create release + uses: softprops/action-gh-release@v1 + with: + draft: true + name: manual release ${{ github.event.inputs.run_id }} + files: release/ouch-* diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ouch-0.5.0+0/.github/workflows/manual-release.yml new/ouch-0.5.1+0/.github/workflows/manual-release.yml --- old/ouch-0.5.0+0/.github/workflows/manual-release.yml 2023-12-01 20:22:10.000000000 +0100 +++ new/ouch-0.5.1+0/.github/workflows/manual-release.yml 1970-01-01 01:00:00.000000000 +0100 @@ -1,33 +0,0 @@ -name: manual-release - -on: - workflow_dispatch: - inputs: - run_id: - description: Run id of the action run to pull artifacts from - required: true - -jobs: - github-release: - name: github-release - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Download artifacts - uses: dawidd6/action-download-artifact@v2 - with: - path: artifacts - workflow: build-and-test.yml - run_id: ${{ github.event.inputs.run_id }} - - - name: Package release assets - run: scripts/package-release-assets.sh - - - name: Create release - uses: softprops/action-gh-release@v1 - with: - draft: true - name: manual release ${{ github.event.inputs.run_id }} - files: release/ouch-* diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ouch-0.5.0+0/CHANGELOG.md new/ouch-0.5.1+0/CHANGELOG.md --- old/ouch-0.5.0+0/CHANGELOG.md 2023-12-01 20:22:10.000000000 +0100 +++ new/ouch-0.5.1+0/CHANGELOG.md 2023-12-05 23:24:48.000000000 +0100 @@ -18,16 +18,26 @@ **Bullet points in chronological order by PR** -## [Unreleased](https://github.com/ouch-org/ouch/compare/0.4.2...HEAD) +## [Unreleased](https://github.com/ouch-org/ouch/compare/0.5.1...HEAD) ### New Features ### Bug Fixes +### Tweaks + ### Improvements +## [0.5.1](https://github.com/ouch-org/ouch/compare/0.5.0...0.5.1) + +### Improvements + +- Explicitly declare feature flags `use_zlib` & `use_zstd_thin` [\#564](https://github.com/ouch-org/ouch/pull/564) ([cyqsimon](https://github.com/cyqsimon)) + ### Tweaks +- Mention support for `7z` and `rar` in help message. + ## [0.5.0](https://github.com/ouch-org/ouch/compare/0.4.2...0.5.0) ### New Features diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ouch-0.5.0+0/Cargo.lock new/ouch-0.5.1+0/Cargo.lock --- old/ouch-0.5.0+0/Cargo.lock 2023-12-01 20:22:10.000000000 +0100 +++ new/ouch-0.5.1+0/Cargo.lock 2023-12-05 23:24:48.000000000 +0100 @@ -221,9 +221,9 @@ [[package]] name = "clap" -version = "4.4.10" +version = "4.4.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41fffed7514f420abec6d183b1d3acfd9099c79c3a10a06ade4f8203f1411272" +checksum = "bfaff671f6b22ca62406885ece523383b9b64022e341e53e009a62ebc47a45f2" dependencies = [ "clap_builder", "clap_derive", @@ -231,9 +231,9 @@ [[package]] name = "clap_builder" -version = "4.4.9" +version = "4.4.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "63361bae7eef3771745f02d8d892bec2fee5f6e34af316ba556e7f97a7069ff1" +checksum = "a216b506622bb1d316cd51328dce24e07bdff4a6128a47c7e7fad11878d5adbb" dependencies = [ "anstream", "anstyle", @@ -817,7 +817,7 @@ [[package]] name = "ouch" -version = "0.5.0" +version = "0.5.1" dependencies = [ "assert_cmd", "atty", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ouch-0.5.0+0/Cargo.toml new/ouch-0.5.1+0/Cargo.toml --- old/ouch-0.5.0+0/Cargo.toml 2023-12-01 20:22:10.000000000 +0100 +++ new/ouch-0.5.1+0/Cargo.toml 2023-12-05 23:24:48.000000000 +0100 @@ -1,6 +1,6 @@ [package] name = "ouch" -version = "0.5.0" +version = "0.5.1" authors = ["VinÃcius Rodrigues Miguel <vrmigue...@gmail.com>", "João M. Bezerra <marcosp...@hotmail.com>"] edition = "2021" readme = "README.md" @@ -14,7 +14,7 @@ atty = "0.2.14" bstr = { version = "1.8.0", default-features = false, features = ["std"] } bzip2 = "0.4.4" -clap = { version = "4.4.10", features = ["derive", "env"] } +clap = { version = "4.4.11", features = ["derive", "env"] } filetime_creation = "0.1" flate2 = { version = "1.0.28", default-features = false } fs-err = "2.11.0" @@ -40,7 +40,7 @@ is_executable = "1.0.1" [build-dependencies] -clap = { version = "4.4.10", features = ["derive", "env", "string"] } +clap = { version = "4.4.11", features = ["derive", "env", "string"] } clap_complete = "4.4.4" clap_mangen = "0.2.15" @@ -54,7 +54,9 @@ test-strategy = "0.3.1" [features] -default = ["flate2/zlib", "gzp/deflate_zlib", "zip/deflate-zlib", "zstd/thin"] +default = ["use_zlib", "use_zstd_thin"] +use_zlib = ["flate2/zlib", "gzp/deflate_zlib", "zip/deflate-zlib"] +use_zstd_thin = ["zstd/thin"] [profile.release] lto = true diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ouch-0.5.0+0/README.md new/ouch-0.5.1+0/README.md --- old/ouch-0.5.0+0/README.md 2023-12-01 20:22:10.000000000 +0100 +++ new/ouch-0.5.1+0/README.md 2023-12-05 23:24:48.000000000 +0100 @@ -111,25 +111,26 @@ # Supported formats -| Format | `.tar` | `.zip` | `.gz` | `.xz`, `.lzma` | `.bz`, `.bz2` | `.lz4` | `.sz` | `.zst` | -|:---------:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:| -| Supported | â | â¹ | â² | â | â | â | â² | â | +| Format | `.tar` | `.zip` | `7z` | `.gz` | `.xz`, `.lzma` | `.bz`, `.bz2` | `.lz4` | `.sz` (Snappy) | `.zst` | `.rar` | +|:---------:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:| +| Supported | â | â¹ | â¹ | â² | â | â | â | â² | â | â³ | â: Supports compression and decompression. -â¹: Due to limitations of `.zip`, it doesn't support streaming (de)compression. +â¹: Due to limitations of the compression format itself, (de)compression can't be done with streaming. â²: Supported, and compression runs in parallel. +â³: Due to Rar's restrictive license, only decompression and listing can be supported. + `tar` aliases are also supported: `tgz`, `tbz`, `tbz2`, `tlz4`, `txz`, `tlzma`, `tsz`, `tzst`. Formats can be chained: -- `.zst.gz` -- `.tar.gz.gz` -- `.tar.gz.gz.gz.zst.xz.bz.lz4` +- `.tar.gz` +- `.tar.gz.xz.zst.gz.lz4.sz` -If the filename has no extensions, `Ouch` will try to infer the format by the [file signature](https://en.wikipedia.org/wiki/List_of_file_signatures). +If the filename has no extensions, `Ouch` will try to infer the format by the [file signature](https://en.wikipedia.org/wiki/List_of_file_signatures) and ask the user for confirmation. # Installation @@ -163,17 +164,19 @@ Check the [wiki guide on compiling](https://github.com/ouch-org/ouch/wiki/Compiling-and-installing-from-source-code). -# Dependencies +# Runtime Dependencies + +When `ouch` gives a linking error, it means you're missing a runtime dependency. -If you installed `ouch` using the download script, you will need no dependencies (static MUSL binary). +If you're downloading binaries from the [releases page](https://github.com/ouch-org/ouch/releases), try the `musl` variants, those are static binaries that require no runtime dependencies. Otherwise, you'll need these libraries installed on your system: * [liblzma](https://www.7-zip.org/sdk.html) -* [libbz2](https://www.sourceware.org/bzip2/) -* [libz](https://www.zlib.net/) +* [libbz2](https://www.sourceware.org/bzip2) +* [libz](https://www.zlib.net) -These are available on all mainstream _Linux_ distributions and on _macOS_. +These should be available in your system's package manager. # Benchmarks @@ -195,12 +198,14 @@ # Contributing -`ouch` is made out of voluntary work, contributors are very welcome! No contribution is too small and all contributions are valued. +`ouch` is made out of voluntary work, contributors are very welcome! Contributions of all sizes are appreciated. - Open an [issue](https://github.com/ouch-org/ouch/issues). - Package it for your favorite distribution or package manager. -- Open a pull request. - Share it with a friend! +- Open a pull request. + +If you're creating a Pull Request, check [CONTRIBUTING.md](./CONTRIBUTING.md). [`tar`]: https://www.gnu.org/software/tar/ [infozip]: http://www.info-zip.org/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ouch-0.5.0+0/src/cli/args.rs new/ouch-0.5.1+0/src/cli/args.rs --- old/ouch-0.5.0+0/src/cli/args.rs 2023-12-01 20:22:10.000000000 +0100 +++ new/ouch-0.5.1+0/src/cli/args.rs 2023-12-05 23:24:48.000000000 +0100 @@ -5,7 +5,7 @@ // Ouch command line options (docstrings below are part of --help) /// A command-line utility for easily compressing and decompressing files and directories. /// -/// Supported formats: tar, zip, gz, xz/lzma, bz/bz2, lz4, sz, zst. +/// Supported formats: tar, zip, gz, 7z, xz/lzma, bz/bz2, lz4, sz (Snappy), zst and rar. /// /// Repository: https://github.com/ouch-org/ouch #[derive(Parser, Debug, PartialEq)] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ouch-0.5.0+0/tests/snapshots/ui__ui_test_usage_help_flag.snap new/ouch-0.5.1+0/tests/snapshots/ui__ui_test_usage_help_flag.snap --- old/ouch-0.5.0+0/tests/snapshots/ui__ui_test_usage_help_flag.snap 2023-12-01 20:22:10.000000000 +0100 +++ new/ouch-0.5.1+0/tests/snapshots/ui__ui_test_usage_help_flag.snap 2023-12-05 23:24:48.000000000 +0100 @@ -4,7 +4,7 @@ --- A command-line utility for easily compressing and decompressing files and directories. -Supported formats: tar, zip, gz, xz/lzma, bz/bz2, lz4, sz, zst. +Supported formats: tar, zip, gz, 7z, xz/lzma, bz/bz2, lz4, sz (Snappy), zst and rar. Repository: https://github.com/ouch-org/ouch ++++++ vendor.tar.xz ++++++ /work/SRC/openSUSE:Factory/ouch/vendor.tar.xz /work/SRC/openSUSE:Factory/.ouch.new.25432/vendor.tar.xz differ: char 15, line 1