[[PageOutline]]
= Week Report =
== 2008-02-18 ==
* 升級 Kernel 至 2.6.18-6-k7, 重跑 vmware-config.pl 好恢復 vmware virtual machine 的正常運作.
* subversion upload 教學
* 修改 trac.ini 如下所示, 讓 RSS 可以顯示 ticket 的變化 [[BR]]
{{{
#!diff
====
--- gocca/conf/trac.ini.org 2008-02-18 19:15:55.000000000 +0800
+++ gocca/conf/trac.ini 2008-02-18 19:16:49.000000000 +0800
@@ -53,7 +53,7 @@
[header_logo]
alt = "NCHC Grid Operation Center Certification Authority"
height = -1
-link = http://free.nchc.org.tw/gocca
+link = http://trac.nchc.org.tw/gocca
src = common/trac_banner.png
width = -1
@@ -96,7 +96,7 @@
footer = Power by Open Source Taskforce, NCHC, Taiwan
icon = common/trac.ico
name = GOC CA
-url = http://free.nchc.org.tw/gocca
+url = http://trac.nchc.org.tw/gocca
[search]
min_query_length = 3
@@ -113,7 +113,7 @@
changeset_long_messages = false
changeset_show_files = 0
default_daysback = 30
-ticket_show_details = false
+ticket_show_details = true
}}}
== 2008-02-19 ==
* 測試 subversion externals 的功能
* 因為 Trac 0.11 有支援 svn externals 的功能, 因此簡單測試一下要怎麼對應使用 svn 的指令
* 測試步驟: [wiki:jazz/svn_externals SVN externals definitions]
* [wiki:NCOR_Ocean_Database_Project 院部『海洋資料庫計畫』]: [wiki:Meeting/08-02-19 海洋中心劉教授來訪]
== 2008-02-20 ==
* 規劃格網計算平台的工作項目、交付清單與人力時程分配
* 規劃 PRAGMA 14 的展示: DRBL + GPFS
* 跟 Ebbe 討論 RBNB, 海生館與墾丁的影像擷取系統
* 維迪: 鏡頭維修情形, 海生館魏杰: 現況與準備
* Hadoop 資料蒐集
== 2008-02-21 ==
* 跟育欽和宗碩討論 Partclone 使用 FUSE 達成 read-only mount 的可能性
* 育欽:
* 癥結點: read-only 有機會, write 比較難.
* 應該是比 VFS 更底層, 如果可以模擬成 /dev/sda1 那一類區塊式裝置(block device)應該會比較有用
* 參考架構: loop 裝置, [http://www.gnome.org/~markmc/qcow-image-format.html QCOW Image 裝置]
* 宗碩建議從 [http://www.cse.unsw.edu.au/~neilb/oss/linux-commentary/vfs.html VFS (Virtual File System) 定義的 I/O Operator] 下手
* 修改 trac.ini 如下所示, 讓 Wiki 可以支援跨專案連結([http://trac.edgewall.org/wiki/InterTrac Intertrac Link])
* Ex. 使用 ![gocca:wiki:CPS] 來顯示 http://trac.nchc.org.tw/gocca/wiki/CPS - 呈現結果: [gocca:wiki:CPS] [[BR]]
{{{
#!diff
====
--- trac.ini.org 2008-02-21 17:14:56.000000000 +0800
+++ trac.ini 2008-02-21 17:22:31.000000000 +0800
@@ -137,3 +137,15 @@
[wiki]
ignore_missing_pages = false
split_page_names = false
+
+[intertrac]
+cloud.title = Cloud Computing Research Group
+cloud.url = http://trac.nchc.org.tw/cloud
+edublog.title = Edublog - a collaborative Blog for tele-teaching
+edublog.url = http://trac.nchc.org.tw/edublog
+grid.title = NCHC Grid Architecture Research Group
+grid.url = http://trac.nchc.org.tw/grid
+gocca.title = Grid Operation Center Certification Authority
+gocca.url = http://trac.nchc.org.tw/gocca
+partclone.title = Partclone - The library-based Partition Cloning Tool
+partclone.url = http://partclone.nchc.org.tw/trac/
}}}
* 規劃格網計算平台的工作項目、交付清單與人力時程分配
* [備忘] 產生 Trac 或 Python Egg 套件的指令
{{{
# python setup.py bdist_egg
}}}
* [備忘] 目前加入 accesskey 修改的地方
* Trac 0.10.3-1etch2
{{{
~# cd /
/# patch -p1 < ~/trac.0.10.3-1etch2.accesskey.patch
patching file usr/share/python-support/trac/trac/web/auth.py
patching file usr/share/python-support/trac/trac/wiki/web_ui.py
patching file usr/share/python-support/trac/trac/versioncontrol/web_ui/browser.py
patching file usr/share/python-support/trac/trac/Timeline.py
patching file usr/share/python-support/trac/trac/Settings.py
patching file usr/share/python-support/trac/trac/ticket/report.py
patching file usr/share/python-support/trac/trac/ticket/web_ui.py
patching file usr/share/python-support/trac/trac/ticket/roadmap.py
patching file usr/share/python-support/trac/trac/Search.py
patching file usr/share/trac/templates/wiki.cs
patching file usr/share/trac/templates/report.cs
patching file usr/share/trac/templates/browser.cs
patching file usr/share/trac/templates/log.cs
patching file usr/share/trac/templates/changeset.cs
patching file usr/share/trac/templates/newticket.cs
}}}
* !TracWebAdmin-0.10/webadm/web_ui.py
{{{
# svn export http://svn.edgewall.com/repos/trac/sandbox/webadmin/ TracWebAdmin-0.10
# cd TracWebAdmin-0.10
TracWebAdmin-0.10# patch -p1 < ../TracWebAdmin-0.10.accesskey.patch
TracWebAdmin-0.10# python setup.py bdist_egg
TracWebAdmin-0.10# easy_install dist/TracWebAdmin-0.1.2dev-py2.4.egg
}}}
* !TracAccountManager-0.10/acct_mgr/templates/login.cs
* !TracAccountManager-0.10/acct_mgr/web_ui.py
{{{
# svn co http://trac-hacks.org/svn/accountmanagerplugin/0.10 TracAccountManager-0.10
# cd TracAccountManager-0.10
TracAccountManager-0.10# patch -p1 < ../TracAccountManager-0.10.accesskey.patch
TracAccountManager-0.10# python setup.py bdist_egg
TracAccountManager-0.10# easy_install dist/TracAccountManager-0.1.3dev_r2548-py2.4.egg
}}}
* [備忘] 新增 Trac Plugins
* [http://trac-hacks.org/wiki/WikiIncludePlugin WikiInclude] - 讓用 ![[WikiInclude(WikiStart)]] 語法來包含其他 Wiki 頁面中的內容
{{{
# svn co http://trac-hacks.org/svn/wikiincludeplugin
# cd wikiincludeplugin/0.9/
wikiincludeplugin/0.9# python setup.py bdist_egg
wikiincludeplugin/0.9# easy_install dist/WikiInclude-0.1-py2.4.egg
}}}
* [http://trac-hacks.org/wiki/TagsPlugin TracTags] - 像部落格一樣可以用 Tag 標籤來當關鍵字分類
{{{
# svn co http://trac-hacks.org/svn/tagsplugin/tags/0.6 TracTags-0.6
# cd TracTags-0.6
TracTags-0.6# python setup.py bdist_egg
TracTags-0.6# easy_install dist/TracTags-0.6-py2.4.egg
}}}
* [http://trac-hacks.org/wiki/WikinfoPlugin WikiInfo] - 特殊的巨集(Macro)用來顯示 作者 ![[Wikinfo(author)]], 版本 ![[Wikinfo(version)]], 最後更新日期 ![[Wikinfo(changed_ts)]]
{{{
# svn co http://trac-hacks.org/svn/wikinfoplugin WikiInfo-0.9
# cd WikiInfo-0.9/0.9/
WikiInfo-0.9/0.9# python setup.py bdist_egg
WikiInfo-0.9/0.9# easy_install dist/Wikinfo-0.1-py2.4.egg
}}}
* 修改 trac.ini
{{{
#!diff
====
--- trac.ini.org 2008-02-21 17:14:56.000000000 +0800
+++ trac.ini 2008-02-21 23:03:17.000000000 +0800
@@ -38,6 +38,9 @@
trac.about = disabled
trac.web.auth.loginmodule = disabled
webadmin.* = enabled
+wikiinclude.web_ui.wikiincludemacro = enabled
+wikinfo.wikinfo.wikinfomacro = enabled
+tractags.* = enabled
[graphviz]
cache_dir = /forge/trac_pool/grid/graphviz
@@ -126,7 +141,7 @@
default_handler = WikiModule
htdocs_location =
ignore_auth_case = false
-mainnav = wiki,timeline,roadmap,browser,tickets,newticket,search
+mainnav = wiki,timeline,roadmap,search,browser,newticket,tickets
metanav = login,logout,settings
permission_store = DefaultPermissionStore
registration_enabled = true
}}}
== 2008-02-22 ==
* 面試: 格網技術組-專案助理研究員(研發替代役)