Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Note を拡張して作業時間を記録できるように #5

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

issm
Copy link
Collaborator

@issm issm commented Apr 6, 2013

Note の機能を拡張した書式で「作業時間」を記録できるようにしてみました.

書式は次のとおりです:

[{hours} {activity} {comments}] {note} > #{issue_id}  # 作業時間・Note ともに記録
[{hours} {activity}] {note} > #{issue_id}             # 上記のコメントなしバージョン
[{hours} {activity} {comments}] > #{issue_id}         # 作業時間のみ
[{hours} {activity}] > #{issue_id}                    # 作業時間のみ: コメントなし

また,Redmine::Chan コンストラクタのパラメータ activity_commands を定義することで,システム上の「活動」に対応する名前を定義できます:

Redmine::Chan->new(
    ...
    activity_commands => {
        1 => [qw/設計/],
        2 => [qw/開発/],
        3 => [qw/連絡 メール/],
        4 => [qw/資料/],
    },
);

なお,おそらく #4 における1行の修正と conflict してしまうかと思います.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant