<!DOCTYPE html>
<html>
  <head>
  </head>
  <body>
    <dl style="line-height: 1.5; margin-left: 2em">
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Author</dt>
      <dd style="margin-left: 8.5em">HAYASHI Kentaro &lt;hayas****@clear*****&gt;</dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
      <dd style="margin-left: 8.5em">2016-04-28 13:04:08 +0900 (Thu, 28 Apr 2016)</dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">New Revision</dt>
      <dd style="margin-left: 8.5em"><a href="https://github.com/mroonga/mroonga/commit/d91823d5fd93947e4dbffb6708517b3a3979f73f">d91823d5fd93947e4dbffb6708517b3a3979f73f</a></dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Message</dt>
      <dd style="margin-left: 8.5em"><pre style="border: 1px solid #aaa; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; padding: 0.5em; width: auto">ubuntu: update regex pattern

There is a case that
http://packages.ubuntu.com/#{code_name}/allpackages?format=txt.gz
returns the following line:

  mysql-server-5.5 (5.5.49-0ubuntu0.12.04.1 [amd64, i386], 5.5.22-0ubuntu1
  [armhf, powerpc]) [security] MySQL database server binaries and system
  database setup

In the previous version, extracted version number is:

  5.5.49-0ubuntu0.12.04.1 [amd64, i386], 5.5.22-0ubuntu1 [armhf, powerpc]

It isn&#39;t what upload.rb expects. we want:

  5.5.49-0ubuntu0.12.04.1</pre></dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Modified files</dt>
      <dd style="margin-left: 8.5em">
        <ul>
          <li><a href="https://github.com/mroonga/mroonga/commit/d91823d5fd93947e4dbffb6708517b3a3979f73f#diff-3bc7e3aa13d8cdf9bc2c97c752d9e6a8">packages/ubuntu/upload.rb</a></li>
        </ul>
      </dd>
    </dl>

    <div class="diff-section" style="clear: both">
      <table style="border-collapse: collapse; border: 1px solid #aaa">
        <thead>
          <tr class="diff-header" style="border: 1px solid #aaa">
            <td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">  Modified: packages/ubuntu/upload.rb (+2 -2)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
            </td>
          </tr>
        </thead>
        <tbody>
          <tr>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/d91823d5fd93947e4dbffb6708517b3a3979f73f#diff-3bc7e3aa13d8cdf9bc2c97c752d9e6a8L84">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/d91823d5fd93947e4dbffb6708517b3a3979f73f#diff-3bc7e3aa13d8cdf9bc2c97c752d9e6a8L85">85</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/d91823d5fd93947e4dbffb6708517b3a3979f73f#diff-3bc7e3aa13d8cdf9bc2c97c752d9e6a8L86">86</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/d91823d5fd93947e4dbffb6708517b3a3979f73f#diff-3bc7e3aa13d8cdf9bc2c97c752d9e6a8L87">87</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/d91823d5fd93947e4dbffb6708517b3a3979f73f#diff-3bc7e3aa13d8cdf9bc2c97c752d9e6a8L88">88</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/d91823d5fd93947e4dbffb6708517b3a3979f73f#diff-3bc7e3aa13d8cdf9bc2c97c752d9e6a8L89">89</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/d91823d5fd93947e4dbffb6708517b3a3979f73f#diff-3bc7e3aa13d8cdf9bc2c97c752d9e6a8L90">90</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/d91823d5fd93947e4dbffb6708517b3a3979f73f#diff-3bc7e3aa13d8cdf9bc2c97c752d9e6a8L91">91</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/d91823d5fd93947e4dbffb6708517b3a3979f73f#diff-3bc7e3aa13d8cdf9bc2c97c752d9e6a8L92">92</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/d91823d5fd93947e4dbffb6708517b3a3979f73f#diff-3bc7e3aa13d8cdf9bc2c97c752d9e6a8L93">93</a></span>
</pre>
            </th>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/d91823d5fd93947e4dbffb6708517b3a3979f73f#diff-3bc7e3aa13d8cdf9bc2c97c752d9e6a8R84">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/d91823d5fd93947e4dbffb6708517b3a3979f73f#diff-3bc7e3aa13d8cdf9bc2c97c752d9e6a8R85">85</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/d91823d5fd93947e4dbffb6708517b3a3979f73f#diff-3bc7e3aa13d8cdf9bc2c97c752d9e6a8R86">86</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/d91823d5fd93947e4dbffb6708517b3a3979f73f#diff-3bc7e3aa13d8cdf9bc2c97c752d9e6a8R87">87</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/d91823d5fd93947e4dbffb6708517b3a3979f73f#diff-3bc7e3aa13d8cdf9bc2c97c752d9e6a8R88">88</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/d91823d5fd93947e4dbffb6708517b3a3979f73f#diff-3bc7e3aa13d8cdf9bc2c97c752d9e6a8R89">89</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/d91823d5fd93947e4dbffb6708517b3a3979f73f#diff-3bc7e3aa13d8cdf9bc2c97c752d9e6a8R90">90</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/d91823d5fd93947e4dbffb6708517b3a3979f73f#diff-3bc7e3aa13d8cdf9bc2c97c752d9e6a8R91">91</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/d91823d5fd93947e4dbffb6708517b3a3979f73f#diff-3bc7e3aa13d8cdf9bc2c97c752d9e6a8R92">92</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/d91823d5fd93947e4dbffb6708517b3a3979f73f#diff-3bc7e3aa13d8cdf9bc2c97c752d9e6a8R93">93</a></span>
</pre>
            </th>
            <td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -85,9 +85,9 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">allow_unsigned_uploads = 0</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">           case line</span>
<span class="diff-not-changed" style="display: block; white-space: pre">           when /\Amysql-server \((.+?)\)/</span>
<span class="diff-not-changed" style="display: block; white-space: pre">             @mysql_versions[code_name] = $1</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">-          when /\Amysql-server-5\.5 \((.+?)\<span class="diff-deleted-word" style="background-color: #f8cbcb; color: #000000">)</span>/</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+          when /\Amysql-server-5\.5 \((.+?)<span class="diff-added-word" style="background-color: #a6f3a6; color: #000000"> </span>\<span class="diff-added-word" style="background-color: #a6f3a6; color: #000000">[</span>/</span>
<span class="diff-not-changed" style="display: block; white-space: pre">             @mysql55_versions[code_name] = $1</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">-          when /\Amysql-server-5\.6 \((.+?)\<span class="diff-deleted-word" style="background-color: #f8cbcb; color: #000000">)</span>/</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+          when /\Amysql-server-5\.6 \((.+?)<span class="diff-added-word" style="background-color: #a6f3a6; color: #000000"> </span>\<span class="diff-added-word" style="background-color: #a6f3a6; color: #000000">[</span>/</span>
<span class="diff-not-changed" style="display: block; white-space: pre">             @mysql56_versions[code_name] = $1</span>
<span class="diff-not-changed" style="display: block; white-space: pre">           end</span>
<span class="diff-not-changed" style="display: block; white-space: pre">         end</span>
</pre>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>