Changeset 126058 for trunk/doc-new


Ignore:
Timestamp:
Oct 3, 2014, 1:38:30 AM (4 years ago)
Author:
khindenburg@…
Message:

guide: add info about using fetch type of bzr #25391

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc-new/guide/xml/portfile-phase.xml

    r126039 r126058  
    643643      <title>Fetch from BZR</title>
    644644
     645      <para><ulink url="http://bazaar.canonical.com/en/">Bzr</ulink> may be used as
     646      an alternative method of fetching distribution files using the keywords
     647      in this section. However, fetching via bzr may cause non-reproducible
     648      builds, so it is strongly discouraged.</para>
     649
     650      <para>The <option>bzr</option> <link
     651      linkend="reference.phases.fetch.advanced.fetch-type">fetch.type</link>
     652      is used to fetch source code from a bzr repository.</para>
     653
     654      <variablelist>
     655        <varlistentry>
     656          <term>bzr.url</term>
     657
     658          <listitem>
     659            <para>This specifies the url from which to fetch files.</para>
     660
     661            <itemizedlist>
     662              <listitem>
     663                <para>Default: none</para>
     664              </listitem>
     665
     666              <listitem>
     667                <para>Examples:</para>
     668
     669                <programlisting>bzr.url             lp:inkscape</programlisting>
     670
     671                <programlisting>bzr.url             lp:~callelejdfors/pycg/trunk</programlisting>
     672              </listitem>
     673            </itemizedlist>
     674          </listitem>
     675        </varlistentry>
     676
     677        <varlistentry>
     678          <term>bzr.revision</term>
     679
     680          <listitem>
     681            <para>Optional tag for fetching with bzr, this specifies
     682            the revision to checkout</para>
     683
     684            <itemizedlist>
     685              <listitem>
     686                <para>Default: -1 (the last committed revision)</para>
     687              </listitem>
     688
     689              <listitem>
     690                <para>Example:</para>
     691
     692                <programlisting>bzr.revision          2209</programlisting>
     693              </listitem>
     694            </itemizedlist>
     695          </listitem>
     696        </varlistentry>
     697      </variablelist>
    645698    </section>
    646699
Note: See TracChangeset for help on using the changeset viewer.