Bug 371410 - [patch] jgit cannot cope with git aliases on urls
Summary: [patch] jgit cannot cope with git aliases on urls
Status: RESOLVED DUPLICATE of bug 346873
Alias: None
Product: JGit
Classification: Technology
Component: JGit (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-13 14:10 EST by Alan McGovern CLA
Modified: 2012-03-01 20:37 EST (History)
0 users

See Also:


Attachments
Add support for aliases on urls (2.99 KB, patch)
2012-02-13 14:10 EST, Alan McGovern CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alan McGovern CLA 2012-02-13 14:10:10 EST
Build Identifier: git master

The gnome developer guidelines suggest using a url alias for git://git.gnome.org to simplify working with their repository (http://live.gnome.org/Git/Developers#gnome:_clone_alias). jgit currently does not support this. The following patch adds basic support for this for push and pull urls. I don't know where else this kind of substitutions may be required.



Reproducible: Always
Comment 1 Alan McGovern CLA 2012-02-13 14:10:34 EST
Created attachment 210940 [details]
Add support for aliases on urls
Comment 2 Alan McGovern CLA 2012-02-13 14:17:14 EST
And just in case I need to explicitly say this, these changes are under the Eclipse Distribution License v1.0.
Comment 3 Kevin Sawicki CLA 2012-02-13 20:15:07 EST
Can you post the patch to Gerrit?

Instructions can be found here: http://wiki.eclipse.org/EGit/Contributor_Guide#Contributing_Patches
Comment 4 Alan McGovern CLA 2012-02-14 05:51:39 EST
Setting up gerrit is too complicated for what is such a trivial change. If that means the patch ends up getting discarded, then so be it. I just don't have the time to jump through all the hoops at the moment.
Comment 5 Kevin Sawicki CLA 2012-03-01 20:37:13 EST
This is actually a duplicate of bug346873

*** This bug has been marked as a duplicate of bug 346873 ***