Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package just for openSUSE:Factory checked in at 2025-11-14 16:20:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/just (Old) and /work/SRC/openSUSE:Factory/.just.new.2061 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "just" Fri Nov 14 16:20:34 2025 rev:32 rq:1317743 version:1.43.1 Changes: -------- --- /work/SRC/openSUSE:Factory/just/just.changes 2025-10-08 18:18:09.819578039 +0200 +++ /work/SRC/openSUSE:Factory/.just.new.2061/just.changes 2025-11-14 16:21:14.713297626 +0100 @@ -1,0 +2,11 @@ +Thu Nov 13 17:07:30 UTC 2025 - Richard Rahl <[email protected]> + +- Update to version 1.43.1: + * Don't suggest private recipes and aliases + * Use a case statement to install target dependencies + * Preserve module groups when formatting + * Preserve module docs when formatting + * Fix env() usage in readme +- require rust >= 1.80, as that's the minimum requirement + +------------------------------------------------------------------- Old: ---- just-1.43.0.tar.gz New: ---- just-1.43.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ just.spec ++++++ --- /var/tmp/diff_new_pack.npfEow/_old 2025-11-14 16:21:31.101986064 +0100 +++ /var/tmp/diff_new_pack.npfEow/_new 2025-11-14 16:21:31.113986568 +0100 @@ -1,7 +1,6 @@ # # spec file for package just # -# Copyright (c) 2025 SUSE LLC # Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties @@ -19,7 +18,7 @@ %bcond_with tests Name: just -Version: 1.43.0 +Version: 1.43.1 Release: 0 Summary: Commmand runner License: (Apache-2.0 OR MIT) AND Unicode-DFS-2016 AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT) AND (MIT OR Unlicense) AND Apache-2.0 AND BSD-3-Clause AND CC0-1.0 AND MIT AND CC0-1.0 @@ -30,6 +29,7 @@ BuildRequires: cargo-packaging BuildRequires: git-core BuildRequires: python3-base +BuildRequires: rust >= 1.80 BuildRequires: zsh BuildRequires: zstd BuildRequires: pkgconfig(bash-completion) ++++++ just-1.43.0.tar.gz -> just-1.43.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/just-1.43.0/.github/workflows/release.yaml new/just-1.43.1/.github/workflows/release.yaml --- old/just-1.43.0/.github/workflows/release.yaml 2025-09-27 23:09:19.000000000 +0200 +++ new/just-1.43.1/.github/workflows/release.yaml 2025-11-12 22:07:51.000000000 +0100 @@ -34,17 +34,21 @@ matrix: target: - aarch64-apple-darwin + - aarch64-pc-windows-msvc - aarch64-unknown-linux-musl - arm-unknown-linux-musleabihf - armv7-unknown-linux-musleabihf + - loongarch64-unknown-linux-musl - x86_64-apple-darwin - x86_64-pc-windows-msvc - - aarch64-pc-windows-msvc - x86_64-unknown-linux-musl include: - target: aarch64-apple-darwin os: macos-latest target_rustflags: '' + - target: aarch64-pc-windows-msvc + os: windows-latest + target_rustflags: '' - target: aarch64-unknown-linux-musl os: ubuntu-latest target_rustflags: '--codegen linker=aarch64-linux-gnu-gcc' @@ -54,14 +58,14 @@ - target: armv7-unknown-linux-musleabihf os: ubuntu-latest target_rustflags: '--codegen linker=arm-linux-gnueabihf-gcc' + - target: loongarch64-unknown-linux-musl + os: ubuntu-latest + target_rustflags: '--codegen linker=loongarch64-linux-gnu-gcc-14' - target: x86_64-apple-darwin os: macos-latest target_rustflags: '' - target: x86_64-pc-windows-msvc os: windows-latest - - target: aarch64-pc-windows-msvc - os: windows-latest - target_rustflags: '' - target: x86_64-unknown-linux-musl os: ubuntu-latest target_rustflags: '' @@ -74,22 +78,25 @@ steps: - uses: actions/checkout@v5 - - name: Install AArch64 Toolchain - if: ${{ matrix.target == 'aarch64-unknown-linux-musl' }} - run: | - sudo apt-get update - sudo apt-get install gcc-aarch64-linux-gnu libc6-dev-i386 - - - name: Install ARM Toolchain - if: ${{ matrix.target == 'arm-unknown-linux-musleabihf' || matrix.target == 'armv7-unknown-linux-musleabihf' }} - run: | - sudo apt-get update - sudo apt-get install gcc-arm-linux-gnueabihf - - - name: Install AArch64 Toolchain (Windows) - if: ${{ matrix.target == 'aarch64-pc-windows-msvc' }} + - name: Install Target Dependencies run: | - rustup target add aarch64-pc-windows-msvc + case ${{ matrix.target }} in + aarch64-pc-windows-msvc) + rustup target add aarch64-pc-windows-msvc + ;; + aarch64-unknown-linux-musl) + sudo apt-get update + sudo apt-get install gcc-aarch64-linux-gnu libc6-dev-i386 + ;; + arm-unknown-linux-musleabihf|armv7-unknown-linux-musleabihf) + sudo apt-get update + sudo apt-get install gcc-arm-linux-gnueabihf + ;; + loongarch64-unknown-linux-musl) + sudo apt-get update + sudo apt-get install gcc-14-loongarch64-linux-gnu + ;; + esac - name: Generate Manpage run: | @@ -109,7 +116,7 @@ shell: bash - name: Publish Archive - uses: softprops/[email protected] + uses: softprops/[email protected] if: ${{ startsWith(github.ref, 'refs/tags/') }} with: draft: false @@ -119,7 +126,7 @@ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Publish Changelog - uses: softprops/[email protected] + uses: softprops/[email protected] if: >- ${{ startsWith(github.ref, 'refs/tags/') @@ -156,7 +163,7 @@ shasum -a 256 * > ../SHA256SUMS - name: Publish Checksums - uses: softprops/[email protected] + uses: softprops/[email protected] with: draft: false files: SHA256SUMS @@ -198,7 +205,7 @@ - name: Deploy Pages uses: peaceiris/actions-gh-pages@v4 - if: ${{ needs.prerelease.outputs.value }} + if: ${{ !needs.prerelease.outputs.value }} with: github_token: ${{secrets.GITHUB_TOKEN}} publish_branch: gh-pages diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/just-1.43.0/CHANGELOG.md new/just-1.43.1/CHANGELOG.md --- old/just-1.43.0/CHANGELOG.md 2025-09-27 23:09:19.000000000 +0200 +++ new/just-1.43.1/CHANGELOG.md 2025-11-12 22:07:51.000000000 +0100 @@ -1,6 +1,23 @@ Changelog ========= +[1.43.1](https://github.com/casey/just/releases/tag/1.43.1) - 2025-11-12 +------------------------------------------------------------------------ + +### Fixed +- Only initialize signal handler once ([#2953](https://github.com/casey/just/pull/2953) by [casey](https://github.com/casey)) +- Preserve module docs when formatting ([#2931](https://github.com/casey/just/pull/2931) by [casey](https://github.com/casey)) +- Preserve module groups when formatting ([#2930](https://github.com/casey/just/pull/2930) by [casey](https://github.com/casey)) +- Don't suggest private recipes and aliases ([#2916](https://github.com/casey/just/pull/2916) by [casey](https://github.com/casey)) + +### Misc +- Update softprops/action-gh-release to 2.4.2 ([#2948](https://github.com/casey/just/pull/2948) by [app/dependabot](https://github.com/app/dependabot)) +- Fix `env()` usage in readme ([#2936](https://github.com/casey/just/pull/2936) by [laniakea64](https://github.com/laniakea64)) +- Use a case statement to install target dependencies ([#2929](https://github.com/casey/just/pull/2929) by [casey](https://github.com/casey)) +- Build loongarch64 release binaries ([#2886](https://github.com/casey/just/pull/2886) by [SkyBird233](https://github.com/SkyBird233)) +- Bump softprops/action-gh-release to 2.4.1 ([#2919](https://github.com/casey/just/pull/2919) by [app/dependabot](https://github.com/app/dependabot)) +- Update softprops/action-gh-release to 2.3.4 ([#2910](https://github.com/casey/just/pull/2910) by [app/dependabot](https://github.com/app/dependabot)) + [1.43.0](https://github.com/casey/just/releases/tag/1.43.0) - 2025-09-27 ------------------------------------------------------------------------ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/just-1.43.0/Cargo.lock new/just-1.43.1/Cargo.lock --- old/just-1.43.0/Cargo.lock 2025-09-27 23:09:19.000000000 +0200 +++ new/just-1.43.1/Cargo.lock 2025-11-12 22:07:51.000000000 +0100 @@ -4,9 +4,9 @@ [[package]] name = "aho-corasick" -version = "1.1.3" +version = "1.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" +checksum = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301" dependencies = [ "memchr", ] @@ -31,9 +31,9 @@ [[package]] name = "anstream" -version = "0.6.20" +version = "0.6.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ae563653d1938f79b1ab1b5e668c87c76a9930414574a6583a7b7e11a8e6192" +checksum = "43d5b281e737544384e969a5ccad3f1cdd24b48086a0fc1b2a5262a26b8f4f4a" dependencies = [ "anstyle", "anstyle-parse", @@ -46,9 +46,9 @@ [[package]] name = "anstyle" -version = "1.0.11" +version = "1.0.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "862ed96ca487e809f1c8e5a8447f6ee2cf102f846893800b20cebdf541fc6bbd" +checksum = "5192cca8006f1fd4f7237516f40fa183bb07f8fbdfedaa0036de5ea9b0b45e78" [[package]] name = "anstyle-parse" @@ -99,9 +99,9 @@ [[package]] name = "bitflags" -version = "2.9.4" +version = "2.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2261d10cca569e4643e526d8dc2e62e433cc8aba21ab764233731f8d369bf394" +checksum = "812e12b5285cc515a9c72a5c1d3b6d46a19dac5acfef5265968c166106e31dd3" [[package]] name = "blake3" @@ -128,10 +128,19 @@ ] [[package]] +name = "block2" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cdeb9d870516001442e364c5220d3574d2da8dc765554b4a617230d33fa58ef5" +dependencies = [ + "objc2", +] + +[[package]] name = "bstr" -version = "1.12.0" +version = "1.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "234113d19d0d7d613b40e86fb654acf958910802bcceab913a4f9e7cda03b1a4" +checksum = "63044e1ae8e69f3b5a92c736ca6269b8d12fa7efe39bf34ddb06d102cf0e2cab" dependencies = [ "memchr", "regex-automata", @@ -146,15 +155,15 @@ [[package]] name = "camino" -version = "1.2.0" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1de8bc0aa9e9385ceb3bf0c152e3a9b9544f6c4a912c8ae504e80c1f0368603" +checksum = "276a59bf2b2c967788139340c9f0c5b12d7fd6630315c15c217e559de85d2609" [[package]] name = "cc" -version = "1.2.39" +version = "1.2.45" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1354349954c6fc9cb0deab020f27f783cf0b604e8bb754dc4658ecf0d29c35f" +checksum = "35900b6c8d709fb1d854671ae27aeaa9eec2f8b01b364e1619a40da3e6fe2afe" dependencies = [ "find-msvc-tools", "shlex", @@ -162,9 +171,9 @@ [[package]] name = "cfg-if" -version = "1.0.3" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2fd1289c04a9ea8cb22300a459a72a385d7c73d3259e2ed7dcb2af674838cfa9" +checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" [[package]] name = "cfg_aliases" @@ -187,9 +196,9 @@ [[package]] name = "clap" -version = "4.5.48" +version = "4.5.51" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2134bb3ea021b78629caa971416385309e0131b351b25e01dc16fb54e1b5fae" +checksum = "4c26d721170e0295f191a69bd9a1f93efcdb0aff38684b61ab5750468972e5f5" dependencies = [ "clap_builder", "clap_derive", @@ -197,9 +206,9 @@ [[package]] name = "clap_builder" -version = "4.5.48" +version = "4.5.51" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2ba64afa3c0a6df7fa517765e31314e983f51dda798ffba27b988194fb65dc9" +checksum = "75835f0c7bf681bfd05abe44e965760fea999a5286c6eb2d59883634fd02011a" dependencies = [ "anstream", "anstyle", @@ -219,9 +228,9 @@ [[package]] name = "clap_derive" -version = "4.5.47" +version = "4.5.49" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbfd7eae0b0f1a6e63d4b13c9c478de77c2eb546fba158ad50b4203dc24b9f9c" +checksum = "2a0b5487afeab2deb2ff4e03a807ad1a03ac532ff5a2cee5d86884440c7f7671" dependencies = [ "heck", "proc-macro2", @@ -231,15 +240,15 @@ [[package]] name = "clap_lex" -version = "0.7.5" +version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b94f61472cee1439c0b966b47e3aca9ae07e45d070759512cd390ea2bebc6675" +checksum = "a1d728cc89cf3aee9ff92b05e62b19ee65a02b5702cff7d5a377e32c6ae29d8d" [[package]] name = "clap_mangen" -version = "0.2.29" +version = "0.2.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "27b4c3c54b30f0d9adcb47f25f61fcce35c4dd8916638c6b82fbd5f4fb4179e2" +checksum = "439ea63a92086df93893164221ad4f24142086d535b3a0957b9b9bea2dc86301" dependencies = [ "clap", "roff", @@ -299,9 +308,9 @@ [[package]] name = "crypto-common" -version = "0.1.6" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" +checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a" dependencies = [ "generic-array", "typenum", @@ -309,13 +318,13 @@ [[package]] name = "ctrlc" -version = "3.5.0" +version = "3.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "881c5d0a13b2f1498e2306e82cbada78390e152d4b1378fb28a84f4dcd0dc4f3" +checksum = "73736a89c4aff73035ba2ed2e565061954da00d4970fc9ac25dcc85a2a20d790" dependencies = [ - "dispatch", + "dispatch2", "nix", - "windows-sys 0.61.1", + "windows-sys 0.61.2", ] [[package]] @@ -363,14 +372,20 @@ "libc", "option-ext", "redox_users", - "windows-sys 0.61.1", + "windows-sys 0.61.2", ] [[package]] -name = "dispatch" -version = "0.2.0" +name = "dispatch2" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd0c93bb4b0c6d9b77f4435b0ae98c24d17f1c45b2ff844c6151a07256ca923b" +checksum = "89a09f22a6c6069a18470eb92d2298acf25463f14256d24778e1230d789a2aec" +dependencies = [ + "bitflags", + "block2", + "libc", + "objc2", +] [[package]] name = "dotenvy" @@ -380,9 +395,9 @@ [[package]] name = "edit-distance" -version = "2.1.3" +version = "2.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3f497e87b038c09a155dfd169faa5ec940d0644635555ef6bd464ac20e97397" +checksum = "324d428080b707bac399325341bd61af5ded1b30f33b7c949792ca464733c2d5" [[package]] name = "env_home" @@ -397,7 +412,7 @@ checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" dependencies = [ "libc", - "windows-sys 0.61.1", + "windows-sys 0.61.2", ] [[package]] @@ -414,9 +429,9 @@ [[package]] name = "find-msvc-tools" -version = "0.1.2" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ced73b1dacfc750a6db6c0a0c3a3853c8b41997e2e2c563dc90804ae6867959" +checksum = "52051878f80a721bb68ebfbc930e07b65ba72f2da88968ea5c06fd6ca3d3a127" [[package]] name = "generate-book" @@ -453,19 +468,19 @@ dependencies = [ "cfg-if", "libc", - "wasi 0.11.1+wasi-snapshot-preview1", + "wasi", ] [[package]] name = "getrandom" -version = "0.3.3" +version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26145e563e54f2cadc477553f1ec5ee650b00862f0a58bcd12cbdc5f0ea2d2f4" +checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd" dependencies = [ "cfg-if", "libc", "r-efi", - "wasi 0.14.7+wasi-0.2.4", + "wasip2", ] [[package]] @@ -515,9 +530,9 @@ [[package]] name = "is_terminal_polyfill" -version = "1.70.1" +version = "1.70.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf" +checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695" [[package]] name = "itoa" @@ -527,9 +542,9 @@ [[package]] name = "js-sys" -version = "0.3.81" +version = "0.3.82" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec48937a97411dcb524a265206ccd4c90bb711fca92b2792c407f268825b9305" +checksum = "b011eec8cc36da2aab2d5cff675ec18454fad408585853910a202391cf9f8e65" dependencies = [ "once_cell", "wasm-bindgen", @@ -537,7 +552,7 @@ [[package]] name = "just" -version = "1.43.0" +version = "1.43.1" dependencies = [ "ansi_term", "blake3", @@ -588,9 +603,9 @@ [[package]] name = "libc" -version = "0.2.176" +version = "0.2.177" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58f929b4d672ea937a23a1ab494143d968337a5f47e56d0815df1e0890ddf174" +checksum = "2874a2af47a2325c2001a6e6fad9b16a53b802102b528163885171cf92b15976" [[package]] name = "libredox" @@ -622,9 +637,9 @@ [[package]] name = "memmap2" -version = "0.9.8" +version = "0.9.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "843a98750cd611cc2965a8213b53b43e715f13c37a9e096c6408e69990961db7" +checksum = "744133e4a0e0a658e1374cf3bf8e415c4052a15a111acd372764c55b4177d490" dependencies = [ "libc", ] @@ -661,6 +676,21 @@ ] [[package]] +name = "objc2" +version = "0.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7c2599ce0ec54857b29ce62166b0ed9b4f6f1a70ccc9a71165b6154caca8c05" +dependencies = [ + "objc2-encode", +] + +[[package]] +name = "objc2-encode" +version = "4.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef25abbcd74fb2609453eb695bd2f860d389e457f67dc17cafc8b8cbc89d0c33" + +[[package]] name = "once_cell" version = "1.21.3" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -668,9 +698,9 @@ [[package]] name = "once_cell_polyfill" -version = "1.70.1" +version = "1.70.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4895175b425cb1f87721b59f0f286c2092bd4af812243672510e1ac53e2e0ad" +checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe" [[package]] name = "option-ext" @@ -705,9 +735,9 @@ [[package]] name = "proc-macro2" -version = "1.0.101" +version = "1.0.103" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89ae43fd86e4158d6db51ad8e2b80f313af9cc74f5c0e03ccb87de09998732de" +checksum = "5ee95bc4ef87b8d5ba32e8b7714ccc834865276eab0aed5c9958d00ec45f49e8" dependencies = [ "unicode-ident", ] @@ -735,9 +765,9 @@ [[package]] name = "quote" -version = "1.0.40" +version = "1.0.42" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d" +checksum = "a338cc41d27e6cc6dce6cefc13a0729dfbb81c262b1f519331575dd80ef3067f" dependencies = [ "proc-macro2", ] @@ -774,7 +804,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "99d9a13982dcf210057a8a78572b2217b667c3beacbf3a0d8b454f6f82837d38" dependencies = [ - "getrandom 0.3.3", + "getrandom 0.3.4", ] [[package]] @@ -800,9 +830,9 @@ [[package]] name = "regex" -version = "1.11.3" +version = "1.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b5288124840bee7b386bc413c487869b360b2b4ec421ea56425128692f2a82c" +checksum = "843bc0191f75f3e22651ae5f1e72939ab2f72a4bc30fa80a066bd66edefc24d4" dependencies = [ "aho-corasick", "memchr", @@ -812,9 +842,9 @@ [[package]] name = "regex-automata" -version = "0.4.11" +version = "0.4.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "833eb9ce86d40ef33cb1306d8accf7bc8ec2bfea4355cbdebb3df68b40925cad" +checksum = "5276caf25ac86c8d810222b3dbb938e512c55c6831a10f3e6ed1c93b84041f1c" dependencies = [ "aho-corasick", "memchr", @@ -823,9 +853,9 @@ [[package]] name = "regex-syntax" -version = "0.8.6" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "caf4aa5b0f434c91fe5c7f1ecb6a5ece2130b02ad2a590589dda5146df959001" +checksum = "7a2d987857b319362043e95f5353c0535c1f58eec5336fdfcf626430af7def58" [[package]] name = "roff" @@ -843,7 +873,7 @@ "errno", "libc", "linux-raw-sys", - "windows-sys 0.61.1", + "windows-sys 0.61.2", ] [[package]] @@ -993,9 +1023,9 @@ [[package]] name = "syn" -version = "2.0.106" +version = "2.0.110" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ede7c438028d4436d71104916910f5bb611972c5cfd7f89b8300a8186e6fada6" +checksum = "a99801b5bd34ede4cf3fc688c5919368fea4e4814a4664359503e6015b280aea" dependencies = [ "proc-macro2", "quote", @@ -1015,10 +1045,10 @@ checksum = "2d31c77bdf42a745371d260a26ca7163f1e0924b64afa0b688e61b5a9fa02f16" dependencies = [ "fastrand", - "getrandom 0.3.3", + "getrandom 0.3.4", "once_cell", "rustix", - "windows-sys 0.61.1", + "windows-sys 0.61.2", ] [[package]] @@ -1042,18 +1072,18 @@ [[package]] name = "thiserror" -version = "2.0.16" +version = "2.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3467d614147380f2e4e374161426ff399c91084acd2363eaf549172b3d5e60c0" +checksum = "f63587ca0f12b72a0600bcba1d40081f830876000bb46dd2337a3051618f4fc8" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "2.0.16" +version = "2.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c5e1be1c48b9172ee610da68fd9cd2770e7a4056cb3fc98710ee6906f0c7960" +checksum = "3ff15c8ecd7de3849db632e14d18d2571fa09dfc5ed93479bc4485c7a517c913" dependencies = [ "proc-macro2", "quote", @@ -1068,9 +1098,9 @@ [[package]] name = "typenum" -version = "1.18.0" +version = "1.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1dccffe3ce07af9386bfd29e80c0ab1a8205a2fc34e4bcd40364df902cfa8f3f" +checksum = "562d481066bde0658276a35467c4af00bdc6ee726305698a55b86e61d7ad82bb" [[package]] name = "unicase" @@ -1080,9 +1110,9 @@ [[package]] name = "unicode-ident" -version = "1.0.19" +version = "1.0.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f63a545481291138910575129486daeaf8ac54aee4387fe7906919f7830c7d9d" +checksum = "9312f7c4f6ff9069b165498234ce8be658059c6728633667c526e27dc2cf1df5" [[package]] name = "unicode-segmentation" @@ -1092,9 +1122,9 @@ [[package]] name = "unicode-width" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a1a07cc7db3810833284e8d372ccdc6da29741639ecc70c9ec107df0fa6154c" +checksum = "b4ac048d71ede7ee76d585517add45da530660ef4390e49b098733c6e897f254" [[package]] name = "update-contributors" @@ -1115,7 +1145,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2f87b8aa10b915a06587d0dec516c282ff295b475d94abf425d62b57710070a2" dependencies = [ - "getrandom 0.3.3", + "getrandom 0.3.4", "js-sys", "wasm-bindgen", ] @@ -1133,15 +1163,6 @@ checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" [[package]] -name = "wasi" -version = "0.14.7+wasi-0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "883478de20367e224c0090af9cf5f9fa85bed63a95c1abf3afc5c083ebc06e8c" -dependencies = [ - "wasip2", -] - -[[package]] name = "wasip2" version = "1.0.1+wasi-0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -1152,9 +1173,9 @@ [[package]] name = "wasm-bindgen" -version = "0.2.104" +version = "0.2.105" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1da10c01ae9f1ae40cbfac0bac3b1e724b320abfcf52229f80b547c0d250e2d" +checksum = "da95793dfc411fbbd93f5be7715b0578ec61fe87cb1a42b12eb625caa5c5ea60" dependencies = [ "cfg-if", "once_cell", @@ -1164,24 +1185,10 @@ ] [[package]] -name = "wasm-bindgen-backend" -version = "0.2.104" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "671c9a5a66f49d8a47345ab942e2cb93c7d1d0339065d4f8139c486121b43b19" -dependencies = [ - "bumpalo", - "log", - "proc-macro2", - "quote", - "syn", - "wasm-bindgen-shared", -] - -[[package]] name = "wasm-bindgen-macro" -version = "0.2.104" +version = "0.2.105" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ca60477e4c59f5f2986c50191cd972e3a50d8a95603bc9434501cf156a9a119" +checksum = "04264334509e04a7bf8690f2384ef5265f05143a4bff3889ab7a3269adab59c2" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -1189,22 +1196,22 @@ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.104" +version = "0.2.105" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f07d2f20d4da7b26400c9f4a0511e6e0345b040694e8a75bd41d578fa4421d7" +checksum = "420bc339d9f322e562942d52e115d57e950d12d88983a14c79b86859ee6c7ebc" dependencies = [ + "bumpalo", "proc-macro2", "quote", "syn", - "wasm-bindgen-backend", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-shared" -version = "0.2.104" +version = "0.2.105" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bad67dc8b2a1a6e5448428adec4c3e84c43e561d8c9ee8a9e5aabeb193ec41d1" +checksum = "76f218a38c84bcb33c25ec7059b07847d465ce0e0a76b995e134a45adcb6af76" dependencies = [ "unicode-ident", ] @@ -1244,9 +1251,9 @@ [[package]] name = "windows-core" -version = "0.62.1" +version = "0.62.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6844ee5416b285084d3d3fffd743b925a6c9385455f64f6d4fa3031c4c2749a9" +checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb" dependencies = [ "windows-implement", "windows-interface", @@ -1257,9 +1264,9 @@ [[package]] name = "windows-implement" -version = "0.60.1" +version = "0.60.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "edb307e42a74fb6de9bf3a02d9712678b22399c87e6fa869d6dfcd8c1b7754e0" +checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf" dependencies = [ "proc-macro2", "quote", @@ -1268,9 +1275,9 @@ [[package]] name = "windows-interface" -version = "0.59.2" +version = "0.59.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0abd1ddbc6964ac14db11c7213d6532ef34bd9aa042c2e5935f59d7908b46a5" +checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358" dependencies = [ "proc-macro2", "quote", @@ -1279,24 +1286,24 @@ [[package]] name = "windows-link" -version = "0.2.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45e46c0661abb7180e7b9c281db115305d49ca1709ab8242adf09666d2173c65" +checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" [[package]] name = "windows-result" -version = "0.4.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7084dcc306f89883455a206237404d3eaf961e5bd7e0f312f7c91f57eb44167f" +checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5" dependencies = [ "windows-link", ] [[package]] name = "windows-strings" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7218c655a553b0bed4426cf54b20d7ba363ef543b52d515b3e48d7fd55318dda" +checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091" dependencies = [ "windows-link", ] @@ -1312,18 +1319,18 @@ [[package]] name = "windows-sys" -version = "0.61.1" +version = "0.61.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f109e41dd4a3c848907eb83d5a42ea98b3769495597450cf6d153507b166f0f" +checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" dependencies = [ "windows-link", ] [[package]] name = "windows-targets" -version = "0.53.4" +version = "0.53.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d42b7b7f66d2a06854650af09cfdf8713e427a439c97ad65a6375318033ac4b" +checksum = "4945f9f551b88e0d65f3db0bc25c33b8acea4d9e41163edf90dcd0b19f9069f3" dependencies = [ "windows-link", "windows_aarch64_gnullvm", @@ -1338,51 +1345,51 @@ [[package]] name = "windows_aarch64_gnullvm" -version = "0.53.0" +version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86b8d5f90ddd19cb4a147a5fa63ca848db3df085e25fee3cc10b39b6eebae764" +checksum = "a9d8416fa8b42f5c947f8482c43e7d89e73a173cead56d044f6a56104a6d1b53" [[package]] name = "windows_aarch64_msvc" -version = "0.53.0" +version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7651a1f62a11b8cbd5e0d42526e55f2c99886c77e007179efff86c2b137e66c" +checksum = "b9d782e804c2f632e395708e99a94275910eb9100b2114651e04744e9b125006" [[package]] name = "windows_i686_gnu" -version = "0.53.0" +version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1dc67659d35f387f5f6c479dc4e28f1d4bb90ddd1a5d3da2e5d97b42d6272c3" +checksum = "960e6da069d81e09becb0ca57a65220ddff016ff2d6af6a223cf372a506593a3" [[package]] name = "windows_i686_gnullvm" -version = "0.53.0" +version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ce6ccbdedbf6d6354471319e781c0dfef054c81fbc7cf83f338a4296c0cae11" +checksum = "fa7359d10048f68ab8b09fa71c3daccfb0e9b559aed648a8f95469c27057180c" [[package]] name = "windows_i686_msvc" -version = "0.53.0" +version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "581fee95406bb13382d2f65cd4a908ca7b1e4c2f1917f143ba16efe98a589b5d" +checksum = "1e7ac75179f18232fe9c285163565a57ef8d3c89254a30685b57d83a38d326c2" [[package]] name = "windows_x86_64_gnu" -version = "0.53.0" +version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e55b5ac9ea33f2fc1716d1742db15574fd6fc8dadc51caab1c16a3d3b4190ba" +checksum = "9c3842cdd74a865a8066ab39c8a7a473c0778a3f29370b5fd6b4b9aa7df4a499" [[package]] name = "windows_x86_64_gnullvm" -version = "0.53.0" +version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a6e035dd0599267ce1ee132e51c27dd29437f63325753051e71dd9e42406c57" +checksum = "0ffa179e2d07eee8ad8f57493436566c7cc30ac536a3379fdf008f47f6bb7ae1" [[package]] name = "windows_x86_64_msvc" -version = "0.53.0" +version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "271414315aff87387382ec3d271b52d7ae78726f5d44ac98b4f4030c91880486" +checksum = "d6bbff5f0aada427a1e5a6da5f1f98158182f26556f345ac9e04d36d0ebed650" [[package]] name = "winsafe" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/just-1.43.0/Cargo.toml new/just-1.43.1/Cargo.toml --- old/just-1.43.0/Cargo.toml 2025-09-27 23:09:19.000000000 +0200 +++ new/just-1.43.1/Cargo.toml 2025-11-12 22:07:51.000000000 +0100 @@ -1,6 +1,6 @@ [package] name = "just" -version = "1.43.0" +version = "1.43.1" authors = ["Casey Rodarmor <[email protected]>"] autotests = false categories = ["command-line-utilities", "development-tools"] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/just-1.43.0/README.md new/just-1.43.1/README.md --- old/just-1.43.0/README.md 2025-09-27 23:09:19.000000000 +0200 +++ new/just-1.43.1/README.md 2025-11-12 22:07:51.000000000 +0100 @@ -1721,7 +1721,7 @@ ```just set unstable -foo := env('FOO') || 'DEFAULT_VALUE' +foo := env('FOO', '') || 'DEFAULT_VALUE' ``` #### Executables diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/just-1.43.0/src/alias.rs new/just-1.43.1/src/alias.rs --- old/just-1.43.0/src/alias.rs 2025-09-27 23:09:19.000000000 +0200 +++ new/just-1.43.1/src/alias.rs 2025-11-12 22:07:51.000000000 +0100 @@ -25,8 +25,9 @@ } impl Alias<'_> { - pub(crate) fn is_private(&self) -> bool { - self.name.lexeme().starts_with('_') || self.attributes.contains(AttributeDiscriminant::Private) + pub(crate) fn is_public(&self) -> bool { + !self.name.lexeme().starts_with('_') + && !self.attributes.contains(AttributeDiscriminant::Private) } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/just-1.43.0/src/analyzer.rs new/just-1.43.1/src/analyzer.rs --- old/just-1.43.0/src/analyzer.rs 2025-09-27 23:09:19.000000000 +0200 +++ new/just-1.43.1/src/analyzer.rs 2025-11-12 22:07:51.000000000 +0100 @@ -15,7 +15,7 @@ pub(crate) fn analyze( asts: &'run HashMap<PathBuf, Ast<'src>>, doc: Option<String>, - groups: &[String], + groups: &[StringLiteral<'src>], loaded: &[PathBuf], name: Option<Name<'src>>, paths: &HashMap<PathBuf, PathBuf>, @@ -28,7 +28,7 @@ mut self, asts: &'run HashMap<PathBuf, Ast<'src>>, doc: Option<String>, - groups: &[String], + groups: &[StringLiteral<'src>], loaded: &[PathBuf], name: Option<Name<'src>>, paths: &HashMap<PathBuf, PathBuf>, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/just-1.43.0/src/item.rs new/just-1.43.1/src/item.rs --- old/just-1.43.0/src/item.rs 2025-09-27 23:09:19.000000000 +0200 +++ new/just-1.43.1/src/item.rs 2025-11-12 22:07:51.000000000 +0100 @@ -15,7 +15,7 @@ Module { absolute: Option<PathBuf>, doc: Option<String>, - groups: Vec<String>, + groups: Vec<StringLiteral<'src>>, name: Name<'src>, optional: bool, relative: Option<StringLiteral<'src>>, @@ -45,11 +45,21 @@ write!(f, " {relative}") } Self::Module { + doc, + groups, name, - relative, optional, + relative, .. } => { + if let Some(doc) = doc { + writeln!(f, "# {doc}")?; + } + + for group in groups { + writeln!(f, "[group: {group}]")?; + } + write!(f, "mod")?; if *optional { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/just-1.43.0/src/justfile.rs new/just-1.43.1/src/justfile.rs --- old/just-1.43.0/src/justfile.rs 2025-09-27 23:09:19.000000000 +0200 +++ new/just-1.43.1/src/justfile.rs 2025-11-12 22:07:51.000000000 +0100 @@ -13,7 +13,7 @@ #[serde(rename = "first", serialize_with = "keyed::serialize_option")] pub(crate) default: Option<Arc<Recipe<'src>>>, pub(crate) doc: Option<String>, - pub(crate) groups: Vec<String>, + pub(crate) groups: Vec<StringLiteral<'src>>, #[serde(skip)] pub(crate) loaded: Vec<PathBuf>, #[serde(skip)] @@ -49,12 +49,22 @@ input, self .recipes - .keys() - .map(|name| Suggestion { name, target: None }) - .chain(self.aliases.iter().map(|(name, alias)| Suggestion { - name, - target: Some(alias.target.name.lexeme()), - })), + .values() + .filter(|recipe| recipe.is_public()) + .map(|recipe| Suggestion { + name: recipe.name(), + target: None, + }) + .chain( + self + .aliases + .values() + .filter(|alias| alias.is_public()) + .map(|alias| Suggestion { + name: alias.name.lexeme(), + target: Some(alias.target.name.lexeme()), + }), + ), ) } @@ -458,8 +468,12 @@ recipes } - pub(crate) fn groups(&self) -> &[String] { - &self.groups + pub(crate) fn groups(&self) -> Vec<&str> { + self + .groups + .iter() + .map(|group| group.cooked.as_str()) + .collect() } pub(crate) fn public_groups(&self, config: &Config) -> Vec<String> { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/just-1.43.0/src/parser.rs new/just-1.43.1/src/parser.rs --- old/just-1.43.0/src/parser.rs 2025-09-27 23:09:19.000000000 +0200 +++ new/just-1.43.1/src/parser.rs 2025-11-12 22:07:51.000000000 +0100 @@ -411,7 +411,7 @@ let mut groups = Vec::new(); for attribute in attributes { if let Attribute::Group(group) = attribute { - groups.push(group.cooked); + groups.push(group); } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/just-1.43.0/src/run.rs new/just-1.43.1/src/run.rs --- old/just-1.43.0/src/run.rs 2025-09-27 23:09:19.000000000 +0200 +++ new/just-1.43.1/src/run.rs 2025-11-12 22:07:51.000000000 +0100 @@ -34,3 +34,17 @@ error.code().unwrap_or(EXIT_FAILURE) }) } + +#[cfg(test)] +mod tests { + use super::*; + + #[test] + fn run_can_be_called_more_than_once() { + let tmp = testing::tempdir(); + fs::write(tmp.path().join("justfile"), "foo:").unwrap(); + let search_directory = format!("{}/", tmp.path().to_str().unwrap()); + run(["just", &search_directory].iter()).unwrap(); + run(["just", &search_directory].iter()).unwrap(); + } +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/just-1.43.0/src/signal_handler.rs new/just-1.43.1/src/signal_handler.rs --- old/just-1.43.0/src/signal_handler.rs 2025-09-27 23:09:19.000000000 +0200 +++ new/just-1.43.1/src/signal_handler.rs 2025-11-12 22:07:51.000000000 +0100 @@ -3,6 +3,7 @@ pub(crate) struct SignalHandler { caught: Option<Signal>, children: BTreeMap<i32, Command>, + initialized: bool, verbosity: Verbosity, } @@ -10,7 +11,11 @@ pub(crate) fn install(verbosity: Verbosity) -> RunResult<'static> { let mut instance = Self::instance(); instance.verbosity = verbosity; - Platform::install_signal_handler(|signal| Self::instance().interrupt(signal)) + if !instance.initialized { + Platform::install_signal_handler(|signal| Self::instance().handle(signal))?; + instance.initialized = true; + } + Ok(()) } pub(crate) fn instance() -> MutexGuard<'static, Self> { @@ -35,11 +40,12 @@ Self { caught: None, children: BTreeMap::new(), + initialized: false, verbosity: Verbosity::default(), } } - fn interrupt(&mut self, signal: Signal) { + fn handle(&mut self, signal: Signal) { if signal.is_fatal() { if self.children.is_empty() { process::exit(signal.code()); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/just-1.43.0/src/subcommand.rs new/just-1.43.1/src/subcommand.rs --- old/just-1.43.0/src/subcommand.rs 2025-09-27 23:09:19.000000000 +0200 +++ new/just-1.43.1/src/subcommand.rs 2025-11-12 22:07:51.000000000 +0100 @@ -521,7 +521,7 @@ BTreeMap::new() } else { let mut aliases = BTreeMap::<&str, Vec<&str>>::new(); - for alias in module.aliases.values().filter(|alias| !alias.is_private()) { + for alias in module.aliases.values().filter(|alias| alias.is_public()) { aliases .entry(alias.target.name.lexeme()) .or_default() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/just-1.43.0/tests/format.rs new/just-1.43.1/tests/format.rs --- old/just-1.43.0/tests/format.rs 2025-09-27 23:09:19.000000000 +0200 +++ new/just-1.43.1/tests/format.rs 2025-11-12 22:07:51.000000000 +0100 @@ -1589,3 +1589,45 @@ ) .run(); } + +#[test] +fn module_groups_are_preserved() { + Test::new() + .justfile( + r#" + [group('bar')] + [group("baz")] + mod foo + "#, + ) + .write("foo.just", "") + .arg("--dump") + .stdout( + r#" + [group: 'bar'] + [group: "baz"] + mod foo + "#, + ) + .run(); +} + +#[test] +fn module_docs_are_preserved() { + Test::new() + .justfile( + r" + # bar + mod foo + ", + ) + .write("foo.just", "") + .arg("--dump") + .stdout( + r" + # bar + mod foo + ", + ) + .run(); +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/just-1.43.0/tests/misc.rs new/just-1.43.1/tests/misc.rs --- old/just-1.43.0/tests/misc.rs 2025-09-27 23:09:19.000000000 +0200 +++ new/just-1.43.1/tests/misc.rs 2025-11-12 22:07:51.000000000 +0100 @@ -1351,15 +1351,58 @@ fn run_suggestion() { Test::new() .arg("hell") + .justfile("hello:") + .stderr("error: Justfile does not contain recipe `hell`\nDid you mean `hello`?\n") + .status(EXIT_FAILURE) + .run(); +} + +#[test] +fn private_recipes_are_not_suggested() { + Test::new() + .arg("hell") + .justfile( + " + [private] + hello: + ", + ) + .stderr("error: Justfile does not contain recipe `hell`\n") + .status(EXIT_FAILURE) + .run(); +} + +#[test] +fn alias_suggestion() { + Test::new() + .arg("hell") .justfile( - r#" -hello a b='B ' c='C': - echo {{a}} {{b}} {{c}} + " + alias hello := bar -a Z="\t z": -"#, + bar: + ", ) - .stderr("error: Justfile does not contain recipe `hell`\nDid you mean `hello`?\n") + .stderr( + "error: Justfile does not contain recipe `hell`\nDid you mean `hello`, an alias for `bar`?\n", + ) + .status(EXIT_FAILURE) + .run(); +} + +#[test] +fn private_aliases_are_not_suggested() { + Test::new() + .arg("hell") + .justfile( + " + [private] + alias hello := bar + + bar: + ", + ) + .stderr("error: Justfile does not contain recipe `hell`\n") .status(EXIT_FAILURE) .run(); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/just-1.43.0/www/install.sh new/just-1.43.1/www/install.sh --- old/just-1.43.0/www/install.sh 2025-09-27 23:09:19.000000000 +0200 +++ new/just-1.43.1/www/install.sh 2025-11-12 22:07:51.000000000 +0100 @@ -134,6 +134,7 @@ arm64-Darwin) target=aarch64-apple-darwin;; armv6l-Linux) target=arm-unknown-linux-musleabihf;; armv7l-Linux) target=armv7-unknown-linux-musleabihf;; + loongarch64-Linux) target=loongarch64-unknown-linux-musl;; x86_64-Darwin) target=x86_64-apple-darwin;; x86_64-Linux) target=x86_64-unknown-linux-musl;; x86_64-MINGW64_NT) target=x86_64-pc-windows-msvc;; ++++++ vendor.tar.zst ++++++ /work/SRC/openSUSE:Factory/just/vendor.tar.zst /work/SRC/openSUSE:Factory/.just.new.2061/vendor.tar.zst differ: char 7, line 1
