Package Details: heroku-cli 8.11.1-1

Git Clone URL: https://aur.archlinux.org/heroku-cli.git (read-only, click to copy)
Package Base: heroku-cli
Description: CLI to manage Heroku apps and services with forced auto-update removed
Upstream URL: https://devcenter.heroku.com/articles/heroku-cli
Licenses: custom, ISC
Conflicts: heroku-cli-bin, heroku-client-standalone, heroku-toolbelt, ruby-heroku
Provides: heroku, heroku-cli
Submitter: Redrield
Maintainer: rnestler (ChloeColman)
Last Packager: rnestler
Votes: 73
Popularity: 0.089741
First Submitted: 2017-08-15 23:19 (UTC)
Last Updated: 2024-04-02 12:19 (UTC)

Dependencies (5)

Required by (0)

Sources (1)

Pinned Comments

Latest Comments

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

patchcard2 commented on 2021-01-23 12:50 (UTC) (edited on 2021-01-23 12:51 (UTC) by patchcard2)

# install packaging tools; install fails now unless installed with yarn >:(
hasYarn="$(which yarn 2> /dev/null)"

if [ -z "$hasYarn" ]; then
   npm install -g yarn
fi

I'm curious, wouldn't the "cleaner" way be to just add yarn as a make dependency?

zeteref commented on 2021-01-23 08:57 (UTC)

@somepaulo there seems to be a small bug in prepare where makepkg exists when which returns exit code 1 on this check:

hasYarn="$(which yarn 2> /dev/null)

after i installed yarn heroku-cli installation worked

somepaulo commented on 2021-01-22 22:01 (UTC) (edited on 2021-01-22 22:02 (UTC) by somepaulo)

Cannot update package. Getting an uninformative error when trying to build package:

==> Starting prepare()...
~/.cache/yay/heroku-cli/src ~/.cache/yay/heroku-cli/src
~/.cache/yay/heroku-cli/src/cli-7.47.11 ~/.cache/yay/heroku-cli/src ~/.cache/yay/heroku-cli/src
==> ERROR: A failure occurred in prepare().
    Aborting...
error making: heroku-cli

Any suggestions? Thanks!

sampsoncrowley commented on 2021-01-05 23:21 (UTC)

The yarn requirement was because of a nodenv dependency I forgot to turn off when running build tests. yarn has been removed as a dependency again

ruestique commented on 2020-11-13 15:01 (UTC) (edited on 2020-11-13 15:14 (UTC) by ruestique)

49 packages are looking for funding
  run `npm fund` for details

found 2 vulnerabilities (1 low, 1 high)
  run `npm audit fix` to fix them, or `npm audit` for details
fatal: not a git repository (or any of the parent directories): .git
Error: Command failed: git rev-parse --short HEAD
null
    at makeError (~/.cache/pikaur/build/heroku-cli/src/cli-7.47.2/packages/cli/node_modules/qqjs/node_modules/execa/index.js:172:9)
    at ~/.cache/pikaur/build/heroku-cli/src/cli-7.47.2/packages/cli/node_modules/qqjs/node_modules/execa/index.js:277:16
    at processTicksAndRejections (node:internal/process/task_queues:93:5)
    at async Promise.all (index 1)
==> ERROR: A failure occurred in prepare().
    Aborting...


pikaur - garbage, yay did things just fine.

HarryHenryGebel commented on 2020-11-05 20:05 (UTC) (edited on 2020-11-05 20:06 (UTC) by HarryHenryGebel)

To add to ruy16109's comment, I also got append_path not found despite seeing it in your code. I had updated the package repo using git, when I deleted it and cloned it from scratch it worked fine. I don't know enough about how the package system works to know why that make a difference, but I thought it might help you. I am using makepkg to build the package if that makes a difference.

ruy16109 commented on 2020-10-17 00:42 (UTC)

Not sure if this is an issue with your scripting or with PKGBUILD syntax itself, but despite I can clearly see you have defined append_path function in the code, makechrootpkg refuses to call it, saying that the command is not found. Any ideas?

sampsoncrowley commented on 2020-10-16 19:04 (UTC)

@Gordin Thank you for finding that. I completely forgot that perl isn't added to PATH by default; I've just gotten too used to having it around I guess...

I pushed a new release of 7.46.0 that includes perl as a makedepend and also adds all three perl directories to $PATH on prepare

Gordin commented on 2020-10-16 12:48 (UTC)

Building this currently doesn't work, because a dependency uses "shasum" in the build process, which is available by default on iOS, but not on arch. On arch this comes with the "perl" package at "/usr/bin/core_perl/shasum", which is not added to $PATH by default though, so the PKGBUILD needs "perl" in makedepends and needs to add that folder to $PATH before the "npm install" step.