geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GEODE-2098) gfsh history should be stored in ~/.geode
Date Mon, 14 Nov 2016 18:57:58 GMT

    [ https://issues.apache.org/jira/browse/GEODE-2098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15664691#comment-15664691
] 

ASF GitHub Bot commented on GEODE-2098:
---------------------------------------

Github user upthewaterspout commented on the issue:

    https://github.com/apache/incubator-geode/pull/283
  
    IMO losing your gfsh history on an upgrade is probably not a big deal.


> gfsh history should be stored in ~/.geode
> -----------------------------------------
>
>                 Key: GEODE-2098
>                 URL: https://issues.apache.org/jira/browse/GEODE-2098
>             Project: Geode
>          Issue Type: Improvement
>          Components: docs, gfsh
>            Reporter: Anthony Baker
>            Assignee: Avinash Dongre
>
> Currently gfsh stores history in the ~/.gemfire directory.  We should change that to
be ~/.geode.
> {code}
> private static String getHomeGemFireDirectory() {
>     String userHome = System.getProperty("user.home");
>     String homeDirPath = userHome + "/.gemfire";
>     File alternateDir = new File(homeDirPath);
>     if (!alternateDir.exists()) {
>       if (!alternateDir.mkdirs()) {
>         homeDirPath = ".";
>       }
>     }
>     return homeDirPath;
>   }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message