redmineのwikiでサイドバーを表示する
結構長いことredmineを使ってるのですが、wikiのサイドバーを作れることに最近気が付きました。
作り方は単純で Sidebar という名前のページを作ればok.
サイドバーに入れる場合、見出しは h3 が良さそうです。
結構長いことredmineを使ってるのですが、wikiのサイドバーを作れることに最近気が付きました。
作り方は単純で Sidebar という名前のページを作ればok.
サイドバーに入れる場合、見出しは h3 が良さそうです。
Submitting new Issues via API would be so cool and meet the needs of the times. They have been issues about a year..., lame :(
Please please consider seriously!
下記の日本語ページに説明がありますが、svnのコミットメッセージにIssueIDを入れることでcloseしたり関連付けたりすることができます。
http://redmine.jp/tech_note/subversion/
shell>>
$ svn commit -m '○○○機能を利用時の△△△な問題を修正。 refs 123'
<<--
%%しかし、実際には英語ページにあるように#123などのように#がないとRedmineに認識されません。%%
3/12 (追記) #がなくても(#をつけても、どちらでも)ちゃんと関連付け/closeされます。前田@Redmine.JPさんに指摘いただきました。ありがとうございまっす。
http://www.redmine.org/wiki/1/RedmineSettings
shell>>
This commit refs #1, #2 and fixes #3
<<--
ちなみにDefaultのキーワードは下記。+IssueIDは空白、カンマ、&で分割されます。
- for referencing issues: refs, references, IssueID
- for fixing issues: fixes, closes
After a keyword issue IDs can be separated with a space, a comma or &.
Redmineを使っていて、Issueの追加/変更通知がGTalkで来たらうれしいかもと思って作りました:acts_as_notifiable。
NOTE:
http://agilewebdevelopment.com/plugins/acts_as_notifiable
###Repository
http://svn.s21g.com/public/rails/plugins/acts_as_notifiable/
###Redmineに組み込む
0. XMPP4Rをインストール: http://xmpp4r.rubyforge.org/
shell>>
$sudo gem install xmpp4r
<<--
#{RAILS_ROOT}/config/acts_as_notifiable.yml
to:
recipients: you@gmail.com me@gmail.com
from:
id: your_notify_account@gmail.com
password: pass
connect: talk.google.com
<<--
3. モデルにacts_as_notifiableを追加
rails>>
class Issue
acts_as_notifiable :message => Proc.new {|o| "[#{o.project.name}:#{o.class.name}##{o.id}]#{o.status.name}:#{o.subject}\n #{o.journals.last.notes unless o.journals.blank?}"}
<<--
4. サーバ再起動
NOTE: 通知を受け取るIM側でyour_notify_account@gmail.comを追加するの忘れないように!
In my company, we're using a Redmine. And I thought it would be more useful if I could receive some activities(Like creating/updating Issue) via GTalk. Thus I created acts_as_notifiable.
NOTE:
http://agilewebdevelopment.com/plugins/acts_as_notifiable
###Repository
http://svn.s21g.com/public/rails/plugins/acts_as_notifiable/
###To work with Redmine
0. Install XMPP4R: http://xmpp4r.rubyforge.org/
shell>>
$sudo gem install xmpp4r
<<--
#{RAILS_ROOT}/config/acts_as_notifiable.yml
to:
recipients: you@gmail.com me@gmail.com
from:
id: your_notify_account@gmail.com
password: pass
connect: talk.google.com
<<--
3. Add acts_as_notifiable to the Model class
rails>>
class Issue
acts_as_notifiable :message => Proc.new {|o| "[#{o.project.name}:#{o.class.name}##{o.id}]#{o.status.name}:#{o.subject}\n #{o.journals.last.notes unless o.journals.blank?}"}
<<--
4. restart server
NOTE: Don't forget to add your_notify_account@gmail.com to your IM client!
ShootingStarのプロジェクトの管理を、rubyforgeから
Redmineに移管しました。URLは以下のとおりです。
Redminは、Ruby on Railsで作られたIssue Tracking Systemです。
出始めたころに使った時は、かなり荒削りな感じがしましたが、
なかなか良い感じになってきているのではないかと思います。
初期設定が若干煩雑で、とっつき難さがあるきがしますが、
一度設定してしまうと便利に使えるのではないでしょうか。
RubyでITSといえば、
Retrospectiva
というのもあります。こちらはRedmineと比べると、シンプルな
つくりで、小規模なプロジェクトの運用に向いているようです。
Redmineにしたのは、Blog機能が要らなかったからですね。
なんだかDRY脳は直行性を重視するようです。