Re: git-daemon on NSLU2
From: Linus Torvalds <torvalds@linux-foundation.org>
Date: 2016-06-15 22:43:31
On Mon, 27 Aug 2007, Theodore Tso wrote:
What if the server sends a message which current clients interprets as an error, and which newer clients could interpret as, "do a clone from <this> URL, and then come back and talk to me". Basically an automated redirect to get the "Linus base pack" somewhere else, and then to go back to the original server. It certainly doesn't make sense to change anything about the low-level protocol, but maybe a higher level redirect would make sense, just as a user convenience thing.
I agree, a redirect might be a good idea regardless of whether it's something like "I'm a poor little NSLU2, please don't do anything but incremental updates", or whether it's something like "this repository has moved, use address xyz instead". And it should be pretty easy from a high-level protocol, although it does obviously need both server and client support. Linus