Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id ED68F10D0E for ; Thu, 6 Mar 2014 17:40:55 +0000 (UTC) Received: (qmail 61887 invoked by uid 500); 6 Mar 2014 17:40:55 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 61806 invoked by uid 500); 6 Mar 2014 17:40:47 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 61763 invoked by uid 99); 6 Mar 2014 17:40:43 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Mar 2014 17:40:43 +0000 Date: Thu, 6 Mar 2014 17:40:43 +0000 (UTC) From: "Christopher Tubbs (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-2423) Converge Shell scripts on single implementation MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ACCUMULO-2423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13922798#comment-13922798 ] Christopher Tubbs commented on ACCUMULO-2423: --------------------------------------------- Not ruby, please. Regarding python, I don't think it makes much sense to move everything to python... especially when it's just something simple, like launching randomwalk or some other environment set-up, just to run java, or something simple like that. For some things, it may make sense to use python... but I think that might be outside the scope of this ticket, and we should discuss those things in their proper context. > Converge Shell scripts on single implementation > ----------------------------------------------- > > Key: ACCUMULO-2423 > URL: https://issues.apache.org/jira/browse/ACCUMULO-2423 > Project: Accumulo > Issue Type: Improvement > Affects Versions: 1.6.0 > Reporter: Mike Drob > Assignee: Mike Drob > Attachments: ACCUMULO-2423.v1.patch.txt > > > Do we want to have a stated dependency on a particular shell? Most of our scripts explicitly use bash, but some use sh. Most scripts invoke {{#\!/usr/bin/env bash}} but some do {{#\!/bin/bash}} or other crazy things. > I don't have a particular preference which way we go, but I'd like to see us standardize one way or the other. > If we use {{/bin/sh}}, then we can run everything through the [checkbashisms|https://wiki.ubuntu.com/DashAsBinSh#I_am_a_developer._How_can_I_avoid_this_problem_in_future.3F] script (also available for other distros) > If we go the other way, and switch everything to bash, then we can run them through {{ksh -n}} for deprecation warnings. I know that's a different shell, but they're still moderately useful. -- This message was sent by Atlassian JIRA (v6.2#6252)