can't you use your git token?

look at the heroku section here http://integrityapp.com/

On Wed, Feb 2, 2011 at 9:55 AM, Michael Abner <[email protected]> wrote:

> You won't be able to cline the private repo without hacking integrity to
> send your ssh keys.
>
> Mike
>
> On Feb 2, 2011, at 5:20 AM, Amit Kulkarni <[email protected]>
> wrote:
>
> Hi,
> After many attempts i am able to clone public repo but for private repo i
> am getting error.
> For public repo,enter the url as <https://github.com/username/projectname>
> https://github.com/username/projectname and it will clone and run the
> script.
>
> But for private repo when i run this i am getting error as
> error: The requested URL returned error: 401 while accessing
> <http://github.com/abc/test.git/info/refs>
> http://github.com/abc/test.git/info/refs
> fatal: HTTP request failed
>
> So is there any way where i can clone the private directory without
> entering the password.
>
>
>
> On Wed, Feb 2, 2011 at 2:26 PM, Amit Kulkarni <<[email protected]>
> [email protected]> wrote:
>
>> Hi John,
>> I tried this by copying the https version in the integrity repo but it
>> does not seem to be work.
>> I am getting an error as
>> Exception occured during build: undefined local variable or method
>> `output' for #<Integrity::CommandRunner:0x2aeb2b4d50d0>\n"
>>
>> Now i tried to debug the problem by putting debugging statements in the
>> lib/integrity/commandline.rb file then i a getting the result as
>>
>>
>> "jjjjjjjjjjjjjj"
>> "ddddddddddddd"
>> "Could not create directory '/home/slugs//.ssh'.\r\nFailed to add the host
>> to the list of known hosts (/home/slugs/.ssh/known_hosts).\r\nPermission
>> denied (publickey).\r\nfatal: The remote end hung up
>> unexpectedly\nInitialized empty Git repository in
>> /disk1/var/tmp/userapps/407034_fb0af09_58a6/25/.git/\n"
>> "jjjjjjjjjjjjjj"
>> "ddddddddddddd"
>> "error: The requested URL returned error: 500\nwarning: remote HEAD refers
>> to nonexistent ref, unable to checkout.\n\nInitialized empty Git repository
>> in /disk1/var/tmp/userapps/407034_fb0af09_58a6/26/.git/\n"
>> "jjjjjjjjjjjjjj"
>> "ddddddddddddd"
>> "error: The requested URL returned error: 500\nerror: The requested URL
>> returned error: 500\nerror: The requested URL returned error: 500\n"
>> "jjjjjjjjjjjjjj"
>> "ddddddddddddd"
>> "error: pathspec 'origin/master' did not match any file(s) known to
>> git.\n"
>> "jjjjjjjjjjjjjj"
>> "ddddddddddddd"
>> "error: The requested URL returned error: 401\nwarning: remote HEAD refers
>> to nonexistent ref, unable to checkout.\n\nInitialized empty Git repository
>> in /disk1/var/tmp/userapps/407034_fb0af09_58a6/27/.git/\n"
>> "jjjjjjjjjjjjjj"
>> "ddddddddddddd"
>> "error: The requested URL returned error: 401\nerror: The requested URL
>> returned error: 401\nerror: The requested URL returned error: 401\n"
>> "jjjjjjjjjjjjjj"
>> "ddddddddddddd"
>> "error: pathspec 'origin/master' did not match any file(s) known to
>> git.\n"
>> (Not all processes could be identified, non-owned process info
>>  will not be shown, you would have to be root to see it all.)
>> "jjjjjjjjjjjjjj"
>> "ddddddddddddd"
>> "error: The requested URL returned error: 401\nwarning: remote HEAD refers
>> to nonexistent ref, unable to checkout.\n\nInitialized empty Git repository
>> in /disk1/var/tmp/userapps/407034_fb0af09_58a6/28/.git/\n"
>> "jjjjjjjjjjjjjj"
>> "ddddddddddddd"
>> "error: The requested URL returned error: 401\nerror: The requested URL
>> returned error: 401\nerror: The requested URL returned error: 401\n"
>> "jjjjjjjjjjjjjj"
>> "ddddddddddddd"
>> "error: pathspec 'origin/master' did not match any file(s) known to
>> git.\n"
>>
>> Also if it enter the https version of the the git url in the browser then
>> i am getting an error as 401 as mentioned in the error.
>> I then removed the .git from the end and checked then in the browser it is
>> working but in the log i am getting 500 error.
>>
>>
>> error: The requested URL returned error: 500\nerror: The requested URL
>> returned error: 500\nerror: The requested URL returned error: 500\n"
>> "jjjjjjjjjjjjjj"
>> "ddddddddddddd"
>> "error: pathspec 'origin/master' did not match any file(s) known to
>> git.\n"
>> "jjjjjjjjjjjjjj"
>> "ddddddddddddd"
>> "error: The requested URL returned error: 401\nwarning: remote HEAD refers
>> to nonexistent ref, unable to checkout.\n\nInitialized empty Git repository
>> in /disk1/var/tmp/userapps/407034_fb0af09_58a6/27/.git/\n"
>> "jjjjjjjjjjjjjj"
>> "ddddddddddddd"
>> "error: The requested URL returned error: 401\nerror: The requested URL
>> returned error: 401\nerror: The requested URL returned error: 401\n"
>> "jjjjjjjjjjjjjj"
>> "ddddddddddddd"
>> "error: pathspec 'origin/master' did not match any file(s) known to
>> git.\n"
>> (Not all processes could be identified, non-owned process info
>>  will not be shown, you would have to be root to see it all.)
>> "jjjjjjjjjjjjjj"
>> "ddddddddddddd"
>> "error: The requested URL returned error: 401\nwarning: remote HEAD refers
>> to nonexistent ref, unable to checkout.\n\nInitialized empty Git repository
>> in /disk1/var/tmp/userapps/407034_fb0af09_58a6/28/.git/\n"
>> "jjjjjjjjjjjjjj"
>> "ddddddddddddd"
>> "error: The requested URL returned error: 401\nerror: The requested URL
>> returned error: 401\nerror: The requested URL returned error: 401\n"
>> "jjjjjjjjjjjjjj"
>> "ddddddddddddd"
>> "error: pathspec 'origin/master' did not match any file(s) known to
>> git.\n"
>> "jjjjjjjjjjjjjj"
>> "ddddddddddddd"
>> "error: The requested URL returned error: 500\nwarning: remote HEAD refers
>> to nonexistent ref, unable to checkout.\n\nInitialized empty Git repository
>> in /disk1/var/tmp/userapps/407034_fb0af09_58a6/29/.git/\n"
>> "jjjjjjjjjjjjjj"
>> "ddddddddddddd"
>> "error: The requested URL returned error: 500\nerror: The requested URL
>> returned error: 500\nerror: The requested URL returned error: 500\n"
>> "jjjjjjjjjjjjjj"
>> "ddddddddddddd"
>> "error: pathspec 'origin/master' did not match any file(s) known to
>> git.\n"
>>
>> Please suggest where i am going wrong
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> On Tue, Jan 25, 2011 at 3:09 AM, John McCaffrey <<[email protected]>
>> [email protected]> wrote:
>>
>>> So I gave it a try, and I don't see anything actually building (I added
>>> the actual integrity project as a build target)
>>>
>>> In the logs I see
>>> Could not create directory '/home/slugs//.ssh'.
>>> Failed to add the host to the list of known hosts
>>> (/home/slugs/.ssh/known_hosts).
>>> Permission denied (publickey).
>>> fatal: The remote end hung up unexpectedly
>>>
>>>
>>> I'm guessing this is because I copied the git:.. url which is gonna go
>>> out over ssh
>>> duh, that's not gonna work!
>>>
>>> I then grabbed the https: version of the integrity repo, and tried that
>>> I was able to build, but got an error that 'rr' was not found. I guess
>>> I'd have to add any of the gems for any sub project into the main Gemfile,
>>> so they are present when everything is executed.
>>>
>>> I played around with a few variations and felt that:
>>>
>>>    1. it would be nice to get some better feedback on the page, or in
>>>    the logs. Most of the time I felt like it wasn't doing anything, but I 
>>> would
>>>    wait just to see.
>>>    2. It would be nice to 'disable' a project so it wouldn't attempt to
>>>    run. (I was testing public and private projects, and assuming that only 
>>> one
>>>    process would run on heroku, I wasn't sure if my other projects were even
>>>    running, or if just the first one, which may have been misconfigured, was
>>>    hanging the rest). If I could disable some projects then I'd know whats
>>>    actually running. (Instead of having to delete them)
>>>
>>>
>>> I then tried a private project of mine to see how that works.
>>>
>>> On the  <http://integrityapp.com/>http://integrityapp.com/ page, it
>>> shows how to set your github token, so that you can access your private
>>> stuff. I tried this and it doesn't seem to be fetching properly
>>>
>>> I added the expanded logging addon
>>> heroku addons:add logging:expanded
>>>
>>> and was able to see more info when tailing the log
>>> heroku logs --tail
>>>
>>> at this point I still haven't gotten a private project to build, and it
>>> doesn't seem like the integrity tests are running, even after adding 'rr' to
>>> a Gemfile.
>>>
>>> I tried to build the prawn project, and I at least got a 'success'
>>> message, though I'm not sure it really built.
>>>  <https://github.com/sandal/prawn.git>
>>> https://github.com/sandal/prawn.git
>>>
>>> will play around with it more at a later time. I am interested in all of
>>> the apps you can run on heroku, integrity, refinery, redmine, etc., and
>>> would be interested in hearing any experiences people have had with it.
>>>
>>> -John
>>>
>>>
>>> On Mon, Jan 24, 2011 at 1:57 PM, John McCaffrey <<[email protected]>
>>> [email protected]> wrote:
>>>
>>>> I tried getting integrity running on heroku a few weeks ago and ran into
>>>> various issues with gem dependencies, and bailed after various trial and
>>>> error attempts.
>>>>
>>>>
>>>> the error I got was
>>>>  Bundler could not find compatible versions for gem "json":
>>>>          In Gemfile:
>>>>            broach depends on
>>>>              json (~> 1.4)
>>>>
>>>>            json (1.1.9)
>>>>
>>>> I don't think I was pulling from the same github project you were, so
>>>> I'll give this one a quick try and see what happens.
>>>>
>>>> As this may be an issue with that project, and not heroku, you may find
>>>> more success in pining that author through github.
>>>>
>>>>
>>>> On Tue, Jan 11, 2011 at 10:38 AM, Amit Kulkarni 
>>>> <<[email protected]>
>>>> [email protected]> wrote:
>>>>
>>>>> Hi,
>>>>> I have successful installed heroku gem and integrity-heroku plugin 
>>>>> (<https://github.com/myronmarston/integrity-heroku>
>>>>> https://github.com/myronmarston/integrity-heroku) .
>>>>> I have successfully added a project in the Integrity.But by clicking on
>>>>> the manual build the app shows status as 'building' .It does not show 
>>>>> failed
>>>>> or success.
>>>>> I tried to look into the log by typing the command 'heroku logs' but it
>>>>> does not show anything.It only shows that the application starting port..
>>>>> I also tried going heroku console ->log but didnt find anything.
>>>>> Please sugest.
>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "Heroku" group.
>>>>> To post to this group, send email to <[email protected]>
>>>>> [email protected].
>>>>> To unsubscribe from this group, send email to
>>>>> <heroku%[email protected]>
>>>>> [email protected].
>>>>> For more options, visit this group at
>>>>> <http://groups.google.com/group/heroku?hl=en>
>>>>> http://groups.google.com/group/heroku?hl=en.
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> -John
>>>>
>>>
>>>
>>>
>>> --
>>> -John
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "Heroku" group.
>>> To post to this group, send email to <[email protected]>
>>> [email protected].
>>> To unsubscribe from this group, send email to
>>> <heroku%[email protected]>
>>> [email protected].
>>> For more options, visit this group at
>>> <http://groups.google.com/group/heroku?hl=en>
>>> http://groups.google.com/group/heroku?hl=en.
>>>
>>
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Heroku" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/heroku?hl=en.
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Heroku" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<heroku%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/heroku?hl=en.
>



-- 
-John

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.

Reply via email to