Bazaarãè¨å®ãã ================== Bazaarã«ããªãã®ååãæãã ----------------------------- ãã¼ã¸ã§ã³ç®¡çã·ã¹ãã ã®æ©è½ã®1ã¤ã¯èª°ãä½ãå¤æ´ããã®ãã追跡ãããã¨ã§ãã åæ£åã®ã·ã¹ãã ã§ã¯ããã®æ©è½ãå®ç¾ããããã«ã°ãã¼ãã«ã«ã¦ãã¼ã¯ãª\ ããããã®èè ã®ããã®èå¥åãå¿ è¦ã§ãã 大æµã®äººã¯ãããã®1ã¤ãæã£ã¦ãã¾ã: Eã¡ã¼ã«ã¢ãã¬ã¹ã§ãã Bazaarã¯ããªãã®ã¦ã¼ã¶ã¼åã¨ãã¹ãåãæ¢ãåºãã¦Eã¡ã¼ã«ã¢ãã¬ã¹ãèªåçã«\ çæãã¾ãã Bazaarãè¡ãæ¨æ¸¬ãæã¾ãªãã®ã§ããã°ãããªããæãèå¥åãè¨å®ããããã« ``whoami`` ã³ãã³ãã使ãã¾ã:: % bzr whoami "Your Name <email@example.com>" ``whoami`` ã¯å¼æ°ãªãã§ä½¿ãããã¨ãç¾å¨ã®å¤ã表示ããã¾ãã .. Using a network proxy ãããã¯ã¼ã¯ããã¯ã·ã使ã --------------------------- ãããã¯ã¼ã¯ãå¤é¨ã¸ã®æ¥ç¶ã« HTTP ããã¯ã·ãå¿ è¦ã¨ããå ´åã ``http_proxy`` ã¨ããç°å¢å¤æ°ãè¨å®ããªããã°ãªãã¾ããã https æ¥ç¶ã«ãããã¯ã·ãå¿ è¦ãªãã ``https_proxy`` ãè¨å®ããªããã°ãªãã¾ããã ããã¯ã·ãå¿ è¦ãªã®ã«ãããã®ç°å¢å¤æ°ãè¨å®ããã¦ããªãå ´åã Launchpad ããã®ä»ã®å¤é¨ã®ãµã¼ãã¼ã¸ã®æ¥ç¶ãã§ããªãã£ããã¿ã¤ã ã¢ã¦ãããããã¾ãã Unix ã§ã¯ãããã¦ããããã®è¨å®ã¯ ``/etc/environment`` ã ``~/.bash_profile`` ã«æ¸ãã¦ã Windows ã§ã¯ããã¦ãã¦ã¼ã¶ã¼ãããã¡ã¤ã«ã§ è¨å®ãã¾ãã :: http_proxy=http://proxy.example.com:3128/ https_proxy=http://proxy.example.com:3128/ The ``no_proxy`` variable can be set to a comma-separated list of hosts which shouldn't be reached by the proxy. (See <http://docs.python.org/library/urllib.html> for more details.) ``no_proxy`` ã¨ããç°å¢å¤æ°ã«ãããã¯ã·ãå©ç¨ããªãã§å°éãããã¹ãåã® ãªã¹ããã«ã³ãåºåãã§è¨å®ã§ãã¾ãã (詳細㯠<http://docs.python.org/library/urllib.html> ãåç §ãã¦ãã ãã) .. Various ways to configure ãããããªè¨å®æ¹æ³ ------------------------- ä¸ã®ä¾ã§ç¤ºããããã« Bazaar ãè¨å®ããæ¹æ³ã¯ããããããã¾ããã å ¨ã¦ã«å ±éãã¦ããå±æ§ãããã¾ãããªãã·ã§ã³ã¯å ¨ã¦ä»¥ä¸ã®ããã« ãªã£ã¦ãã¾ãã - ååã¯æå¹ãª Python ã®èå¥åã§ãã - a value which is a string. In some cases, Bazaar will be able to recognize special values like 'True', 'False' to infer a boolean type, but basically, as a user, you will always specify a value as a string. - å¤ã¯æååã§ããããã¤ãã®å ´é¢ã§ã¯ãçå½å¤ãå¾ãããã« Bazaar 㯠`True`, `False` ã®ãããªç¹å¥ãªå¤ãèªèãã¾ãããåºæ¬çã«ã¯ã¦ã¼ã¶ã¼ã¯å¤ã¨ã㦠ãã ã®æååã渡ãã¾ãã ãªãã·ã§ã³ã¯ã³ã³ããã¹ãã«ãã£ã¦ã°ã«ã¼ãåããã¦ããããªãã·ã§ã³å㯠ãã®ã³ã³ããã¹ãå ã§ã¯ã¦ãã¼ã¯ã«èå¥ãããã¨ãã§ãã¾ãã å¿ è¦ãªå ´åããªãã·ã§ã³ã¯è¨å®ãã¡ã¤ã«ã«ä¿åããæ°¸ç¶åããã¾ãã è¨å®ãã¡ã¤ã« ------------- è¨å®ãã¡ã¤ã«ã¯ Unix ã®å ´å ``$HOME/.bazaar`` ã«ã Windows ã®å ´å ``C:\Documents and Settings\<username>\Application Data\Bazaar\2.0`` ã«ããã¾ãã ãã®å ´æã«ã¯3ã¤ã®ä¸»è¦ãªè¨å®ãã¡ã¤ã«ãããã¾ã: * ``bazaar.conf`` ã¯ããã©ã«ãã®è¨å®ãªãã·ã§ã³ãè¨è¿°ãã¾ãã * ``locations.conf`` ã¯ç¹å®ã®ãã©ã³ãã®ä½ç½®ãè¨è¿°ãã¾ãd * ``authentication.conf`` ã¯ãªã¢ã¼ããµã¼ãã¼ã®ããã®ã¯ã¬ãã³ã·ã£ã«ãªæ å ±ãè¨è¿°ãã¾ã ããããã®ãã©ã³ããç¹å®ã®å¤ããã®ãã©ã³ãã«è¨å®ããè¨å®ãã¡ã¤ã«ãå«ã¿ã¾ãã ãã®ãã¡ã¤ã«ã¯ãã©ã³ãã®ä¸ã® ``.bzr/branch/branch.conf`` ã§è¦ã¤ããã¾ãã ãã®ãã¡ã¤ã«ã¯ **ãã©ã³ãã®ãã¹ã¦ã®ã¦ã¼ã¶ã¼** ã«è¦ãã¾ãã ããªãã«åºæã®è¨å®ãæã¤ãã©ã³ãã®ããã®å¤ã®1ã¤ãä¸æ¸ããããã®ã§ããã°ã ``locations.conf`` ã§ãããè¡ããã¨ãã§ãã¾ãã ``whoami`` ã³ãã³ãã使ç¨ãã¦Eã¡ã¼ã«ã¢ãã¬ã¹ãè¨å®ããå¾ã® ``bazaar.conf`` ã®å 容ã®ãµã³ãã«ã¯æ¬¡ã®ã¨ããã§ã:: [DEFAULT] email = Your Name <email@example.com> ãµãã¼ããããæ§æã¨æ§æè¨å®ã®è©³ç´°ã«ã¤ãã¦ã¯ã Bazaar ã®ã¦ã¼ã¶ã¼ãªãã¡ã¬ã³ã¹ã® `æ§æè¨å® <../user-reference/index.html#configuration-settings>`_ ã®é ç®ãåç §ãã¦ãã ããã .. Looking at the active configuration ã¢ã¯ãã£ããªè¨å®ã確èªãã ----------------------------------- ç¾å¨å®ç¾©ããã¦ããå ¨ã¦ã®ãªãã·ã§ã³ã確èªããã«ã¯ã次ã®ã³ãã³ããå®è¡ãã¾ãã :: bzr config ``bzr`` ã¯è¨å®ãªãã·ã§ã³ãã©ãããåå¾ãããã決å®ããããã®ããã¤ãã®ã«ã¼ã«ã æã£ã¦ãã¾ãã ç¾å¨ã®ããªã·ã¼ã§ã¯ã以ä¸ã®é åºã§ãããããå®ç¾©ãè¨å®ãã¡ã¤ã«ããæ¢ãã¾ãã * æåã« ``location.conf`` ã®ä¸ã®ãã»ã¯ã·ã§ã³åãå ´æ(ä½æ¥ããªã¼ããã©ã³ãã ãªã¢ã¼ããã©ã³ã)ã«ãããããã»ã¯ã·ã§ã³ãæ¢ããã¾ãã * 次ã«ç¾å¨ã® ``branch.conf`` ãæ¢ããã¾ãã * 次㫠``bazaar.conf`` ãæ¢ããã¾ãã * æå¾ã«ãããã¤ãã®ãªãã·ã§ã³ã¯ã³ã¼ãä¸ã§å®ç¾©ãããããã©ã«ãå¤ãè¨å®ããã ãã®è¨å®ã¯ ``bzr config`` ã«ã¯è¡¨ç¤ºããã¾ããã (`æ§æè¨å® <../user-reference/index.html#configuration-settings>`_ ãåç §ãã¦ãã ããã) ãã®åä½ã¯ã ``bzr config`` ãå¼æ°ãªãã§å®è¡ããã¨ç解ããããã¯ãã§ãã ãã®ã³ãã³ããå®è¡ããã¨æ¬¡ã®ãããªè¡¨ç¤ºããã¾ãã :: locations: post_commit_to = commits@example.com news_merge_files = NEWS branch: parent_location = bzr+ssh://bazaar.launchpad.net/+branch/bzr/ nickname = config-modify push_location = bzr+ssh://bazaar.launchpad.net/~vila/bzr/config-modify/ bazaar: debug_flags = hpss, åãªãã·ã§ã³å®ç¾©ã®ã°ã«ã¼ãã®åã«è¡¨ç¤ºããã¦ããã¹ã³ã¼ããã ãã®ãªãã·ã§ã³ãå®ç¾©ãã¦ããæ§æè¨å®ãã¡ã¤ã«ã表ãã¦ãã¾ãã .. _modifying-the-active-configuration: æå¹ãªè¨å®ãå¤æ´ãã ---------------------------------- ãªãã·ã§ã³ã«å¤ãè¨å®ããã«ã¯:: bzr config opt=value ãªãã·ã§ã³ã®å©ç¨ãæ¢ããã«ã¯:: bzr config --remove opt ã«ã¼ã«ãã¼ã¹ã®ããªãã¡ã¬ã³ã¹ ----------------------------- ããã¤ãã®ã³ãã³ãã¨ãã©ã°ã¤ã³ã¯ç¹å®ã®ãã¿ã¼ã³ã«ããããããã¡ã¤ã«ã®ã«ã¹ã¿ã ã®å¦çæ©è½ãæä¾ãã¾ãã ã¦ã¼ã¶ã¼ãã¨ã«ã«ã¼ã«ãã¼ã¹ã®ããªãã¡ã¬ã³ã¹ã ``BZR_HOME/rules`` ã§å®ç¾©ããã¾ãã ã«ã¼ã«ãæ¤ç´¢ãããæ¤ç´¢æ¹æ³ã¨é¢é£ãã¡ã¤ã«ã®è©³ç´°ãªæ§æã«é¢ãã詳細ã«ã¤ãã¦ã¯ã Bazaarã®ã¦ã¼ã¶ã¼ããªãã¡ã¬ã³ã¹ã® `ã«ã¼ã« <../user-reference/index.html#rules>`_ ã®é ç®ãåç §ãã¦ãã ããã .. _escaping-command-lines: ã³ãã³ãã©ã¤ã³ã®ã¨ã¹ã±ã¼ã -------------------------------- è¨å®ãã¡ã¤ã«ã®ä¸ã«ããã°ã©ã åãã³ãã³ãã©ã¤ã³ãè¨è¿°ããå ´åãç¹æ®ãªæåã ã¹ãã¼ã¹ããã®ä¸ã«å«ããããã«ã¯ã©ã¼ããããã¨ãã§ãã¾ãã åãã«ã¼ã«ãå ¨ã¦ã®ãã©ãããã©ã¼ã ã§æå¹ã§ãã ãã®ã«ã¼ã«ã¨ã¯ãããã«ã¯ã©ã¼ãã§å²ã¾ããæååã¯ã¹ãã¼ã¹ãå«ã¾ãã¦ããã¨ãã¦ã 1ã¤ã®ãèªãã¨ãã¦èªèãããã¯ã©ã¼ãæåãã¯ã©ã¼ãã®ä¸ã«å«ããããã«ããã¯ã¹ã©ãã·ã¥ (訳注: æ¥æ¬èªç°å¢ã§ã¯å¤ãã®å ´åããã¯ã¹ã©ãã·ã¥ã§ã¯ãªãåè¨å·(ASCIIæåã®0x5c)ã§ã) ã使ãã¾ããä¾ãã°:: BZR_EDITOR="C:\Program Files\My Editor\myeditor.exe"