Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 733142 - app-admin/kubectx-0.9.0: should not depend on sys-cluster/kubernetes[kubectl]
Summary: app-admin/kubectx-0.9.0: should not depend on sys-cluster/kubernetes[kubectl]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal minor
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-18 15:56 UTC by Chris Ribble
Modified: 2020-08-28 23:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Ribble 2020-07-18 15:56:46 UTC
According to the release notes at https://github.com/ahmetb/kubectx/releases/tag/v0.9.0, kubectx no longer depends on kubectl (as it has been rewritten in Go, rather than Bash wrapper around kubectl).

I use a per-user installation of kubectl from the Google cloud tools to target GKE clusters, so installing the kubernetes package (and needing to maintain a package.use file which disables the pieces of kubernetes that I don't need) if something I would prefer to avoid.

The ebuild for app-admin/kubectx-0.9.0 should be updated to remove the dependency on sys-cluster/kubernetes[kubectl].

Reproducible: Always

Steps to Reproduce:
1. Add "app-admin/kubectx ~amd64" to a file in /etc/portage/package.accept_keywords
2. emerge app-admin/kubectx
3. app-admin/kubectx-0.9.0 requires sys-cluster/kubernetes[kubectl]
Actual Results:  
app-admin/kubectx-0.9.0 requires sys-cluster/kubernetes[kubectl] to be installed

Expected Results:  
app-admin/kubectx-0.9.0 should install without sys-cluster/kubernetes[kubectl] installed
Comment 1 Larry the Git Cow gentoo-dev 2020-08-28 23:10:12 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=089753ca325cdd797e5691b95ac2dfac738c1197

commit 089753ca325cdd797e5691b95ac2dfac738c1197
Author:     William Hubbs <williamh@gentoo.org>
AuthorDate: 2020-08-28 23:08:23 +0000
Commit:     William Hubbs <williamh@gentoo.org>
CommitDate: 2020-08-28 23:10:05 +0000

    app-admin/kubectx: 0.9.1 bump
    
    Closes: https://bugs.gentoo.org/733142
    Signed-off-by: William Hubbs <williamh@gentoo.org>

 app-admin/kubectx/Manifest             |   1 +
 app-admin/kubectx/kubectx-0.9.1.ebuild | 268 +++++++++++++++++++++++++++++++++
 2 files changed, 269 insertions(+)