Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kubie for openSUSE:Factory checked in at 2023-12-15 21:50:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kubie (Old) and /work/SRC/openSUSE:Factory/.kubie.new.25432 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kubie" Fri Dec 15 21:50:53 2023 rev:20 rq:1133480 version:0.23.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kubie/kubie.changes 2023-09-07 21:15:09.438487934 +0200 +++ /work/SRC/openSUSE:Factory/.kubie.new.25432/kubie.changes 2023-12-15 21:51:11.778774485 +0100 @@ -1,0 +2,27 @@ +Tue Dec 12 17:08:13 UTC 2023 - ka...@b1-systems.de + +- Update to version 0.23.0: + * Version 0.23.0 + * fix(zsh): proxy original ZDOTDIR to user's .zshrc (#192) + * document export subcomannd (#191) + * Bump serde from 1.0.192 to 1.0.193 (#185) + * Bump tempfile from 3.8.0 to 3.8.1 (#186) + * Bump which from 4.4.0 to 5.0.0 (#188) + * Bump clap from 4.4.6 to 4.4.10 (#189) + * add start and stop hooks to zsh + * Update Arch Linux package URL in README.md (#182) + * Bump serde from 1.0.188 to 1.0.192 (#181) + * Bump libc from 0.2.148 to 0.2.150 (#180) + * Bump serde_yaml from 0.9.25 to 0.9.27 (#179) + * Bump serde_json from 1.0.107 to 1.0.108 (#177) + * Bump rustix from 0.38.4 to 0.38.19 (#176) + * Bump clap from 4.4.2 to 4.4.6 (#172) + * Bump libc from 0.2.147 to 0.2.148 (#168) + * Bump serde_json from 1.0.106 to 1.0.107 (#167) + * Bump clap from 4.4.1 to 4.4.2 (#165) + * Bump serde_json from 1.0.105 to 1.0.106 (#166) + * Bump clap from 4.3.23 to 4.4.1 (#164) + * Bump attohttpc from 0.26.0 to 0.26.1 (#163) + * Bump serde from 1.0.185 to 1.0.188 (#162) + +------------------------------------------------------------------- Old: ---- cargo_config kubie-0.22.0.tar.gz New: ---- kubie-0.23.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kubie.spec ++++++ --- /var/tmp/diff_new_pack.WMOiQe/_old 2023-12-15 21:51:13.058821294 +0100 +++ /var/tmp/diff_new_pack.WMOiQe/_new 2023-12-15 21:51:13.058821294 +0100 @@ -19,14 +19,13 @@ %global rustflags '-Clink-arg=-Wl,-z,relro,-z,now' Name: kubie -Version: 0.22.0 +Version: 0.23.0 Release: 0 Summary: A Kubernetes context switcher License: Zlib URL: https://github.com/sbstp/kubie Source: %{name}-%{version}.tar.gz Source1: vendor.tar.xz -Source2: cargo_config Recommends: fzf BuildRequires: cargo BuildRequires: rust >= 1.67.0 @@ -62,9 +61,6 @@ %prep %autosetup -a1 -mkdir .cargo -cp %{SOURCE2} .cargo/config - %build RUSTFLAGS=%{rustflags} cargo build --release --no-default-features ++++++ _service ++++++ --- /var/tmp/diff_new_pack.WMOiQe/_old 2023-12-15 21:51:13.102822903 +0100 +++ /var/tmp/diff_new_pack.WMOiQe/_new 2023-12-15 21:51:13.106823049 +0100 @@ -1,26 +1,26 @@ <services> - <service name="tar_scm" mode="disabled"> + <service name="tar_scm" mode="manual"> <param name="url">https://github.com/sbstp/kubie</param> <param name="scm">git</param> <param name="exclude">.git</param> <param name="versionformat">@PARENT_TAG@</param> <param name="versionrewrite-pattern">v(.*)</param> - <param name="revision">v0.22.0</param> + <param name="revision">v0.23.0</param> <param name="changesgenerate">enable</param> </service> - <service name="recompress" mode="disabled"> + <service name="recompress" mode="manual"> <param name="file">kubie-*.tar</param> <param name="compression">gz</param> </service> - <service name="set_version" mode="disabled"> + <service name="set_version" mode="manual"> <param name="basename">kubie</param> </service> - <service name="cargo_vendor" mode="disabled"> + <service name="cargo_vendor" mode="manual"> <param name="update">true</param> <param name="srcdir">kubie</param> <param name="compression">xz</param> </service> - <service name="cargo_audit" mode="disabled"> + <service name="cargo_audit" mode="manual"> <param name="srcdir">kubie</param> </service> </services> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.WMOiQe/_old 2023-12-15 21:51:13.126823781 +0100 +++ /var/tmp/diff_new_pack.WMOiQe/_new 2023-12-15 21:51:13.130823928 +0100 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/sbstp/kubie</param> - <param name="changesrevision">f28f29a663c04a40ee21319ed38603961cbe7044</param></service></servicedata> + <param name="changesrevision">280148c61984cfbdf23e9c4f636e9f5285fcfeff</param></service></servicedata> (No newline at EOF) ++++++ kubie-0.22.0.tar.gz -> kubie-0.23.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kubie-0.22.0/Cargo.lock new/kubie-0.23.0/Cargo.lock --- old/kubie-0.22.0/Cargo.lock 2023-08-23 22:42:01.000000000 +0200 +++ new/kubie-0.23.0/Cargo.lock 2023-12-12 02:29:28.000000000 +0100 @@ -34,16 +34,15 @@ [[package]] name = "anstream" -version = "0.3.2" +version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ca84f3628370c59db74ee214b3263d58f9aadd9b4fe7e711fd87dc452b7f163" +checksum = "2ab91ebe16eb252986481c5b62f6098f3b698a45e34b5b98200cf20dd2484a44" dependencies = [ "anstyle", "anstyle-parse", "anstyle-query", "anstyle-wincon", "colorchoice", - "is-terminal", "utf8parse", ] @@ -68,17 +67,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5ca11d4be1bab0c8bc8734a9aa7bf4ee8316d462a08c6ac5052f888fef5b494b" dependencies = [ - "windows-sys", + "windows-sys 0.48.0", ] [[package]] name = "anstyle-wincon" -version = "1.0.1" +version = "3.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "180abfa45703aebe0093f79badacc01b8fd4ea2e35118747e5811127f926e188" +checksum = "f0699d10d2f4d628a98ee7b57b289abbc98ff3bad977cb3152709d4bf2330628" dependencies = [ "anstyle", - "windows-sys", + "windows-sys 0.48.0", ] [[package]] @@ -95,9 +94,9 @@ [[package]] name = "attohttpc" -version = "0.26.0" +version = "0.26.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc9bb18c94ac664e95a8bc8a0034f4c05f77c86ff31012927f22d76c0224245e" +checksum = "0f77d243921b0979fbbd728dd2d5162e68ac8252976797c24eb5b3a6af9090dc" dependencies = [ "flate2", "http", @@ -107,7 +106,6 @@ "serde", "serde_json", "url", - "webpki", ] [[package]] @@ -147,9 +145,9 @@ [[package]] name = "bitflags" -version = "2.3.3" +version = "2.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "630be753d4e58660abd17930c71b647fe46c27ea6b63cc59e1e3851406972e42" +checksum = "327762f6e5a765692301e5bb513e0d9fef63be86bbc14528052b1cd3e6f03e07" [[package]] name = "bumpalo" @@ -208,32 +206,31 @@ [[package]] name = "clap" -version = "4.3.23" +version = "4.4.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03aef18ddf7d879c15ce20f04826ef8418101c7e528014c3eeea13321047dca3" +checksum = "41fffed7514f420abec6d183b1d3acfd9099c79c3a10a06ade4f8203f1411272" dependencies = [ "clap_builder", "clap_derive", - "once_cell", ] [[package]] name = "clap_builder" -version = "4.3.23" +version = "4.4.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8ce6fffb678c9b80a70b6b6de0aad31df727623a70fd9a842c30cd573e2fa98" +checksum = "63361bae7eef3771745f02d8d892bec2fee5f6e34af316ba556e7f97a7069ff1" dependencies = [ "anstream", "anstyle", - "clap_lex 0.5.0", + "clap_lex 0.6.0", "strsim", ] [[package]] name = "clap_derive" -version = "4.3.12" +version = "4.4.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54a9bb5758fc5dfe728d1019941681eccaf0cf8a4189b692a0ee2f2ecf90a050" +checksum = "cf9804afaaf59a91e75b022a30fb7229a7901f60c755489cc61c9b423b836442" dependencies = [ "heck", "proc-macro2", @@ -252,9 +249,9 @@ [[package]] name = "clap_lex" -version = "0.5.0" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2da6da31387c7e4ef160ffab6d5e7f00c42626fe39aea70a7b0f1773f7dd6c1b" +checksum = "702fc72eb24e5a1e48ce58027a675bc24edd52096d5397d4aea7c6dd9eca0bd1" [[package]] name = "colorchoice" @@ -458,7 +455,7 @@ "libc", "option-ext", "redox_users", - "windows-sys", + "windows-sys 0.48.0", ] [[package]] @@ -499,23 +496,12 @@ [[package]] name = "errno" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4bcfec3a70f97c962c307b2d2c56e358cf1d00b558d74262b5f929ee8cc7e73a" -dependencies = [ - "errno-dragonfly", - "libc", - "windows-sys", -] - -[[package]] -name = "errno-dragonfly" -version = "0.1.2" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf" +checksum = "a258e46cdc063eb8519c00b9fc845fc47bcfca4130e2f08e88665ceda8474245" dependencies = [ - "cc", "libc", + "windows-sys 0.52.0", ] [[package]] @@ -619,6 +605,15 @@ checksum = "443144c8cdadd93ebf52ddb4056d257f5b52c04d3c804e657d19eb73fc33668b" [[package]] +name = "home" +version = "0.5.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5444c27eef6923071f7ebcc33e3444508466a76f7a2b93da00ed6e19f30c1ddb" +dependencies = [ + "windows-sys 0.48.0", +] + +[[package]] name = "http" version = "0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -695,17 +690,6 @@ ] [[package]] -name = "is-terminal" -version = "0.4.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb0889898416213fab133e1d33a0e5858a48177452750691bde3666d0fdbaf8b" -dependencies = [ - "hermit-abi 0.3.2", - "rustix", - "windows-sys", -] - -[[package]] name = "itoa" version = "1.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -722,13 +706,13 @@ [[package]] name = "kubie" -version = "0.22.0" +version = "0.23.0" dependencies = [ "anyhow", "attohttpc", "atty", "cfg-if", - "clap 4.3.23", + "clap 4.4.10", "dirs", "fs2", "glob", @@ -752,15 +736,15 @@ [[package]] name = "libc" -version = "0.2.147" +version = "0.2.150" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3" +checksum = "89d92a4743f9a61002fae18374ed11e7973f530cb3a3255fb354818118b2203c" [[package]] name = "linux-raw-sys" -version = "0.4.3" +version = "0.4.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09fc20d2ca12cb9f044c93e3bd6d32d523e6e2ec3db4f7b2939cd99026ecd3f0" +checksum = "c4cd1a83af159aa67994778be9070f0ae1bd732942279cabb14f86f986a21456" [[package]] name = "log" @@ -932,9 +916,9 @@ [[package]] name = "redox_syscall" -version = "0.3.5" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29" +checksum = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa" dependencies = [ "bitflags 1.3.2", ] @@ -996,15 +980,15 @@ [[package]] name = "rustix" -version = "0.38.4" +version = "0.38.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a962918ea88d644592894bc6dc55acc6c0956488adcebbfb6e273506b7fd6e5" +checksum = "9470c4bf8246c8daf25f9598dca807fb6510347b1e1cfa55749113850c79d88a" dependencies = [ - "bitflags 2.3.3", + "bitflags 2.4.1", "errno", "libc", "linux-raw-sys", - "windows-sys", + "windows-sys 0.52.0", ] [[package]] @@ -1068,7 +1052,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0c3733bf4cf7ea0880754e19cb5a462007c4a8c1914bff372ccc95b464f1df88" dependencies = [ - "windows-sys", + "windows-sys 0.48.0", ] [[package]] @@ -1112,18 +1096,18 @@ [[package]] name = "serde" -version = "1.0.185" +version = "1.0.193" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be9b6f69f1dfd54c3b568ffa45c310d6973a5e5148fd40cf515acaf38cf5bc31" +checksum = "25dd9975e68d0cb5aa1120c288333fc98731bd1dd12f561e468ea4728c042b89" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.185" +version = "1.0.193" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc59dfdcbad1437773485e0367fea4b090a2e0a16d9ffc46af47764536a298ec" +checksum = "43576ca501357b9b071ac53cdc7da8ef0cbd9493d8df094cd821777ea6e894d3" dependencies = [ "proc-macro2", "quote", @@ -1132,9 +1116,9 @@ [[package]] name = "serde_json" -version = "1.0.105" +version = "1.0.108" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "693151e1ac27563d6dbcec9dee9fbd5da8539b20fa14ad3752b2e6d363ace360" +checksum = "3d1c7e3eac408d115102c4c24ad393e0821bb3a5df4d506a80f85f7a742a526b" dependencies = [ "itoa", "ryu", @@ -1143,9 +1127,9 @@ [[package]] name = "serde_yaml" -version = "0.9.25" +version = "0.9.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a49e178e4452f45cb61d0cd8cebc1b0fafd3e41929e996cef79aa3aca91f574" +checksum = "3cc7a1570e38322cfe4154732e5110f887ea57e22b76f4bfd32b5bdd3368666c" dependencies = [ "indexmap 2.0.0", "itoa", @@ -1244,15 +1228,15 @@ [[package]] name = "tempfile" -version = "3.8.0" +version = "3.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb94d2f3cc536af71caac6b6fcebf65860b347e7ce0cc9ebe8f70d3e521054ef" +checksum = "7ef1adac450ad7f4b3c28589471ade84f25f731a7a0fe30d71dfa9f60fd808e5" dependencies = [ "cfg-if", "fastrand", - "redox_syscall 0.3.5", + "redox_syscall 0.4.1", "rustix", - "windows-sys", + "windows-sys 0.48.0", ] [[package]] @@ -1530,24 +1514,16 @@ ] [[package]] -name = "webpki" -version = "0.22.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f095d78192e208183081cc07bc5515ef55216397af48b873e5edcd72637fa1bd" -dependencies = [ - "ring", - "untrusted", -] - -[[package]] name = "which" -version = "4.4.0" +version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2441c784c52b289a054b7201fc93253e288f094e2f4be9058343127c4226a269" +checksum = "9bf3ea8596f3a0dd5980b46430f2058dfe2c36a27ccfbb1845d6fbfcd9ba6e14" dependencies = [ "either", - "libc", + "home", "once_cell", + "rustix", + "windows-sys 0.48.0", ] [[package]] @@ -1593,7 +1569,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e686886bc078bc1b0b600cac0147aadb815089b6e4da64016cbd754b6342700f" dependencies = [ - "windows-targets", + "windows-targets 0.48.1", ] [[package]] @@ -1602,7 +1578,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" dependencies = [ - "windows-targets", + "windows-targets 0.48.1", +] + +[[package]] +name = "windows-sys" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" +dependencies = [ + "windows-targets 0.52.0", ] [[package]] @@ -1611,13 +1596,28 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "05d4b17490f70499f20b9e791dcf6a299785ce8af4d709018206dc5b4953e95f" dependencies = [ - "windows_aarch64_gnullvm", - "windows_aarch64_msvc", - "windows_i686_gnu", - "windows_i686_msvc", - "windows_x86_64_gnu", - "windows_x86_64_gnullvm", - "windows_x86_64_msvc", + "windows_aarch64_gnullvm 0.48.0", + "windows_aarch64_msvc 0.48.0", + "windows_i686_gnu 0.48.0", + "windows_i686_msvc 0.48.0", + "windows_x86_64_gnu 0.48.0", + "windows_x86_64_gnullvm 0.48.0", + "windows_x86_64_msvc 0.48.0", +] + +[[package]] +name = "windows-targets" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a18201040b24831fbb9e4eb208f8892e1f50a37feb53cc7ff887feb8f50e7cd" +dependencies = [ + "windows_aarch64_gnullvm 0.52.0", + "windows_aarch64_msvc 0.52.0", + "windows_i686_gnu 0.52.0", + "windows_i686_msvc 0.52.0", + "windows_x86_64_gnu 0.52.0", + "windows_x86_64_gnullvm 0.52.0", + "windows_x86_64_msvc 0.52.0", ] [[package]] @@ -1627,37 +1627,79 @@ checksum = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc" [[package]] +name = "windows_aarch64_gnullvm" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb7764e35d4db8a7921e09562a0304bf2f93e0a51bfccee0bd0bb0b666b015ea" + +[[package]] name = "windows_aarch64_msvc" version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3" [[package]] +name = "windows_aarch64_msvc" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbaa0368d4f1d2aaefc55b6fcfee13f41544ddf36801e793edbbfd7d7df075ef" + +[[package]] name = "windows_i686_gnu" version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241" [[package]] +name = "windows_i686_gnu" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a28637cb1fa3560a16915793afb20081aba2c92ee8af57b4d5f28e4b3e7df313" + +[[package]] name = "windows_i686_msvc" version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00" [[package]] +name = "windows_i686_msvc" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ffe5e8e31046ce6230cc7215707b816e339ff4d4d67c65dffa206fd0f7aa7b9a" + +[[package]] name = "windows_x86_64_gnu" version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1" [[package]] +name = "windows_x86_64_gnu" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d6fa32db2bc4a2f5abeacf2b69f7992cd09dca97498da74a151a3132c26befd" + +[[package]] name = "windows_x86_64_gnullvm" version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953" [[package]] +name = "windows_x86_64_gnullvm" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a657e1e9d3f514745a572a6846d3c7aa7dbe1658c056ed9c3344c4109a6949e" + +[[package]] name = "windows_x86_64_msvc" version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kubie-0.22.0/Cargo.toml new/kubie-0.23.0/Cargo.toml --- old/kubie-0.22.0/Cargo.toml 2023-08-23 22:42:01.000000000 +0200 +++ new/kubie-0.23.0/Cargo.toml 2023-12-12 02:29:28.000000000 +0100 @@ -11,12 +11,12 @@ name = "kubie" readme = "README.md" repository = "https://github.com/sbstp/kubie" -version = "0.22.0" +version = "0.23.0" [dependencies] anyhow = "1" atty = "0.2" -clap = { version = "4.3.23", features = ["derive"] } +clap = { version = "4.4.10", features = ["derive"] } cfg-if = "1" dirs = "5" fs2 = "0.4" @@ -28,7 +28,7 @@ serde_yaml = "0.9" signal-hook = "0.3" tempfile = "3" -which = "4" +which = "5" wildmatch = "2" skim = "0.10.1" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kubie-0.22.0/README.md new/kubie-0.23.0/README.md --- old/kubie-0.22.0/README.md 2023-08-23 22:42:01.000000000 +0200 +++ new/kubie-0.23.0/README.md 2023-12-12 02:29:28.000000000 +0100 @@ -38,7 +38,7 @@ There is a `kubie` Nix package maintained by @illiusdope that you can install. ### Arch Linux -`kubie` is available in the [community repository](https://archlinux.org/packages/community/x86_64/kubie/) and it can be installed by running `pacman -S kubie`. +`kubie` is available in the [extra repository](https://archlinux.org/packages/extra/x86_64/kubie/) and it can be installed by running `pacman -S kubie`. ### Autocompletion @@ -83,6 +83,7 @@ in the given namespace * `kubie exec <wildcard> <namespace> -e <cmd> <args>...` execute a command in all the contexts matched by the wildcard and in the given namespace but fail early if any of the commands executed return a non-zero exit code +* `kubie export <context> <namespace>` prints the path to an isolated config file for a context and namespace * `kubie edit` display a selectable menu of contexts to edit * `kubie edit <context>` edit the file that contains this context * `kubie edit-config` edit kubie's own config file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kubie-0.22.0/src/cmd/meta.rs new/kubie-0.23.0/src/cmd/meta.rs --- old/kubie-0.22.0/src/cmd/meta.rs 2023-08-23 22:42:01.000000000 +0200 +++ new/kubie-0.23.0/src/cmd/meta.rs 2023-12-12 02:29:28.000000000 +0100 @@ -63,11 +63,12 @@ args: Vec<String>, }, + /// Prints the path to an isolated configuration file for a context and namespace. #[clap(name = "export")] Export { - /// Name of the context in which to run the command. + /// Name of the context to export. context_name: String, - /// Namespace in which to run the command. This is mandatory to avoid potential errors. + /// Name of the namespace in the context. This is mandatory to avoid potential errors. namespace_name: String, }, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kubie-0.22.0/src/shell/zsh.rs new/kubie-0.23.0/src/shell/zsh.rs --- old/kubie-0.22.0/src/shell/zsh.rs 2023-08-23 22:42:01.000000000 +0200 +++ new/kubie-0.23.0/src/shell/zsh.rs 2023-12-12 02:29:28.000000000 +0100 @@ -64,7 +64,8 @@ fi if [[ -f "${{_KUBIE_USER_ZDOTDIR:-$HOME}}/.zshrc" ]] ; then - source "${{_KUBIE_USER_ZDOTDIR:-$HOME}}/.zshrc" + ZDOTDIR=$_KUBIE_USER_ZDOTDIR \ + source "${{_KUBIE_USER_ZDOTDIR:-$HOME}}/.zshrc" fi if [[ -f "/etc/zlogin" && "$KUBIE_LOGIN_SHELL" == "1" ]] ; then @@ -131,6 +132,10 @@ info.prompt )?; } + + if !info.settings.hooks.start_ctx.is_empty() { + write!(zshrc_buf, "{}", info.settings.hooks.start_ctx)?; + } } let mut cmd = Command::new("zsh"); @@ -139,5 +144,24 @@ let mut child = cmd.spawn()?; child.wait()?; + + if !info.settings.hooks.stop_ctx.is_empty() { + let temp_exit_hook_file = tempfile::Builder::new() + .prefix("kubie-zsh-exit-hook") + .suffix(".zsh") + .tempfile()?; + let mut temp_exit_hook_file_buf = BufWriter::new(temp_exit_hook_file.as_file()); + + write!(temp_exit_hook_file_buf, "{}", info.settings.hooks.stop_ctx)?; + + temp_exit_hook_file_buf.flush()?; + let mut exit_cmd = Command::new("zsh"); + exit_cmd.arg(temp_exit_hook_file.path()); + info.env_vars.apply(&mut exit_cmd); + + let mut child = exit_cmd.spawn()?; + child.wait()?; + } + Ok(()) } ++++++ vendor.tar.xz ++++++ /work/SRC/openSUSE:Factory/kubie/vendor.tar.xz /work/SRC/openSUSE:Factory/.kubie.new.25432/vendor.tar.xz differ: char 8, line 1