Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 317388 - Support for rsync/scp URLs
Summary: Support for rsync/scp URLs
Status: RESOLVED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: Core (show other bugs)
Version: 0.8.1   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 0.9.0   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-20 18:27 EDT by Alex Blewitt CLA
Modified: 2010-10-08 05:16 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Blewitt CLA 2010-06-20 18:27:46 EDT
Since GitHub is one of the main reasons to use Git, it's quite likely that one of the first ports of call will be GitHub.

However, Git shows incorrectly formatted URLs for the read-write support links; they show, for example:

git@github.com:alblue/EGit.git

This isn't a valid URL and so doesn't get parsed by the Clone wizard. Instead, we have to change it to:

git+ssh://git@github.com/alblue/EGit.git

Whilst this may be obvious for long-time Git users (and the command line may do the translation automatically) it may be a dissuading factor for novice users.

There is a question of whether we want to support site-specific hacks - but arguably GitHub's (current) domination may swap that decision.
Comment 1 Alex Blewitt CLA 2010-06-21 04:42:19 EDT
As pointed out by Christian (at http://egit.eclipse.org/r/#change,910), these are rsync/scp like protocols and not URLs specific to GitHub. So we should support those as well.

http://www.kernel.org/pub/software/scm/git/docs/git-push.html#URLS

  An alternative scp-like syntax may also be used with the ssh protocol:

  [user@]host.xz:path/to/repo.git/

This should be functionally equivalent to

  ssh://[user@]host.xz/path/to/repo.git/
Comment 2 Matthias Sohn CLA 2010-10-08 05:16:26 EDT
merged as 2160c09dd4f678c5f2f8e730945be637210b39de