1 =============================================
2 投稿された man ページのリポジトリへの登録方法
3 =============================================
5 JM では所定のフォーマット http://linuxjm.sourceforge.jp/guidance/mailformat.html で
6 翻訳した man ページを ML に投稿してもらうことになっています。
8 この形式で投稿された man ページを JM の Git Repository に取り込む方法です。
14 投稿されたメールは変換せずに保存して下さい。私は Wanderlust で保存しています。
15 #. Git Repository 内に移動します。
16 Repository 内であればどこでも構いません
19 .. code-block:: console
21 cat <saved-mail> | nkf -Lu -w | <repo_top>/admin/ml2cvs
25 コミットメッセージは特に決まりはありませんが、
26 パッケージ名は先頭に付けるようにしています。
29 .. code-block:: console
31 <パッケージ名>: Draft <ページ名> [JM:nnnnn]
32 <パッケージ名>: Release <ページ名> [JM:nnnnn]
36 .. code-block:: console
38 sudo: Drafts posted in [JM:00631] to [JM:00635].
39 procps: release watch.1 [JM:00428]
41 #. sourceforge.jp の git repo に push します。ウェブページは cron で更新されます。
46 .. code-block:: console
48 motoki@gemini:~/.../JM/jm.git (master)$ cat ~/tmp/1086.eml | nkf -Lu -w | admin/ml2cvs
49 UPDATE: admin/../manual/net-tools/translation_list
50 UPDATE: admin/../manual/net-tools/draft/man8/ifconfig.8
51 UPDATE: admin/../manual/net-tools/ChangeLog
52 motoki@gemini:~/.../JM/jm.git (master)$ git status
54 # Changes not staged for commit:
55 # (use "git add <file>..." to update what will be committed)
56 # (use "git checkout -- <file>..." to discard changes in working directory)
58 # modified: manual/net-tools/ChangeLog
59 # modified: manual/net-tools/draft/man8/ifconfig.8
60 # modified: manual/net-tools/translation_list
62 motoki@gemini:~/.../JM/jm.git (master)$ git diff
63 motoki@gemini:~/.../JM/jm.git (master)$ git add -u
64 motoki@gemini:~/.../JM/jm.git (master)$ git commit
65 [master 5981012] net-tools: Draft ifconfig.8 [JM:00811]
66 3 files changed, 7 insertions(+), 2 deletions(-)
67 motoki@gemini:~/.../JM/jm.git (master)$ git push
68 Counting objects: 17, done.
69 Delta compression using up to 2 threads.
70 Compressing objects: 100% (9/9), done.
71 Writing objects: 100% (9/9), 1013 bytes, done.
72 Total 9 (delta 7), reused 0 (delta 0)
73 To ssh://amotoki@git.sourceforge.jp/gitroot/linuxjm/jm.git
74 7616130..5981012 master -> master
75 motoki@gemini:~/.../JM/jm.git (master)$ git push
76 Counting objects: 17, done.
77 Delta compression using up to 2 threads.
78 Compressing objects: 100% (9/9), done.
79 Writing objects: 100% (9/9), 1013 bytes, done.
80 Total 9 (delta 7), reused 0 (delta 0)
81 To ssh://amotoki@git.sourceforge.jp/gitroot/linuxjm/jm.git
82 7616130..5981012 master -> master