Convenience Symlinks for Git Repos on Fedora People

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.  A test run ran in under a
second.  Of course, the cron job would run as a normal user for extra
safety.  The script that I wrote is attached to ticket 1058:

https://fedorahosted.org/fedora-infrastructure/ticket/1058

-- 
Jeff Ollie

"You know, I used to think it was awful that life was so unfair. Then
I thought, wouldn't it be much worse if life were fair, and all the
terrible things that happen to us come because we actually deserve
them? So, now I take great comfort in the general hostility and
unfairness of the universe."

	-- Marcus to Franklin in Babylon 5: "A Late Delivery from Avalon"

_______________________________________________
Fedora-infrastructure-list mailing list
Fedora-infrastructure-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-infrastructure-list

[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux