プロジェクト

全般

プロフィール

Vote #69262

完了

Spent time in commits not recognized

Admin Redmine さんがほぼ2年前に追加. ほぼ2年前に更新.

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

0%

予定工数:
category_id:
13
version_id:
31
issue_org_id:
7630
author_id:
28527
assigned_to_id:
0
comments:
7
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

Hello,

There is an issue with the time tracking thru commit :

I found nowhere on the website the correct syntax, I had to search around ticket with a lot of different syntax but it is finally Marek Siller (#4155) which gave me the correct one.

ref #123456 @2h30m

Except that this will add a time tracking of only 2h00min.

Then, is there any syntax for quotation or time log message?

Wouldn't it be nice to add some syntaxes like @2h or @2h30 ?

Also, the idea of Tomasz Sawicki was pretty good #4155#note-25. Is there any chance it will be implemented?

Best regards


journals

Hello,

there is an issue with the regular expression (file app/models/changeset.rb), that checks for the spent time. I'm currently investigating where the problem is exactly and how to fix it. I'll post a patch as soon as I find the problem.

Sincerely,
Marek Siller
KTC - Karlsruhe Technology Consutling GmbH
--------------------------------------------------------------------------------
Syntax is fixed in r4951. @2h or @2h30 are now supported
--------------------------------------------------------------------------------
Merged in 1.1-stable.
--------------------------------------------------------------------------------
Hello,

I have just setup the redmine, and in the administration -> settings -> Repositories, I tick the Enable time loggin.
But still, in the commit message, I have trying writing

refs #4 @2h

OR

refs #4 @2h30m

OR

refs #4 @2

OR

refs #4 @2.5

They all couldn't work, anything I still need to configure to make it work?

By the way, I am using gitolite, and the "refs #4" thing is successfully hook to the correct issue/project in redmine, I don't know wether this will help found out the problem.

Thanks a lot.

Tak.

--------------------------------------------------------------------------------
Ho Tak wrote:
> Hello,
>
> I have just setup the redmine, and in the administration -> settings -> Repositories, I tick the Enable time loggin.
> But still, in the commit message, I have trying writing
>
> refs #4 @2h
>
> OR
>
> refs #4 @2h30m
>
> OR
>
> refs #4 @2
>
> OR
>
> refs #4 @2.5
>
> They all couldn't work, anything I still need to configure to make it work?
>
> By the way, I am using gitolite, and the "refs #4" thing is successfully hook to the correct issue/project in redmine, I don't know wether this will help found out the problem.
>
> Thanks a lot.
>
> Tak.

Sorry for missing the redmine version, I am using Redmine 1.1.2.stable

Thanks.

Tak.

--------------------------------------------------------------------------------
@Tak, this advice should solve your problem: http://www.redmine.org/boards/2/topics/22692?r=23334#message-23334

Maciej ;)
--------------------------------------------------------------------------------
Yes! This works!!!

I had discovered that I haven't change "Activity for logged time" to any one of them, stupid me.........

Thanks Maciej! ^^
--------------------------------------------------------------------------------


related_issues

relates,Closed,4155,Automatic spent time logging from commit messages
duplicates,Closed,7419,changeset.rb does not recognize time entries like @1h30m

Admin Redmine さんがほぼ2年前に更新

  • カテゴリTime tracking_13 にセット
  • 対象バージョン1.1.2_31 にセット

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

いいね!0
いいね!0