Re: heroku-api

2013-02-04 Thread geemus
Thanks for the great feedback and sharing code to help others who might be encountering this. Prioritization is always tricky and this is one of those things that has been on our radar but hasn't quite topped the list yet. Hopefully we'll be able to move toward a better solution from the server

Re: heroku-api

2013-02-04 Thread Daniel Doubrovkine
Thanks Keith. In the related realm, the exit code of a run:detached is something one should be able to retrieve, as well as knowing whether that process finished or not, in a reliable way. On Sat, Feb 2, 2013 at 11:04 PM, Keith Rarick wrote: > FWIW, I think exit code definitely belongs in the He

Re: heroku-api

2013-02-04 Thread Keith Rarick
FWIW, I think exit code definitely belongs in the Heroku API. That's a longstanding known deficiency. I hope we can fix it soon, but can't make any promises. On Sat, Feb 2, 2013 at 9:35 PM, Daniel Doubrovkine wrote: > I published heroku-commander (https://github.com/dblock/heroku-commander) > tha

Re: heroku-api

2013-02-02 Thread Daniel Doubrovkine
I published heroku-commander (https://github.com/dblock/heroku-commander) that wraps `heroku config -s` among other things. I still think this gem shouldn't exist and the functionality rolled into the heroku-client - @geemus, you might want to give this some thought. For the exit code part it would

Re: heroku-api

2012-12-27 Thread Daniel Doubrovkine
Indeed, maybe this does belong in a gem. Either way one wants to be able to do programmatically everything that the `heroku` command does without having to call it. On Thu, Dec 27, 2012 at 1:53 PM, geemus wrote: > I think Daniels approach is the easiest currently (thanks dB!). Perhaps we > shoul

Re: heroku-api

2012-12-27 Thread geemus
I think Daniels approach is the easiest currently (thanks dB!). Perhaps we should create a gem for doing looking up the implied app as I'm reticent to say it belong in heroku-api. As for config you should be able to use the netrc gem and read the credentials for 'api.heroku.com' in order to get

Re: heroku-api

2012-12-25 Thread Daniel Doubrovkine
We've asked a similar question a while ago, and the best we could come up with is a hack to run `heroku config -s`. config = {} config_output = `heroku config -s#{app_param}`.chomp if ($?.to_i != 0) raise "error running heroku config: #{$?}" $stderr.puts config_output end config_output.each_li

Re: Heroku API authentication using email and password

2012-04-17 Thread Arvindh Sukumar
Thanks Pedro, got it. It would be helpful if this was mentioned in the docs as well. Regards, Arvindh On Monday, April 16, 2012 10:15:49 PM UTC+5:30, Pedro Belo wrote: > > Hi Arvindh, > > Currently we take both the user API key and password for any API > calls, but that might change in the futur

Re: Heroku API authentication using email and password

2012-04-16 Thread Pedro Belo
Hi Arvindh, Currently we take both the user API key and password for any API calls, but that might change in the future. The best approach for now is to use the Auth API with the username and password, store the API key from the response and use it for subsequent API calls. The API looks like thi

Re: Heroku API

2008-04-24 Thread Dustin
I have a similar problem -- except I can't auth at all. As far as the tools tell me, I've uploaded both a DSA key and an RSA key, but I can't authenticate. On Apr 24, 7:46 pm, markas <[EMAIL PROTECTED]> wrote: > I'm getting the same error.  I have an RSA key created an uploaded > without any

Re: Heroku API

2008-04-24 Thread markas
I'm getting the same error. I have an RSA key created an uploaded without any problem, but the issue persists. Are there logs to give any insight on this? On Apr 14, 3:55 pm, "Adam Wiggins" <[EMAIL PROTECTED]> wrote: > On Sun, Mar 30, 2008 at 12:58 PM, Mark S. <[EMAIL PROTECTED]> wrote: > > mb

Re: Heroku API

2008-04-14 Thread Adam Wiggins
On Sun, Mar 30, 2008 at 12:58 PM, Mark S. <[EMAIL PROTECTED]> wrote: > mbp-mark:~ mark$ heroku clone myapp > Initialized empty Git repository in /Users/mark/myapp/.git/ > fatal: '/userapps/11544': unable to chdir or not a git archive I think I may have fixed this. At the very least, I figured

Re: Heroku API

2008-03-30 Thread Mark S.
I tried that but with no luck... mbp-mark:~ mark$ heroku clone myapp Enter your Heroku credentials. Email: [EMAIL PROTECTED] Password: Uploading ssh public key Initialized empty Git repository in /Users/mark/myapp/.git/ fatal: '/userapps/11544': unable to chdir or not a git archive fatal: The rem

Re: Heroku API Problem

2008-03-26 Thread Kelsin
On Mar 17, 12:33 pm, shammond42 <[EMAIL PROTECTED]> wrote: > fatal: '/userapps/4867':unabletochdiror not a git archive > fatal: The remote end hung up unexpectedly > fetch-pack from '[EMAIL PROTECTED]:cavcomcon.git' failed I'm getting the same problem. List works fine, key is setup (had an error