Package Details: openshift-client-bin 4.7.11-1

Git Clone URL: https://aur.archlinux.org/openshift-client-bin.git (read-only, click to copy)
Package Base: openshift-client-bin
Description: Client tools for OpenShift, binary release
Upstream URL: https://github.com/openshift/oc
Licenses: Apache
Conflicts: okd-client-bin, origin-client, origin-client-bin
Provides: oc
Submitter: erdii
Maintainer: erdii
Last Packager: erdii
Votes: 2
Popularity: 0.26
First Submitted: 2021-02-19 14:43
Last Updated: 2021-05-26 14:41

Dependencies (0)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

erdii commented on 2021-05-15 12:46

@twelveeighty thanks for pointing out! I moved the oc binary to /usr/bin/oc.

$ which oc
/usr/bin/oc

twelveeighty commented on 2021-05-13 14:21

Is there a specific reason this package installs oc in /usr/local/bin? It is against the Arch packaging standards [1]? Can this be changed to /usr/bin?

[1] https://wiki.archlinux.org/title/Arch_package_guidelines#Package_etiquette

alwyn commented on 2021-04-01 21:19

@erdii, it does not actually. I'm not sure what is the cause of this. If I source the completion file it works fine, but it doesn't seem to load when it's just in my fpath. I'm not having much luck debugging why zsh does this. As mentioned, every other completion works fine...

erdii commented on 2021-03-29 07:51

@alwyn does it work for you with the diff? Edit: issue filed at https://github.com/openshift/oc/issues/792

alwyn commented on 2021-03-27 21:04

@erdii that diff looks good to me.

That's weird! It seems to work sometimes for me, but doesn't most of the time. Maybe I need to debug my zsh completions in general. Still, it's odd because every other completion works fine.

erdii commented on 2021-03-27 15:28

@alwyn I've had a look and think that oc comletion zsh should propably replace ALL occurrences of kubectl with oc. Strangely enough this faulty generation does not break completion for me.

I've also had a look into https://github.com/openshift/oc but I couldn't find the root cause of the faulty generation. Please feel free to open an issue with them. :)

What do you think about this hacky patch until an upstream has landed? https://gist.github.com/erdii/dd51c37e16f54b1ddac3a4dc6c9f3b15

alwyn commented on 2021-03-26 22:10

@erdii :thumbsup:

With the current oc client, oc completion zsh will output #compdef kubectl instead of #compdef oc, and this breaks my completions... Maybe we can add a sed in package()? Or we can poke upstream about this. You work at RedHat, right? ;)

erdii commented on 2021-03-25 09:27

@alwyn thanks for your suggestion! <3 I had already fixed it to source=("$pkgname-$pkgver.tar.gz::https://mirror.openshift.com/pub/openshift-v4/clients/ocp/${pkgver}/openshift-client-linux.tar.gz")

alwyn commented on 2021-03-16 18:17

For most AUR helpers, using the same filename for an update will cause it to think the file is already present, and not download the new version. May I propose changing the download url to https://mirror.openshift.com/pub/openshift-v4/clients/ocp/${pkgver}/openshift-client-linux-${pkgver}.tar.gz?

erdii commented on 2021-02-23 01:30

fixed!