<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Wed, 1 Feb 2017 at 14:34 Ned Deily <<a href="mailto:nad@python.org">nad@python.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Feb 1, 2017, at 16:35, Brett Cannon <<a href="mailto:brett@python.org" class="gmail_msg" target="_blank">brett@python.org</a>> wrote:<br class="gmail_msg">
> On Wed, 1 Feb 2017 at 12:23 Ned Deily <<a href="mailto:nad@python.org" class="gmail_msg" target="_blank">nad@python.org</a>> wrote:<br class="gmail_msg">
>> Perhaps I'm misunderstanding something. Are we planning to alter existing commit messages as part of the hg to fit transition?<br class="gmail_msg">
> No, we are not mucking with the history as part of the transition.<br class="gmail_msg">
<br class="gmail_msg">
Sorry, I don't mean to resurrect any old discussions that I've forgotten about here but, just to be clear, that means that we will no longer be able to click through from the web pages of the tens of thousands of old commits back to their corresponding bug web pages as we can do today?<br class="gmail_msg"></blockquote><div><br></div><div>Correct. You will have to copy-and-paste the issue number into a URL.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br class="gmail_msg">
For example, <a href="https://hg.python.org/cpython/rev/aa7ac93d23b2" rel="noreferrer" class="gmail_msg" target="_blank">https://hg.python.org/cpython/rev/aa7ac93d23b2</a> (eventually) links back to <a href="https://bugs.python.org/issue20185" rel="noreferrer" class="gmail_msg" target="_blank">https://bugs.python.org/issue20185</a> (at least it should if the SSL certificate weren't expired today), whereas the corresponding git commit (<a href="https://github.com/python/cpython/commit/9f889393ab0362229c42bc31056f3ef9735a1d27" rel="noreferrer" class="gmail_msg" target="_blank">https://github.com/python/cpython/commit/9f889393ab0362229c42bc31056f3ef9735a1d27</a>) does not and will not provide a link back? That's ... unfortunate.<br class="gmail_msg"></blockquote><div><br></div><div>For old issues that won't be a possibility, but for new issues it can be done. E.g. <a href="https://github.com/python/the-knights-who-say-ni/commit/aa82ec527570f8cf1b6ae13037ba6535afe26e5a">https://github.com/python/the-knights-who-say-ni/commit/aa82ec527570f8cf1b6ae13037ba6535afe26e5a</a> links to the PR that the commit came from and the PR can have a link back to the referenced issue(s). If you really miss this then someone could always volunteer to stand up their own web server to server commit history with the desired functionality, but I don't think this is important enough to block the migration over as you're now asking that we figure out how to hack the migrated git history to embed URLs to a non-existent reflector like <a href="http://hg.python.org/lookup">hg.python.org/lookup</a> but for issue numbers. If we were also migrating the issue tracker then it would be possible as they would probably link to the GitHub issue number.</div><div><br></div><div>(And do realize that <a href="http://hg.python.org">hg.python.org</a> regularly requires restarts because it runs out of memory, so that customization comes at a price of maintenance and Benjamin's time to restart the service.)</div></div></div>