superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maximebeauche...@apache.org
Subject [incubator-superset] branch master updated: Improvements related to ASF release process (#7539)
Date Thu, 04 Jul 2019 05:33:20 GMT
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 5c7a50c  Improvements related to ASF release process (#7539)
5c7a50c is described below

commit 5c7a50c1042b7f8d0a36c663e2ffeed36d1841ce
Author: Maxime Beauchemin <maximebeauchemin@gmail.com>
AuthorDate: Wed Jul 3 22:33:14 2019 -0700

    Improvements related to ASF release process (#7539)
    
    * [WiP] Improvements related to ASF release process
    
    * Removing translation binaries (.mo)
    * Working on 2 docker files to help package and validate releases
      * Dockerfile.from_tarball: takes a VERSION as input, downloads
        official source release fro svn and bakes it into a functional
        docker image that can be validated
      * Dockerfile.make_tarball: helps a maintainer to package and sign a
        release candidate or release
    
    * Address COPYRIGHT + LICENSE issues
    
    (cherry picked from commit 5ae2836b25bf79794167ef0bab3239c1a8ef4bd6)
    
    * Add Roboto font to LICENSE, remove glyphicons files
    
    (cherry picked from commit 9615f39f7a556afe217b4e3288c9116f8ffaab91)
    
    * remove unused LICENSE entries
    
    * Change babytux to open image in birth dashboard
    
    (cherry picked from commit 2776d11893596a029b8af37b96fd6ce1a9f12059)
    
    * Improve instructions
    
    * Docker tweaks
    
    (cherry picked from commit df6e6462458ea8cff1482c142921b20f5607ad8e)
    
    * Include image
---
 .gitignore                                         |   3 +
 CONTRIBUTING.md                                    |  22 +++++--
 INSTALL.md                                         |  23 +++++++
 INSTALL.txt                                        |  39 -----------
 LICENSE.txt                                        |  21 +-----
 NOTICE                                             |   3 -
 RELEASING/Dockerfile.from_tarball                  |  71 +++++++++++++++++++++
 RELEASING/Dockerfile.make_tarball                  |  19 ++++++
 RELEASING.md => RELEASING/README.md                |  36 +++++++++--
 RELEASING/from_tarball_entrypoint.sh               |  42 ++++++++++++
 RELEASING/make_tarball.sh                          |  38 +++++++++++
 UPDATING.md                                        |   3 +
 licenses/LICENSE-cal-heatmap.txt                   |  22 -------
 licenses/LICENSE-parallel-coordinates.txt          |  26 --------
 superset/assets/images/babytux.jpg                 | Bin 10131 -> 0 bytes
 .../fonts/glyphicons-halflings-regular.ttf         | Bin 45404 -> 0 bytes
 .../fonts/glyphicons-halflings-regular.woff        | Bin 23424 -> 0 bytes
 .../fonts/glyphicons-halflings-regular.woff2       | Bin 18028 -> 0 bytes
 superset/assets/vendor/pygments.css                |  63 ------------------
 superset/data/birth_names.py                       |   4 +-
 superset/extract_table_names.py                    |   1 +
 superset/translations/de/LC_MESSAGES/messages.mo   | Bin 63813 -> 0 bytes
 superset/translations/de/LC_MESSAGES/messages.po   |   5 +-
 superset/translations/en/LC_MESSAGES/messages.mo   | Bin 88509 -> 0 bytes
 superset/translations/en/LC_MESSAGES/messages.po   |   5 --
 superset/translations/es/LC_MESSAGES/messages.mo   | Bin 68469 -> 0 bytes
 superset/translations/es/LC_MESSAGES/messages.po   |   6 --
 superset/translations/fr/LC_MESSAGES/messages.mo   | Bin 90477 -> 0 bytes
 superset/translations/fr/LC_MESSAGES/messages.po   |   7 +-
 superset/translations/it/LC_MESSAGES/messages.mo   | Bin 83973 -> 0 bytes
 superset/translations/it/LC_MESSAGES/messages.po   |   6 --
 superset/translations/ja/LC_MESSAGES/messages.mo   | Bin 65233 -> 0 bytes
 superset/translations/ja/LC_MESSAGES/messages.po   |   5 --
 superset/translations/ko/LC_MESSAGES/messages.mo   | Bin 88533 -> 0 bytes
 superset/translations/ko/LC_MESSAGES/messages.po   |   4 --
 superset/translations/messages.pot                 |   6 +-
 superset/translations/pt/LC_MESSAGES/message.po    |   5 --
 superset/translations/pt/LC_MESSAGES/messages.mo   | Bin 72034 -> 0 bytes
 .../translations/pt_BR/LC_MESSAGES/messages.mo     | Bin 73550 -> 0 bytes
 .../translations/pt_BR/LC_MESSAGES/messages.po     |   5 --
 superset/translations/ru/LC_MESSAGES/messages.mo   | Bin 113812 -> 0 bytes
 superset/translations/ru/LC_MESSAGES/messages.po   |   3 -
 superset/translations/zh/LC_MESSAGES/messages.mo   | Bin 87005 -> 0 bytes
 superset/translations/zh/LC_MESSAGES/messages.po   |   5 --
 44 files changed, 254 insertions(+), 244 deletions(-)

diff --git a/.gitignore b/.gitignore
index fcfe9cc..27e03b6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -81,3 +81,6 @@ ghostdriver.log
 testCSV.csv
 .terser-plugin-cache/
 apache-superset-*.tar.gz*
+
+# Translation binaries
+messages.mo
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index d165ef4..e832a14 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -97,7 +97,12 @@ articles. See [Documentation](#documentation) for more details.
 
 ### Add Translations
 
-If you are proficient in a non-English language, you can help translate text strings from
Superset's UI. You can jump in to the existing language dictionaries at `superset/translations/<language_code>/LC_MESSAGES/messages.po`,
or even create a dictionary for a new language altogether. See [Translating](#translating)
for more details.
+If you are proficient in a non-English language, you can help translate
+text strings from Superset's UI. You can jump in to the existing
+language dictionaries at
+`superset/translations/<language_code>/LC_MESSAGES/messages.po`, or
+even create a dictionary for a new language altogether.
+See [Translating](#translating) for more details.
 
 ### Ask Questions
 
@@ -578,16 +583,23 @@ See [`superset/assets/cypress_build.sh`](https://github.com/apache/incubator-sup
 
 ## Translating
 
-We use [Babel](http://babel.pocoo.org/en/latest/) to translate Superset. In Python files,
we import the magic `_` function using:
+We use [Babel](http://babel.pocoo.org/en/latest/) to translate Superset.
+In Python files, we import the magic `_` function using:
 
 ```python
 from flask_babel import lazy_gettext as _
 ```
 
-then wrap our translatable strings with it, e.g. `_('Translate me')`. During extraction,
string literals passed to `_` will be added to the generated `.po` file for each language
for later translation.
-At runtime, the `_` function will return the translation of the given string for the current
language, or the given string itself if no translation is available.
+then wrap our translatable strings with it, e.g. `_('Translate me')`.
+During extraction, string literals passed to `_` will be added to the
+generated `.po` file for each language for later translation.
 
-In JavaScript, the technique is similar: we import `t` (simple translation), `tn` (translation
containing a number).
+At runtime, the `_` function will return the translation of the given
+string for the current language, or the given string itself
+if no translation is available.
+
+In JavaScript, the technique is similar:
+we import `t` (simple translation), `tn` (translation containing a number).
 
 ```javascript
 import { t, tn } from '@superset-ui/translation';
diff --git a/INSTALL.md b/INSTALL.md
new file mode 100644
index 0000000..be541d1
--- /dev/null
+++ b/INSTALL.md
@@ -0,0 +1,23 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+# INSTALL / BUILD instructions for Apache Superset (incubating)
+
+At this time, the docker file at RELEASING/Dockerfile.from_tarball
+constitutes the recipe on how to get to a working release from a source
+release tarball.
diff --git a/INSTALL.txt b/INSTALL.txt
deleted file mode 100644
index 3fa5988..0000000
--- a/INSTALL.txt
+++ /dev/null
@@ -1,39 +0,0 @@
-# INSTALL / BUILD instructions for Apache Superset (incubating)
-
-# These instructions should work along sources releases under
-# https://dist.apache.org/repos/dist/dev/incubator/superset/*/*source.tar.gz$
-
-# [required] fetch the tarball and untar the source
-# change into the directory that was untarred.
-
-#############################
-# Dependencies
-#############################
-# Superset runs best on python3.6
-# Also recommended is the latest long term supported node / npm
-# For complementary information read our CONTRIBUTING.md
-# for OS level dependencies find instructions here:
-# http://superset.apache.org/installation.html
-
-# Fetch npm dependencies
-cd superset/assets/
-npm ci
-
-# Build the Javascript bundles
-npm run build
-
-# Back to the root of the repo
-cd ../..
-
-# [optional] Superset pulls in quite a lot of dependencies in order
-# to connect to other services. You might want to test or run Superset
-# from a virtual env to make sure those dependencies are separated
-# from your system wide versions
-python3 -m env36
-source env36/bin/activate
-
-# [required] building and installing by pip (preferred)
-pip install .
-
-# superset --help
-
diff --git a/LICENSE.txt b/LICENSE.txt
index ff54f7b..cdf3a17 100644
--- a/LICENSE.txt
+++ b/LICENSE.txt
@@ -208,26 +208,9 @@ limitations under the License.
    subcomponents is subject to the terms and conditions of the following
    licenses.
 
-========================================================================
-Third party Apache 2.0 licenses
-========================================================================
-
-========================================================================
-MIT licenses
-========================================================================
-
-    (MIT License) cal-heatmap v3.6.2 (https://github.com/wa0x6e/cal-heatmap)
 
 ========================================================================
-BSD 2-Clause licenses
-========================================================================
-
-========================================================================
-BSD 3-Clause licenses
+Third party Apache 2.0 licenses
 ========================================================================
 
-    (BSD 3 License) parallel-coordinates v0.7.0 (http://syntagmatic.github.com/parallel-coordinates/)
-
-========================================================================
-Creative Commons Attribution 4.0
-========================================================================
+(Apache 2.0 License) The Roboto family of fonts (https://github.com/google/roboto)
diff --git a/NOTICE b/NOTICE
index 8465e24..d928b02 100644
--- a/NOTICE
+++ b/NOTICE
@@ -3,6 +3,3 @@ Copyright 2016-2019 The Apache Software Foundation
 
 This product includes software developed at The Apache Software
 Foundation (http://www.apache.org/).
-
-This product includes data licensed under a Creative Commons Attribution 4.0
-License (http://www.diva-gis.org/Data).
\ No newline at end of file
diff --git a/RELEASING/Dockerfile.from_tarball b/RELEASING/Dockerfile.from_tarball
new file mode 100644
index 0000000..6d66c47
--- /dev/null
+++ b/RELEASING/Dockerfile.from_tarball
@@ -0,0 +1,71 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+FROM python:3.6-jessie
+
+RUN useradd --user-group --create-home --no-log-init --shell /bin/bash superset
+
+# Configure environment
+ENV LANG=C.UTF-8 \
+    LC_ALL=C.UTF-8
+
+RUN apt-get update -y
+
+# Install dependencies to fix `curl https support error` and `elaying package configuration
warning`
+RUN apt-get install -y apt-transport-https apt-utils
+
+# Install superset dependencies
+# https://superset.incubator.apache.org/installation.html#os-dependencies
+RUN apt-get install -y build-essential libssl-dev \
+    libffi-dev python3-dev libsasl2-dev libldap2-dev libxi-dev
+
+# Install nodejs for custom build
+# https://superset.incubator.apache.org/installation.html#making-your-own-build
+# https://nodejs.org/en/download/package-manager/
+RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - \
+    && apt-get install -y nodejs
+
+RUN mkdir -p /home/superset
+RUN chown superset /home/superset
+
+WORKDIR /home/superset
+ARG VERSION
+
+RUN svn co https://dist.apache.org/repos/dist/dev/incubator/superset/$VERSION ./
+RUN tar -xvf *.tar.gz
+WORKDIR apache-superset-incubating-$VERSION
+
+RUN cd superset/assets \
+    && npm ci \
+    && npm run build \
+    && rm -rf node_modules
+
+
+WORKDIR /home/superset/apache-superset-incubating-$VERSION
+RUN pip install --upgrade setuptools pip \
+    && pip install -r requirements.txt -r requirements-dev.txt \
+    && pip install -e . \
+    && rm -rf /root/.cache/pip
+
+RUN fabmanager babel-compile --target superset/translations
+
+RUN pip install -e . \
+    && rm -rf /root/.cache/pip
+
+ENV PATH=/home/superset/superset/bin:$PATH \
+    PYTHONPATH=/home/superset/superset/:$PYTHONPATH
+COPY from_tarball_entrypoint.sh /entrypoint.sh
+ENTRYPOINT ["/entrypoint.sh"]
diff --git a/RELEASING/Dockerfile.make_tarball b/RELEASING/Dockerfile.make_tarball
new file mode 100644
index 0000000..c7d516c
--- /dev/null
+++ b/RELEASING/Dockerfile.make_tarball
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+FROM python:3.6-jessie
+COPY make_tarball.sh /entrypoint.sh
+ENTRYPOINT ["/entrypoint.sh"]
diff --git a/RELEASING.md b/RELEASING/README.md
similarity index 76%
rename from RELEASING.md
rename to RELEASING/README.md
index 4783ba6..7a2f0aa 100644
--- a/RELEASING.md
+++ b/RELEASING/README.md
@@ -16,6 +16,28 @@ KIND, either express or implied.  See the License for the
 specific language governing permissions and limitations
 under the License.
 -->
+# Apache Releases
+
+To make a fresh tarball of a git reference on apache/incubator-superset
+(push your tag first!)
+
+```bash
+docker build -t make_tarball -f Dockerfile.make_tarball . --build-arg VERSION=0.33.0rc1
+docker run make_tarball -f Dockerfile.make_tarball --env VERSION=0.33.0rc1
+```
+
+To make a working build given a tarball
+```bash
+# Building a docker from a tarball
+VERSION=0.33.0rc2 && \
+docker build -t apache-superset:$VERSION -f Dockerfile.from_tarball . --build-arg VERSION=$VERSION
+
+# testing the resulting docker
+docker run -p 5001:8088 apache-superset:0.33.0rc2
+# you should be able to access localhost:5001 on your browser
+# login using admin/admin
+```
+
 ## Refresh documentation website
 
 Every once in a while we want to compile the documentation and publish it.
@@ -57,14 +79,14 @@ First you need to setup a few things. This is a one-off and doesn't
 need to be done at every release.
 
 ```bash
-    # Create PGP Key
+    # Create PGP Key, and use your @apache.org email address
     gpg --gen-key
      
     # Checkout ASF dist repo
 
     svn checkout https://dist.apache.org/repos/dist/dev/incubator/superset/ ~/svn/superset_dev
 
-    svn checkout https://dist.apache.org/repos/dist/incubator/superset/ ~/svn/superset
+    svn checkout https://dist.apache.org/repos/dist/release/incubator/superset/ ~/svn/superset
     cd ~/svn/superset
  
   
@@ -84,6 +106,8 @@ Now let's craft a source release
     # Assuming these commands are executed from the root of the repo
     # Setting a VERSION var will be useful
     export VERSION=0.31.0rc18
+    export RELEASE=apache-superset-incubating-${VERSION}
+    export RELEASE_TARBAL=${RELEASE}-source.tar.gz
 
     # Let's create a git tag
     git tag -f ${VERSION}
@@ -98,11 +122,11 @@ Now let's craft a source release
     mkdir -p ~/svn/superset_dev/${VERSION}/
     git archive \
         --format=tar.gz ${VERSION} \
-        --prefix=apache-superset-${VERSION}/ \
-        -o ~/svn/superset_dev/${VERSION}/apache-superset-${VERSION}-source.tar.gz
+        --prefix=${RELEASE}/ \
+        -o ~/svn/superset_dev/${VERSION}/${RELEASE_TARBALL}
 
     cd ~/svn/superset_dev/
-    scripts/sign.sh apache-superset-${VERSION}-source.tar.gz
+    scripts/sign.sh ${RELEASE}-source.tar.gz
 ```
 
 ## Shipping to SVN
@@ -112,7 +136,7 @@ Now let's ship this RC into svn's dev folder
 ```bash
     # cp or mv the files over to the svn repo
     mkdir ~/svn/superset_dev/${VERSION}/
-    cp apache-superset-${VERSION}* ~/svn/superset_dev/${VERSION}/
+    cp ${RELEASE_TARBALL} ~/svn/superset_dev/${VERSION}/
     cd ~/svn/superset_dev/
     svn add ${VERSION}
     svn commit
diff --git a/RELEASING/from_tarball_entrypoint.sh b/RELEASING/from_tarball_entrypoint.sh
new file mode 100755
index 0000000..ae2ea27
--- /dev/null
+++ b/RELEASING/from_tarball_entrypoint.sh
@@ -0,0 +1,42 @@
+#!/bin/bash
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+set -ex
+
+echo "[WARNING] this entrypoint creates an admin/admin user"
+echo "[WARNING] it should only be used for lightweight testing/validation"
+
+# Create an admin user (you will be prompted to set username, first and last name before
setting a password)
+fabmanager create-admin \
+    --app superset \
+    --username admin \
+    --firstname admin \
+    --lastname admin \
+    --email admin@admin.com \
+    --password admin
+
+# Initialize the database
+superset db upgrade
+
+# Loading examples
+superset load_examples
+
+# Create default roles and permissions
+superset init
+
+FLASK_ENV=development FLASK_APP=superset:app \
+flask run -p 8088 --with-threads --reload --debugger --host=0.0.0.0
diff --git a/RELEASING/make_tarball.sh b/RELEASING/make_tarball.sh
new file mode 100755
index 0000000..5959d0f
--- /dev/null
+++ b/RELEASING/make_tarball.sh
@@ -0,0 +1,38 @@
+#!/bin/bash
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+set -ex
+
+if [ -z "$VERSION" ]; then
+  echo "VERSION is required to run this container"
+  exit 1
+fi
+
+
+echo "version: $VERSION"
+cd /tmp
+git clone --depth 1 --branch $VERSION https://github.com/apache/incubator-superset.git
+mkdir ~/$VERSION
+cd incubator-superset && \
+git archive \
+    --format=tar.gz \
+    --prefix=apache-superset-incubating-$VERSION/ \
+    HEAD \
+    -o ~/$VERSION/apache-superset-incubating.tar.gz
+
+gpg --armor --output apache-superset-incubating.tar.gz.asc --detach-sig apache-superset-incubating.tar.gz
+gpg --print-md SHA512 apache-superset-incubating.tar.gz > apache-superset-incubating.tar.gz.sha512
diff --git a/UPDATING.md b/UPDATING.md
index 89741d3..45952c1 100644
--- a/UPDATING.md
+++ b/UPDATING.md
@@ -32,6 +32,9 @@ which deprecates the table_columns.database_expression column. Expressions
 should be handled by the DB engine spec conversion, Python date format, or
 custom column expression/type.
 
+* The repo no longer contains translation binaries (`.mo`) files. If you
+  want translations in your build, you now have to run the command
+  `babel-compile --target superset/translations` as part of your builds
 * [5451](https://github.com/apache/incubator-superset/pull/5451): a change
 which adds missing non-nullable fields to the `datasources` table. Depending on
 the integrity of the data, manual intervention may be required.
diff --git a/licenses/LICENSE-cal-heatmap.txt b/licenses/LICENSE-cal-heatmap.txt
deleted file mode 100644
index 358b067..0000000
--- a/licenses/LICENSE-cal-heatmap.txt
+++ /dev/null
@@ -1,22 +0,0 @@
-Copyright (c) 2012 Tyler Kellen, contributors
-
-Permission is hereby granted, free of charge, to any person
-obtaining a copy of this software and associated documentation
-files (the "Software"), to deal in the Software without
-restriction, including without limitation the rights to use,
-copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the
-Software is furnished to do so, subject to the following
-conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
-OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-OTHER DEALINGS IN THE SOFTWARE.
\ No newline at end of file
diff --git a/licenses/LICENSE-parallel-coordinates.txt b/licenses/LICENSE-parallel-coordinates.txt
deleted file mode 100644
index 6c6d355..0000000
--- a/licenses/LICENSE-parallel-coordinates.txt
+++ /dev/null
@@ -1,26 +0,0 @@
-Copyright (c) 2012, Kai Chang
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
-* Redistributions of source code must retain the above copyright notice, this
-  list of conditions and the following disclaimer.
-
-* Redistributions in binary form must reproduce the above copyright notice,
-  this list of conditions and the following disclaimer in the documentation
-  and/or other materials provided with the distribution.
-
-* The name Kai Chang may not be used to endorse or promote products
-  derived from this software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL MICHAEL BOSTOCK BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
\ No newline at end of file
diff --git a/superset/assets/images/babytux.jpg b/superset/assets/images/babytux.jpg
deleted file mode 100644
index 4d0b052..0000000
Binary files a/superset/assets/images/babytux.jpg and /dev/null differ
diff --git a/superset/assets/stylesheets/fonts/glyphicons-halflings-regular.ttf b/superset/assets/stylesheets/fonts/glyphicons-halflings-regular.ttf
deleted file mode 100644
index 1413fc6..0000000
Binary files a/superset/assets/stylesheets/fonts/glyphicons-halflings-regular.ttf and /dev/null
differ
diff --git a/superset/assets/stylesheets/fonts/glyphicons-halflings-regular.woff b/superset/assets/stylesheets/fonts/glyphicons-halflings-regular.woff
deleted file mode 100644
index 9e61285..0000000
Binary files a/superset/assets/stylesheets/fonts/glyphicons-halflings-regular.woff and /dev/null
differ
diff --git a/superset/assets/stylesheets/fonts/glyphicons-halflings-regular.woff2 b/superset/assets/stylesheets/fonts/glyphicons-halflings-regular.woff2
deleted file mode 100644
index 64539b5..0000000
Binary files a/superset/assets/stylesheets/fonts/glyphicons-halflings-regular.woff2 and /dev/null
differ
diff --git a/superset/assets/vendor/pygments.css b/superset/assets/vendor/pygments.css
deleted file mode 100644
index 39860cb..0000000
--- a/superset/assets/vendor/pygments.css
+++ /dev/null
@@ -1,63 +0,0 @@
-/* [LICENSE TBD] */
-.codehilite .hll { background-color: #ffffcc }
-.codehilite  { background: #f8f8f8; }
-.codehilite .c { color: #408080; font-style: italic } /* Comment */
-.codehilite .err { border: 1px solid #FF0000 } /* Error */
-.codehilite .k { color: #008000; font-weight: bold } /* Keyword */
-.codehilite .o { color: #666666 } /* Operator */
-.codehilite .cm { color: #408080; font-style: italic } /* Comment.Multiline */
-.codehilite .cp { color: #BC7A00 } /* Comment.Preproc */
-.codehilite .c1 { color: #408080; font-style: italic } /* Comment.Single */
-.codehilite .cs { color: #408080; font-style: italic } /* Comment.Special */
-.codehilite .gd { color: #A00000 } /* Generic.Deleted */
-.codehilite .ge { font-style: italic } /* Generic.Emph */
-.codehilite .gr { color: #FF0000 } /* Generic.Error */
-.codehilite .gh { color: #000080; font-weight: bold } /* Generic.Heading */
-.codehilite .gi { color: #00A000 } /* Generic.Inserted */
-.codehilite .go { color: #808080 } /* Generic.Output */
-.codehilite .gp { color: #000080; font-weight: bold } /* Generic.Prompt */
-.codehilite .gs { font-weight: bold } /* Generic.Strong */
-.codehilite .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
-.codehilite .gt { color: #0040D0 } /* Generic.Traceback */
-.codehilite .kc { color: #008000; font-weight: bold } /* Keyword.Constant */
-.codehilite .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */
-.codehilite .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */
-.codehilite .kp { color: #008000 } /* Keyword.Pseudo */
-.codehilite .kr { color: #008000; font-weight: bold } /* Keyword.Reserved */
-.codehilite .kt { color: #B00040 } /* Keyword.Type */
-.codehilite .m { color: #666666 } /* Literal.Number */
-.codehilite .s { color: #BA2121 } /* Literal.String */
-.codehilite .na { color: #7D9029 } /* Name.Attribute */
-.codehilite .nb { color: #008000 } /* Name.Builtin */
-.codehilite .nc { color: #0000FF; font-weight: bold } /* Name.Class */
-.codehilite .no { color: #880000 } /* Name.Constant */
-.codehilite .nd { color: #AA22FF } /* Name.Decorator */
-.codehilite .ni { color: #999999; font-weight: bold } /* Name.Entity */
-.codehilite .ne { color: #D2413A; font-weight: bold } /* Name.Exception */
-.codehilite .nf { color: #0000FF } /* Name.Function */
-.codehilite .nl { color: #A0A000 } /* Name.Label */
-.codehilite .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
-.codehilite .nt { color: #008000; font-weight: bold } /* Name.Tag */
-.codehilite .nv { color: #19177C } /* Name.Variable */
-.codehilite .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
-.codehilite .w { color: #bbbbbb } /* Text.Whitespace */
-.codehilite .mf { color: #666666 } /* Literal.Number.Float */
-.codehilite .mh { color: #666666 } /* Literal.Number.Hex */
-.codehilite .mi { color: #666666 } /* Literal.Number.Integer */
-.codehilite .mo { color: #666666 } /* Literal.Number.Oct */
-.codehilite .sb { color: #BA2121 } /* Literal.String.Backtick */
-.codehilite .sc { color: #BA2121 } /* Literal.String.Char */
-.codehilite .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */
-.codehilite .s2 { color: #BA2121 } /* Literal.String.Double */
-.codehilite .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */
-.codehilite .sh { color: #BA2121 } /* Literal.String.Heredoc */
-.codehilite .si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */
-.codehilite .sx { color: #008000 } /* Literal.String.Other */
-.codehilite .sr { color: #BB6688 } /* Literal.String.Regex */
-.codehilite .s1 { color: #BA2121 } /* Literal.String.Single */
-.codehilite .ss { color: #19177C } /* Literal.String.Symbol */
-.codehilite .bp { color: #008000 } /* Name.Builtin.Pseudo */
-.codehilite .vc { color: #19177C } /* Name.Variable.Class */
-.codehilite .vg { color: #19177C } /* Name.Variable.Global */
-.codehilite .vi { color: #19177C } /* Name.Variable.Instance */
-.codehilite .il { color: #666666 } /* Literal.Number.Integer.Long */
diff --git a/superset/data/birth_names.py b/superset/data/birth_names.py
index aa00069..112082b 100644
--- a/superset/data/birth_names.py
+++ b/superset/data/birth_names.py
@@ -235,7 +235,7 @@ def load_birth_names():
             The source dataset came from
             <a href='https://github.com/hadley/babynames' target='_blank'>[here]</a>
         </p>
-        <img src='/static/assets/images/babytux.jpg'>
+        <img src="/static/assets/images/babies.png">
     </div>
     """,
             ),
@@ -552,7 +552,7 @@ def load_birth_names():
     "MARKDOWN-00178c27": {
         "meta": {
             "width": 5,
-            "code": "<div style=\\"text-align:center\\">\\n <h1>Birth Names Dashboard</h1>\\n
<p>\\n The source dataset came from\\n <a href=\\"https://github.com/hadley/babynames\\"
target=\\"_blank\\">[here]</a>\\n </p>\\n <img src=\\"/static/assets/images/babytux.jpg\\">\\n</div>\\n",
+            "code": "<div style=\\"text-align:center\\">\\n <h1>Birth Names Dashboard</h1>\\n
<p>\\n The source dataset came from\\n <a href=\\"https://github.com/hadley/babynames\\"
target=\\"_blank\\">[here]</a>\\n </p>\\n <img src=\\"/static/assets/images/babies.png\\"
style=\\"width:55%;\\">\\n</div>\\n",
             "height": 38
         },
         "type": "MARKDOWN",
diff --git a/superset/extract_table_names.py b/superset/extract_table_names.py
index 2af8a2b..c6541ec 100644
--- a/superset/extract_table_names.py
+++ b/superset/extract_table_names.py
@@ -17,6 +17,7 @@
 # under the License.
 # pylint: disable=C,R,W
 #
+
 # Copyright (C) 2016 Andi Albrecht, albrecht.andi@gmail.com
 #
 # This example is part of python-sqlparse and is released under
diff --git a/superset/translations/de/LC_MESSAGES/messages.mo b/superset/translations/de/LC_MESSAGES/messages.mo
deleted file mode 100644
index 0d51828..0000000
Binary files a/superset/translations/de/LC_MESSAGES/messages.mo and /dev/null differ
diff --git a/superset/translations/de/LC_MESSAGES/messages.po b/superset/translations/de/LC_MESSAGES/messages.po
index 7e0ea5a..5d2cb7f 100644
--- a/superset/translations/de/LC_MESSAGES/messages.po
+++ b/superset/translations/de/LC_MESSAGES/messages.po
@@ -14,11 +14,8 @@
 # KIND, either express or implied.  See the License for the
 # specific language governing permissions and limitations
 # under the License.
-# German translations for PROJECT.
-# Copyright (C) 2017 ORGANIZATION
-# This file is distributed under the same license as the PROJECT project.
+
 # FIRST AUTHOR github.com/alanmcruickshank, 2017.
-#
 msgid ""
 msgstr ""
 "Project-Id-Version: PROJECT VERSION\n"
diff --git a/superset/translations/en/LC_MESSAGES/messages.mo b/superset/translations/en/LC_MESSAGES/messages.mo
deleted file mode 100644
index 90c3443..0000000
Binary files a/superset/translations/en/LC_MESSAGES/messages.mo and /dev/null differ
diff --git a/superset/translations/en/LC_MESSAGES/messages.po b/superset/translations/en/LC_MESSAGES/messages.po
index bef7124..34c5787 100644
--- a/superset/translations/en/LC_MESSAGES/messages.po
+++ b/superset/translations/en/LC_MESSAGES/messages.po
@@ -14,11 +14,6 @@
 # KIND, either express or implied.  See the License for the
 # specific language governing permissions and limitations
 # under the License.
-# English translations for PROJECT.
-# Copyright (C) 2016 ORGANIZATION
-# This file is distributed under the same license as the PROJECT project.
-# FIRST AUTHOR <EMAIL@ADDRESS>, 2016.
-#
 msgid ""
 msgstr ""
 "Project-Id-Version: PROJECT VERSION\n"
diff --git a/superset/translations/es/LC_MESSAGES/messages.mo b/superset/translations/es/LC_MESSAGES/messages.mo
deleted file mode 100644
index 854495d..0000000
Binary files a/superset/translations/es/LC_MESSAGES/messages.mo and /dev/null differ
diff --git a/superset/translations/es/LC_MESSAGES/messages.po b/superset/translations/es/LC_MESSAGES/messages.po
index 3c40e93..f024e81 100644
--- a/superset/translations/es/LC_MESSAGES/messages.po
+++ b/superset/translations/es/LC_MESSAGES/messages.po
@@ -14,12 +14,6 @@
 # KIND, either express or implied.  See the License for the
 # specific language governing permissions and limitations
 # under the License.
-# Spanish translations for PROJECT.
-# Copyright (C) 2016 ORGANIZATION
-# This file is distributed under the same license as the PROJECT project.
-# FIRST AUTHOR <EMAIL@ADDRESS>, 2016.
-# Joe Bordes <joe@tsolucio.com>, 2018.
-#
 msgid ""
 msgstr ""
 "Project-Id-Version: PROJECT VERSION\n"
diff --git a/superset/translations/fr/LC_MESSAGES/messages.mo b/superset/translations/fr/LC_MESSAGES/messages.mo
deleted file mode 100644
index 353772a..0000000
Binary files a/superset/translations/fr/LC_MESSAGES/messages.mo and /dev/null differ
diff --git a/superset/translations/fr/LC_MESSAGES/messages.po b/superset/translations/fr/LC_MESSAGES/messages.po
index e361274..180e0e7 100644
--- a/superset/translations/fr/LC_MESSAGES/messages.po
+++ b/superset/translations/fr/LC_MESSAGES/messages.po
@@ -14,11 +14,6 @@
 # KIND, either express or implied.  See the License for the
 # specific language governing permissions and limitations
 # under the License.
-# French translations for PROJECT.
-# Copyright (C) 2017 ORGANIZATION
-# This file is distributed under the same license as the PROJECT project.
-# FIRST AUTHOR <EMAIL@ADDRESS>, 2017.
-#
 msgid ""
 msgstr ""
 "Project-Id-Version: PROJECT VERSION\n"
@@ -5442,4 +5437,4 @@ msgstr "Requêtes sauvegardées"
 #~ msgstr "Slice"
 
 #~ msgid "Slice %(id)s not found"
-#~ msgstr "Slice %(id)s non trouvé"
\ No newline at end of file
+#~ msgstr "Slice %(id)s non trouvé"
diff --git a/superset/translations/it/LC_MESSAGES/messages.mo b/superset/translations/it/LC_MESSAGES/messages.mo
deleted file mode 100644
index 7671736..0000000
Binary files a/superset/translations/it/LC_MESSAGES/messages.mo and /dev/null differ
diff --git a/superset/translations/it/LC_MESSAGES/messages.po b/superset/translations/it/LC_MESSAGES/messages.po
index e492f9a..e3ca6e2 100644
--- a/superset/translations/it/LC_MESSAGES/messages.po
+++ b/superset/translations/it/LC_MESSAGES/messages.po
@@ -14,12 +14,6 @@
 # KIND, either express or implied.  See the License for the
 # specific language governing permissions and limitations
 # under the License.
-# Italian translations for Superset.
-# Copyright (C) 2016 ORGANIZATION
-# This file is distributed under the same license as the Superset project.
-# Maxime Beauchemin <maximebeauchemin @ gmail.com>, 2016.
-# Maurizio Napolitano <napo@fbk.eu>, 2017.
-#
 msgid ""
 msgstr ""
 "Project-Id-Version: PROJECT VERSION\n"
diff --git a/superset/translations/ja/LC_MESSAGES/messages.mo b/superset/translations/ja/LC_MESSAGES/messages.mo
deleted file mode 100644
index 05ea8bf..0000000
Binary files a/superset/translations/ja/LC_MESSAGES/messages.mo and /dev/null differ
diff --git a/superset/translations/ja/LC_MESSAGES/messages.po b/superset/translations/ja/LC_MESSAGES/messages.po
index bde65c1..988f05f 100644
--- a/superset/translations/ja/LC_MESSAGES/messages.po
+++ b/superset/translations/ja/LC_MESSAGES/messages.po
@@ -14,11 +14,6 @@
 # KIND, either express or implied.  See the License for the
 # specific language governing permissions and limitations
 # under the License.
-# Japanese translations for PROJECT.
-# Copyright (C) 2017 ORGANIZATION
-# This file is distributed under the same license as the PROJECT project.
-# FIRST AUTHOR <EMAIL@ADDRESS>, 2017.
-#
 msgid ""
 msgstr ""
 "Project-Id-Version: PROJECT VERSION\n"
diff --git a/superset/translations/ko/LC_MESSAGES/messages.mo b/superset/translations/ko/LC_MESSAGES/messages.mo
deleted file mode 100644
index 482218b..0000000
Binary files a/superset/translations/ko/LC_MESSAGES/messages.mo and /dev/null differ
diff --git a/superset/translations/ko/LC_MESSAGES/messages.po b/superset/translations/ko/LC_MESSAGES/messages.po
index a468194..307c699 100644
--- a/superset/translations/ko/LC_MESSAGES/messages.po
+++ b/superset/translations/ko/LC_MESSAGES/messages.po
@@ -13,10 +13,6 @@
 # KIND, either express or implied.  See the License for the
 # specific language governing permissions and limitations
 # under the License.
-# Korean translations for PROJECT.
-# Copyright (C) 2018 ORGANIZATION
-# This file is distributed under the same license as the PROJECT project.
-# FIRST AUTHOR <EMAIL@ADDRESS>, 2018.
 msgid ""
 msgstr ""
 "Project-Id-Version: PROJECT VERSION\n"
diff --git a/superset/translations/messages.pot b/superset/translations/messages.pot
index 236b694..cd4a3f7 100644
--- a/superset/translations/messages.pot
+++ b/superset/translations/messages.pot
@@ -14,11 +14,7 @@
 # KIND, either express or implied.  See the License for the
 # specific language governing permissions and limitations
 # under the License.
-# Translations template for PROJECT.
-# Copyright (C) 2018 ORGANIZATION
-# This file is distributed under the same license as the PROJECT project.
-# FIRST AUTHOR <EMAIL@ADDRESS>, 2018.
-#
+
 #, fuzzy
 msgid ""
 msgstr ""
diff --git a/superset/translations/pt/LC_MESSAGES/message.po b/superset/translations/pt/LC_MESSAGES/message.po
index 071d6e2..e8a91fe 100644
--- a/superset/translations/pt/LC_MESSAGES/message.po
+++ b/superset/translations/pt/LC_MESSAGES/message.po
@@ -14,11 +14,6 @@
 # KIND, either express or implied.  See the License for the
 # specific language governing permissions and limitations
 # under the License.
-# Translations template for PROJECT.
-# Copyright (C) 2017 ORGANIZATION
-# This file is distributed under the same license as the PROJECT project.
-# FIRST AUTHOR <EMAIL@ADDRESS>, 2017.
-#
 msgid ""
 msgstr ""
 "Project-Id-Version: PROJECT VERSION\n"
diff --git a/superset/translations/pt/LC_MESSAGES/messages.mo b/superset/translations/pt/LC_MESSAGES/messages.mo
deleted file mode 100644
index 549b490..0000000
Binary files a/superset/translations/pt/LC_MESSAGES/messages.mo and /dev/null differ
diff --git a/superset/translations/pt_BR/LC_MESSAGES/messages.mo b/superset/translations/pt_BR/LC_MESSAGES/messages.mo
deleted file mode 100644
index 81fed17..0000000
Binary files a/superset/translations/pt_BR/LC_MESSAGES/messages.mo and /dev/null differ
diff --git a/superset/translations/pt_BR/LC_MESSAGES/messages.po b/superset/translations/pt_BR/LC_MESSAGES/messages.po
index fab78c6..e73ce03 100644
--- a/superset/translations/pt_BR/LC_MESSAGES/messages.po
+++ b/superset/translations/pt_BR/LC_MESSAGES/messages.po
@@ -14,11 +14,6 @@
 # KIND, either express or implied.  See the License for the
 # specific language governing permissions and limitations
 # under the License.
-# Translations template for PROJECT.
-# Copyright (C) 2017 ORGANIZATION
-# This file is distributed under the same license as the PROJECT project.
-# FIRST AUTHOR <EMAIL@ADDRESS>, 2017.
-#
 msgid ""
 msgstr ""
 "Project-Id-Version: PROJECT VERSION\n"
diff --git a/superset/translations/ru/LC_MESSAGES/messages.mo b/superset/translations/ru/LC_MESSAGES/messages.mo
deleted file mode 100644
index cb7466b..0000000
Binary files a/superset/translations/ru/LC_MESSAGES/messages.mo and /dev/null differ
diff --git a/superset/translations/ru/LC_MESSAGES/messages.po b/superset/translations/ru/LC_MESSAGES/messages.po
index e414e6f..ea89a33 100644
--- a/superset/translations/ru/LC_MESSAGES/messages.po
+++ b/superset/translations/ru/LC_MESSAGES/messages.po
@@ -14,9 +14,6 @@
 # KIND, either express or implied.  See the License for the
 # specific language governing permissions and limitations
 # under the License.
-# Russian translations for Superset.
-# Copyright (C) 2018
-#
 msgid ""
 msgstr ""
 "Project-Id-Version: PROJECT VERSION\n"
diff --git a/superset/translations/zh/LC_MESSAGES/messages.mo b/superset/translations/zh/LC_MESSAGES/messages.mo
deleted file mode 100644
index 7b7ee98..0000000
Binary files a/superset/translations/zh/LC_MESSAGES/messages.mo and /dev/null differ
diff --git a/superset/translations/zh/LC_MESSAGES/messages.po b/superset/translations/zh/LC_MESSAGES/messages.po
index 866adaa..5077f76 100644
--- a/superset/translations/zh/LC_MESSAGES/messages.po
+++ b/superset/translations/zh/LC_MESSAGES/messages.po
@@ -15,11 +15,6 @@
 # specific language governing permissions and limitations
 # under the License.
 # Chinese translations for Apache Superset.
-# Copyright (C) 2016 ORGANIZATION
-# This file is distributed under the same license as the Apache Superset
-# project.
-# FIRST AUTHOR <EMAIL@ADDRESS>, 2016.
-#
 msgid ""
 msgstr ""
 "Project-Id-Version: Apache Superset 0.22.1\n"


Mime
View raw message