[DRE-commits] [gitlab] 01/01: New patch to fix error 500 on runners page (Closes: #819903).

Dmitry Smirnov onlyjob at moszumanska.debian.org
Mon Aug 8 06:18:53 UTC 2016


This is an automated email from the git hooks/post-receive script.

onlyjob pushed a commit to branch master
in repository gitlab.

commit 49de153 (HEAD, master)
Author: Dmitry Smirnov <onlyjob at member.fsf.org>
Date:   Mon Aug 8 06:17:21 2016

    New patch to fix error 500 on runners page (Closes: #819903).
    
     Thanks, Libor Klepáč.
---
 debian/patches/runners.patch | 39 +++++++++++++++++++++++++++++++++++++++
 debian/patches/series        |  1 +
 2 files changed, 40 insertions(+)

diff --git a/debian/patches/runners.patch b/debian/patches/runners.patch
new file mode 100644
index 0000000..7016af4
--- /dev/null
+++ b/debian/patches/runners.patch
@@ -0,0 +1,39 @@
+Last-Update: 2016-08-08
+Forwarded: no
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=819903
+Author: Libor Klepáč <libor.klepac at bcom.cz>
+Reviewed-By: Dmitry Smirnov <onlyjob at debian.org>
+Description: fix error 500 on runners page.
+ "ActionView::Template::Error (Missing partial kaminari/_paginator"
+
+--- a/app/views/admin/runners/index.html.haml
++++ b/app/views/admin/runners/index.html.haml
+@@ -69,5 +69,5 @@
+           %th
+ 
+       - @runners.each do |runner|
+         = render "admin/runners/runner", runner: runner
+-  = paginate @runners
++  = paginate @runners, theme: "gitlab"
+--- a/app/views/admin/runners/show.html.haml
++++ b/app/views/admin/runners/show.html.haml
+@@ -66,9 +66,9 @@
+             .pull-right
+               = form_for [:admin, project.namespace.becomes(Namespace), project, project.runner_projects.new] do |f|
+                 = f.hidden_field :runner_id, value: @runner.id
+                 = f.submit 'Enable', class: 'btn btn-xs'
+-    = paginate @projects
++    = paginate @projects, theme: "gitlab"
+ 
+   .col-md-6
+     %h4 Recent builds served by this runner
+     %table.table.builds.runner-builds
+--- a/app/views/projects/runners/_specific_runners.html.haml
++++ b/app/views/projects/runners/_specific_runners.html.haml
+@@ -25,5 +25,5 @@
+ - if @assignable_runners.any?
+   %h4.underlined-title Available specific runners
+   %ul.bordered-list.available-specific-runners
+     = render partial: 'runner', collection: @assignable_runners, as: :runner
+-  = paginate @assignable_runners
++  = paginate @assignable_runners, theme: "gitlab"
diff --git a/debian/patches/series b/debian/patches/series
index 444142d..92d4c9e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -8,6 +8,7 @@
 0108-make-mysql-optional.patch
 source-init-functions.patch
 pid-log-paths.patch
+runners.patch
 0200-use-jquery-for-jquery2.patch
 052-relax-grape.patch
 053-relax-rouge.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/gitlab.git



More information about the Pkg-ruby-extras-commits mailing list