~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to doc/ja/mini-tutorial/index.txt

Add bzrlib.pyutils, which has get_named_object, a wrapper around __import__.

This is used to replace various ad hoc implementations of the same logic,
notably the version used in registry's _LazyObjectGetter which had a bug when
getting a module without also getting a member.  And of course, this new
function has unit tests, unlike the replaced code.

This also adds a KnownHooksRegistry subclass to provide a more natural home for
some other logic.

I'm not thrilled about the name of the new module or the new functions, but it's
hard to think of good names for such generic functionality.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
別のプラットフォームとソースコードからインストールする方法に関しては、 ダウンロード_
30
30
と インストール方法_ のページを参照してください。
31
31
 
32
 
.. _Windowsのためのインストールの手引き: http://bazaar-vcs.org/WindowsDownloads
33
 
.. _Mac OS Xのためのインストールの手引き: http://bazaar-vcs.org/MacOSXBundle
34
 
.. _ダウンロード: http://bazaar-vcs.org/Download
35
 
.. _インストール方法: http://bazaar-vcs.org/InstallationFaq
 
32
.. _Windowsのためのインストールの手引き: http://wiki.bazaar.canonical.com/WindowsDownloads
 
33
.. _Mac OS Xのためのインストールの手引き: http://wiki.bazaar.canonical.com/MacOSXBundle
 
34
.. _ダウンロード: http://wiki.bazaar.canonical.com/Download
 
35
.. _インストール方法: http://wiki.bazaar.canonical.com/InstallationFaq
36
36
 
37
37
 
38
38
まずは自己紹介
74
74
何も起きていないように見えても心配しないでください。
75
75
Bazaarはファイルとリビジョンの履歴を保存する branch_ を作りました。
76
76
 
77
 
.. _branch: http://bazaar-vcs.org/Branch
 
77
.. _branch: http://wiki.bazaar.canonical.com/Branch
78
78
 
79
79
次のステップはBazaarに管理して欲しいファイルを教えることです。
80
80
``bzr add`` を実行するとすべてのディレクトリとファイルがプロジェクトに\
166
166
 $ bzr branch http://www.example.com/myproject
167
167
 
168
168
**注:** sftpを使うためには、 ``paramiko`` と ``pyCrypto`` をインストールする必要があります。
169
 
詳細は http://bazaar-vcs.org/InstallationFaq を参照してください。
 
169
詳細は http://wiki.bazaar.canonical.com/InstallationFaq を参照してください。
170
170
 
171
171
 
172
172
Launchpadでブランチを公開する