superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maximebeauche...@apache.org
Subject [incubator-superset] 01/01: Apache Releases
Date Sat, 13 Apr 2019 21:37:27 GMT
This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a commit to branch 0.31
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git

commit ac4aa87d40246e88cfd8df51c11cdb95c57bc478
Author: Maxime Beauchemin <maximebeauchemin@gmail.com>
AuthorDate: Mon Mar 18 22:11:00 2019 -0700

    Apache Releases
---
 .gitignore                    |  1 +
 INSTALL.txt                   | 31 ++++++++++++++++++++
 scripts/apache-release.sh     |  9 ++++++
 .gitignore => scripts/sign.sh | 68 ++++++-------------------------------------
 4 files changed, 50 insertions(+), 59 deletions(-)

diff --git a/.gitignore b/.gitignore
index 0aa0933..cf8607d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -76,3 +76,4 @@ celerybeat.pid
 geckodriver.log
 ghostdriver.log
 testCSV.csv
+apache-superset-*.tar.gz*
diff --git a/INSTALL.txt b/INSTALL.txt
new file mode 100644
index 0000000..9bc4eb5
--- /dev/null
+++ b/INSTALL.txt
@@ -0,0 +1,31 @@
+# INSTALL / BUILD instructions for Apache Superset (incubating)
+
+# [required] fetch the tarball and untar the source
+# change into the directory that was untarred.
+
+# Superset runs best on python3.6
+# Also recommended is the latest long term supported node / npm
+
+# Fetch npm dependencies
+cd superset/assets/
+npm ci
+
+# Build the Javascript bundles
+npm run prod
+
+# 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
+
+# For complementary information read our CONTRIBUTING.md
diff --git a/scripts/apache-release.sh b/scripts/apache-release.sh
new file mode 100644
index 0000000..544a559
--- /dev/null
+++ b/scripts/apache-release.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+set -e
+
+export VERSION=0.31.0rc18
+
+git tag -f ${VERSION}
+#git clean -fxd
+git archive --format=tar.gz ${VERSION} --prefix=apache-superset-${VERSION}/ -o apache-superset-${VERSION}-source.tar.gz
+scripts/sign.sh apache-superset-${VERSION}-source.tar.gz
diff --git a/.gitignore b/scripts/sign.sh
old mode 100644
new mode 100755
similarity index 50%
copy from .gitignore
copy to scripts/sign.sh
index 0aa0933..33054a1
--- a/.gitignore
+++ b/scripts/sign.sh
@@ -1,3 +1,4 @@
+#!/usr/bin/env bash
 #
 # Licensed to the Apache Software Foundation (ASF) under one or more
 # contributor license agreements.  See the NOTICE file distributed with
@@ -14,65 +15,14 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 #
-*.bak
-*.db
-*.pyc
-*.sqllite
-*.swp
-.cache-loader
-.coverage
-.DS_Store
-.eggs
-.idea
-.python-version
-.tox
-.vscode
-_build
-_images
-_modules
-_static
-build
-app.db
-changelog.sh
-dist
-dump.rdb
-env
-env_py3
-envpy3
-local_config.py
-superset_config.py
-superset.egg-info/
-superset/bin/supersetc
-tmp
 
-# Node.js, webpack artifacts
-*.entry.js
-*.js.map
-node_modules
-npm-debug.log*
-superset/assets/coverage/*
-superset/assets/cypress/screenshots
-superset/assets/cypress/videos
-superset/assets/version_info.json
-yarn-error.log
+# Use this to sign the tar balls generated from
+# python setup.py sdist --formats=gztar
+# ie. sign.sh <my_tar_ball>
+# you will still be required to type in your signing key password
+# or it needs to be available in your keychain
 
-# IntelliJ
-*.iml
-venv
-@eaDir/
+NAME=${1}
 
-# Docker
-./Dockerfile
-./docker-build.sh
-./docker-compose.yml
-./docker-entrypoint.sh
-./docker-init.sh
-
-# Test data
-celery_results.sqlite
-celerybeat-schedule
-celerydb.sqlite
-celerybeat.pid
-geckodriver.log
-ghostdriver.log
-testCSV.csv
+gpg --armor --output ${NAME}.asc --detach-sig ${NAME}
+gpg --print-md SHA512 ${NAME} > ${NAME}.sha512


Mime
View raw message