<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Wed, 1 Feb 2017 at 10:52 Ezio Melotti <<a href="mailto:ezio.melotti@gmail.com">ezio.melotti@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">+1 on bpo NNNN<br class="gmail_msg">
+0.5 on issue NNNN<br class="gmail_msg">
-0.5 on bug NNNN<br class="gmail_msg">
<br class="gmail_msg">
However I wonder if there's any way to change the automatic GitHub<br class="gmail_msg">
links, or at least disable them. Even if we agree on a convention, it<br class="gmail_msg">
will take time to educate contributors, especially new or occasional<br class="gmail_msg">
ones (unless we have a way to put a disclaimer in a prominent place).<br class="gmail_msg">
<br class="gmail_msg">
I'm not too familiar with GitHub, but:<br class="gmail_msg">
* can the link target be changed (i.e. from <a href="http://github.com" rel="noreferrer" class="gmail_msg" target="_blank">github.com</a> to <a href="http://bugs.python.org" rel="noreferrer" class="gmail_msg" target="_blank">bugs.python.org</a>)?<br class="gmail_msg"></blockquote><div><br></div><div>No</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
* can it be disabled?<br class="gmail_msg"></blockquote><div><br></div><div>No</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
* if the corresponding issue doesn't exist, will the link still be created?<br class="gmail_msg"></blockquote><div><br></div><div>No</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
* if it won't be created, will it link to PRs instead (once we have enough)?<br class="gmail_msg"></blockquote><div><br></div><div>PRs and issues are the same thing to GitHub in this instance.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
* is there any mechanism (hooks/bots/etc) that allows us to convert<br class="gmail_msg">
#NNNN to an explicit link (i.e.<br class="gmail_msg">
[#NNNN](<a href="http://bugs.python.org/issueNNNN" rel="noreferrer" class="gmail_msg" target="_blank">http://bugs.python.org/issueNNNN</a>) )?<br class="gmail_msg"></blockquote><div><br></div><div>Not sure. I assume it will be overridden.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
* if there is, can it be used on PR titles, PR messages, and commit messages?<br class="gmail_msg"></blockquote><div><br></div><div>Not titles, yes on messages.</div><div><br></div><div>-Brett</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">
Best Regards,<br class="gmail_msg">
Ezio Melotti<br class="gmail_msg">
<br class="gmail_msg">
On Wed, Feb 1, 2017 at 7:43 PM, Brett Cannon <<a href="mailto:brett@python.org" class="gmail_msg" target="_blank">brett@python.org</a>> wrote:<br class="gmail_msg">
> Historically commit messages for CPython have had the form of "Issue #NNNN:<br class="gmail_msg">
> did something". The problem is that Github automatically links "#NNNN" to<br class="gmail_msg">
> GitHub issues (which includes pull requests). To prevent incorrect linking<br class="gmail_msg">
> we need to change how we reference issue numbers.<br class="gmail_msg">
><br class="gmail_msg">
> The current candidates are:<br class="gmail_msg">
><br class="gmail_msg">
> issue NNNN (notice the lack of #)<br class="gmail_msg">
><br class="gmail_msg">
> bug NNNN<br class="gmail_msg">
><br class="gmail_msg">
> bpo NNNN ("bpo" stands for "<a href="http://bugs.python.org" rel="noreferrer" class="gmail_msg" target="_blank">bugs.python.org</a>")<br class="gmail_msg">
><br class="gmail_msg">
> Whatever choice we go with it will be how we reference issues in PR titles<br class="gmail_msg">
> and comments to link the PR to the issue, and in commit messages to send a<br class="gmail_msg">
> message to the issue about the commit.<br class="gmail_msg">
><br class="gmail_msg">
> To start this off, I'm -1 on "issue" (because people will out of habit add<br class="gmail_msg">
> the #), +0 on "bug" (it's different but not everything is a bug), and +1 on<br class="gmail_msg">
> "bpo" (as it namespaces our issues).<br class="gmail_msg">
><br class="gmail_msg">
> _______________________________________________<br class="gmail_msg">
> core-workflow mailing list<br class="gmail_msg">
> <a href="mailto:core-workflow@python.org" class="gmail_msg" target="_blank">core-workflow@python.org</a><br class="gmail_msg">
> <a href="https://mail.python.org/mailman/listinfo/core-workflow" rel="noreferrer" class="gmail_msg" target="_blank">https://mail.python.org/mailman/listinfo/core-workflow</a><br class="gmail_msg">
> This list is governed by the PSF Code of Conduct:<br class="gmail_msg">
> <a href="https://www.python.org/psf/codeofconduct" rel="noreferrer" class="gmail_msg" target="_blank">https://www.python.org/psf/codeofconduct</a><br class="gmail_msg">
</blockquote></div></div>