Page MenuHomePhabricator

Can not land to Github
Closed, InvalidPublic



I have Phabricator working together with Github. Everything is working except "Land to Github". I have to do it all the time manually.
This is the error:

Failed to allocate a workspace:
Command failed with error #128!
git fetch


Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

What can be the issue? If I execute git fetch via ssh on the machine, it works fine. Diffusion is also tracking the repo as expected.


Revisions and Commits

Event Timeline

winterDroid raised the priority of this task from to Needs Triage.
winterDroid updated the task description. (Show Details)
winterDroid added a project: Support.
winterDroid added a subscriber: winterDroid.
chad edited projects, added Differential; removed Support.May 26 2015, 5:17 PM
avivey added a subscriber: avivey.May 26 2015, 6:10 PM

"Land to github" feature is very hacky and probably doesn't work, and not generally supported.

In this case, it looks like the remote URI is a SSH one, which the hack doesn't know to pull correctly. If the repository in GH is public, you can switch to a https/git URI, which is more likely to work.

Ok I see. No the repo is not public.
But the normal arc land locally is working fine.

avivey closed this task as Invalid.May 26 2015, 6:22 PM
avivey claimed this task.

If you're feeling up to hacking it locally, you can maybe find a way around it by pulling the local copy instead of the actual remote.

For now, I'm closing it, but please follow T182 for this feature in general.