[python-committers] We will be moving to GitHub (hopefully) in 2016

Alex Gaynor alex.gaynor at gmail.com
Mon Jan 4 20:37:02 EST 2016

Probably the easiest thing is to point the linkifier at our own webservice
that just does:

if hash not in cache:
     except requests.error:
         except request.error:
            return 404
            cache[hash] = hg.python.org
         cache[hash] = github
return cache[hash]

I'll send you my consulting bill :-)

On Mon, Jan 4, 2016 at 8:33 PM, R. David Murray <rdmurray at bitdance.com>

> On Tue, 05 Jan 2016 01:26:58 +0000, "Gregory P. Smith" <greg at krypto.org>
> wrote:
> > On Mon, Jan 4, 2016 at 12:34 PM R. David Murray <rdmurray at bitdance.com>
> > wrote:
> >
> > > to have to do some extra work to make the hash links work in the bug
> > > tracker, since I don't think there's any a priori way to distinguish
> > > between hg hashes and git hashes.
> > >
> >
> > Just ignore the remote possibility of short 32-bit hash prefix collisions
> > (possible, but infrequent): the way to resolve that is when a hash lookup
> > fails, to look it up in a translation index of former hg hashes.
> >  practical.  good enough.
> Yes, collision is not the problem, it's that you can't distinguish them
> without a lookup table or something.  Which means we have to do more
> than just change the URL in the existing linkifier, which was my point.
> --David
> _______________________________________________
> python-committers mailing list
> python-committers at python.org
> https://mail.python.org/mailman/listinfo/python-committers

"I disapprove of what you say, but I will defend to the death your right to
say it." -- Evelyn Beatrice Hall (summarizing Voltaire)
"The people's good is the highest law." -- Cicero
GPG Key fingerprint: 125F 5C67 DFE9 4084
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-committers/attachments/20160104/3879c423/attachment.html>

More information about the python-committers mailing list