プロジェクト

全般

プロフィール

Vote #69223

完了

Different commit Keywords for each tracker

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
SCM_3
対象バージョン:
開始日:
2011/02/09
期日:
進捗率:

0%

予定工数:
category_id:
3
version_id:
70
issue_org_id:
7590
author_id:
25081
assigned_to_id:
1
comments:
7
status_id:
5
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

I guess it is usefull to make it possible that one kann define
keywords like "fixes" but distinguish beween the trackers in which
state the issue of the tracker should be set

if #123 belongs to tracker "Feature" then "fixes #123" means feature goes to "Ready for test"

if #123 belongs to tracker "Build" then "fixes #123" means feature goes to "Done"

assuming that Support dosn't have the state "Ready for test" but has the state "Done"

Additionally the issue #1232 has other good ideas which should be done in one thing with my "tracker wise" idea

regards
Matthias


journals

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Feature added in r12208.
--------------------------------------------------------------------------------
Tested source:/trunk@12215 without any plugins. Configuration: thin, Ruby 1.9.3, Windows 7. Executed 'rake db:migrate RAILS_ENV=production' (I saw no migration output in console though). Here is what received at /path/to/redmine/settings:
<pre>
Started GET "/settings" for 192.168.142.1 at 2013-10-13 12:09:16 +0300
Processing by SettingsController#index as HTML
Current user: imc (id=3)
Rendered settings/_general.html.erb (19.0ms)
Rendered settings/_display.html.erb (77.0ms)
Rendered settings/_authentication.html.erb (8.5ms)
Rendered settings/_projects.html.erb (12.5ms)
Rendered queries/_columns.html.erb (5.5ms)
Rendered settings/_issues.html.erb (63.0ms)
Rendered settings/_notifications.html.erb (12.0ms)
Rendered settings/_mail_handler.html.erb (7.5ms)
Rendered settings/_repositories.html.erb (94.5ms)
Rendered common/_tabs.html.erb (674.6ms)
Rendered settings/edit.html.erb within layouts/admin (724.6ms)
Completed 500 Internal Server Error in 791ms

ActionView::Template::Error (can't convert String into Integer):
90: <tbody>
91: <% @commit_update_keywords.each do |rule| %>
92: <tr class="commit-keywords">
93: <td><%= select_tag "settings[commit_update_keywords][if_tracker_id][]", options_for_select([[l(:label_all), ""]] + Tracker.sorted.all.map {|t| [t.name, t.id.to_s]}, rule['if_tracker_id']) %></td>
94: <td><%= text_field_tag "settings[commit_update_keywords][keywords][]", rule['keywords'], :size => 30 %></td>
95: <td><%= select_tag "settings[commit_update_keywords][status_id][]", options_for_select([["", 0]] + IssueStatus.sorted.all.collect{|status| [status.name, status.id.to_s]}, rule['status_id']) %></td>
96: <td><%= select_tag "settings[commit_update_keywords][done_ratio][]", options_for_select([["", ""]] + (0..10).to_a.collect {|r| ["#{r*10} %", "#{r*10}"] }, rule['done_ratio']) %></td>
app/views/settings/_repositories.html.erb:93:in `[]'
app/views/settings/_repositories.html.erb:93:in `block (2 levels) in _app_views_settings__repositories_html_erb___1052737814_64408164'
app/views/settings/_repositories.html.erb:91:in `each'
app/views/settings/_repositories.html.erb:91:in `block in _app_views_settings__repositories_html_erb___1052737814_64408164'
app/views/settings/_repositories.html.erb:1:in `_app_views_settings__repositories_html_erb___1052737814_64408164'
app/views/common/_tabs.html.erb:24:in `block in _app_views_common__tabs_html_erb__333404635_65324712'
app/views/common/_tabs.html.erb:23:in `each'
app/views/common/_tabs.html.erb:23:in `_app_views_common__tabs_html_erb__333404635_65324712'
app/helpers/application_helper.rb:271:in `render_tabs'
app/views/settings/edit.html.erb:3:in `_app_views_settings_edit_html_erb__116827168_64513368'
app/controllers/settings_controller.rb:28:in `index'
</pre>
--------------------------------------------------------------------------------
Ivan Cenov wrote:
> Tested source:/trunk@12215 without any plugins. Configuration: thin, Ruby 1.9.3, Windows 7. Executed 'rake db:migrate RAILS_ENV=production' (I saw no migration output in console though). Here is what received at /path/to/redmine/settings:
> [...]

This should be fixed in r12216.
--------------------------------------------------------------------------------
Yes, it works in source:/trunk@12218.
--------------------------------------------------------------------------------
Thanks for your feedback Ivan.
--------------------------------------------------------------------------------


related_issues

relates,Closed,4911,Multiple issue update rules with different keywords in commit messages
duplicates,Closed,12656,make commit keywords and issue ratio configurable for each tracker

Admin Redmine さんが3年以上前に更新

  • カテゴリSCM_3 にセット
  • 対象バージョン2.4.0_70 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0