]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
no bug - bump Alien::libcmark_gfm
authorDylan William Hardison <dylan@hardison.net>
Wed, 19 Sep 2018 18:16:49 +0000 (14:16 -0400)
committerGitHub <noreply@github.com>
Wed, 19 Sep 2018 18:16:49 +0000 (14:16 -0400)
.circleci/config.yml
Bugzilla/Markdown/GFM.pm
Dockerfile
Makefile.PL
t/markdown.t

index f64524c80b3a0eb268843583f87578019337b78b..224abfa22ad7e6adf03fb3df4a2035a69f0eb04a 100644 (file)
@@ -7,7 +7,7 @@ version: 2
 
 defaults:
   bmo_slim_image: &bmo_slim_image
-    image: mozillabteam/bmo-slim:20180809.1
+    image: mozillabteam/bmo-slim:20180918.1
     user: app
 
   mysql_image: &mysql_image
index f3f24fc6ac22d06f30861e81423b8dbd8384db6f..367dc7a53e68ce2a2342b1646a0daa8e124dbd9a 100644 (file)
@@ -69,9 +69,9 @@ $FFI->attach(cmark_markdown_to_html => ['opaque', 'int', 'markdown_options_t'] =
 );
 
 # This has to happen after something from the main lib is loaded
-$FFI->attach('core_extensions_ensure_registered' => [] => 'void');
+$FFI->attach('cmark_gfm_core_extensions_ensure_registered' => [] => 'void');
 
-core_extensions_ensure_registered();
+cmark_gfm_core_extensions_ensure_registered();
 
 Bugzilla::Markdown::GFM::SyntaxExtension->SETUP($FFI);
 Bugzilla::Markdown::GFM::SyntaxExtensionList->SETUP($FFI);
index fd02f222daf1de6b7933ac82569aa47bf084e0fa..ecea67ed7135704d517bdaa5a34cb04f03ad6b03 100644 (file)
@@ -1,4 +1,4 @@
-FROM mozillabteam/bmo-slim:20180809.1
+FROM mozillabteam/bmo-slim:20180918.1
 
 ARG CI
 ARG CIRCLE_SHA1
@@ -22,7 +22,6 @@ RUN mv /opt/bmo/local /app && \
     chown -R app:app /app && \
     perl -I/app -I/app/local/lib/perl5 -c -E 'use Bugzilla; BEGIN { Bugzilla->extensions }' && \
     perl -c /app/scripts/entrypoint.pl && \
-    setcap 'cap_net_bind_service=+ep' /usr/sbin/httpd && \
     setcap 'cap_net_bind_service=+ep' /usr/bin/perl
 
 USER app
index 7e3095867ced09d2b9fb11701aa2f9e2149590d0..495c07c58218e66574d3149b2286cccc06bf2b98 100755 (executable)
@@ -33,7 +33,7 @@ BEGIN {
 
 # PREREQ_PM
 my %requires = (
-    'Alien::libcmark_gfm'      => 0,
+    'Alien::libcmark_gfm'      => '3',
     'Algorithm::BloomFilter'   => '0.02',
     'CGI'                      => '4.31',
     'CGI::Compile'             => 0,
index 0344706c9de1ddae0e178dd5ab70fd894d87594c..83e0dc0516df5770848296328625511140951aa4 100644 (file)
@@ -9,7 +9,7 @@ use strict;
 use warnings;
 use lib qw( . lib local/lib/perl5 );
 use Bugzilla;
-use Test::More;
+use Test2::V0;
 
 my $parser = Bugzilla->markdown_parser;
 
@@ -61,7 +61,9 @@ my $table_html = <<'HTML';
 <tr>
 <td>val1</td>
 <td align="center">val2</td>
-</tr></tbody></table>
+</tr>
+</tbody>
+</table>
 HTML
 
 is(