Closed (duplicate)
Project:
Version Control / Project* integration
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
27 Sep 2011 at 07:02 UTC
Updated:
20 May 2014 at 14:58 UTC
Jump to comment: Most recent
Comments
Comment #1
dwwI prefer special syntax over a per-project setting (even if it defaults to false). I don't think we want to be automatically marking things fixed on every commit. The human should somehow decide the issue is fixed or not on a case-by-case basis, and either reply at the issue themselves, or at least format their commit message to indicate they intend for the issue to be closed.
In terms of the specific syntax, seems reasonable to adopt the de facto Github standard.
Although "closes #x ..." is not as ideal for harvesting commits when writing release notes (e.g. with http://drupal.org/project/grn). For that "fixed #x" would be better. Maybe we should just support a couple of different prefixes and give maintainers freedom to decide how they want to use this. Or maybe we should patch grn to re-write "closes #x" to "Fixed #x" (or just "#x") or something. ;)
Anyway, this would be a slick feature, and should be quite easy to implement once #493074: Back-link to the commit as a comment on the related issue. lands. I'd normally call this "postponed" since no one should start writing code for this until #493074 is in -- but in this case it seems okay to leave the issue open for further discussion on syntax vs. setting, and what syntax we want assuming we're going to go that route.
Thanks,
-Derek
Comment #2
markhalliwellWould really love to see this, FWIW I usually almost always use
"Fixes [#...] - Title"when I submit a patch.Comment #3
hass commentedI'm against closing issues without a special syntax.
I make tons of commits to #1948588: Google Analytics 8 upgrade and this issue should not be closed automatically.
Comment #4
marvil07 commentedSpecial syntax sounds fine, and now that there is a way to react to code changes(see #1796144: Add a "event processor" plugin type for repositories), it should be straight forward as a new plugin.
I'm not sure this should be added on d.o, but I'm ok to add it to the module.
Also moving version.
Patches welcome.
Comment #5
markhalliwellDespite this issue being technically older, there is more traction/discussion in related issue.
Comment #6
markhalliwellC&P ftw!