Package: git
Version: 1:1.7.5.1-1
Severity: wishlist
Tags: upstream

HTTP has a concept of 3xx status codes to tell a client to connect to
another server instead.  They can be useful when moving a resource
from one location to another.

It would be nice if the git protocol had something similar, for cases
like the recent git.debian.org -> anonscm.debian.org move.  On the
server side, the git daemon would start producing a magic ERR line (or
another kind of malformed pkt-line) informing existing clients to
print a message about move, so at least the user would know.  As a
second step, the client could learn to recognize these magic lines
and act on them by connecting to the new address.  An optional third
step would be for git to learn to cache permanent redirects.

Compare http://bugs.debian.org/627839, which in the short term seems
like a simpler solution.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to