Sophie

Sophie

distrib > Mageia > 7 > aarch64 > by-pkgid > 7e647d9940d31b34c253e6f71c416c4b > files > 3491

bzr-2.7.0-6.mga7.aarch64.rpm


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" lang="ja">
  <head>
    <meta http-equiv="X-UA-Compatible" content="IE=Edge" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Eメールを設定する &#8212; Bazaar 2.7.0 ドキュメント</title>
    <link rel="stylesheet" href="../_static/classic.css" type="text/css" />
    <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
    
    <script type="text/javascript" id="documentation_options" data-url_root="../" src="../_static/documentation_options.js"></script>
    <script type="text/javascript" src="../_static/jquery.js"></script>
    <script type="text/javascript" src="../_static/underscore.js"></script>
    <script type="text/javascript" src="../_static/doctools.js"></script>
    <script type="text/javascript" src="../_static/language_data.js"></script>
    <script type="text/javascript" src="../_static/translations.js"></script>
    
    <link rel="shortcut icon" href="../_static/bzr.ico"/>
    <link rel="search" title="検索" href="../search.html" />
    <link rel="next" title="Apache を使って Bazaar サーバーをたてる" href="http_smart_server.html" />
    <link rel="prev" title="共用レポジトリのレイアウト" href="shared_repository_layouts.html" /> 
  </head><body>
    <div class="related" role="navigation" aria-label="related navigation">
      <h3>ナビゲーション</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="http_smart_server.html" title="Apache を使って Bazaar サーバーをたてる"
             accesskey="N">次へ</a></li>
        <li class="right" >
          <a href="shared_repository_layouts.html" title="共用レポジトリのレイアウト"
             accesskey="P">前へ</a> |</li>
        <li class="nav-item nav-item-0"><a href="../index.html">目次 (2.7.0)</a> &#187;</li>
          <li class="nav-item nav-item-1"><a href="index.html" accesskey="U">Bazaarユーザーガイド</a> &#187;</li> 
      </ul>
    </div>  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body" role="main">
            
  <div class="section" id="e">
<h1>Eメールを設定する<a class="headerlink" href="#e" title="このヘッドラインへのパーマリンク">¶</a></h1>
<div class="section" id="bazaare">
<h2>なぜBazaarでEメールアドレスをセットアップするのか?<a class="headerlink" href="#bazaare" title="このヘッドラインへのパーマリンク">¶</a></h2>
<p>リビジョンが作成されたとき誰がどのリビジョンをコミットしたのかわかるように
Bazaarは指定されたEメールアドレスをリビジョンに保存します。
Eメールアドレスは検証されないので、それゆえ 偽造できるので、プロジェクトに関わる人々を信用しなければなりません。</p>
<p>加えて、リビジョンのEメールアドレスはクレジットかつ/もしくは注釈に関してリビジョンの筆者とコンタクトをとる別の方法を提供します。</p>
</div>
<div class="section" id="id1">
<h2>Eメールアドレスをセットアップする方法<a class="headerlink" href="#id1" title="このヘッドラインへのパーマリンク">¶</a></h2>
<p>Eメールアドレスが設定されていない場合、Bazaarはユーザー名とホスト名に基づいて推測を試みます。
これは望む状況ではないかもしれないので、Bazaarに使うメールを伝える方法は3つ存在します:</p>
<p>いくつかの設定ファイルの1つにEメールを設定できます。
他の設定値のように、 <code class="docutils literal notranslate"><span class="pre">bazaar.conf</span></code> で一般的な設定として設定できます。
特定のブランチ、もしくは複数のブランチの一式用に値を上書きしたい場合、 <code class="docutils literal notranslate"><span class="pre">locations.conf</span></code> を利用できます。
<code class="docutils literal notranslate"><span class="pre">.bzr/branch/branch.conf</span></code> も動作しますが、
他の人であってもそのブランチへのすべてのコミットで同じEメールアドレスが使われます。</p>
<p>優先順位は</p>
<blockquote>
<div><ol class="arabic simple">
<li><code class="docutils literal notranslate"><span class="pre">BZR_EMAIL</span></code> 環境変数が設定されている場合</li>
<li>Eメールが現在のブランチの <code class="docutils literal notranslate"><span class="pre">locations.conf</span></code> ファイルに対して設定されている場合。</li>
<li>Eメールが現在のブランチの <code class="docutils literal notranslate"><span class="pre">.bzr/branch/branch.conf</span></code> ファイルに設定されている場合。</li>
<li>Eメールがデフォルトの <code class="docutils literal notranslate"><span class="pre">bazaar.conf</span></code> 設定ファイルで設定されている場合。</li>
<li><cite>EMAIL</cite> 環境変数が設定されている場合</li>
<li>Bazaarはユーザー名とホスト名から推測しようとします。</li>
</ol>
</div></blockquote>
<p>Bazaarが現在のEメールと考えるものを確認するには、 <code class="docutils literal notranslate"><span class="pre">whoami</span></code> (&quot;who am i?&quot;) コマンドを使います:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="o">%</span> <span class="n">bzr</span> <span class="n">whoami</span>
<span class="n">Joe</span> <span class="n">Cool</span> <span class="o">&lt;</span><span class="n">joe</span><span class="nd">@example</span><span class="o">.</span><span class="n">com</span><span class="o">&gt;</span>
</pre></div>
</div>
</div>
<div class="section" id="whoami-e">
<h2>'whoami'コマンドでEメールを設定する<a class="headerlink" href="#whoami-e" title="このヘッドラインへのパーマリンク">¶</a></h2>
<p>Eメールをグローバルに設定するにはwhoamiコマンドを使用します:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="o">%</span> <span class="n">bzr</span> <span class="n">whoami</span> <span class="s2">&quot;Joe Cool &lt;joe@example.com&gt;&quot;</span>
</pre></div>
</div>
<p>もしくは現在のブランチのみの場合:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="o">%</span> <span class="n">bzr</span> <span class="n">whoami</span> <span class="o">--</span><span class="n">branch</span> <span class="s2">&quot;Joe Cool &lt;joe@example.com&gt;&quot;</span>
</pre></div>
</div>
<p>これらのコマンドによってグローバルな <code class="docutils literal notranslate"><span class="pre">bazaar.conf</span></code> もしくはブランチの <code class="docutils literal notranslate"><span class="pre">branch.conf</span></code> ファイルがそれぞれ修正されます。</p>
</div>
<div class="section" id="id2">
<h2>デフォルトの設定ファイルでEメールを設定する<a class="headerlink" href="#id2" title="このヘッドラインへのパーマリンク">¶</a></h2>
<p>デフォルトのiniファイルを使うには、 <code class="docutils literal notranslate"><span class="pre">bazaar.conf</span></code> ファイル
(Unix では <code class="docutils literal notranslate"><span class="pre">~/.bazaar/</span></code> 、Windowsでは <code class="docutils literal notranslate"><span class="pre">%APPDATA%\bazaar\2.0\</span></code> )を作成し編集して
下記で示すようにEメールアドレスを設定します。
DEFAULTは大文字と個別を区別して、大文字でなければならないことに注意をお願いします。</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="p">[</span><span class="n">DEFAULT</span><span class="p">]</span>
<span class="n">email</span><span class="o">=</span><span class="n">Your</span> <span class="n">Name</span> <span class="o">&lt;</span><span class="n">name</span><span class="nd">@isp</span><span class="o">.</span><span class="n">com</span><span class="o">&gt;</span>
</pre></div>
</div>
<p>iniファイルのフォーマットの詳細情報に関しては、Bazaarユーザーリファレンスの
<a class="reference external" href="../user-reference/index.html#configuration-settings">構成設定</a> を参照してください。</p>
</div>
<div class="section" id="id4">
<h2>ブランチ単位でEメールを設定する<a class="headerlink" href="#id4" title="このヘッドラインへのパーマリンク">¶</a></h2>
<p>2番目のアプローチは <code class="docutils literal notranslate"><span class="pre">locations.conf</span></code> 設定ファイルを使用してブランチごとにEメールを設定する方法です:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="p">[</span><span class="o">/</span><span class="n">some</span><span class="o">/</span><span class="n">branch</span><span class="o">/</span><span class="n">location</span><span class="p">]</span>
<span class="n">email</span><span class="o">=</span><span class="n">Your</span> <span class="n">Name</span> <span class="o">&lt;</span><span class="n">name</span><span class="nd">@other</span><span class="o">-</span><span class="n">isp</span><span class="o">.</span><span class="n">com</span><span class="o">&gt;</span>
</pre></div>
</div>
<p>これによってブランチのEメールアドレスは <code class="docutils literal notranslate"><span class="pre">/some/branch/location</span></code> に設定され、
上記の <code class="docutils literal notranslate"><span class="pre">bazaar.conf</span></code> で指定されたデフォルトの値を上書きします。</p>
</div>
<div class="section" id="id5">
<h2>環境変数を通してEメールを設定する<a class="headerlink" href="#id5" title="このヘッドラインへのパーマリンク">¶</a></h2>
<p>Bazaarが利用する最後の方法は <code class="docutils literal notranslate"><span class="pre">BZR_EMAIL</span></code> と <code class="docutils literal notranslate"><span class="pre">EMAIL</span></code> 環境変数 に対するチェックです。
一般的に、スクリプトのコンテキストでEメールを上書きするためにこの方法を利用できます。
一般的なデフォルトの値に設定したい場合、上記のiniの方法を参照して下さるようお願いします。</p>
</div>
<div class="section" id="id6">
<h2>スパムに関する懸念事項<a class="headerlink" href="#id6" title="このヘッドラインへのパーマリンク">¶</a></h2>
<p>スパムの標的にされないようにEメールアドレスを共有したくない人達がいます。
公開された場所で自分でブランチもしくはチェンジセットを公開しない限り、BazaarはけっしてEメールアドレスを露出しません。
他の人があなたに作業内容に関して連絡できるように実際のアドレスを使うことを <em>強く</em> お勧めしますが、必須ではありません。
メールアドレスは難読にしたり、宛先がわからず戻ってくるようにする、もしくは <cite>spamgourmet.cm</cite> のような
アンチスパムサービスの検査をうけさせたりします。</p>
</div>
</div>


          </div>
        </div>
      </div>
      <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
        <div class="sphinxsidebarwrapper">
  <h3><a href="../index.html">Table of Contents</a></h3>
  <ul>
<li><a class="reference internal" href="#">Eメールを設定する</a><ul>
<li><a class="reference internal" href="#bazaare">なぜBazaarでEメールアドレスをセットアップするのか?</a></li>
<li><a class="reference internal" href="#id1">Eメールアドレスをセットアップする方法</a></li>
<li><a class="reference internal" href="#whoami-e">'whoami'コマンドでEメールを設定する</a></li>
<li><a class="reference internal" href="#id2">デフォルトの設定ファイルでEメールを設定する</a></li>
<li><a class="reference internal" href="#id4">ブランチ単位でEメールを設定する</a></li>
<li><a class="reference internal" href="#id5">環境変数を通してEメールを設定する</a></li>
<li><a class="reference internal" href="#id6">スパムに関する懸念事項</a></li>
</ul>
</li>
</ul>

  <h4>前のトピックへ</h4>
  <p class="topless"><a href="shared_repository_layouts.html"
                        title="前の章へ">共用レポジトリのレイアウト</a></p>
  <h4>次のトピックへ</h4>
  <p class="topless"><a href="http_smart_server.html"
                        title="次の章へ">Apache を使って Bazaar サーバーをたてる</a></p>
  <div role="note" aria-label="source link">
    <h3>このページ</h3>
    <ul class="this-page-menu">
      <li><a href="../_sources/user-guide/setting_up_email.txt"
            rel="nofollow">ソースコードを表示</a></li>
    </ul>
   </div>
<div id="searchbox" style="display: none" role="search">
  <h3>クイック検索</h3>
    <div class="searchformwrapper">
    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" />
      <input type="submit" value="検索" />
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>
    </div>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="related" role="navigation" aria-label="related navigation">
      <h3>ナビゲーション</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="http_smart_server.html" title="Apache を使って Bazaar サーバーをたてる"
             >次へ</a></li>
        <li class="right" >
          <a href="shared_repository_layouts.html" title="共用レポジトリのレイアウト"
             >前へ</a> |</li>
        <li class="nav-item nav-item-0"><a href="../index.html">目次 (2.7.0)</a> &#187;</li>
          <li class="nav-item nav-item-1"><a href="index.html" >Bazaarユーザーガイド</a> &#187;</li> 
      </ul>
    </div>
    <div class="footer" role="contentinfo">
        &#169; Copyright 2009-2011 Canonical Ltd.
      このドキュメントは <a href="http://sphinx-doc.org/">Sphinx</a> 1.8.4 で生成しました。
    </div>
  </body>
</html>