From commits-return-2792-archive-asf-public=cust-asf.ponee.io@superset.incubator.apache.org Fri Jun 7 05:15:10 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id A43CC18062B for ; Fri, 7 Jun 2019 07:15:09 +0200 (CEST) Received: (qmail 39459 invoked by uid 500); 7 Jun 2019 05:15:09 -0000 Mailing-List: contact commits-help@superset.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@superset.incubator.apache.org Delivered-To: mailing list commits@superset.incubator.apache.org Received: (qmail 39450 invoked by uid 99); 7 Jun 2019 05:15:08 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Jun 2019 05:15:08 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id C43A18AC3A; Fri, 7 Jun 2019 05:15:08 +0000 (UTC) Date: Fri, 07 Jun 2019 05:15:08 +0000 To: "commits@superset.apache.org" Subject: [incubator-superset] branch master updated: [docs] Fix, deprecate fabmanager cli (#7660) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <155988450820.20640.5004956082230143324@gitbox.apache.org> From: maximebeauchemin@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: incubator-superset X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: d62c37b8958fe89aa69df8f1d582460abef548d1 X-Git-Newrev: de9f61e9340b4e03863eae3915edc6121e1369e2 X-Git-Rev: de9f61e9340b4e03863eae3915edc6121e1369e2 X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated This is an automated email from the ASF dual-hosted git repository. maximebeauchemin pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-superset.git The following commit(s) were added to refs/heads/master by this push: new de9f61e [docs] Fix, deprecate fabmanager cli (#7660) de9f61e is described below commit de9f61e9340b4e03863eae3915edc6121e1369e2 Author: Daniel Vaz Gaspar AuthorDate: Fri Jun 7 06:15:00 2019 +0100 [docs] Fix, deprecate fabmanager cli (#7660) --- CONTRIBUTING.md | 6 +++--- contrib/docker/docker-init.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 680f4f1..20ffa24 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -319,7 +319,7 @@ pip install -r requirements-dev.txt pip install -e . # Create an admin user in your metadata database -fabmanager create-admin --app superset +flask fab create-admin --app superset # Initialize the database superset db upgrade @@ -594,7 +594,7 @@ LANGUAGES = { ### Extracting new strings for translation ```bash -fabmanager babel-extract --target superset/translations --output superset/translations/messages.pot --config superset/translations/babel.cfg -k _ -k __ -k t -k tn -k tct +flask fab babel-extract --target superset/translations --output superset/translations/messages.pot --config superset/translations/babel.cfg -k _ -k __ -k t -k tn -k tct ``` You can then translate the strings gathered in files located under @@ -607,7 +607,7 @@ For the translations to take effect: ```bash # In the case of JS translation, we need to convert the PO file into a JSON file, and we need the global download of the npm package po2json. npm install -g po2json -fabmanager babel-compile --target superset/translations +flask fab babel-compile --target superset/translations # Convert the en PO file into a JSON file po2json -d superset -f jed1.x superset/translations/en/LC_MESSAGES/messages.po superset/translations/en/LC_MESSAGES/messages.json ``` diff --git a/contrib/docker/docker-init.sh b/contrib/docker/docker-init.sh index 0e8b87d..dbcdefc 100755 --- a/contrib/docker/docker-init.sh +++ b/contrib/docker/docker-init.sh @@ -18,7 +18,7 @@ set -ex # Create an admin user (you will be prompted to set username, first and last name before setting a password) -fabmanager create-admin --app superset +flask fab create-admin --app superset # Initialize the database superset db upgrade