Merge pull request '發佈 jsc-log 0.0.6:跨頁型連結改用絕對網址' (#10) from develop into master
Reviewed-on: #10 Reviewed-by: 系統管理員 <1+admin@noreply.localhost>
This commit was merged in pull request #10.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "jsc-log",
|
||||
"version": "0.0.5",
|
||||
"version": "0.0.6",
|
||||
"description": "工作日誌(LOG_{HASH} wiki 頁)、技能使用統計與教訓紀錄(LEARN_{HASH} wiki 頁)",
|
||||
"skills": "./skills",
|
||||
"author": {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "jsc-log",
|
||||
"version": "0.0.5",
|
||||
"version": "0.0.6",
|
||||
"description": "工作日誌(LOG_{HASH} wiki 頁)、技能使用統計與教訓紀錄(LEARN_{HASH} wiki 頁)",
|
||||
"skills": "./skills"
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "jsc-log",
|
||||
"version": "0.0.5",
|
||||
"version": "0.0.6",
|
||||
"description": "工作日誌(LOG_{HASH} wiki 頁)、技能使用統計與教訓紀錄(LEARN_{HASH} wiki 頁)",
|
||||
"skills": "./skills/"
|
||||
}
|
||||
|
||||
@@ -13,8 +13,8 @@ After work completes, collect the ten items below and append a `templates/log-en
|
||||
| --- | --- | --- |
|
||||
| 1 | Repository name | Parse `{owner}/{repo}` from `git remote get-url origin` |
|
||||
| 2 | Branch name | `git branch --show-current` |
|
||||
| 3 | Plan name | Link to the plan page `[[PLAN_{HASH}]]` |
|
||||
| 4 | Work package id | Link to the work package heading on the analyze page `[[ANALYZE_{HASH}#WP-xx]]` |
|
||||
| 3 | Plan name | Absolute link to the plan page: `[PLAN_{HASH}](<url>)`, where `<url>` comes from `jsc-gitea/tools/gitea.sh wiki-url {owner}/{repo} PLAN_{HASH}` — PLAN and LOG may live in different wiki repos, and `[[...]]` only resolves inside one wiki |
|
||||
| 4 | Work package id | Absolute link to the work package heading: `[WP-xx](<url>#wp-xx)`, `<url>` from `gitea.sh wiki-url {owner}/{repo} ANALYZE_{HASH}` |
|
||||
| 5 | Elapsed time | `jsc-hooks/hooks/session-timer.sh report {session_id}` (seconds; convert to h/m) |
|
||||
| 6 | Token usage | See the table below; per-CLI methods differ. Fill `N/A` when unavailable |
|
||||
| 7 | Task status | One of the literal values 「完成」、「部分完成」、「阻塞」 (with reason when blocked) |
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
> 由 `jsc-log:worklog` 維護。每完成一項工作附加一個條目在文末。
|
||||
> `HASH` 依共享規則計算;頁名不再寫入年月週數,但頁內仍依本工作週的週五整理內容。
|
||||
> {PLAN 頁絕對網址}、{ANALYZE 頁絕對網址} 由 `jsc-gitea/tools/gitea.sh wiki-url` 取得——LOG 與 PLAN/ANALYZE 可能分屬不同存取庫,`[[頁名]]` 跨庫不通。
|
||||
|
||||
---
|
||||
|
||||
@@ -11,8 +12,8 @@
|
||||
| --- | --- |
|
||||
| 存取庫名稱 | {owner}/{repo} |
|
||||
| 分支名稱 | {branch} |
|
||||
| 計畫名稱 | [[PLAN_{HASH}|{計畫名稱}]] |
|
||||
| 工作包編號 | [[ANALYZE_{HASH}#wp-{編號}|WP-{編號} {工作包標題}]] |
|
||||
| 計畫名稱 | [{計畫名稱}]({PLAN 頁絕對網址}) |
|
||||
| 工作包編號 | [WP-{編號} {工作包標題}]({ANALYZE 頁絕對網址}#wp-{編號}) |
|
||||
| 花費時間 | {h} 小時 {m} 分(session-timer report) |
|
||||
| token 用量 | {CLI}: {input}/{output}(不可得填 N/A) |
|
||||
| 任務狀態 | 完成、部分完成、阻塞({原因})三選一 |
|
||||
|
||||
Reference in New Issue
Block a user