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-08-02 16:49:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kubie (Old)
 and      /work/SRC/openSUSE:Factory/.kubie.new.22712 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kubie"

Wed Aug  2 16:49:34 2023 rev:16 rq:1101753 version:0.21.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kubie/kubie.changes      2023-07-13 
17:18:56.501256490 +0200
+++ /work/SRC/openSUSE:Factory/.kubie.new.22712/kubie.changes   2023-08-02 
16:51:06.581740656 +0200
@@ -1,0 +2,18 @@
+Tue Aug 01 10:07:22 UTC 2023 - ka...@b1-systems.de
+
+- BuildRequire rust >= 1.67 to avoid failing builds
+- Update to version 0.21.0:
+  * Version 0.21.0
+  * Bump dirs from 2.0.2 to 5.0.1 (#139)
+  * Bump clap from 3.2.25 to 4.3.19 (#137)
+  * Bump signal-hook from 0.3.15 to 0.3.17 (#138)
+  * Bump serde from 1.0.171 to 1.0.178 (#136)
+  * Bump tempfile from 3.6.0 to 3.7.0 (#135)
+  * Create dependabot.yml
+  * nits
+  * fix build/clippy issues
+  * feat: add export feature (#125)
+  * Use ubuntu-latest instead of ubuntu-20.04
+  * Update actions/checkout to v3
+
+-------------------------------------------------------------------

Old:
----
  kubie-0.20.1.tar.gz

New:
----
  kubie-0.21.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ kubie.spec ++++++
--- /var/tmp/diff_new_pack.TixUkI/_old  2023-08-02 16:51:08.413751725 +0200
+++ /var/tmp/diff_new_pack.TixUkI/_new  2023-08-02 16:51:08.417751749 +0200
@@ -19,7 +19,7 @@
 %global rustflags '-Clink-arg=-Wl,-z,relro,-z,now'
 
 Name:           kubie
-Version:        0.20.1
+Version:        0.21.0
 Release:        0
 Summary:        A Kubernetes context switcher
 License:        Zlib
@@ -29,7 +29,7 @@
 Source2:        cargo_config
 Recommends:     fzf
 BuildRequires:  cargo
-BuildRequires:  rust
+BuildRequires:  rust >= 1.67.0
 
 %description
 kubie offers context switching, namespace switching and prompt modification in 
a

++++++ _service ++++++
--- /var/tmp/diff_new_pack.TixUkI/_old  2023-08-02 16:51:08.461752015 +0200
+++ /var/tmp/diff_new_pack.TixUkI/_new  2023-08-02 16:51:08.465752039 +0200
@@ -5,7 +5,7 @@
     <param name="exclude">.git</param>
     <param name="versionformat">@PARENT_TAG@</param>
     <param name="versionrewrite-pattern">v(.*)</param>
-    <param name="revision">v0.20.1</param>
+    <param name="revision">v0.21.0</param>
     <param name="changesgenerate">enable</param>
   </service>
   <service name="recompress" mode="disabled">

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.TixUkI/_old  2023-08-02 16:51:08.489752184 +0200
+++ /var/tmp/diff_new_pack.TixUkI/_new  2023-08-02 16:51:08.493752209 +0200
@@ -1,6 +1,6 @@
 <servicedata>
 <service name="tar_scm">
                 <param name="url">https://github.com/sbstp/kubie</param>
-              <param 
name="changesrevision">6552d8fb90566f9054ee7a9aa191685f28bb2869</param></service></servicedata>
+              <param 
name="changesrevision">11003a3d6f512e624a0b2fb998395623ea5e03c4</param></service></servicedata>
 (No newline at EOF)
 

++++++ kubie-0.20.1.tar.gz -> kubie-0.21.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kubie-0.20.1/.github/dependabot.yml 
new/kubie-0.21.0/.github/dependabot.yml
--- old/kubie-0.20.1/.github/dependabot.yml     1970-01-01 01:00:00.000000000 
+0100
+++ new/kubie-0.21.0/.github/dependabot.yml     2023-07-29 08:20:12.000000000 
+0200
@@ -0,0 +1,11 @@
+# To get started with Dependabot version updates, you'll need to specify which
+# package ecosystems to update and where the package manifests are located.
+# Please see the documentation for all configuration options:
+# 
https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
+
+version: 2
+updates:
+  - package-ecosystem: "cargo" # See documentation for possible values
+    directory: "/" # Location of package manifests
+    schedule:
+      interval: "weekly"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kubie-0.20.1/.github/workflows/release.yml 
new/kubie-0.21.0/.github/workflows/release.yml
--- old/kubie-0.20.1/.github/workflows/release.yml      2023-07-13 
04:17:41.000000000 +0200
+++ new/kubie-0.21.0/.github/workflows/release.yml      2023-07-29 
08:20:12.000000000 +0200
@@ -9,7 +9,7 @@
   build-linux-amd64-static:
     runs-on: ubuntu-latest
     steps:
-      - uses: actions/checkout@v2
+      - uses: actions/checkout@v3
       - uses: actions-rs/toolchain@v1
         with:
           toolchain: stable
@@ -29,7 +29,7 @@
   build-linux-arm32-static:
     runs-on: ubuntu-latest
     steps:
-      - uses: actions/checkout@v2
+      - uses: actions/checkout@v3
       - uses: actions-rs/toolchain@v1
         with:
           toolchain: stable
@@ -50,7 +50,7 @@
   build-linux-arm64-static:
     runs-on: ubuntu-latest
     steps:
-      - uses: actions/checkout@v2
+      - uses: actions/checkout@v3
       - uses: actions-rs/toolchain@v1
         with:
           toolchain: stable
@@ -71,7 +71,7 @@
   build-macos-amd64:
     runs-on: macos-latest
     steps:
-      - uses: actions/checkout@v2
+      - uses: actions/checkout@v3
       - uses: actions-rs/toolchain@v1
         with:
           toolchain: stable
@@ -89,7 +89,7 @@
   build-macos-arm64:
     runs-on: macos-latest
     steps:
-      - uses: actions/checkout@v2
+      - uses: actions/checkout@v3
       - uses: actions-rs/toolchain@v1
         with:
           toolchain: stable
@@ -107,7 +107,7 @@
     runs-on: ubuntu-latest
     steps:
       - name: Checkout sources
-        uses: actions/checkout@v2
+        uses: actions/checkout@v3
       - name: Install stable toolchain
         uses: actions-rs/toolchain@v1
         with:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kubie-0.20.1/.github/workflows/test.yml 
new/kubie-0.21.0/.github/workflows/test.yml
--- old/kubie-0.20.1/.github/workflows/test.yml 2023-07-13 04:17:41.000000000 
+0200
+++ new/kubie-0.21.0/.github/workflows/test.yml 2023-07-29 08:20:12.000000000 
+0200
@@ -8,9 +8,9 @@
 
 jobs:
   test-linux-amd64:
-    runs-on: ubuntu-20.04
+    runs-on: ubuntu-latest
     steps:
-      - uses: actions/checkout@v2
+      - uses: actions/checkout@v3
       - uses: actions-rs/toolchain@v1
         with:
           toolchain: stable
@@ -21,9 +21,9 @@
           args: --all-features
 
   test-linux-arm32:
-    runs-on: ubuntu-20.04
+    runs-on: ubuntu-latest
     steps:
-      - uses: actions/checkout@v2
+      - uses: actions/checkout@v3
       - uses: actions-rs/toolchain@v1
         with:
           toolchain: stable
@@ -37,9 +37,9 @@
           args: --all-features --target arm-unknown-linux-musleabi
 
   test-linux-arm64:
-    runs-on: ubuntu-20.04
+    runs-on: ubuntu-latest
     steps:
-      - uses: actions/checkout@v2
+      - uses: actions/checkout@v3
       - uses: actions-rs/toolchain@v1
         with:
           toolchain: stable
@@ -55,7 +55,7 @@
   test-macos-amd64:
     runs-on: macos-latest
     steps:
-      - uses: actions/checkout@v2
+      - uses: actions/checkout@v3
       - uses: actions-rs/toolchain@v1
         with:
           toolchain: stable
@@ -70,7 +70,7 @@
   build-macos-arm64:
     runs-on: macos-latest
     steps:
-      - uses: actions/checkout@v2
+      - uses: actions/checkout@v3
       - uses: actions-rs/toolchain@v1
         with:
           toolchain: stable
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kubie-0.20.1/Cargo.lock new/kubie-0.21.0/Cargo.lock
--- old/kubie-0.20.1/Cargo.lock 2023-07-13 04:17:41.000000000 +0200
+++ new/kubie-0.21.0/Cargo.lock 2023-07-29 08:20:12.000000000 +0200
@@ -33,6 +33,55 @@
 ]
 
 [[package]]
+name = "anstream"
+version = "0.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index";
+checksum = "0ca84f3628370c59db74ee214b3263d58f9aadd9b4fe7e711fd87dc452b7f163"
+dependencies = [
+ "anstyle",
+ "anstyle-parse",
+ "anstyle-query",
+ "anstyle-wincon",
+ "colorchoice",
+ "is-terminal",
+ "utf8parse",
+]
+
+[[package]]
+name = "anstyle"
+version = "1.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index";
+checksum = "3a30da5c5f2d5e72842e00bcb57657162cdabef0931f40e2deb9b4140440cecd"
+
+[[package]]
+name = "anstyle-parse"
+version = "0.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index";
+checksum = "938874ff5980b03a87c5524b3ae5b59cf99b1d6bc836848df7bc5ada9643c333"
+dependencies = [
+ "utf8parse",
+]
+
+[[package]]
+name = "anstyle-query"
+version = "1.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index";
+checksum = "5ca11d4be1bab0c8bc8734a9aa7bf4ee8316d462a08c6ac5052f888fef5b494b"
+dependencies = [
+ "windows-sys",
+]
+
+[[package]]
+name = "anstyle-wincon"
+version = "1.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index";
+checksum = "180abfa45703aebe0093f79badacc01b8fd4ea2e35118747e5811127f926e188"
+dependencies = [
+ "anstyle",
+ "windows-sys",
+]
+
+[[package]]
 name = "anyhow"
 version = "1.0.71"
 source = "registry+https://github.com/rust-lang/crates.io-index";
@@ -97,6 +146,12 @@
 checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
 
 [[package]]
+name = "bitflags"
+version = "2.3.3"
+source = "registry+https://github.com/rust-lang/crates.io-index";
+checksum = "630be753d4e58660abd17930c71b647fe46c27ea6b63cc59e1e3851406972e42"
+
+[[package]]
 name = "bumpalo"
 version = "3.13.0"
 source = "registry+https://github.com/rust-lang/crates.io-index";
@@ -116,12 +171,6 @@
 
 [[package]]
 name = "cfg-if"
-version = "0.1.10"
-source = "registry+https://github.com/rust-lang/crates.io-index";
-checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822"
-
-[[package]]
-name = "cfg-if"
 version = "1.0.0"
 source = "registry+https://github.com/rust-lang/crates.io-index";
 checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
@@ -148,9 +197,8 @@
 checksum = "4ea181bf566f71cb9a5d17a59e1871af638180a18fb0035c92ae62b705207123"
 dependencies = [
  "atty",
- "bitflags",
- "clap_derive",
- "clap_lex",
+ "bitflags 1.3.2",
+ "clap_lex 0.2.4",
  "indexmap",
  "once_cell",
  "strsim",
@@ -159,16 +207,38 @@
 ]
 
 [[package]]
+name = "clap"
+version = "4.3.19"
+source = "registry+https://github.com/rust-lang/crates.io-index";
+checksum = "5fd304a20bff958a57f04c4e96a2e7594cc4490a0e809cbd48bb6437edaa452d"
+dependencies = [
+ "clap_builder",
+ "clap_derive",
+ "once_cell",
+]
+
+[[package]]
+name = "clap_builder"
+version = "4.3.19"
+source = "registry+https://github.com/rust-lang/crates.io-index";
+checksum = "01c6a3f08f1fe5662a35cfe393aec09c4df95f60ee93b7556505260f75eee9e1"
+dependencies = [
+ "anstream",
+ "anstyle",
+ "clap_lex 0.5.0",
+ "strsim",
+]
+
+[[package]]
 name = "clap_derive"
-version = "3.2.25"
+version = "4.3.12"
 source = "registry+https://github.com/rust-lang/crates.io-index";
-checksum = "ae6371b8bdc8b7d3959e9cf7b22d4435ef3e79e138688421ec654acf8c81b008"
+checksum = "54a9bb5758fc5dfe728d1019941681eccaf0cf8a4189b692a0ee2f2ecf90a050"
 dependencies = [
  "heck",
- "proc-macro-error",
  "proc-macro2",
  "quote",
- "syn 1.0.109",
+ "syn 2.0.25",
 ]
 
 [[package]]
@@ -181,6 +251,18 @@
 ]
 
 [[package]]
+name = "clap_lex"
+version = "0.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index";
+checksum = "2da6da31387c7e4ef160ffab6d5e7f00c42626fe39aea70a7b0f1773f7dd6c1b"
+
+[[package]]
+name = "colorchoice"
+version = "1.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index";
+checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7"
+
+[[package]]
 name = "core-foundation"
 version = "0.9.3"
 source = "registry+https://github.com/rust-lang/crates.io-index";
@@ -202,7 +284,7 @@
 source = "registry+https://github.com/rust-lang/crates.io-index";
 checksum = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if",
 ]
 
 [[package]]
@@ -211,7 +293,7 @@
 source = "registry+https://github.com/rust-lang/crates.io-index";
 checksum = "2801af0d36612ae591caa9568261fddce32ce6e08a7275ea334a06a4ad021a2c"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if",
  "crossbeam-channel",
  "crossbeam-deque",
  "crossbeam-epoch",
@@ -225,7 +307,7 @@
 source = "registry+https://github.com/rust-lang/crates.io-index";
 checksum = "a33c2bf77f2df06183c3aa30d1e96c0695a313d4f9c453cc3762a6db39f99200"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if",
  "crossbeam-utils",
 ]
 
@@ -235,7 +317,7 @@
 source = "registry+https://github.com/rust-lang/crates.io-index";
 checksum = "ce6fd6f855243022dcecf8702fef0c297d4338e226845fe067f6341ad9fa0cef"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if",
  "crossbeam-epoch",
  "crossbeam-utils",
 ]
@@ -247,7 +329,7 @@
 checksum = "ae211234986c545741a7dc064309f67ee1e5ad243d0e48335adc0484d960bcc7"
 dependencies = [
  "autocfg",
- "cfg-if 1.0.0",
+ "cfg-if",
  "crossbeam-utils",
  "memoffset 0.9.0",
  "scopeguard",
@@ -259,7 +341,7 @@
 source = "registry+https://github.com/rust-lang/crates.io-index";
 checksum = "d1cfb3ea8a53f37c40dea2c7bedcbd88bdfae54f5e2175d6ecaff1c988353add"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if",
  "crossbeam-utils",
 ]
 
@@ -269,7 +351,7 @@
 source = "registry+https://github.com/rust-lang/crates.io-index";
 checksum = "5a22b2d63d4d1dc0b7f1b6b2747dd0088008a9be28b6ddf0b1e7d335e3037294"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if",
 ]
 
 [[package]]
@@ -350,11 +432,10 @@
 
 [[package]]
 name = "dirs"
-version = "2.0.2"
+version = "5.0.1"
 source = "registry+https://github.com/rust-lang/crates.io-index";
-checksum = "13aea89a5c93364a98e9b37b2fa237effbb694d5cfe01c5b70941f7eb087d5e3"
+checksum = "44c45a9d03d6676652bcb5e724c7e988de1acad23a711b5217ab9cbecbec2225"
 dependencies = [
- "cfg-if 0.1.10",
  "dirs-sys",
 ]
 
@@ -364,19 +445,20 @@
 source = "registry+https://github.com/rust-lang/crates.io-index";
 checksum = "b98cf8ebf19c3d1b223e151f99a4f9f0690dca41414773390fc824184ac833e1"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if",
  "dirs-sys-next",
 ]
 
 [[package]]
 name = "dirs-sys"
-version = "0.3.7"
+version = "0.4.1"
 source = "registry+https://github.com/rust-lang/crates.io-index";
-checksum = "1b1d1d91c932ef41c0f2663aa8b0ca0342d444d842c06914aa0a7e352d0bada6"
+checksum = "520f05a5cbd335fae5a99ff7a6ab8627577660ee5cfd6a94a6a929b52ff0321c"
 dependencies = [
  "libc",
+ "option-ext",
  "redox_users",
- "winapi",
+ "windows-sys",
 ]
 
 [[package]]
@@ -432,12 +514,9 @@
 
 [[package]]
 name = "fastrand"
-version = "1.9.0"
+version = "2.0.0"
 source = "registry+https://github.com/rust-lang/crates.io-index";
-checksum = "e51093e27b0797c359783294ca4f0a911c270184cb10f85783b118614a1501be"
-dependencies = [
- "instant",
-]
+checksum = "6999dc1837253364c2ebb0704ba97994bd874e8f195d665c50b7548f6ea92764"
 
 [[package]]
 name = "flate2"
@@ -489,7 +568,7 @@
 source = "registry+https://github.com/rust-lang/crates.io-index";
 checksum = "be4136b2a15dd319360be1c07d9933517ccf0be8f16bf62a3bee4f0d618df427"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if",
  "libc",
  "wasi 0.11.0+wasi-snapshot-preview1",
 ]
@@ -594,22 +673,13 @@
 ]
 
 [[package]]
-name = "instant"
-version = "0.1.12"
+name = "is-terminal"
+version = "0.4.9"
 source = "registry+https://github.com/rust-lang/crates.io-index";
-checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c"
-dependencies = [
- "cfg-if 1.0.0",
-]
-
-[[package]]
-name = "io-lifetimes"
-version = "1.0.11"
-source = "registry+https://github.com/rust-lang/crates.io-index";
-checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2"
+checksum = "cb0889898416213fab133e1d33a0e5858a48177452750691bde3666d0fdbaf8b"
 dependencies = [
  "hermit-abi 0.3.2",
- "libc",
+ "rustix",
  "windows-sys",
 ]
 
@@ -630,13 +700,13 @@
 
 [[package]]
 name = "kubie"
-version = "0.20.1"
+version = "0.21.0"
 dependencies = [
  "anyhow",
  "attohttpc",
  "atty",
- "cfg-if 1.0.0",
- "clap",
+ "cfg-if",
+ "clap 4.3.19",
  "dirs",
  "fs2",
  "glob",
@@ -672,9 +742,9 @@
 
 [[package]]
 name = "linux-raw-sys"
-version = "0.3.8"
+version = "0.4.3"
 source = "registry+https://github.com/rust-lang/crates.io-index";
-checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519"
+checksum = "09fc20d2ca12cb9f044c93e3bd6d32d523e6e2ec3db4f7b2939cd99026ecd3f0"
 
 [[package]]
 name = "log"
@@ -721,8 +791,8 @@
 source = "registry+https://github.com/rust-lang/crates.io-index";
 checksum = "fa52e972a9a719cecb6864fb88568781eb706bac2cd1d4f04a648542dbf78069"
 dependencies = [
- "bitflags",
- "cfg-if 1.0.0",
+ "bitflags 1.3.2",
+ "cfg-if",
  "libc",
 ]
 
@@ -733,8 +803,8 @@
 checksum = "f346ff70e7dbfd675fe90590b92d59ef2de15a8779ae305ebcbfd3f0caf59be4"
 dependencies = [
  "autocfg",
- "bitflags",
- "cfg-if 1.0.0",
+ "bitflags 1.3.2",
+ "cfg-if",
  "libc",
  "memoffset 0.6.5",
  "pin-utils",
@@ -772,6 +842,12 @@
 checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf"
 
 [[package]]
+name = "option-ext"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index";
+checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d"
+
+[[package]]
 name = "os_str_bytes"
 version = "6.5.1"
 source = "registry+https://github.com/rust-lang/crates.io-index";
@@ -790,30 +866,6 @@
 checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
 
 [[package]]
-name = "proc-macro-error"
-version = "1.0.4"
-source = "registry+https://github.com/rust-lang/crates.io-index";
-checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c"
-dependencies = [
- "proc-macro-error-attr",
- "proc-macro2",
- "quote",
- "syn 1.0.109",
- "version_check",
-]
-
-[[package]]
-name = "proc-macro-error-attr"
-version = "1.0.4"
-source = "registry+https://github.com/rust-lang/crates.io-index";
-checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869"
-dependencies = [
- "proc-macro2",
- "quote",
- "version_check",
-]
-
-[[package]]
 name = "proc-macro2"
 version = "1.0.64"
 source = "registry+https://github.com/rust-lang/crates.io-index";
@@ -859,7 +911,7 @@
 source = "registry+https://github.com/rust-lang/crates.io-index";
 checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a"
 dependencies = [
- "bitflags",
+ "bitflags 1.3.2",
 ]
 
 [[package]]
@@ -868,7 +920,7 @@
 source = "registry+https://github.com/rust-lang/crates.io-index";
 checksum = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29"
 dependencies = [
- "bitflags",
+ "bitflags 1.3.2",
 ]
 
 [[package]]
@@ -928,13 +980,12 @@
 
 [[package]]
 name = "rustix"
-version = "0.37.23"
+version = "0.38.4"
 source = "registry+https://github.com/rust-lang/crates.io-index";
-checksum = "4d69718bf81c6127a49dc64e44a742e8bb9213c0ff8869a22c308f84c1d4ab06"
+checksum = "0a962918ea88d644592894bc6dc55acc6c0956488adcebbfb6e273506b7fd6e5"
 dependencies = [
- "bitflags",
+ "bitflags 2.3.3",
  "errno",
- "io-lifetimes",
  "libc",
  "linux-raw-sys",
  "windows-sys",
@@ -1016,7 +1067,7 @@
 source = "registry+https://github.com/rust-lang/crates.io-index";
 checksum = "1fc758eb7bffce5b308734e9b0c1468893cae9ff70ebf13e7090be8dcbcc83a8"
 dependencies = [
- "bitflags",
+ "bitflags 1.3.2",
  "core-foundation",
  "core-foundation-sys",
  "libc",
@@ -1035,18 +1086,18 @@
 
 [[package]]
 name = "serde"
-version = "1.0.171"
+version = "1.0.178"
 source = "registry+https://github.com/rust-lang/crates.io-index";
-checksum = "30e27d1e4fd7659406c492fd6cfaf2066ba8773de45ca75e855590f856dc34a9"
+checksum = "60363bdd39a7be0266a520dab25fdc9241d2f987b08a01e01f0ec6d06a981348"
 dependencies = [
  "serde_derive",
 ]
 
 [[package]]
 name = "serde_derive"
-version = "1.0.171"
+version = "1.0.178"
 source = "registry+https://github.com/rust-lang/crates.io-index";
-checksum = "389894603bd18c46fa56231694f8d827779c0951a667087194cf9de94ed24682"
+checksum = "f28482318d6641454cb273da158647922d1be6b5a2fcc6165cd89ebdd7ed576b"
 dependencies = [
  "proc-macro2",
  "quote",
@@ -1084,9 +1135,9 @@
 
 [[package]]
 name = "signal-hook"
-version = "0.3.15"
+version = "0.3.17"
 source = "registry+https://github.com/rust-lang/crates.io-index";
-checksum = "732768f1176d21d09e076c23a93123d40bba92d50c4058da34d45c8de8e682b9"
+checksum = "8621587d4798caf8eb44879d42e56b9a93ea5dcd315a6487c357130095b62801"
 dependencies = [
  "libc",
  "signal-hook-registry",
@@ -1109,9 +1160,9 @@
 dependencies = [
  "atty",
  "beef",
- "bitflags",
+ "bitflags 1.3.2",
  "chrono",
- "clap",
+ "clap 3.2.25",
  "crossbeam",
  "defer-drop",
  "derive_builder",
@@ -1166,12 +1217,11 @@
 
 [[package]]
 name = "tempfile"
-version = "3.6.0"
+version = "3.7.0"
 source = "registry+https://github.com/rust-lang/crates.io-index";
-checksum = "31c0432476357e58790aaa47a8efb0c5138f137343f3b5f23bd36a27e3b0a6d6"
+checksum = "5486094ee78b2e5038a6382ed7645bc084dc2ec433426ca4c3cb61e2007b8998"
 dependencies = [
- "autocfg",
- "cfg-if 1.0.0",
+ "cfg-if",
  "fastrand",
  "redox_syscall 0.3.5",
  "rustix",
@@ -1230,7 +1280,7 @@
 source = "registry+https://github.com/rust-lang/crates.io-index";
 checksum = "3fdd6f064ccff2d6567adcb3873ca630700f00b5ad3f060c25b5dcfd9a4ce152"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if",
  "once_cell",
 ]
 
@@ -1291,7 +1341,7 @@
 source = "registry+https://github.com/rust-lang/crates.io-index";
 checksum = "5e19c6ab038babee3d50c8c12ff8b910bdb2196f62278776422f50390d8e53d8"
 dependencies = [
- "bitflags",
+ "bitflags 1.3.2",
  "lazy_static",
  "log",
  "nix 0.24.3",
@@ -1350,12 +1400,6 @@
 checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a"
 
 [[package]]
-name = "version_check"
-version = "0.9.4"
-source = "registry+https://github.com/rust-lang/crates.io-index";
-checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f"
-
-[[package]]
 name = "vte"
 version = "0.11.1"
 source = "registry+https://github.com/rust-lang/crates.io-index";
@@ -1394,7 +1438,7 @@
 source = "registry+https://github.com/rust-lang/crates.io-index";
 checksum = "7706a72ab36d8cb1f80ffbf0e071533974a60d0a308d01a5d0375bf60499a342"
 dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if",
  "wasm-bindgen-macro",
 ]
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kubie-0.20.1/Cargo.toml new/kubie-0.21.0/Cargo.toml
--- old/kubie-0.20.1/Cargo.toml 2023-07-13 04:17:41.000000000 +0200
+++ new/kubie-0.21.0/Cargo.toml 2023-07-29 08:20:12.000000000 +0200
@@ -11,14 +11,14 @@
 name = "kubie"
 readme = "README.md"
 repository = "https://github.com/sbstp/kubie";
-version = "0.20.1"
+version = "0.21.0"
 
 [dependencies]
 anyhow = "1"
 atty = "0.2"
-clap = { version = "3.2.14", features = ["derive"] }
+clap = { version = "4.3.19", features = ["derive"] }
 cfg-if = "1"
-dirs = "2"
+dirs = "5"
 fs2 = "0.4"
 glob = "0.3"
 lazy_static = "1"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kubie-0.20.1/src/cmd/export.rs 
new/kubie-0.21.0/src/cmd/export.rs
--- old/kubie-0.20.1/src/cmd/export.rs  1970-01-01 01:00:00.000000000 +0100
+++ new/kubie-0.21.0/src/cmd/export.rs  2023-07-29 08:20:12.000000000 +0200
@@ -0,0 +1,25 @@
+use anyhow::{anyhow, Result};
+
+use crate::kubeconfig;
+use crate::settings::Settings;
+
+pub fn export(settings: &Settings, context_name: String, namespace_name: 
String) -> Result<()> {
+    let installed = kubeconfig::get_installed_contexts(settings)?;
+    let matching = installed.get_contexts_matching(&context_name);
+
+    if matching.is_empty() {
+        return Err(anyhow!("No context matching {}", context_name));
+    }
+
+    for context_src in matching {
+        let kubeconfig = 
installed.make_kubeconfig_for_context(&context_src.item.name, 
Some(&namespace_name))?;
+        let temp_config_file = tempfile::Builder::new()
+            .prefix("kubie-config")
+            .suffix(".yaml")
+            .tempfile()?;
+        kubeconfig.write_to_file(temp_config_file.path())?;
+        println!("{}", temp_config_file.path().display());
+    }
+
+    std::process::exit(0);
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kubie-0.20.1/src/cmd/meta.rs 
new/kubie-0.21.0/src/cmd/meta.rs
--- old/kubie-0.20.1/src/cmd/meta.rs    2023-07-13 04:17:41.000000000 +0200
+++ new/kubie-0.21.0/src/cmd/meta.rs    2023-07-29 08:20:12.000000000 +0200
@@ -63,6 +63,14 @@
         args: Vec<String>,
     },
 
+    #[clap(name = "export")]
+    Export {
+        /// Name of the context in which to run the command.
+        context_name: String,
+        /// Namespace in which to run the command. This is mandatory to avoid 
potential errors.
+        namespace_name: String,
+    },
+
     /// Check the Kubernetes config files for issues.
     #[clap(name = "lint")]
     Lint,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kubie-0.20.1/src/cmd/mod.rs 
new/kubie-0.21.0/src/cmd/mod.rs
--- old/kubie-0.20.1/src/cmd/mod.rs     2023-07-13 04:17:41.000000000 +0200
+++ new/kubie-0.21.0/src/cmd/mod.rs     2023-07-29 08:20:12.000000000 +0200
@@ -11,6 +11,7 @@
 pub mod delete;
 pub mod edit;
 pub mod exec;
+pub mod export;
 pub mod info;
 pub mod lint;
 pub mod meta;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kubie-0.20.1/src/main.rs new/kubie-0.21.0/src/main.rs
--- old/kubie-0.20.1/src/main.rs        2023-07-13 04:17:41.000000000 +0200
+++ new/kubie-0.21.0/src/main.rs        2023-07-29 08:20:12.000000000 +0200
@@ -78,6 +78,12 @@
         Kubie::Delete { context_name } => {
             cmd::delete::delete_context(&settings, &skim_options, 
context_name)?;
         }
+        Kubie::Export {
+            context_name,
+            namespace_name,
+        } => {
+            cmd::export::export(&settings, context_name, namespace_name)?;
+        }
     }
 
     Ok(())

++++++ vendor.tar.xz ++++++
/work/SRC/openSUSE:Factory/kubie/vendor.tar.xz 
/work/SRC/openSUSE:Factory/.kubie.new.22712/vendor.tar.xz differ: char 27, line 
1

Reply via email to