[python-committers] We will be moving to GitHub (hopefully) in 2016
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:
cache[hash] = hg.python.org
cache[hash] = github
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>
> > 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.
> python-committers mailing list
> python-committers at python.org
"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...
More information about the python-committers