Feature #2031
Support SCP-like repository locations for git?
Status: | Closed | Start date: | 09/28/2014 | |
---|---|---|---|---|
Priority: | Low | Due date: | ||
Assignee: | J. Moringen | % Done: | 0% | |
Category: | Description Language | |||
Target version: | 0.3 |
Description
In addition to ssh://user@server/project.git
(i.e. proper URL), git supports an scp-like syntax user
@server:project.git
(not a proper URL).
(see http://git-scm.com/book/en/Git-on-the-Server-The-Protocols#The-SSH-Protocol).
While the first syntax should already work, the second would need special parsing. Should we support this? From my (jmoringe) perspective, the potential downside would be that repositories would no longer be identified by URIs.
History
#1 Updated by R. Haschke over 9 years ago
I didn't know about the "proper" URL scheme for git. I'm fine with this alternative.
#2 Updated by J. Moringen over 9 years ago
I didn't know about the "proper" URL scheme for git. I'm fine with this alternative.
I didn't mean that user
@server:project.git
is an improper repository location w.r.t. git. I meant that it is not properly interpreted under URL parsing rules:
>>> urllib.splittype('user@server:project.git') ('user@server', 'project.git') >>> urllib.splittype('portb:/vol/ni/src/git/sfbVision.git') ('portb', '/vol/ni/src/git/sfbVision.git')
#3 Updated by J. Moringen over 9 years ago
- Status changed from Feedback to Closed