Bug 1221680

Summary: kubefirst: completion files problem
Product: [openSUSE] openSUSE Tumbleweed Reporter: Bernhard Wiedemann <bwiedemann>
Component: OtherAssignee: Johannes Kastl <opensuse_buildservice>
Status: CONFIRMED --- QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: All   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Bernhard Wiedemann 2024-03-19 10:15:58 UTC
While working on reproducible builds for openSUSE, I found that
our kubefirst 2.4.2 package varies in its completion files


/usr/share/bash-completion/completions/kubefirst
@@ -1,4 +1,4 @@
-checking for a newer version failed (cannot get Homebrew formula) with: Get "https://raw.githubusercontent.com/Homebrew/homebrew-core/master/Formula/k/kubefirst.rb": dial tcp: lookup raw.githubusercontent.com on [::1]:53: read udp [::1]:33232->[::1]:53: read: connection refused# bash completion V2 for kubefirst                            -*- shell-script -*-
+checking for a newer version failed (cannot get Homebrew formula) with: Get "https://raw.githubusercontent.com/Homebrew/homebrew-core/master/Formula/k/kubefirst.rb": dial tcp: lookup raw.githubusercontent.com on [::1]:53: read udp [::1]:38072->[::1]:53: read: connection refused# bash completion V2 for kubefirst                            -*- shell-script -*-

 __kubefirst_debug()
 {
...

more diff in
https://rb.zq1.de/compare.factory-20240228/diffs/kubefirst-compare.out
This line looks like it should not be there in the first place = bug.
Comment 1 Johannes Kastl 2024-03-19 20:50:44 UTC
Thanks for the report, Bernhard.

I will try to follow up with upstream on how to fix this.

Kind Regards,
Johannes