[ARVADOS] updated: a7f2a6121f1802322dc94adf7bd0fb49d42b22ef

Git user git at public.curoverse.com
Wed Jun 15 15:16:46 EDT 2016


Summary of changes:
 tools/arvbox/bin/arvbox | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  a7f2a6121f1802322dc94adf7bd0fb49d42b22ef (commit)
      from  f6d8e101a642138a19ed5303f31653f3becb81da (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 a7f2a6121f1802322dc94adf7bd0fb49d42b22ef
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date:   Wed Jun 15 15:15:50 2016 -0400

    Use "less -R" in "arvbox log" so that color codes from api server logs display
    properly.  no issue #

diff --git a/tools/arvbox/bin/arvbox b/tools/arvbox/bin/arvbox
index 991ccec..842f612 100755
--- a/tools/arvbox/bin/arvbox
+++ b/tools/arvbox/bin/arvbox
@@ -382,7 +382,7 @@ case "$subcmd" in
 
     log)
         if test -n "$1" ; then
-            exec docker exec -ti $ARVBOX_CONTAINER /usr/bin/env TERM=$TERM less --follow-name +GF "/etc/service/$1/log/main/current"
+            exec docker exec -ti $ARVBOX_CONTAINER /usr/bin/env TERM=$TERM less --follow-name -R +GF "/etc/service/$1/log/main/current"
         else
             exec docker exec -ti $ARVBOX_CONTAINER /usr/bin/env TERM=$TERM tail $(docker exec -ti $ARVBOX_CONTAINER find -L /etc -path '/etc/service/*/log/main/current' -printf " %p")
         fi

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list