Re: git-daemon on NSLU2
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- Aug 27, 2007, 16:26 UTC
- Message-ID
- <alpine.LFD.0.999.0708270923590.25853@woody.linux-foundation.org>
- In-Reply-To
- <20070827110318.GB4680@thunk.org>
On Mon, 27 Aug 2007, Theodore Tso wrote:
Show 8 quoted lines
> > 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