Package Details: linode-cli 5.49.1-1

Git Clone URL: https://aur.archlinux.org/linode-cli.git (read-only, click to copy)
Package Base: linode-cli
Description: Linode API wrapper
Upstream URL: https://github.com/linode/linode-cli
Keywords: cli python
Licenses: BSD-3-Clause
Replaces: linode-cli-dev
Submitter: slithery
Maintainer: morgenstern
Last Packager: morgenstern
Votes: 11
Popularity: 0.000005
First Submitted: 2015-08-12 20:52 (UTC)
Last Updated: 2024-05-04 08:57 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

dwheeler commented on 2022-08-31 13:00 (UTC)

As previously mentioned, the checksum for for openapi.yaml is out-dated. Please update the PKGBUILD with the correct checksum.

linuxninja commented on 2022-08-28 04:27 (UTC)

ah, just realized you're pulling down the 'current' yaml, and it's not being referenced by a version tag. my bad.

linuxninja commented on 2022-08-28 04:23 (UTC)

linode-cli-5.22.0-openapi.yaml ... FAILED ERROR: One or more files did not pass the validity check!

new sha512sum for me is:

335c1be085ce882e26ac954644d1837ade79d76114218fbd672147dcf2a134ea7d6e7647549bf6a57fc55ad2b63ba8dedafb82d549c1b45d7fd12f738b8eddea

upstream seems to not understand that tags should be static and the semver needs to be bumped.

morgenstern commented on 2022-06-20 06:12 (UTC)

Thanks @milas, this has now been fixed, apologies for the delay.

milas commented on 2022-06-17 15:13 (UTC) (edited on 2022-06-17 15:14 (UTC) by milas)

It looks like 5.20.0 got re-tagged upstream 3 days ago and install is failing due to mismatched sha512 for linode-cli-5.20.0.tar.gz.

In the PKGBUILD currently:

1448156a354aed11b8256ea1feae3c3202f6976310df4be60c3018fcccd9df68f41267683fbf978886e1a6ff5e2e008d71c8784a9a8af915c23d39d5f935662e

Run in terminal just now:

$ curl -sSL https://github.com/linode/linode-cli/archive/refs/tags/5.20.0.tar.gz | sha512sum                                      
e149d7625dbc7ecf49468754a1a4f2a8f14090b7a3675566d8acf8ca1e88b5da624fb6bb07e84c7a4be2949b8a5d8fe9d37ba8983e9adc5834eec6bb841e4592

the-k commented on 2022-01-30 23:32 (UTC)

BTW, another option is to just use the wheel package from PyPI according to https://wiki.archlinux.org/title/Python_package_guidelines#Source. This way, we wouldn't have to patch anything, including Makefile.

morgenstern commented on 2022-01-30 23:17 (UTC) (edited on 2022-01-30 23:31 (UTC) by morgenstern)

@the-k agreed, I will see what I can do in the interim.

EDIT - I have pushed an updated PKGBUILD that includes your sed command to patch setup.py. Let me know if that causes any issues. Thanks for the help.

the-k commented on 2022-01-30 23:10 (UTC)

@morgenstern I agree with you, but until it's fixed upstream, we might wanna implement one of my suggestions. Perhaps we can patch setup.py directly with something like sed -i "s/\(version=\)get_version()/\1'${pkgver}'/" setup.py in prepare(). It's very easy to add or remove and it's not blocked by the upstream.

morgenstern commented on 2022-01-30 20:17 (UTC)

@the-k if upstream is going to release tagged versions, then in my opinion they should fix their code that handles the version string so that it is independent of the git repository. I will open an issue upstream when I have the time.

the-k commented on 2022-01-30 09:39 (UTC) (edited on 2022-01-30 09:40 (UTC) by the-k)

The package version is broken as it says fatal.-.N.o instead of 5.15.0. This is likely due to https://github.com/linode/linode-cli/blob/db1c3793c14e208da919ed4fa591daf2cc68c434/version, which expects to be run in the Git repository. Therefore, this package should either switch to using the Git repository or patch the script to simply print the version from ${pkgver}.