010 便å©ãªå°çªãTracã«å¸¸é§ããã¦ãã±ããå¿ããé²æ¢ï¼
ããã«ã¡ã¯ãid:EC-Oneã®Akiã§ãã
ã¡ãã£ã¨åã«æ¸ããTracã«é¢ããè¨äºã人æ°ã ã£ãã®ã§*1ããã¾ãTracã«ã¤ãã¦æ¸ãããåã°ããããããªãããã¨ãããããããå¿æå¾
ã«å¿ãããæ°æã¡ãè½çãã¾ããã(^ ^;
ã¨ãããã¨ã§ãä»åã¯ãMyTicketsããTracNavãã¨ããTracãã©ã°ã¤ã³ããç´¹ä»ãã¾ãã
ã©ã¡ãããã©ã°ã¤ã³ã®ã¤ã³ã¹ãã¼ã«ãå¿
è¦ã¨ãªãã¾ãã®ã§ã管çè
権éã®ãªã人ã¯ç®¡çè
ã«ãé¡ããã¦ã¿ã¦ãã ããã
- åæã¨ãªãç°å¢
ä»åã®è¨äºã¯ä»¥ä¸ã®ç°å¢ãåæã¨ãã¦ãã¾ãã*2
ããªãã®æªè§£æ±ºãã±ãããå°çªã§è¡¨ç¤ºãã - ãMyTicketsã
Tracã®å½è©²Wikiãã¼ã¸ã®å é ã«
[[MyTickets]]
ã¨æ¸ãã ãã§ãèªåçã«ä»¥ä¸ã®ãããªå°çªããã¼ã¸å³ä¸ã«åºç¾ãã¾ãã
ãã°ã¤ã³ãã¦æåã«è¡¨ç¤ºãããããããã¼ã¸ã«æ¸ãã¦ããã°ãããã§ãç®ã«ã¤ãã¾ããã
ãã¨ãã£ã¦éªéã«ã¯ãªããªã大ããã§ããï¼TicketQueryãã¯ãã使ã£ã¦ãåãå
容ã¯è¡¨ç¤ºãããã®ã§ãããããã ã¨ã¡ãã£ã¨å¤§ãããã¦ç»é¢ãå é ãã¦ãã¾ãã®ããã¾ã«ããºã§ããï¼
MyTicketsã使ãã«ã¯ãMyTicketsãã©ã°ã¤ã³ãå ¥ããå¿ è¦ãããã¾ãããã®æ¹æ³ã3ã¹ãããã§èª¬æãã¾ãã
1. MyTicketsã®ã¤ã³ã¹ãã¼ã«
以ä¸ã®æé ã§MyTicketsãã©ã°ã¤ã³ãã¤ã³ã¹ãã¼ã«ãã¾ãã
wget http://amateras.svn.sourceforge.net/viewvc/amateras/Trac/mytickets-plugin.tar.gz tar zxvf mytickets-plugin.tar.gz\?view\=tar cd mytickets-plugin/mytickets vi macro.py cd .. python setup.py install vi <trac.iniã®ãã¹> /usr/sbin/apachectl graceful
ä¸è¨ã®ãvi macro.pyãã¨ãvi
2. macro.pyãç·¨éãã¦åªå 度ãé表示ã«
å
ãã¯ãvi macro.pyãããï¼
MyTicketsã¯ãã®ã¾ã¾ä½¿ãã¨ããã±ããã®åªå
度ãã表示ãããã®ã§ãããä»åã¯ãããã¯ããã¦ã¿ã¦ãã¾ãããåªå
度ã表示ããããã¨ããæ¹ã¯ããã¯é£ã°ãã¦ä¸ããã
ã¾ãã39è¡ç®ã以ä¸ã®ããã«å¤æ´ãã¾ãã
âå¤æ´åï¼
out.write('<li><a href="%s">#%s[%s]%s' % \
âå¤æ´å¾ï¼
out.write('<li><a href="%s">#%s %s' % \
ã¤ãã«ã42è¡ç®ãåé¤ãã¾ãã
âåé¤è¡ï¼
escape(result['priority']), \
ããã§å°çªã«åªå 度ã¯è¡¨ç¤ºãããªããªãã¾ãã
3. trac.iniãç·¨éãã¦MyTicketsãæå¹ã«
ããã²ã¨ã¤ããvi
ãã¡ãã¯MyTicketsãæå¹ã«ããããã«ãããã¸ã§ã¯ãã®trac.iniã®[components]ã»ã¯ã·ã§ã³ã«MyTicketsã«é¢ããè¡ã追å ãã¦ãã¾ãã
[components] ã ä¸ç¥ ã mytickets.* = enabled
ããã§MyTicketsãã©ã°ã¤ã³ã使ããããã«ãªãã¾ããã
次ã¯ããã±ããã ãã§ãªãè²ã ãªæ å ±ãæ¸ããããã²ã¼ã·ã§ã³å°çªãTracNavããç´¹ä»ãã¾ãã
ããã²ã¼ã·ã§ã³å°çª - ãTracNavã
å ã»ã©ã¨åãããTracã®å½è©²Wikiãã¼ã¸ã®å é ã«
[[TracNav(好ããªãã¼ã¸å)]]
ã¨æ¸ãã ãã§ã以ä¸ã®ãããªå°çªããã¼ã¸å³ä¸ã«åºç¾ãã¾ãã
Tracã®ããããã¼ã¸ã«ãããè¦ããã¼ã¸ãã¸ã®ãªã³ã¯éã¨ãã¦ç½®ãã¦ããã¦ã¿ã¦ã¯ãããã§ããããã
å°çªã®å 容ã¯ãeditãã¨ãããªã³ã¯ããç·¨éã§ãã¾ããä»åã¯ä»¥ä¸ã®ããã«æ¸ãã¦ã¿ã¾ããã
* ãã * [/report/1 æªè§£æ±ºãã±ããã®ä¸è¦§] * [wiki:è°äºé²] * [wiki:äºåå±]
å®éã«ä½¿ã£ã¦ã¿ãã¨ãããã¾ãããããã¯æå®ããååã®Wikiãã¼ã¸ãå¥ã«åºæ¥ã¦ãã¦ããããå°çªã¨ãã¦è¡¨ç¤ºãã¦ããã®ã§ããã§ãããããã¼ã¸åãå¤ãã¦è¤æ°ã®ããã²ã¼ã·ã§ã³å°çªãä½æãããã¨ãå¯è½ã§ãã*4
ã¡ãªã¿ã«å°çªã®ä¸ã§ã¯ã=ãã使ã£ãè¦åºãããã¿ããã¹ãã¯è¡¨ç¤ºããã¾ããã*5
ã¾ããæ®å¿µãªãããIE7ã§ã¯editãªã³ã¯ãå³å¯ãã«ãªããã«è¡¨ç¤ºãå´©ãã¦ãã¾ãã¾ãã
ãããç´ãæ¹æ³ã調ã¹ããã¨ããã§ãããã¾ãããã»ã©å®å®³ã¯ãªãã®ã§ä»åã¯ãã®ã¾ã¾ã«ãã¦ãããã¨ã«ãã¾ããã
MyTicketsã¨åãããTracNavã使ãã«ã¯TracNavãã©ã°ã¤ã³ãå ¥ããå¿ è¦ãããã¾ãã®ã§ããã®æ¹æ³ã2ã¹ãããã§èª¬æãã¾ãã
1. TracNavã®ã¤ã³ã¹ãã¼ã«
以ä¸ã®æé ã§TracNavãã©ã°ã¤ã³ãã¤ã³ã¹ãã¼ã«ãã¾ãã
svn export http://svn.ipd.uka.de/repos/javaparty/JP/trac/plugins/tracnav-0.11/ cd tracnav-0.11/ python setup.py install vi <trac.iniã®ãã¹> /usr/sbin/apachectl graceful
ä¸è¨ã®ãvi
2. trac.iniãç·¨éãã¦TracNavãæå¹ã«
TracNavãæå¹ã«ããããã«ãããã¸ã§ã¯ãã®trac.iniã®[components]ã»ã¯ã·ã§ã³ã«TracNavã«é¢ããè¡ã追å ããå¿ è¦ãããã¾ãã
[components] ã ä¸ç¥ ã tracnav.* = enabled
ããã§TracNavãã©ã°ã¤ã³ã使ããããã«ãªãã¾ããã
Tracã¯ä½¿ãè¾¼ãã°ä½¿ãè¾¼ãã»ã©æ¥½ããï¼ããã©...
Tracã¨Subversionãçµã¿åããã¦ä½¿ãäºã社å
ã§ä¸è¬çã«ãªããããããªãã©ã°ã¤ã³ã使ãããã«ãªã£ã¦ã管çãæ
å ±æ´çã楽ããã§ããããã«ãªã£ã¦...ãã£ã¨ä»äºã楽ãããªã£ããã¨ã¨æãã¾ããããã©ãTracã¨ãããããäºã°ããã«æéã使ãããã¦ãéã«æ¬æ¥ã®ä»äºããã©ã¤ãã¼ãã«å²ãã¹ãæéãæ¸ã£ã¦ããããªãã¦ãã¨ã¯ããã¾ãããï¼
...èªæã
ãã¬ãã¸ã»ã³ã¿ã¼ã§ã¯ãTracãå°å ¥ããããã©ãã¡ã³ãã¼ã«ä½¿ãæ¹ãã©ã説æãããããã®ï¼ãã¨ãããæ©ã¿ããããè¤æ°ããã¸ã§ã¯ãã§1ã¤ã®Tracãµã¼ããå ±ç¨ããã«ã¯ã©ããªè¨å®ãããã°ããã®ï¼ãã¨ããã質åã¾ã§åãä»ãã¦ãã¾ããå°ã£ãã¨ãã¯ãæ°è»½ã«ãç¸è«ãã ããã
é¢é£ã¨ã³ããª
- 006 Tracマクロを3つだけ覚えれば梅雨でも仕事が楽しくなる
- 015 10分で理解するGoogle Voice - Googleが電話を変える
- 012 新入社員のうちに知っておくと役に立つApacheの2つのTips
JavaãRubyåã³å¨è¾ºã®OSSãç¨ããéçºã«é¢ãã¦ãä¼æ¥ãããããæ©ã¿ãã¨ãç¸è«ã§ããã®ãããã¬ãã¸ã»ã³ã¿ã¼ã®ãã¬ã¹ãã¥ã¼ãµã¼ãã¹ãã§ãã
ã©ããªç¸è«ã§ã親身ã«åãä»ãã¾ãã®ã§ãã¬ã¹ãã¥ã¼ãµã¼ãã¹ã£ã¦ãªã«ï¼ãã£ã¨ç¥ãããï¼ã¨æã£ãæ¹ã¯ãæ°è»½ã«åãåããä¸ããã
*1:006 Tracマクロを3つだけ覚えれば梅雨でも仕事が楽しくなる - EC-One ナレッジセンター レスキューサービス ブログ
*2:ããã¯EC-Oneï¼ã¤ã¼ã·ã¼ï½¥ã¯ã³ï¼ç¤¾å ã®å ±éTracãµã¼ãã§ä½¿ç¨ãã¦ããç°å¢ã ã£ãããã¾ã
*3:viã¨ã¯Linuxãªã©UNIXç³»ã®ç°å¢ã§å©ç¨ã§ããããã¹ãã¨ãã£ã¿ã®ãã¨ã§ã
*4:å¼æ°ã«ä½ãæå®ããªãã¨ãããã©ã«ãã®ãã¼ã¸åã¯TOCã«ãªãã¾ã
*5:TOCã¨ããååã®Wikiãã¼ã¸ã¨ãã¦è¦ãæã«ã¯ãã¡ããè¦ãã¾ã