Skip to contentSkip to conversation

Fixes: lines in commit messages

DISCUSSION Nathan Cutler 2 participants 2 messages Mar 28, 2016

lore
Share & tools
lore
#0 lore raw

Greetings, Ceph developers:

As the number of GitHub pull requests rises (currently in the 8000s), we are starting have trouble with unrelated PRs getting closed automatically by the "Fixes: #...." lines in PR descriptions and commit messages.

For example, if you open PR#9534 that fixes tracker issue#8069, including a line "Fixes: #8069" will cause PR#8069 to be closed - obviously, this is wrong but it's the way GitHub works.

Sage suggested that we work around this by referring to the tracker issue by its full URL. I opened a PR changing SubmittingPatches to reflect this:

https://github.com/ceph/ceph/pull/8312

Any objections?

Signature · 4 lines
Nathan Cutler
Software Engineer Distributed Storage
SUSE LINUX, s.r.o.
Tel.: +420 284 084 037
#1 lore raw
Quoted 10 lines · Nathan Cutler

Greetings, Ceph developers:

As the number of GitHub pull requests rises (currently in the 8000s), we are starting have trouble with unrelated PRs getting closed automatically by the "Fixes: #...." lines in PR descriptions and commit messages.

For example, if you open PR#9534 that fixes tracker issue#8069, including a line "Fixes: #8069" will cause PR#8069 to be closed - obviously, this is wrong but it's the way GitHub works.

Quoted 6 lines

Sage suggested that we work around this by referring to the tracker issue by its full URL. I opened a PR changing SubmittingPatches to reflect this:

https://github.com/ceph/ceph/pull/8312

Any objections?

Sounds good to me. Truly depressing about GitHub, but sounds good. -Greg