Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
158 commits
Select commit Hold shift + click to select a range
1609403
filter scope selector modal
Oct 17, 2019
c62b2f4
[docs] CTAS on PostgreSQL needs commit to apply (#8367)
dpgaspar Oct 17, 2019
d3406e0
[Config] Cache static resources (#8370)
Oct 17, 2019
a199901
[sqla] Enforcing ISO 8601 date/timestamp formats (#7702)
john-bodley Oct 17, 2019
9fc37ea
[ci] Deprecate flake8 (#8409)
john-bodley Oct 18, 2019
1e533db
fixed typo in installation instructions (#8413)
francishemingway Oct 21, 2019
4cfd6b3
[tests] Fix, removing deprecated function for future Python release c…
MarcusSorealheis Oct 21, 2019
cca689b
Add improved typed casting to BigQuery (#8331)
betodealmeida Oct 21, 2019
8f246ce
chore: disable another flaky cypress test (#8423)
mistercrunch Oct 22, 2019
b91205d
[pydruid] Bumping the pydruid version (#8430)
john-bodley Oct 22, 2019
a0db22b
docs: add a note to RELEASING about Slack Channel (#8419)
mistercrunch Oct 23, 2019
cde17a8
docs: Add an 'Orientation' section to CONTRIBUTING.md (#8422)
mistercrunch Oct 23, 2019
9d2a391
convert ids to scope object
Oct 22, 2019
970e636
remove changes that should be another PR
Oct 23, 2019
08c6b61
[fix] refine release instructions (#8381)
villebro Oct 23, 2019
786d770
[fix] Updating parse_human_timedelta typing (#8436)
john-bodley Oct 23, 2019
19d2ea2
spelling fix (#8442)
austinpray Oct 24, 2019
a39c24e
explain the need to enable async queries (#8444)
christophlingg Oct 24, 2019
1d5718a
introduce a space in command line option (#8438)
christophlingg Oct 24, 2019
82b1747
Split up tests/db_engine_test.py (#8449)
Oct 25, 2019
59889a4
[setup] Fix, download_url (#8439)
dpgaspar Oct 25, 2019
e704e29
Allow fetching all rows from results endpoint (#8389)
betodealmeida Oct 25, 2019
2c7fcf0
add single-field-edit in multi-edit mode switch
Oct 25, 2019
eaeed0c
removed repeated word (#8458)
alexandrebrilhante Oct 26, 2019
c1810aa
[docs] Crafting a new release (#8433)
dpgaspar Oct 28, 2019
148cec4
Add UI-only database configuration method for extended authorization …
Oct 28, 2019
a757b43
[db engine] Add support for Elasticsearch (#8441)
dpgaspar Oct 28, 2019
f7f0be5
[SIP-15] Making client time use UTC as the local time (#8450)
john-bodley Oct 28, 2019
8b74745
[SIP-15] Adding initial framework (#8398)
john-bodley Oct 28, 2019
1adf742
Provide documentation for using a Service Account to connect to BigQu…
Oct 29, 2019
5fb0bcb
[Datasource Editor] A few small UI changes in modal to prevent accide…
Oct 29, 2019
7afda6e
Update UPDATING.md (#8465)
john-bodley Oct 30, 2019
0a3b121
[sql] Fixing datetime SQL literal (#8464)
john-bodley Oct 30, 2019
18c6d17
docs: more release instructions (#8432)
mistercrunch Oct 30, 2019
3cba1bd
feat: add expand_data parameter (#8472)
khtruong Oct 30, 2019
e4ca44e
Use `config[]` not `config.get()` (#8454)
Oct 30, 2019
1ccfa4f
Re-enable DRUID_IS_ACTIVE flag (#8482)
Oct 31, 2019
a8f1589
fixing typo. (#8487)
MarcusSorealheis Oct 31, 2019
06a4108
Enhance docs for email reporting (#8486)
christophlingg Oct 31, 2019
eb150eb
[sip-15] Fix time range endpoints encoding (#8481)
john-bodley Oct 31, 2019
554a6d8
[sip-15] Adding database level python-date-format (#8474)
john-bodley Oct 31, 2019
226bd40
fix code review comments (round 1)
Oct 29, 2019
d46b47a
feat(TableVis): Switch to the new table plugin (#8446)
conglei Nov 1, 2019
acad66d
[datasource editor] Only one click target for edit action (#8495)
Nov 2, 2019
fda2333
[SIP-15] Updating ISO 8601 regex match to make time optional (#8494)
john-bodley Nov 2, 2019
a305b1a
Change Fedora installation instructions + some small formatting chang…
francishemingway Nov 4, 2019
51c2290
feat: add korea(South) info on CountryMap viz and bump legacy-plugin-…
yahwang Nov 4, 2019
5df1fcb
Add `Duplicate Tab` option (#8485)
paulvic Nov 4, 2019
4c35de1
build: bump dompurify version because of nasty xss bypass. (#8498)
MarcusSorealheis Nov 4, 2019
9a29116
[typing] superset/models/core.py (#8284)
serenajiang Nov 4, 2019
338a2b1
Allow user to customize query cost estimate (#8470)
betodealmeida Nov 4, 2019
5dba2f4
[SIP-15] Adding grace period (#8490)
john-bodley Nov 4, 2019
5617f87
Updating pip with default timeout (#8492)
liuyanpunk Nov 5, 2019
0730261
Fix column type on dbs.encrypted_extra, add instructions for testing …
Nov 5, 2019
e8af945
Update query tab's title when saving a new query (#8484)
paulvic Nov 5, 2019
926dca3
[docs] Small fixes on the release docs (#8500)
dpgaspar Nov 5, 2019
0e64dc8
[SIP-15] Making sure the toast link opens in a new tab (#8503)
john-bodley Nov 5, 2019
7e7f553
Remove tabs (#8508)
betodealmeida Nov 5, 2019
571c474
Make Report a bug link open in a new tab (#8509)
Nov 5, 2019
d78e59b
revert tablevis (#8515)
conglei Nov 6, 2019
1e3d833
[sip-15] Fixing time range endpoints from dashboards (#8513)
john-bodley Nov 6, 2019
ec476fc
Default page: remove title attribute to fall back on appbuilder.app_n…
Zanoellia Nov 6, 2019
98f1ac7
refactory after design review
Nov 5, 2019
397e1e3
Replace hardcoded default colors with defaults in setupColors.js (#8510)
villebro Nov 7, 2019
49ea232
[fix] Improve csv upload functionality (#8457)
villebro Nov 7, 2019
c4c01d6
[docs] Adding Slice parameter documentation (#8531)
john-bodley Nov 8, 2019
5ed2190
[docs] User tutorial (#8459)
francishemingway Nov 8, 2019
650c848
[cli] Fix, import datasources exported by UI (#8477)
dpgaspar Nov 10, 2019
64de9aa
[docs] Updating slice parameter documentation. (#8535)
john-bodley Nov 10, 2019
58f69a4
fix a few props initial value
Nov 11, 2019
6bce4f9
fab 2.2.0 (#8517)
nytai Nov 12, 2019
62476c5
Allow customization of documentation icon and text (#8507)
paulvic Nov 12, 2019
763f59f
Add support for database engine SAP Hana (#8411)
axuew Nov 12, 2019
b7b655e
[docs] 0.35.0 CHANGELOG (#8547)
dpgaspar Nov 12, 2019
a867d41
Upgrade superset-ui/time-format (#8541)
Nov 12, 2019
1b3e40f
Clickable checkbox labels (#8534)
rusackas Nov 12, 2019
a58b392
Encode feature flags to JSON pessimistically (#8529)
betodealmeida Nov 12, 2019
7bfa24d
[fix] Re-cleanup legacy filters (#8523)
john-bodley Nov 12, 2019
0499198
[docs] CTAS on PostgreSQL needs commit to apply (#8367)
dpgaspar Oct 17, 2019
b19a2ac
[Config] Cache static resources (#8370)
Oct 17, 2019
6ef1acc
[sqla] Enforcing ISO 8601 date/timestamp formats (#7702)
john-bodley Oct 17, 2019
a521df1
[ci] Deprecate flake8 (#8409)
john-bodley Oct 18, 2019
ae6558b
fixed typo in installation instructions (#8413)
francishemingway Oct 21, 2019
81d92b3
[tests] Fix, removing deprecated function for future Python release c…
MarcusSorealheis Oct 21, 2019
f03a179
Add improved typed casting to BigQuery (#8331)
betodealmeida Oct 21, 2019
f500d7e
chore: disable another flaky cypress test (#8423)
mistercrunch Oct 22, 2019
322296f
[pydruid] Bumping the pydruid version (#8430)
john-bodley Oct 22, 2019
ba13a0a
docs: add a note to RELEASING about Slack Channel (#8419)
mistercrunch Oct 23, 2019
0757fdf
docs: Add an 'Orientation' section to CONTRIBUTING.md (#8422)
mistercrunch Oct 23, 2019
e72d57d
[fix] refine release instructions (#8381)
villebro Oct 23, 2019
1eec068
[fix] Updating parse_human_timedelta typing (#8436)
john-bodley Oct 23, 2019
d77234e
spelling fix (#8442)
austinpray Oct 24, 2019
5c3897e
explain the need to enable async queries (#8444)
christophlingg Oct 24, 2019
88cba26
introduce a space in command line option (#8438)
christophlingg Oct 24, 2019
a81de23
Split up tests/db_engine_test.py (#8449)
Oct 25, 2019
966e9e1
[setup] Fix, download_url (#8439)
dpgaspar Oct 25, 2019
1761a81
Allow fetching all rows from results endpoint (#8389)
betodealmeida Oct 25, 2019
4f8f491
removed repeated word (#8458)
alexandrebrilhante Oct 26, 2019
f0b35cb
[docs] Crafting a new release (#8433)
dpgaspar Oct 28, 2019
6a98d0d
Add UI-only database configuration method for extended authorization …
Oct 28, 2019
7f548ef
[db engine] Add support for Elasticsearch (#8441)
dpgaspar Oct 28, 2019
eaa7082
[SIP-15] Making client time use UTC as the local time (#8450)
john-bodley Oct 28, 2019
c42960f
[SIP-15] Adding initial framework (#8398)
john-bodley Oct 28, 2019
abfd848
Provide documentation for using a Service Account to connect to BigQu…
Oct 29, 2019
165e6c4
[Datasource Editor] A few small UI changes in modal to prevent accide…
Oct 29, 2019
6c9a9fc
Update UPDATING.md (#8465)
john-bodley Oct 30, 2019
aff55a3
[sql] Fixing datetime SQL literal (#8464)
john-bodley Oct 30, 2019
14accec
docs: more release instructions (#8432)
mistercrunch Oct 30, 2019
6a04f72
feat: add expand_data parameter (#8472)
khtruong Oct 30, 2019
97bfa7a
Use `config[]` not `config.get()` (#8454)
Oct 30, 2019
2f72367
Re-enable DRUID_IS_ACTIVE flag (#8482)
Oct 31, 2019
4a0395e
fixing typo. (#8487)
MarcusSorealheis Oct 31, 2019
706da5e
Enhance docs for email reporting (#8486)
christophlingg Oct 31, 2019
29507ba
[sip-15] Fix time range endpoints encoding (#8481)
john-bodley Oct 31, 2019
9c9ddc6
[sip-15] Adding database level python-date-format (#8474)
john-bodley Oct 31, 2019
da7d4b1
feat(TableVis): Switch to the new table plugin (#8446)
conglei Nov 1, 2019
6550507
[datasource editor] Only one click target for edit action (#8495)
Nov 2, 2019
0f88e0a
[SIP-15] Updating ISO 8601 regex match to make time optional (#8494)
john-bodley Nov 2, 2019
d0ce878
Change Fedora installation instructions + some small formatting chang…
francishemingway Nov 4, 2019
ca7a3d0
feat: add korea(South) info on CountryMap viz and bump legacy-plugin-…
yahwang Nov 4, 2019
5781336
Add `Duplicate Tab` option (#8485)
paulvic Nov 4, 2019
6fdd5b4
build: bump dompurify version because of nasty xss bypass. (#8498)
MarcusSorealheis Nov 4, 2019
4eef89a
[typing] superset/models/core.py (#8284)
serenajiang Nov 4, 2019
c0053e6
Allow user to customize query cost estimate (#8470)
betodealmeida Nov 4, 2019
e8135be
[SIP-15] Adding grace period (#8490)
john-bodley Nov 4, 2019
909b7ce
Updating pip with default timeout (#8492)
liuyanpunk Nov 5, 2019
c81ded9
Fix column type on dbs.encrypted_extra, add instructions for testing …
Nov 5, 2019
8957bab
Update query tab's title when saving a new query (#8484)
paulvic Nov 5, 2019
6207802
[docs] Small fixes on the release docs (#8500)
dpgaspar Nov 5, 2019
89d0ee7
[SIP-15] Making sure the toast link opens in a new tab (#8503)
john-bodley Nov 5, 2019
9c98870
Remove tabs (#8508)
betodealmeida Nov 5, 2019
4676e4d
Make Report a bug link open in a new tab (#8509)
Nov 5, 2019
a763eb4
revert tablevis (#8515)
conglei Nov 6, 2019
cc04287
[sip-15] Fixing time range endpoints from dashboards (#8513)
john-bodley Nov 6, 2019
c1b4fdb
Default page: remove title attribute to fall back on appbuilder.app_n…
Zanoellia Nov 6, 2019
0425549
Replace hardcoded default colors with defaults in setupColors.js (#8510)
villebro Nov 7, 2019
0664189
[fix] Improve csv upload functionality (#8457)
villebro Nov 7, 2019
a622f50
[docs] Adding Slice parameter documentation (#8531)
john-bodley Nov 8, 2019
0c55647
[docs] User tutorial (#8459)
francishemingway Nov 8, 2019
18046c2
[cli] Fix, import datasources exported by UI (#8477)
dpgaspar Nov 10, 2019
249947a
[docs] Updating slice parameter documentation. (#8535)
john-bodley Nov 10, 2019
630360f
fab 2.2.0 (#8517)
nytai Nov 12, 2019
5091270
Allow customization of documentation icon and text (#8507)
paulvic Nov 12, 2019
a548c63
Add support for database engine SAP Hana (#8411)
axuew Nov 12, 2019
085ccbc
[docs] 0.35.0 CHANGELOG (#8547)
dpgaspar Nov 12, 2019
b9f5678
Upgrade superset-ui/time-format (#8541)
Nov 12, 2019
1fd36bb
Clickable checkbox labels (#8534)
rusackas Nov 12, 2019
9a29367
Encode feature flags to JSON pessimistically (#8529)
betodealmeida Nov 12, 2019
4456fa3
[fix] Re-cleanup legacy filters (#8523)
john-bodley Nov 12, 2019
90275fe
Add convert_dttm method to SnowflakeEngineSpec (#8551)
villebro Nov 13, 2019
051d311
filter scope selector modal
Oct 17, 2019
29adb4c
convert ids to scope object
Oct 22, 2019
dd5c47f
remove changes that should be another PR
Oct 23, 2019
4bcc579
add single-field-edit in multi-edit mode switch
Oct 25, 2019
b0549a2
fix code review comments (round 1)
Oct 29, 2019
7f41641
refactory after design review
Nov 5, 2019
292570e
fix a few props initial value
Nov 11, 2019
d3bc346
Merge remote-tracking branch 'origin/scope-selector-modal' into scope…
Nov 13, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
17 changes: 11 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,21 @@
#
repos:
- repo: https://github.com/ambv/black
rev: stable
rev: 19.3b0
hooks:
- id: black
language_version: python3

- repo: https://github.com/asottile/seed-isort-config
rev: v1.9.3
hooks:
- id: seed-isort-config

- repo: https://github.com/pre-commit/mirrors-isort
rev: v4.3.21
hooks:
- id: isort

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.2.3
hooks:
Expand All @@ -30,8 +40,3 @@ repos:
- id: check-added-large-files
- id: check-yaml
- id: debug-statements

- repo: https://gitlab.com/pycqa/flake8
rev: 3.7.1
hooks:
- id: flake8
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,10 @@ jobs:
env: TOXENV=black
- language: python
python: 3.6
env: TOXENV=flake8
env: TOXENV=isort
- language: python
python: 3.6
env: TOXENV=mypy
- language: python
python: 3.6
env: TOXENV=py36-sqlite
Expand Down
136 changes: 136 additions & 0 deletions CHANGELOG.md

Large diffs are not rendered by default.

381 changes: 379 additions & 2 deletions CONTRIBUTING.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion RELEASING/Dockerfile.from_tarball
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ RUN pip install --upgrade setuptools pip \
&& pip install -e . \
&& rm -rf /root/.cache/pip

RUN fabmanager babel-compile --target superset/translations
RUN flask fab babel-compile --target superset/translations

RUN pip install -e . \
&& rm -rf /root/.cache/pip
Expand Down
171 changes: 139 additions & 32 deletions RELEASING/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,16 @@ under the License.

# Apache Releases

You'll probably want to run these commands manually and understand what
Until things settle and we create scripts that streamline this,
you'll probably want to run these commands manually and understand what
they do prior to doing so.

## Release setup
For coordinating on releases, on operational topics that require more
synchronous communications, we recommend using the `#apache-releases` channel
on the Superset Slack. People crafting releases and those interested in
partaking in the process should join the channel.

## Release setup (First Time Only)

First you need to setup a few things. This is a one-off and doesn't
need to be done at every release.
Expand All @@ -40,69 +46,171 @@ need to be done at every release.


# Add your GPG pub key to KEYS file. Replace "Maxime Beauchemin" with your name
export FULLNAME="Maxime Beauchemin"
(gpg --list-sigs $FULLNAME && gpg --armor --export $FULLNAME ) >> KEYS
export SUPERSET_PGP_FULLNAME="Maxime Beauchemin"
(gpg --list-sigs "${SUPERSET_PGP_FULLNAME}" && gpg --armor --export "${SUPERSET_PGP_FULLNAME}" ) >> KEYS


# Commit the changes
svn commit -m "Add PGP keys of new Superset committer"
```

## Crafting tarball and signatures
## Crafting a source release

When crafting a new minor or major release we create
a branch named with the release MAJOR.MINOR version.
This new branch will hold all PATCH and release candidates
that belong to the MAJOR.MINOR version.

The MAJOR.MINOR branch is normally a "cut" from a specific point in time from the master branch.
Then (if needed) apply all cherries that will make the PATCH

Finally bump the version number on `superset/static/assets/package.json` ::

"version": "0.35.0"

Commit the change with the version number, then git tag the version with the release candidate and push

## Setting up the release environment (do every time)

As the vote process takes a minimum of 72h (community vote) + 72h (IPMC) vote,
often stretching over several weeks calendar time if votes don't pass, chances are
the same terminal session won't be used for crafting the release candidate and the
final release. Therefore, it's a good idea to do the following every time you
work on a new phase of the release process to make sure you aren't releasing
the wrong files/using wrong names:

Now let's craft a source release
```bash
# Assuming these commands are executed from the root of the repo
export REPO_DIR=$(pwd)
# Set VERSION to the release being prepared (rc1 for first vote on version)
export VERSION=0.34.1rc1
export RELEASE=apache-superset-incubating-${VERSION}
export RELEASE_TARBALL=${RELEASE}-source.tar.gz
# Set SUPERSET_VERSION to the release being prepared, e.g. 0.34.1.
export SUPERSET_VERSION=XX.YY.ZZ
# Set RC to the release candindate number. Replacing QQ below with 1
# indicates rc1 i.e. first vote on version above (0.34.1rc1)
export SUPERSET_RC=QQ
```

Then you can generate other derived environment variables that are used
throughout the release process:

```bash
# Replace SUPERSET_PGP_FULLNAME with your PGP key name for Apache
export SUPERSET_PGP_FULLNAME="YOURFULLNAMEHERE"
export SUPERSET_VERSION_RC=${SUPERSET_VERSION}rc${SUPERSET_RC}
export SUPERSET_RELEASE=apache-superset-incubating-${SUPERSET_VERSION}
export SUPERSET_RELEASE_RC=apache-superset-incubating-${SUPERSET_VERSION_RC}
export SUPERSET_RELEASE_TARBALL=${SUPERSET_RELEASE}-source.tar.gz
export SUPERSET_RELEASE_RC_TARBALL=${SUPERSET_RELEASE_RC}-source.tar.gz
```

## Preparing the release candidate

The first step of preparing an Apache Release is packaging a release candidate
to be voted on. Start by going to the root of the repo and making sure the
prerequisites are in order:

```bash
# Go to the root directory of the repo, e.g. `~/src/incubator-superset`
cd ~/src/incubator-superset/
export SUPERSET_REPO_DIR=$(pwd)
# make sure you're on the correct branch (e.g. 0.34)
git branch
```

Make sure the version number under `superset/assets/package.json` corresponds
to `SUPERSET_VERSION` above (`0.34.1` in example above), and has been committed to the
branch.

```bash
grep ${SUPERSET_VERSION} superset/assets/package.json
```

If nothing shows up, either the version isn't correctly set in `package.json`,
or the environment variable is misconfigured.

### Crafting tarball and signatures

Now let's craft a source release
```bash
# Let's create a git tag
git tag -f ${VERSION}
git tag -f ${SUPERSET_VERSION_RC}

# Create the target folder
mkdir -p ~/svn/superset_dev/${VERSION}/
mkdir -p ~/svn/superset_dev/${SUPERSET_VERSION_RC}/
git archive \
--format=tar.gz ${VERSION} \
--prefix="${RELEASE}/" \
-o ~/svn/superset_dev/${VERSION}/${RELEASE_TARBALL}
--format=tar.gz ${SUPERSET_VERSION_RC} \
--prefix="${SUPERSET_RELEASE_RC}/" \
-o ~/svn/superset_dev/${SUPERSET_VERSION_RC}/${SUPERSET_RELEASE_RC_TARBALL}

cd ~/svn/superset_dev/${SUPERSET_VERSION_RC}/
${SUPERSET_REPO_DIR}/scripts/sign.sh "${SUPERSET_RELEASE_RC_TARBALL}" "${SUPERSET_PGP_FULLNAME}"

# To verify to signature
gpg --verify "${SUPERSET_RELEASE_RC_TARBALL}".asc "${SUPERSET_RELEASE_RC_TARBALL}"

cd ~/svn/superset_dev/${VERSION}/
${REPO_DIR}/scripts/sign.sh ${RELEASE}-source.tar.gz
```

## Shipping to SVN
### Shipping to SVN

Now let's ship this RC into svn's dev folder

```bash
cd ~/svn/superset_dev/
svn add ${VERSION}
svn commit -m "${VERSION}"
svn add ${SUPERSET_VERSION_RC}
svn commit -m "Release ${SUPERSET_VERSION_RC}"
```

Now you're ready to start the VOTE thread.
### Voting
Now you're ready to start the [VOTE] thread. Here's an example of a
previous release vote thread:
https://lists.apache.org/thread.html/e60f080ebdda26896214f7d3d5be1ccadfab95d48fbe813252762879@<dev.superset.apache.org>

Once 3+ binding votes (by PMC members) have been cast and at
least 72 hours have past, you can post a [RESULT] thread:
https://lists.apache.org/thread.html/50a6b134d66b86b237d5d7bc89df1b567246d125a71394d78b45f9a8@%3Cdev.superset.apache.org%3E

Following the result thread, yet another [VOTE] thread should be
started at general@incubator.apache.org.

### Announcing

Once it's all done, an [ANNOUNCE] thread announcing the release to the dev@ mailing list is the final step.

## Validating a release
### Validating a release

https://www.apache.org/info/verification.html

## Publishing a successful release

Upon a successful vote, you'll have to copy the folder into the non-"dev/"
folder.
Upon a successful vote (community AND IPMC), you'll have to copy the folder
into the non-"dev/" folder.
```bash
cp -r ~/svn/superset_dev/${VERSION}/ ~/svn/superset/${VERSION}/
cp -r ~/svn/superset_dev/${SUPERSET_VERSION_RC}/ ~/svn/superset/${SUPERSET_VERSION}/
cd ~/svn/superset/
svn add ${VERSION}
svn commit -m "${VERSION}"
# Rename the RC (0.34.1rc1) to the actual version being released (0.34.1)
for f in ${SUPERSET_VERSION}/*; do mv "$f" "${f/${SUPERSET_VERSION_RC}/${SUPERSET_VERSION}}"; done
svn add ${SUPERSET_VERSION}
svn commit -m "Release ${SUPERSET_VERSION}"
```

Then tag the final release:
```bash
# Go to the root directory of the repo, e.g. `~/src/incubator-superset`
cd ~/src/incubator-superset/
# make sure you're on the correct branch (e.g. 0.34)
git branch
# Create the release tag
git tag -f ${SUPERSET_VERSION}
```

Now you can announce the release on the mailing list, make sure to use the
proper template

### Publishing a Convenience Release to PyPI
From the root of the repo running ./pypi_push.sh will build the
Javascript bundle and echo the twine command allowing you to publish
to PyPI. You may need to ask a fellow committer to grant
you access to it if you don't have access already. Make sure to create
an account first if you don't have one, and reference your username
while requesting access to push packages.

## Post release

In `UPDATING.md`, a file that contains a list of notifications around
Expand All @@ -115,11 +223,10 @@ section for the new release.
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
docker build -t apache-superset:${SUPERSET_VERSION_RC} -f Dockerfile.from_tarball . --build-arg VERSION=${SUPERSET_VERSION_RC}

# testing the resulting docker
docker run -p 5001:8088 apache-superset:$VERSION
docker run -p 5001:8088 apache-superset:${SUPERSET_VERSION_RC}
# you should be able to access localhost:5001 on your browser
# login using admin/admin
```
Expand Down
3 changes: 1 addition & 2 deletions RELEASING/from_tarball_entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ 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 \
flask fab create-admin \
--username admin \
--firstname admin \
--lastname admin \
Expand Down
19 changes: 15 additions & 4 deletions UPDATING.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,15 @@ assists people when migrating to a new version.

## Next Version

* [8450](https://github.com/apache/incubator-superset/pull/8450): The time ranger picker
now uses UTC for the tooltips and default placeholder timestamps (sans timezone).

* [8370](https://github.com/apache/incubator-superset/pull/8370): Deprecates
the `HTTP_HEADERS` variable in favor of `DEFAULT_HTTP_HEADERS` and
`OVERRIDE_HTTP_HEADERS`. To retain the same behavior you should use
`OVERRIDE_HTTP_HEADERS` instead of `HTTP_HEADERS`. `HTTP_HEADERS` will still
work but may be removed in a future update.

* We're deprecating the concept of "restricted metric", this feature
was not fully working anyhow.
* [8117](https://github.com/apache/incubator-superset/pull/8117): If you are
Expand Down Expand Up @@ -63,16 +72,18 @@ which adds missing non-nullable fields to the `datasources` table. Depending on
the integrity of the data, manual intervention may be required.

* [5452](https://github.com/apache/incubator-superset/pull/5452): a change
which adds missing non-nullable fields and uniqueness constraints to the
`columns`and `table_columns` tables. Depending on the integrity of the data,
manual intervention may be required.
which adds missing non-nullable fields and uniqueness constraints (which may be
case insensitive depending on your database configuration) to the `columns`and
`table_columns` tables. Depending on the integrity of the data, manual
intervention may be required.
* `fabmanager` command line is deprecated since Flask-AppBuilder 2.0.0, use
the new `flask fab <command>` integrated with *Flask cli*.
* `SUPERSET_UPDATE_PERMS` environment variable was replaced by
`FAB_UPDATE_PERMS` config boolean key. To disable automatic
creation of permissions set `FAB_UPDATE_PERMS = False` on config.
* [5453](https://github.com/apache/incubator-superset/pull/5453): a change
which adds missing non-nullable fields and uniqueness constraints to the metrics
which adds missing non-nullable fields and uniqueness constraints (which may be
case insensitive depending on your database configuration) to the metrics
and sql_metrics tables. Depending on the integrity of the data, manual
intervention may be required.
* [7616](https://github.com/apache/incubator-superset/pull/7616): this bug fix
Expand Down
4 changes: 2 additions & 2 deletions contrib/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ COPY requirements.txt .
COPY requirements-dev.txt .
COPY contrib/docker/requirements-extra.txt .

RUN pip install --upgrade setuptools pip \
&& pip install -r requirements.txt -r requirements-dev.txt -r requirements-extra.txt \
RUN pip --default-timeout=120 install --upgrade setuptools pip \
&& pip --default-timeout=120 install -r requirements.txt -r requirements-dev.txt -r requirements-extra.txt \
&& rm -rf /root/.cache/pip

COPY --chown=superset:superset superset superset
Expand Down
4 changes: 2 additions & 2 deletions docs/tutorial.rst → docs/admintutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
specific language governing permissions and limitations
under the License.

Tutorial - Creating your first dashboard
========================================
Creating your first dashboard
=============================

This tutorial targets someone who wants to create charts and dashboards
in Superset. We'll show you how to connect Superset
Expand Down
6 changes: 4 additions & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ Features
Databases
---------

The following RDBMS are currently suppored:
The following RDBMS are currently supported:

- `Amazon Athena <https://aws.amazon.com/athena/>`_
- `Amazon Redshift <https://aws.amazon.com/redshift/>`_
Expand All @@ -109,6 +109,7 @@ The following RDBMS are currently suppored:
- `Apache Spark SQL <https://spark.apache.org/sql/>`_
- `BigQuery <https://cloud.google.com/bigquery/>`_
- `ClickHouse <https://clickhouse.yandex/>`_
- `Elasticsearch <https://www.elastic.co/products/elasticsearch/>`_
- `Exasol <https://www.exasol.com/>`_
- `Google Sheets <https://www.google.com/sheets/about/>`_
- `Greenplum <https://greenplum.org/>`_
Expand All @@ -122,6 +123,7 @@ The following RDBMS are currently suppored:
- `SQL Server <https://www.microsoft.com/en-us/sql-server/>`_
- `Teradata <https://www.teradata.com/>`_
- `Vertica <https://www.vertica.com/>`_
- `Hana <https://www.sap.com/products/hana.html>`_

Other database engines with a proper DB-API driver and SQLAlchemy dialect should
be supported as well.
Expand Down Expand Up @@ -153,7 +155,7 @@ Contents
:maxdepth: 2

installation
tutorial
tutorials
security
sqllab
gallery
Expand Down
Loading