@esbdb and @oskar - There has been a pinned comment with instructions for managing components since August 2018.
Search Criteria
Package Details: google-cloud-cli 502.0.0-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/google-cloud-cli.git (read-only, click to copy) |
---|---|
Package Base: | google-cloud-cli |
Description: | A set of command-line tools for the Google Cloud Platform. Includes gcloud (with beta and alpha commands), gsutil, and bq. |
Upstream URL: | https://cloud.google.com/cli/ |
Keywords: | cloud gcloud gcp google sdk |
Licenses: | Apache-2.0 |
Conflicts: | google-cloud-sdk |
Provides: | google-cloud-sdk |
Replaces: | google-cloud-sdk |
Submitter: | PolarianDev |
Maintainer: | jvybihal |
Last Packager: | jvybihal |
Votes: | 188 |
Popularity: | 0.37 |
First Submitted: | 2023-03-08 09:33 (UTC) |
Last Updated: | 2024-11-20 07:51 (UTC) |
Dependencies (2)
- python (python37AUR, python311AUR, python310AUR)
- python-crcmod (optional) – [gsutil] verify the integrity of GCS object contents
Required by (15)
- arkade-bin (requires google-cloud-sdk) (optional)
- gcsfuse (requires google-cloud-sdk) (optional)
- google-cloud-cli-firestore-emulator
- google-cloud-cli-gke-gcloud-auth-plugin
- google-cloud-sdk-app-engine-java (requires google-cloud-sdk)
- google-cloud-sdk-app-engine-python (requires google-cloud-sdk)
- google-cloud-sdk-app-engine-python-extras (requires google-cloud-sdk)
- google-cloud-sdk-bigtable-emulator (requires google-cloud-sdk)
- google-cloud-sdk-cbt (requires google-cloud-sdk)
- google-cloud-sdk-datastore-emulator (requires google-cloud-sdk)
- k3sup-bin (requires google-cloud-sdk) (optional)
- porter-bin (requires google-cloud-sdk) (optional)
- python-google-earthengine-api (requires google-cloud-sdk)
- repman (optional)
- repman-git (optional)
Sources (3)
Latest Comments
« First ‹ Previous 1 .. 12 13 14 15 16 17 18 19 20 21 22 .. 31 Next › Last »
sudoforge commented on 2019-01-15 09:03 (UTC)
oskar commented on 2019-01-15 08:42 (UTC)
I wasn't able to update kubectl component either due to the following error:
ERROR: (gcloud.components.remove) You cannot perform this action because this Cloud SDK installation is managed by an external package manager.
Please consider using a separate installation of the Cloud SDK created through the default mechanism described at: <https://cloud.google.com/sdk/>
I circumvented this by installing kubectl package from AUR (which is up-to-date) and removing /opt/google-cloud-sdk/bin/kubectl.
brendanb commented on 2018-10-30 06:56 (UTC)
How do I actually update installed components? I'm still running kubectl 1.7.2. Even when update gcloud, gcloud components update never gets run.
sudoforge commented on 2018-10-20 15:36 (UTC)
@mathieu.clabaut:
You can follow the very straightforward instructions in the pinned comment to add additional components. No additional components will be added to this PKGBUILD at any time now or in the future.
mathieu.clabaut commented on 2018-10-20 12:23 (UTC)
First, I must thank you for your useful package.
I'd like to ask if it Wouldn't be possible to keep the app engine component in this package until the other package is available ?
sudoforge commented on 2018-09-14 15:14 (UTC)
@tuxsavvy Upon reading the output you posted, that would seem to be an error from the bootstrap script itself - or rather, that yaml
cannot be imported from ruamel
. Something definitely got borked with your environment, as that's a bundled SDK dependency included in the tarball that this PKGBUILD downloads from Google.
sudoforge commented on 2018-09-10 15:11 (UTC) (edited on 2021-02-09 22:04 (UTC) by sudoforge)
PLEASE NOTE
This PKGBUILD
is maintained on GitHub. Please use the following repository to submit patches, ask questions, and raise issues:
sudoforge commented on 2018-09-10 15:10 (UTC)
@tuxsavvy
Apart from git diff output as that returns nothing I figured you want me to compare the previous major commit
No, the intent was to make sure you didn't have a dirty working tree (changes from HEAD
). I don't need to see the difference between two commits if you've not diverged from origin like you say...
You should try deleting the repository from disk and re-cloning it, and building from that. I don't use aurman, and don't know what it's trying to do under the hood, but I can tell you with absolute certainty that python-ruamel-yaml
is not a build dependency.
tuxsavvy commented on 2018-09-10 09:29 (UTC)
@sudoforge Thanks for replying. Apart from git diff
output as that returns nothing I figured you want me to compare the previous major commit. Below are requested output.
$ git rev-parse HEAD
929c850f3397f91040c3e23b78d3165d2a6cc3be
$ git diff 929c850f3397f91040c3e23b78d3165d2a6cc3be d7688acc171002029ee9ac1ccd6fa41ca104aee6
diff --git a/.SRCINFO b/.SRCINFO
index 922e193..92bc9e4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,17 +1,18 @@
pkgbase = google-cloud-sdk
pkgdesc = A set of command-line tools for the Google Cloud Platform. Includes gcloud (with beta and alpha commands), gsutil, and bq.
- pkgver = 214.0.0
+ pkgver = 213.0.0
pkgrel = 1
url = https://cloud.google.com/sdk/
arch = x86_64
license = Apache
depends = python2
optdepends = python2-crcmod: [gsutil] verify the integrity of GCS object contents
+ conflicts = google-cloud-sdk-minimal
options = !strip
options = staticlibs
- source = https://dl.google.com/dl/cloudsdk/release/downloads/for_packagers/linux/google-cloud-sdk_214.0.0.orig.tar.gz
+ source = https://dl.google.com/dl/cloudsdk/release/downloads/for_packagers/linux/google-cloud-sdk_213.0.0.orig.tar.gz
source = google-cloud-sdk.sh
- sha256sums = f7c2720792aa8f819d553746d5ecdcd5df4a317129908e55d9da9d6bf3839379
+ sha256sums = 604d13879812bfc79879d845714211f36611d38740e6621c27f390736b43b648
sha256sums = 36ac88de630e49ea4b067b1f5f229142e4cf97561b98b3bd3d8115a356946692
pkgname = google-cloud-sdk
diff --git a/PKGBUILD b/PKGBUILD
index c543826..1a0e78c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,12 +6,13 @@
# Contributor: Justin Dray <justin@dray.be>
pkgname="google-cloud-sdk"
-pkgver=214.0.0
+pkgver=213.0.0
pkgrel=1
pkgdesc="A set of command-line tools for the Google Cloud Platform. Includes gcloud (with beta and alpha commands), gsutil, and bq."
url="https://cloud.google.com/sdk/"
license=("Apache")
arch=('x86_64')
+conflicts=("google-cloud-sdk-minimal")
depends=('python2')
optdepends=('python2-crcmod: [gsutil] verify the integrity of GCS object contents')
options=('!strip' 'staticlibs')
@@ -21,7 +22,7 @@ source=(
"google-cloud-sdk.sh"
)
sha256sums=(
- 'f7c2720792aa8f819d553746d5ecdcd5df4a317129908e55d9da9d6bf3839379'
+ '604d13879812bfc79879d845714211f36611d38740e6621c27f390736b43b648'
'36ac88de630e49ea4b067b1f5f229142e4cf97561b98b3bd3d8115a356946692'
)
@@ -93,13 +94,13 @@ package() {
msg2 "Creating symlinks for applications"
mkdir -p "${pkgdir}/usr/bin"
- for i in "${pkgdir}/opt/${pkgname}/bin"/*; do
- ln -st "${pkgdir}/usr/bin/" "${i#${pkgdir}}"
- done
+ find "${pkgdir}/opt/${pkgname}/bin" -maxdepth 1 -type f -printf \
+ "/opt/${pkgname}/bin/%f\n" | xargs ln -st "${pkgdir}/usr/bin"
rm -f "${pkgdir}"/usr/bin/{bq,dev_appserver.py*,endpointscfg.py*,java_dev_appserver.sh}
msg2 "Fixing file permissions"
chmod -x "${pkgdir}"/usr/share/man/man1/*
- find "${pkgdir}/opt/${pkgname}" -name "*.html" -o -name "*.json" -exec chmod -x {} \;
- find "${pkgdir}/opt/${pkgname}" -name "*_test.py" -exec chmod +x {} \;
+ find "${pkgdir}/opt/${pkgname}" -name "*.html" -print0 | xargs -0 chmod -x
+ find "${pkgdir}/opt/${pkgname}" -name "*.json" -print0 | xargs -0 chmod -x
+ find "${pkgdir}/opt/${pkgname}" -name "*_test.py" -print0 | xargs -0 chmod +x
}
$ makepkg -sf
==> Making package: google-cloud-sdk 214.0.0-1 (Tue 04 Sep 2018 19:52:51 AEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found google-cloud-sdk_214.0.0.orig.tar.gz
-> Found google-cloud-sdk.sh
==> Validating source files with sha256sums...
google-cloud-sdk_214.0.0.orig.tar.gz ... Passed
google-cloud-sdk.sh ... Passed
==> Extracting sources...
-> Extracting google-cloud-sdk_214.0.0.orig.tar.gz with bsdtar
==> Starting prepare()...
-> Checking for newer upstream release
-> This AUR release: 214.0.0
-> Latest upstream release: 214.0.0
==> Entering fakeroot environment...
==> Starting package()...
-> Copying core SDK components
-> Running bootstrapping script and adding additional components
Traceback (most recent call last):
File "/home/user/.cache/aurman/google-cloud-sdk/pkg/google-cloud-sdk/opt/google-cloud-sdk/bin/bootstrapping/install.py", line 12, in <module>
import bootstrapping
File "/home/user/.cache/aurman/google-cloud-sdk/pkg/google-cloud-sdk/opt/google-cloud-sdk/bin/bootstrapping/bootstrapping.py", line 46, in <module>
from googlecloudsdk.core.updater import update_manager
File "/home/user/.cache/aurman/google-cloud-sdk/pkg/google-cloud-sdk/opt/google-cloud-sdk/lib/googlecloudsdk/core/updater/update_manager.py", line 35, in <module>
from googlecloudsdk.core import yaml
File "/home/user/.cache/aurman/google-cloud-sdk/pkg/google-cloud-sdk/opt/google-cloud-sdk/lib/googlecloudsdk/core/yaml.py", line 32, in <module>
from ruamel import yaml
ImportError: cannot import name yaml
==> ERROR: A failure occurred in package().
Aborting...
Do note that the last output was me forcing makepkg within aurman
directory. This is not using any AUR helper/wrapper to compile it.
Thanks in advance
Pinned Comments