[8377] in athena10
Re: Vcs-auth proposal draft
daemon@ATHENA.MIT.EDU (Aaron M. Ucko)
Fri Sep  2 14:37:52 2011
From: amu@alum.MIT.EDU (Aaron M. Ucko)
To: Geoffrey Thomas <geofft@mit.edu>
Cc: Evan Broder <broder@mit.edu>, debathena@mit.edu
Date: Fri, 02 Sep 2011 14:37:43 -0400
In-Reply-To: <alpine.DEB.2.00.1109021257150.31778@tyger.mit.edu> (Geoffrey
	Thomas's message of "Fri, 2 Sep 2011 12:58:50 -0400 (EDT)")
Message-ID: <udly5y6vlhk.fsf@dr-wily.mit.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Geoffrey Thomas <geofft@MIT.EDU> writes:
> devscripts 2.11.1 includes this change:
>
>   * debcheckout: Handle Alioth's new anonymous access URLs when converting to
>     authenticated URLs. (Closes: #628674)
>
> Since Alioth now has different URLs for unauth'd and auth'd access,
> this is probably something that has either now been fixed upstream or
> is badly in need of a solution upstream. I haven't looked at the bug
> or change itself to determine how this is done.
I haven't either, but strongly suspect it was simply a matter of
adjusting a hard-coded regexp. :-/
At any rate, although I agree that there should be a generic method of
determining authenticated URLs, I'm not sure in retrospect Vcs-Auth: is
quite the way to go, as the amount of (busy)work involved would be
disproportionate to the handful of sites hosting relevant repositories.
Instead, it might make more sense to define a standard location
(directory) in which packages could register mappings; devscripts or one
of its dependencies could then register common sites such as Alioth (and
Launchpad?), and some Debathena package (debathena-base?) could register
your repository.  (Sorry I didn't think of that last spring.)
-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?amu@monk.mit.edu