Convenience Symlinks for Git Repos on Fedora People

Todd Zullinger tmz at pobox.com
Thu Dec 18 23:39:29 UTC 2008


Jeffrey Ollie wrote:
> 2008/12/18 Ricky Zhou <ricky at fedoraproject.org>:
>> On 2008-12-18 02:54:49 PM, Jeffrey Ollie wrote:
>>> Well, blow me down!  I guess nevermind about my script!
>> I think your script could still be useful for cloning over SSH.
> 
> Hmm yes, the ~$user does not seem to work with ssh:// urls.

It does work, but you have to add the public_git part of the path.
The following URLs are all valid¹:

    git://fedorapeople.org/~tmz/git-package.git
    ssh://fedorapeople.org/~tmz/public_git/git-package.git
    http://tmz.fedorapeople.org/git/git-package.git

If adding the symlinks removes the difference between the git:// and
ssh:// URLs, that would a nice improvement.

¹ Per https://fedoraproject.org/wiki/Infrastructure/fedorapeople.org,
the http:// URL requires a symlink from ~/public_html/git to
~/public_git.

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Going to trial with a lawyer who considers your whole life-style a
Crime in Progress is not a happy prospect.
    -- Hunter S. Thompson

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 542 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-infrastructure-list/attachments/20081218/7ef00e7d/attachment.sig>


More information about the Fedora-infrastructure-list mailing list