Return-Path: X-Original-To: apmail-incubator-bigtop-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-bigtop-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D4EC1DB15 for ; Fri, 17 Aug 2012 17:45:38 +0000 (UTC) Received: (qmail 40914 invoked by uid 500); 17 Aug 2012 17:45:38 -0000 Delivered-To: apmail-incubator-bigtop-dev-archive@incubator.apache.org Received: (qmail 40848 invoked by uid 500); 17 Aug 2012 17:45:38 -0000 Mailing-List: contact bigtop-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: bigtop-dev@incubator.apache.org Delivered-To: mailing list bigtop-dev@incubator.apache.org Received: (qmail 40614 invoked by uid 99); 17 Aug 2012 17:45:38 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Aug 2012 17:45:38 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 02D022C5BE4 for ; Fri, 17 Aug 2012 17:45:38 +0000 (UTC) Date: Sat, 18 Aug 2012 04:45:38 +1100 (NCT) From: "Roman Shaposhnik (JIRA)" To: bigtop-dev@incubator.apache.org Message-ID: <1023433656.24452.1345225538012.JavaMail.jiratomcat@arcas> In-Reply-To: <1152693790.8219.1344963278090.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (BIGTOP-688) improve hue packaging via making virtual env relocatable and moving DB files into /var/lib/hue 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/BIGTOP-688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13436912#comment-13436912 ] Roman Shaposhnik commented on BIGTOP-688: ----------------------------------------- This is somewhat sizable patch, but what it does is actually pretty simple: # makes the python virtual env relocatable # moves the desktop.db out of /usr/lib/hue/desktop into /var/lib/hue # makes everything under /usr/lib/hue owned by root and immutable I do have one question for the python experts out there. The way that virtual env becomes relocatable includes, among other things, changing all the shebang lines inside of env/bin/