hdgarrood / redmine_release_notes

A plugin to add release notes to Redmine
GNU General Public License v3.0
73 stars 47 forks source link

Feature Request: Allow Commit Comments in ReleaseNotes #94

Closed hypfvieh closed 11 years ago

hypfvieh commented 11 years ago

Hi,

it would be great if you can add a way to use commit comments as Text in Release Notes.

What I want to do is, whenever a commit is made which triggers an issue update, use the Comment from that commit as "release note" for that issue.

This way I dont have to check all automatically closed issues and add release notes manually.

hdgarrood commented 11 years ago

hmm... I'm not sure that's a good idea. I find a large proportion of commit comments is in developer-speak, which users wouldn't understand. For example "merge branch foo", "extract FooFactory from Bar", "whitespace fix".

I would definitely want to keep commit comments and release notes separate.

hypfvieh commented 11 years ago

I dont want to replace the regular release notes field. I would like to have the option to use commit comments, just like the other "variables" (e.g. %{subject}, %{id}).

It is also not necessary to have every commit comment, just the comments which are connected to an issue (like the commits which trigger redmines "fixed keywords" system to add the commit to an issue)

hdgarrood commented 11 years ago

ah, ok, that makes slightly more sense. What you're describing wouldn't be quite easy to implement, as well (so if you really want to, you could). I'm saying no, though, because commit messages and release notes are for completely different things, and one shouldn't be used for the other.