Skip Menu |

This queue is for tickets about the Dist-Zilla-Plugin-Git CPAN distribution.

Report information
The Basics
Id: 69631
Status: rejected
Priority: 0/
Queue: Dist-Zilla-Plugin-Git

People
Owner: Nobody in particular
Requestors: frioux [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Take ~/.ssh/config into account when trying to guess repo location
Basically put, my repos are all gh:frioux/foo instead of git@github.com:frioux/foo.git. This is because the following is in my ~/.ssh/config host gh user git hostname github.com port 22 identityfile ~/.ssh/keys/id_rsa it would be great if you parsed that file to do a more complete job of guessing the repo url.
Le 2011-07-21 00:56:23, frew a écrit : Show quoted text
> Basically put, my repos are all gh:frioux/foo instead of > git@github.com:frioux/foo.git. This is because the following is in my > ~/.ssh/config > > host gh > user git > hostname github.com > port 22 > identityfile ~/.ssh/keys/id_rsa > > it would be great if you parsed that file to do a more complete job of > guessing the repo url.
I would like this too because I'm using github-keygen to manage my SSH keys and aliases for GitHub: https://github.com/dolmen/github-keygen By the way, github-keygen is in Perl and includes some parsing of ssh_config. Disclaimer: I wrote github-keygen. -- Olivier Mengué - http://perlresume.org/DOLMEN
I don't have any idea what you're referring to. AFAIK, none of the plugins in this dist ever attempt to guess the URL for your remote. Git::Init can add a remote for you, but you have to specify the URL in your config. It doesn't attempt to guess.