Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow sending commands to add-ons #22

Closed
lpender opened this issue Dec 12, 2014 · 6 comments
Closed

Allow sending commands to add-ons #22

lpender opened this issue Dec 12, 2014 · 6 comments

Comments

@lpender
Copy link

lpender commented Dec 12, 2014

I'm a bit baffled by the following set of decisions.

  1. Deprecate the heroku gem.
  2. Don't install the "Heroku Toolbelt" by default on Heroku instances.

This forces users to use something like the Heroku buildpack: Heroku Toolbelt to run heroku commands on their staging server.

The platform-api provides a partial solution by creating something that can be accessed by a rake task,, but it would be great if it allowed interactions with addons, such as pgbackups or pgextras.

Thanks!
-Lee

@brandur
Copy link
Contributor

brandur commented Dec 15, 2014

This forces users to use something like the Heroku buildpack: Heroku Toolbelt to run heroku commands on their staging server.

Hey Lee, just of curiosity, what kinds of things do you run from your dynos from the CLI?

The platform-api provides a partial solution by creating something that can be accessed by a rake task,, but it would be great if it allowed interactions with addons, such as pgbackups or pgextras.

Certainly a known defect! Unfortunately those two services have lived outside of the main Heroku API since inception. We'd like to get them pulled in to the official API, but we're still working on this objective internally.

@abuisman
Copy link

abuisman commented Jan 9, 2015

+1 on the pgbackups.

What is the recommended way of getting the 'latest backup' url for a certain app?

@brandur
Copy link
Contributor

brandur commented Jan 14, 2015

@abuisman Pgbackups does have an API which you can see used from with the code in https://github.com/heroku/heroku, and you should be able to procure a backup URL from it. However, this API is not guaranteed to be stable at the moment, so if you wanted to use it, we'd suggest monitoring for breakage.

@lpender
Copy link
Author

lpender commented Jan 27, 2015

Hi @brandur!

Thanks for the response!

I was tasked with writing a script to transfer my Production DB to Staging every day.

I ended up using the multi-buildpack.

Thanks!

@dirtyhenry
Copy link

+1 on the pgbackups.

@geemus
Copy link
Contributor

geemus commented Jun 10, 2016

closing in favor of #47 (just to reduce duplication a bit)

@geemus geemus closed this as completed Jun 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants