[Python-Dev] GH-NNNN vs #NNNN in merge commit (original) (raw)
Berker Peksağ berker.peksag at gmail.com
Thu Jan 25 07:20:52 EST 2018
- Previous message (by thread): [Python-Dev] GH-NNNN vs #NNNN in merge commit
- Next message (by thread): [Python-Dev] GH-NNNN vs #NNNN in merge commit
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, Jan 25, 2018 at 1:42 PM, INADA Naoki <songofacandy at gmail.com> wrote:
Hi.
Devguide says: """ Replace the reference to GitHub pull request #NNNN with GH-NNNN. If the title is too long, the pull request number can be added to the message body. """ https://devguide.python.org/gitbootcamp/#accepting-and-merging-a-pull-request But there are more #NNNN than GH-NNNN in commit log. https://github.com/python/cpython/commits/master Where should we go? Encourage GH-NNNN? or abandon it and use default #NNNN?
I'd personally drop both GH-NNNN and #NNNN markers. The number of the PR is already linked to the commit on GitHub: https://www.dropbox.com/s/zzm9f56485pbl1v/Screenshot%20from%202018-01-25%2015%3A14%3A28.png?dl=0
You can even see both styles in the same commit (especially in backport PRs)
bpo-42: Fix spam eggs (GH-2341) (#2211)
--Berker
- Previous message (by thread): [Python-Dev] GH-NNNN vs #NNNN in merge commit
- Next message (by thread): [Python-Dev] GH-NNNN vs #NNNN in merge commit
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]