Package Details: openshift-client-bin 4.18.7-0

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: 5
Popularity: 0.014776
First Submitted: 2021-02-19 14:43 (UTC)
Last Updated: 2025-04-13 08:04 (UTC)

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

« First ‹ Previous 1 2

erdii commented on 2021-03-27 15:28 (UTC)

@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 (UTC) (edited on 2021-03-26 22:11 (UTC) by alwyn)

@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 (UTC) (edited on 2021-03-25 09:28 (UTC) by erdii)

@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 (UTC)

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 (UTC)

fixed!

alwyn commented on 2021-02-19 16:51 (UTC)

Thanks!

It seems you updated the version of the client without updating the sha256sums.