Hi!
Please consider applying (any of) the following patches: https://0x0.st/HDE2.patch
(Patch 2 is the most important.)
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: | 189 |
Popularity: | 1.25 |
First Submitted: | 2023-03-08 09:33 (UTC) |
Last Updated: | 2024-05-29 19:29 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 .. 30 Next › Last »
Hi!
Please consider applying (any of) the following patches: https://0x0.st/HDE2.patch
(Patch 2 is the most important.)
@ThinkRedstone the package is in the phase of restructuring. Previous maintainer decided to remove symlink from /usr/bin in favor of profile file in /etc/profile.d.
You need to source /etc/profile.d/google-cloud-cli.sh
in your .bashrc or other appropriate place to update your PATH
.
After my PCA exam, I would like to redo this package little bit to make it more like the .deb
variant, or even (not decided yet) use the .deb as source (it already has manpages compressed). Also I plan to add components as available packages.
gcloud
is not within the path (installed to /opt/google-cloud-cli/bin
), and the pinned comment directs to a broken link.
@sharun this is because gzip is a single thread process, and there is a ton of man pages which are being compressed, thus it can take a good 30 minutes to compress.
If you want to increase the speed of the compression, see: https://wiki.archlinux.org/title/Makepkg#Utilizing_multiple_cores_on_compression
Take care,
Polarian
anyone else have their install stuck on Compressing man and info pages
?
@mjboa that is what I would prefer too, I just merged a patch which changed the functionality along with the cleanup of the PKGBUILD
.
Seen as there is support for a wrapper script, I will add it in a few days, if anyone objects let me know.
Take care,
Polarian
+1 on wrapper script, it's now impossible to use the package out of the box, also because of the auth plugin, with fish
.
Following on from what @jvybihal says.
The compression isn't handled by the PKGBUILD
but instead by the makepkg.conf
. pigz
is not the default command and thus I can not force its use, so you must configure this manually.
Clean chroot builds will use Arch Linux configs, which do not use pigz
either and thus the build might take a while but meh.
You are free to pull the builds from polarrepo
if you can't wait for the build process.
Furthermore I will be rewriting this package when I get time, this is a binary package (which I adopted) and the source code is available upstream and thus it should be built from source with the Arch toolchain. This will increase build times dramatically, this PKGBUILD will be moved over to google-cloud-cli-bin
or a easier name such as gcloud-cli-bin
and then have it superseded by gcloud-cli
.
Take care,
Polarian
@Cornul11 you might try changing your /etc/makepkg.conf
and use pigz
there. See here.
@PolarianDev, would using pigz
be a possibility, or is it not recommended to add non-mandatory deps just for the build process?
Pinned Comments