#1058 Convenience Symlinks for Git Repos on Fedora People
Closed: Fixed None Opened 15 years ago by jcollie.

I would like to automate the creation of symlinks to people's public_git directories on Fedora People. The symlinks would take the form

/git/$user -> /home/fedora/$user/public_git

Having these symlinks would make urls to git repositories on fedorapeople.org much simpler and would look like:

git://fedorapeople.org/git/$user/$repo.git

instead of:

git://fedorapeople.org/home/fedora/$user/public_git/$repo.git

I can't think of any downsides... The symlinks wouldn't take up much disk space, they wouldn't allow access to anything new, and wouldn't take much processing power to keep updates.


I've attached a script to manage the symlinks. It runs in under a second in my tests.

Git repo here:

git://fedorapeople.org/home/fedora/jcollie/public_git/gitsymlinks.git

git://fedorapeople.org/~$user/$repo.git works already!!! Nevermind!

Login to comment on this ticket.

Metadata