<html>#2395: add --no-parallel option to GetComponents
<table style='border-spacing: 1ex 0pt; '>
<tr><td style='text-align:right'> Reporter:</td><td>Roland Haas</td></tr>
<tr><td style='text-align:right'> Status:</td><td>new</td></tr>
<tr><td style='text-align:right'>Milestone:</td><td></td></tr>
<tr><td style='text-align:right'> Version:</td><td></td></tr>
<tr><td style='text-align:right'> Type:</td><td>enhancement</td></tr>
<tr><td style='text-align:right'> Priority:</td><td>minor</td></tr>
<tr><td style='text-align:right'>Component:</td><td>GetComponents</td></tr>
</table>
<p>GetComponents will use parallel checkouts by if the required Perl modules are present. making the <code>--parallel</code> option (mostly) unnecessary. However there is no <code>--no-parallel</code> option that would allow one to disable parallel checkouts if those do not work for other reasons (server banning the client for example).</p>
<p>This patch:</p>
<div class="codehilite language-diff"><pre><span></span><span class="gd">--- GetComponents.orig 2020-05-20 19:09:00.499139670 -0500</span>
<span class="gi">+++ GetComponents.new 2020-05-20 19:05:52.574185777 -0500</span>
<span class="gu">@@ -148,7 +148,7 @@</span>
'experimental' => \$EXPERIMENTAL,
'status' => \$STATUS,
'diff' => \$DIFF,
<span class="gd">- 'parallel' => \$PARALLEL,</span>
<span class="gi">+ 'parallel!' => \$PARALLEL,</span>
'shallow!' => \$SHALLOW_CLONE,
'reset-authentication' => sub { system("rm $crl_dir/users") }
) or pod2usage(2);
<span class="gu">@@ -2759,7 +2759,7 @@</span>
--debug print all commands to be executed and exit
<span class="gd">- --parallel checkout/update components in parallel</span>
<span class="gi">+ --[no]parallel checkout/update components in parallel</span>
--anonymous use anonymous checkout for all components
</pre></div>
<p></p>
<p>--<br/>
Ticket URL: <a href='https://bitbucket.org/einsteintoolkit/tickets/issues/2395/add-no-parallel-option-to-getcomponents'>https://bitbucket.org/einsteintoolkit/tickets/issues/2395/add-no-parallel-option-to-getcomponents</a></p>
</html>