[ARVADOS] updated: e28dffcdee490a7da674f69d4b9d5cec086f8c41

git at public.curoverse.com git at public.curoverse.com
Wed Feb 12 09:29:15 EST 2014


Summary of changes:
 apps/workbench/app/views/users/_tables.html.erb |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

       via  e28dffcdee490a7da674f69d4b9d5cec086f8c41 (commit)
      from  ae0720ea3b92ff165f95b0eafc6d85f736f5ae5f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit e28dffcdee490a7da674f69d4b9d5cec086f8c41
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date:   Wed Feb 12 09:30:17 2014 -0500

    Hack to fix job log links (because crunch still produces identifiers with +K at qr1hi)

diff --git a/apps/workbench/app/views/users/_tables.html.erb b/apps/workbench/app/views/users/_tables.html.erb
index 8d5b84f..2920bca 100644
--- a/apps/workbench/app/views/users/_tables.html.erb
+++ b/apps/workbench/app/views/users/_tables.html.erb
@@ -50,7 +50,8 @@
 <td>
   <small>
     <% if j.log %>
-      <% Collection.limit(1).where(uuid: j.log).each do |c| %>
+      <% fixup = /([a-f0-9]{32}\+\d+)(\+.*)/.match(j.log)%>
+      <% Collection.limit(1).where(uuid: fixup[1]).each do |c| %>
         <% c.files.each do |file| %>
           <a href="<%= collection_path(j.log) %>/<%= file[1] %>?disposition=inline&size=<%= file[2] %>">Log</a>
         <% end %>

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list