Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding codecov yml thresholds #2

Open
wants to merge 124 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
124 commits
Select commit Hold shift + click to select a range
fb9fdc8
Show tooltip with time frame (#6979)
betodealmeida Mar 13, 2019
7488b4d
Fix time filter control (#6978)
betodealmeida Mar 13, 2019
7d95036
feat: add ability to change font size in big number (#7003)
khtruong Mar 19, 2019
f66b598
Allow LIMIT to be specified in parameters (#7052)
betodealmeida Mar 20, 2019
e974a23
[Lyft-GA] Enable color consistency in a dashboard (#7135)
khtruong Mar 29, 2019
82cf553
Revert PR #6933 (#7162)
betodealmeida Mar 28, 2019
ca6a73b
Fix race condition when fetching results in SQL Lab (#7198)
betodealmeida Apr 2, 2019
62cfb2d
Change number format default (#7137)
khtruong Apr 2, 2019
74a0b57
Update necessary packages (#7205)
khtruong Apr 2, 2019
200efac
fix: [lyftga] pass the latest deckgl props (#7208)
khtruong Apr 3, 2019
8e14807
chore: revert bignumber.js patch for charts and reapply the original …
xtinec Apr 3, 2019
538776b
Fetch charts with GET to benefit from browser cache and conditional r…
betodealmeida Apr 3, 2019
6998b10
Allow bigint to be used as time column in Presto (#7218)
betodealmeida Apr 3, 2019
e714dc1
Merge branch 'master' into lyftga
mistercrunch Apr 3, 2019
1132c3c
feat: [lyftga] add tooltips to deck.gl viz types (#7206)
khtruong Apr 3, 2019
4ab89db
Celery task for warming up cache (#7148)
betodealmeida Apr 3, 2019
a875239
fix: add check for polygon tooltips (#7226)
khtruong Apr 4, 2019
43874b3
Fix time grain after revert (#7228)
betodealmeida Apr 4, 2019
b4915ca
fix: give a more accurate time (#7221)
khtruong Apr 4, 2019
e39b169
[filter_box] allow empty filters list (#7220)
mistercrunch Apr 5, 2019
74bdc32
increment version number for nvd3 (#7232)
datability-io Apr 5, 2019
c6876f7
Fix for tagging backend (#7240)
betodealmeida Apr 8, 2019
ad7cc01
increment version numbers (#7245)
datability-io Apr 8, 2019
23ef41f
Fix spinning in Welcome page (#7247)
betodealmeida Apr 8, 2019
821860e
Fix partition query in Presto (#7250)
betodealmeida Apr 9, 2019
5154421
Add link to documentation (#7251)
betodealmeida Apr 9, 2019
51472e9
Improve cache (#7227)
betodealmeida Apr 9, 2019
7c80cf5
Fix refresh frequency (#7248)
betodealmeida Apr 9, 2019
2a67e8e
fix: Handle rendering a single point (#7256)
khtruong Apr 9, 2019
078a977
Pass viz type to GET requests (#7255)
betodealmeida Apr 9, 2019
05afe1b
Bump pydruid to 0.5.2 (#7260)
betodealmeida Apr 10, 2019
984b04d
Add extra bucket when max outside range (#7264)
betodealmeida Apr 10, 2019
e505e32
Revert "Fix issues around Database permissions (#7009)" (#7267)
betodealmeida Apr 10, 2019
9856800
Do not add tag to non-saved objects (#7266)
betodealmeida Apr 10, 2019
65cc0e5
chore: update big number package (#7268)
khtruong Apr 10, 2019
0f1702b
chore: update legacy packages (#7293)
khtruong Apr 12, 2019
5dab983
fix: time series table (#7302)
khtruong Apr 16, 2019
81a1e53
fix: propagate color mapping from dashboard to charts (#7289)
khtruong Apr 17, 2019
97718da
Fix control validation handling (#7231)
mistercrunch Apr 18, 2019
07d9dbd
fix: typos in translations placeholders (#7161)
leakingoxide Apr 18, 2019
5f28027
Merging lyftga into master
mistercrunch Apr 19, 2019
7192d36
filter out all nan series (#7313)
datability-io Apr 19, 2019
eb9295d
[docs] improve the RELEASING.md docs (#7329)
mistercrunch Apr 20, 2019
5db20e3
Fix #7056 'Unhashable type' in paired t-test chart (#7076)
mistercrunch Apr 20, 2019
0ea8291
fixes #6353 by changing tag on base image (#7335)
Apr 20, 2019
aa1d9ae
[table] highlight selected <td>s (#7013)
mistercrunch Apr 22, 2019
36a219d
Allow Gamma and Alpha to access '/users/userinfo/' (#6936)
mistercrunch Apr 22, 2019
8fd7d4b
improve not rich tooltip (#7345)
datability-io Apr 22, 2019
845218d
Create issue_label_bot.yaml (#7341)
Apr 22, 2019
5f14b55
fix: do not save colors without a color scheme (#7347)
khtruong Apr 22, 2019
cf87173
[wtforms] Strip leading/trailing whitespace (#7084)
john-bodley Apr 23, 2019
621cef7
[schema] Updating the datasources schema (#5451)
john-bodley Apr 23, 2019
4bc69c0
limit tables/views returned if schema is not provided (#7358)
datability-io Apr 23, 2019
48b2af4
Add type anno (#7342)
craig-rueda Apr 23, 2019
1388452
[schema] Updating the base column schema (#5452)
john-bodley Apr 24, 2019
f58e7b2
Update 937d04c16b64_update_datasources.py (#7361)
john-bodley Apr 24, 2019
cb7c806
Feature flag for client cache (#7348)
betodealmeida Apr 24, 2019
fef5b5e
Fix raw HTML in SliceAdder (#7338)
mistercrunch Apr 24, 2019
7788124
remove backendSync.json (#7331)
kristw Apr 24, 2019
e61a8ee
[bubbles] issue when using duplicated metrics (#7087)
mistercrunch Apr 24, 2019
e8af852
SUPERSET-7: Docker compose config version breaks on Ubuntu 16.04 (#7359)
andrewmusselman Apr 24, 2019
7bc8355
SUPERSET-8: Update text in docs copyright footer (#7360)
andrewmusselman Apr 24, 2019
3a359fd
[schema] Adding commits and removing unnecessary foreign-key definiti…
john-bodley Apr 24, 2019
f83b979
Store last selected dashboard in sessionStorage (#7181)
leakingoxide Apr 24, 2019
f488a32
[schema] Updating the base metric schema (#5453)
john-bodley Apr 25, 2019
929fb6b
Merge branch 'lyftga'
mistercrunch Apr 25, 2019
4fe152d
Fix NoneType bug & fill the test recipients with original recipients …
tssujt Apr 25, 2019
ca2996c
Added living goods as among the users of Superset (#7407)
chelule Apr 30, 2019
9e703f3
[dashboard] allow user re-order top-level tabs (#7390)
Apr 30, 2019
11408d0
[SQL Lab] Increase timeout threshold for offline check (#7411)
Apr 30, 2019
06c4610
Bump FAB to 2.0.0 (#7323)
dpgaspar Apr 30, 2019
f504568
[annotations] Improves UX on annotation validation, start_dttm, end_d…
dpgaspar Apr 30, 2019
8703244
Setting renderTrigger on label_colors (#7410)
michellethomas Apr 30, 2019
46579b1
Refactor out controlUtils.js module + unit tests (#7350)
mistercrunch Apr 30, 2019
a6aabf8
feature: see Presto row and array data types (#7413)
DiggidyDave May 1, 2019
70be44a
Removed --console-log and superset runserver (#7421)
rjurney May 2, 2019
f6ebd78
Fixes dashboard export button missing download and #7353 (#7427)
rjurney May 2, 2019
ee78fd7
Added additional German translations to string file (#6604)
KilimAnnejaro May 2, 2019
fb627ba
[fix] Fixing SQL parsing issue (#7374)
john-bodley May 2, 2019
598526a
add chinese translate (#7402)
cscainiao May 2, 2019
c8bb7e0
Quick fix to address deadlock issue (#7434)
craig-rueda May 2, 2019
88e6ec9
feat: view presto row objects in data grid (#7445)
khtruong May 3, 2019
5cf454b
feat: Scheduling queries from SQL Lab (#7416) (#7446)
DiggidyDave May 3, 2019
2497048
feat: Add `validate_sql_json` endpoint for checking that a given sql …
bearcage May 6, 2019
f3d8e8a
Adds missing metric sum__SP_RUR_TOTL (#7452)
rjurney May 7, 2019
e2be022
Late import for optional lib pyhive (#7471)
mistercrunch May 8, 2019
a3f0912
fix: calendar heatmap examples (#7375)
mistercrunch May 8, 2019
959c35d
bugfix: Improve support for special characters in schema and table na…
villebro May 8, 2019
6b8bda6
[dashboard] After update filter, trigger new queries when charts are …
May 8, 2019
ca48f32
fix: alter sql columns to long text #7463 (#7476)
khtruong May 8, 2019
ef13500
Refactor ConsoleLog (#7428)
betodealmeida May 8, 2019
f59ed02
Revised Chinese translation (#7464)
cscainiao May 8, 2019
51fd43a
druid connector: avoid using 'dimensions' for scan queries (#7377)
elukey May 9, 2019
4377328
Add Chinese translation (#7481)
cscainiao May 12, 2019
d8be0a7
Break line before LIMIT statement to prevent trailing comment issue (…
mistercrunch May 13, 2019
a4392c8
[security] Adding Flask-Talisman (#7443)
john-bodley May 14, 2019
a4d18e7
Flatten legacy preset charts (#7500)
FelixCodes May 14, 2019
5243182
Change Visual Properties tab label to Customize (#7506)
FelixCodes May 14, 2019
fda1002
fix: cache issue for api/v1/query (#7507)
conglei May 14, 2019
156b0aa
feat: Live query validation in the SQL Lab UI (#7461) (#7516) (#7518)
May 15, 2019
9423e9a
chore: Truncate progressbar percentage decimals (#7499) (#7517) (#7519)
May 15, 2019
7f858e4
[sql lab] Fix new query stuck at pending state (#7523)
May 16, 2019
21a4670
Talisman config (#7529)
craig-rueda May 17, 2019
f0f719c
Validate start/end when scheduling queries (#7544)
betodealmeida May 18, 2019
dcafabd
Show scheduled queries (#7545)
betodealmeida May 18, 2019
c79077d
feat: add header tooltip (#7556)
khtruong May 20, 2019
1fdc96a
Disabling flask-talisman by default (#7535)
mistercrunch May 20, 2019
023faf3
Rjurney master docs update (#7426)
rjurney May 21, 2019
74704f6
[security] New, deprecate merge_perm, FAB method is fixed (#7355)
dpgaspar May 21, 2019
1ae000a
Boxplot should not require a datetime column (#5096)
AxelMathei May 21, 2019
551fe92
Add dotenv to dependencies (#7330)
mistercrunch May 21, 2019
efb085a
[cypress] fix accessing a cross-origin frame error (#7552)
May 21, 2019
6b9790c
[ad-hoc] Fixing type for count distinct (#7573)
john-bodley May 22, 2019
e5739fb
[testconn] Explicit closing engine connection (#7570)
john-bodley May 22, 2019
421183d
Adding controls for verifying options (#7468)
michellethomas May 22, 2019
9c8f494
A few improvements to scheduling queries (#7585)
betodealmeida May 23, 2019
f68f979
Fix for polling queries (#7559)
betodealmeida May 23, 2019
265e117
Add link to scheduled pipeline (#7584)
betodealmeida May 23, 2019
e4f8444
add American Express to list of users on readme (#7576)
TheLastSultan May 24, 2019
2014329
[sql lab]revert #4833 (#7498)
May 24, 2019
47ba2ad
Remove aggregates from metric options if datasource has no columns (#…
michellethomas May 24, 2019
92b791e
Adding codecov targets and thresholds
michellethomas May 2, 2019
7aa8c81
Changing diff coverage rules to 1% threshold
michellethomas May 24, 2019
5bd05b5
Changing codecov threshold to 0 and removing ignore
michellethomas May 29, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
coverage:
status:
project:
default:
# Commits pushed to master should not make the overall
# project coverage decrease:
target: auto
threshold: 0%
patch:
default:
threshold: 0%
5 changes: 5 additions & 0 deletions .github/issue_label_bot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# for Issue Label Bot https://github.com/marketplace/issue-label-bot
label-alias:
bug: '#bug'
feature_request: '#enhancement'
question: '#question'
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ dump.rdb
env
env_py3
envpy3
env36
local_config.py
superset_config.py
superset.egg-info/
Expand Down
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
cache:
pip: true
jobs:
include:
- language: python
Expand Down
61 changes: 51 additions & 10 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,17 @@ python setup.py build_sphinx

### Flask server

Make sure your machine meets the [OS dependencies](https://superset.incubator.apache.org/installation.html#os-dependencies) before following these steps.
#### OS Dependencies

Make sure your machine meets the [OS dependencies](https://superset.incubator.apache.org/installation.html#os-dependencies) before following these steps.

Developers should use a virtualenv.

```
pip install virtualenv
```

Then proceed with:

```bash
# Create a virtual environemnt and activate it (recommended)
Expand All @@ -304,10 +314,11 @@ source venv/bin/activate
# Install external dependencies
pip install -r requirements.txt
pip install -r requirements-dev.txt

# Install Superset in editable (development) mode
pip install -e .

# Create an admin user
# Create an admin user in your metadata database
fabmanager create-admin --app superset

# Initialize the database
Expand All @@ -319,19 +330,27 @@ superset init
# Load some data to play with
superset load_examples

# Start the Flask dev web server from inside the `superset` dir at port 8088
# Start the Flask dev web server from inside your virtualenv.
# Note that your page may not have css at this point.
# See instructions below how to build the front-end assets.
cd superset
FLASK_ENV=development flask run -p 8088 --with-threads --reload --debugger
FLASK_ENV=development superset run -p 8088 --with-threads --reload --debugger
```

#### Logging to the browser console

This feature is only available on Python 3. When debugging your application, you can have the server logs sent directly to the browser console:
This feature is only available on Python 3. When debugging your application, you can have the server logs sent directly to the browser console using the [ConsoleLog](https://github.com/betodealmeida/consolelog) package. You need to mutate the app, by adding the following to your `config.py` or `superset_config.py`:

```python
from console_log import ConsoleLog

def FLASK_APP_MUTATOR(app):
app.wsgi_app = ConsoleLog(app.wsgi_app, app.logger)
```

Then make sure you run your WSGI server using the right worker type:

```bash
FLASK_ENV=development flask run -p 8088 --with-threads --reload --debugger --console-log
FLASK_ENV=development gunicorn superset:app -k "geventwebsocket.gunicorn.workers.GeventWebSocketWorker" -b 127.0.0.1:8088 --reload
```

You can log anything to the browser console, including objects:
Expand All @@ -346,7 +365,14 @@ app.logger.info(form_data)

Frontend assets (JavaScript, CSS, and images) must be compiled in order to properly display the web UI. The `superset/assets` directory contains all NPM-managed front end assets. Note that there are additional frontend assets bundled with Flask-Appbuilder (e.g. jQuery and bootstrap); these are not managed by NPM, and may be phased out in the future.

First, be sure you are using recent versions of NodeJS and npm. Using [nvm](https://github.com/creationix/nvm) to manage them is recommended.
#### nvm and node

First, be sure you are using recent versions of NodeJS and npm. Using [nvm](https://github.com/creationix/nvm) to manage them is recommended. Check the docs at the link to be sure, but at the time of writing the following would install nvm and node:

```bash
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash
nvm install node
```

#### Prerequisite

Expand Down Expand Up @@ -387,6 +413,12 @@ npm run dev
npm run prod
```

If you run this service from somewhere other than your local machine, you may need to add hostname value to webpack.config.js at .devServer.public specifying the endpoint at which you will access the app. For example: myhost:9001. For convenience you may want to install webpack, webpack-cli and webpack-dev-server globally so that you can run them directly:

```bash
npm install --global webpack webpack-cli webpack-dev-server
```

#### Updating NPM packages

Use npm in the prescribed way, making sure that
Expand Down Expand Up @@ -508,17 +540,26 @@ superset db upgrade
superset init
superset load_test_users
superset load_examples
superset runserver
superset run --port 8081
```

Run Cypress tests:

```bash
cd /superset/superset/assets
cd superset/assets
npm run build
npm run install-cypress
npm run cypress run

# run tests from a specific file
npm run cypress run -- --spec cypress/integration/explore/link.test.js

# run specific file with video capture
npm run cypress run -- --spec cypress/integration/dashboard/index.test.js --config video=true
```

See [`superset/assets/cypress_build.sh`](https://github.com/apache/incubator-superset/blob/master/superset/assets/cypress_build.sh).

## Translating

We use [Babel](http://babel.pocoo.org/en/latest/) to translate Superset. In Python files, we import the magic `_` function using:
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ the world know they are using Superset. Join our growing community!
1. [Airbnb](https://github.com/airbnb)
1. [Airboxlab](https://foobot.io)
1. [Aktia Bank plc](https://www.aktia.com)
1. [American Express](https://www.americanexpress.com)
1. [Amino](https://amino.com)
1. [Apollo GraphQL](https://www.apollographql.com/)
1. [Ascendica Development](http://ascendicadevelopment.com)
Expand All @@ -195,6 +196,7 @@ the world know they are using Superset. Join our growing community!
1. [Konfío](http://konfio.mx)
1. [Kuaishou](https://www.kuaishou.com/)
1. [Lime](https://www.limebike.com/)
1. [Living Goods](https://www.livinggoods.org)
1. [Lyft](https://www.lyft.com/)
1. [Maieutical Labs](https://maieuticallabs.it)
1. [Myra Labs](http://www.myralabs.com/)
Expand Down
21 changes: 18 additions & 3 deletions RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ git push origin master
You'll probably want to run these commands manually and understand what
they do prior to doing so.

## Release setup

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 @@ -75,6 +77,8 @@ need to be done at every release.
svn commit -m "Add PGP keys of new Superset committer"
```

## Crafting tarball and signatures

Now let's craft a source release
```bash
# Assuming these commands are executed from the root of the repo
Expand All @@ -90,27 +94,38 @@ Now let's craft a source release
# Alternatively you could clone the repo into another location as in
# git clone git@github.com:apache/incubator-superset.git superset-releases
git clean -fxd
# Create the target folder
mkdir -p ~/svn/superset_dev/${VERSION}/
git archive \
--format=tar.gz ${VERSION} \
--prefix=apache-superset-${VERSION}/ \
-o apache-superset-${VERSION}-source.tar.gz
-o ~/svn/superset_dev/${VERSION}/apache-superset-${VERSION}-source.tar.gz

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

## Shipping to SVN

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/${VERSION}/
cd ~/svn/superset/
cp apache-superset-${VERSION}* ~/svn/superset_dev/${VERSION}/
cd ~/svn/superset_dev/
svn add ${VERSION}
svn commit
```

Now you're ready to start the VOTE thread.

## 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.
```bash
Expand Down
24 changes: 22 additions & 2 deletions UPDATING.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,31 @@ under the License.
This file documents any backwards-incompatible changes in Superset and
assists people when migrating to a new version.

## Next Version

* [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.

* [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.
* `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
and sql_metrics tables. Depending on the integrity of the data, manual
intervention may be required.

## Superset 0.32.0

* `npm run backend-sync` is deprecated and no longer needed, will fail if called
* [5445](https://github.com/apache/incubator-superset/pull/5445) : a change
which prevents encoding of empty string from form data in the datanbase.
* [5445](https://github.com/apache/incubator-superset/pull/5445): a change
which prevents encoding of empty string from form data in the database.
This involves a non-schema changing migration which does potentially impact
a large number of records. Scheduled downtime may be advised.

Expand Down
2 changes: 1 addition & 1 deletion contrib/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
FROM python:3.6
FROM python:3.6-jessie

RUN useradd --user-group --create-home --no-log-init --shell /bin/bash superset

Expand Down
58 changes: 58 additions & 0 deletions contrib/docker/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
<!--
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.
-->

# Getting Start with Superset using Docker

Docker is an easy way to get stated with Superset.

## Initializing Database

To initialize the database with a user and example charts, dashboards and datasets run:

```bash
SUPERSET_LOAD_EXAMPLES=yes docker-compose run --rm superset ./docker-init.sh
```

This may take a minute.

## Normal Operation

To run the container, simply run:

```bash
docker-compose up
```

After several minutes for superset initialization to finish, you can open a browser and view [`http://localhost:8088`](http://localhost:8088)
to start your journey.

## Developing

While running, the container server will reload on modification of the superset python and javascript source code.
Don't forget to reload the page to take the new frontend into account though.

## Production

It is also possible to run Superset in non-development mode: in the `docker-compose.yml` file remove
the volumes needed for development and change the variable `SUPERSET_ENV` to `production`.

## Resource Constraints

If you are attempting to build on a Mac and it exits with 137 you need to increase your docker resources.
OSX instructions: https://docs.docker.com/docker-for-mac/#advanced (Search for memory)
2 changes: 1 addition & 1 deletion contrib/docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
version: '3'
version: '2'
services:
redis:
image: redis:3.2
Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@

# General information about the project.
project = "Apache Superset"
copyright = 'Copyright © 2018 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.'
copyright = 'Copyright © 2019 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.'
author = u'Apache Superset Dev'

# The version info for the project you're documenting, acts as replacement for
Expand Down Expand Up @@ -194,7 +194,7 @@
html_show_sphinx = False

# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
html_show_copyright = True
html_show_copyright = False

# If true, an OpenSearch description file will be output, and all pages will
# contain a <link> tag referring to it. The value of this option must be the
Expand Down
4 changes: 2 additions & 2 deletions docs/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,8 @@ by setting the ``stagger_refresh`` to ``false`` and modify the stagger period by
Here, the entire dashboard will refresh at once if periodic refresh is on. The stagger time of
2.5 seconds is ignored.

Why does fabmanager or superset freezed/hung/not responding when started (my home directory is NFS mounted)?
------------------------------------------------------------------------------------------------------------
Why does 'flask fab' or superset freezed/hung/not responding when started (my home directory is NFS mounted)?
-------------------------------------------------------------------------------------------------------------
By default, superset creates and uses an sqlite database at ``~/.superset/superset.db``. Sqlite is known to `don't work well if used on NFS`__ due to broken file locking implementation on NFS.

__ https://www.sqlite.org/lockingv3.html
Expand Down
Loading