~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to doc/ja/user-guide/writing_a_plugin.txt

  • Committer: Richard Wilbur
  • Date: 2016-02-04 19:07:28 UTC
  • mto: This revision was merged to the branch mainline in revision 6618.
  • Revision ID: richard.wilbur@gmail.com-20160204190728-p0zvfii6zase0fw7
Update COPYING.txt from the original http://www.gnu.org/licenses/gpl-2.0.txt  (Only differences were in whitespace.)  Thanks to Petr Stodulka for pointing out the discrepancy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
``bzrlib.commands.register_command(cmd_foo)`` でコマンドを登録しなければなりません。
28
28
さもなければbzrはコマンドを見つけることはありません。
29
29
 
 
30
.. _installing-a-hook:
 
31
 
 
32
フックをインストールする
 
33
-------------------------
 
34
 
 
35
`Using hooks`_ を参照してください。
 
36
 
 
37
.. _Using hooks: hooks.txt
 
38
 
 
39
 
30
40
.. _specifying-a-plugin-version-number:
31
41
 
32
42
プラグインのバージョン番号を指定する
41
51
プラグインの検索ルール
42
52
------------------------
43
53
 
44
 
デフォルトではbzrはプラグインを見つけるために ``bzrlib/plugins`` と ``~/.bazaar/plugins`` をスキャンします。
 
54
デフォルトではbzrはプラグインを見つけるために ``~/.bazaar/plugins`` と
 
55
``bzrlib/plugins`` をスキャンします。
45
56
``BZR_PLUGIN_PATH`` でこれを上書きできます。
 
57
(詳細は、
 
58
`ユーザーリファレンス <../user-reference/configuration-help.html#bzr-plugin-path>`_
 
59
を参照してください。)
 
60
 
46
61
プラグインはモジュールもしくはパッケージの形態をとることができます。
47
62
プラグインが単独のファイルであれば、構造をモジュールにできます。
48
63
プラグインが複数のファイルを持つ場合やbzrのブランチとして配布したい場合は、