未验证 提交 b221417e 编写于 作者: A Amit Miran 提交者: GitHub

chore: remove harmless incubator refs (#12289)

* chore: migrate all harmless incubator refs like comments and documentation files

* chore: migrate all superset.incubator.apache.org to superset.apache.org to

* chore: migrate dist.apache.org refs

* chore: removing incubating and Disclaimer

* fix: linting issues
上级 2b6a5878
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
--- ---
github: github:
description: "Apache Superset is a Data Visualization and Data Exploration Platform" description: "Apache Superset is a Data Visualization and Data Exploration Platform"
homepage: https://superset.incubator.apache.org/ homepage: https://superset.apache.org/
labels: labels:
- superset - superset
- apache - apache
......
...@@ -6,7 +6,7 @@ labels: "#SIP" ...@@ -6,7 +6,7 @@ labels: "#SIP"
--- ---
*Please make sure you are familiar with the SIP process documented* *Please make sure you are familiar with the SIP process documented*
(here)[https://github.com/apache/incubator-superset/issues/5602] (here)[https://github.com/apache/superset/issues/5602]
## [SIP] Proposal for XXX ## [SIP] Proposal for XXX
......
...@@ -46,4 +46,4 @@ jobs: ...@@ -46,4 +46,4 @@ jobs:
${{steps.check.outputs.js_files_added}} ${{steps.check.outputs.js_files_added}}
``` ```
As decided in [SIP-36](https://github.com/apache/incubator-superset/issues/9101), all new frontend code should be written in TypeScript. Please convert above files to TypeScript then re-request review. As decided in [SIP-36](https://github.com/apache/superset/issues/9101), all new frontend code should be written in TypeScript. Please convert above files to TypeScript then re-request review.
此差异已折叠。
...@@ -111,7 +111,7 @@ If you decide to join the [Community Slack](https://join.slack.com/t/apache-supe ...@@ -111,7 +111,7 @@ If you decide to join the [Community Slack](https://join.slack.com/t/apache-supe
**1. Treat everyone in the community with respect.** **1. Treat everyone in the community with respect.**
- We strive to make this community a warm place for people from all industries, use cases, geographies, and backgrounds. Harassment of any kind is not acceptable and won’t be tolerated. - We strive to make this community a warm place for people from all industries, use cases, geographies, and backgrounds. Harassment of any kind is not acceptable and won’t be tolerated.
- Please follow the guidelines as outlined in the Superset Community [code of conduct here](https://github.com/apache/incubator-superset/blob/master/CODE_OF_CONDUCT.md). - Please follow the guidelines as outlined in the Superset Community [code of conduct here](https://github.com/apache/superset/blob/master/CODE_OF_CONDUCT.md).
**2. Use the right channel.** **2. Use the right channel.**
...@@ -119,7 +119,7 @@ If you decide to join the [Community Slack](https://join.slack.com/t/apache-supe ...@@ -119,7 +119,7 @@ If you decide to join the [Community Slack](https://join.slack.com/t/apache-supe
**3. Ask thoughtful questions.** **3. Ask thoughtful questions.**
- We’re all here to help each other out. The best way to get help is by investing effort into your questions. First check and see if your question is answered in [the Superset documentation](https://superset.incubator.apache.org/faq.html) or on [Stack Overflow](https://stackoverflow.com/search?q=apache+superset). You can also check [Github issues](https://github.com/apache/incubator-superset/issues) to see if your question or feature request has been submitted before. Then, use Slack search to see if your question has already been asked and answered in the past. If you still feel the need to ask a question, make sure you include: - We’re all here to help each other out. The best way to get help is by investing effort into your questions. First check and see if your question is answered in [the Superset documentation](https://superset.apache.org/faq.html) or on [Stack Overflow](https://stackoverflow.com/search?q=apache+superset). You can also check [Github issues](https://github.com/apache/superset/issues) to see if your question or feature request has been submitted before. Then, use Slack search to see if your question has already been asked and answered in the past. If you still feel the need to ask a question, make sure you include:
- The steps you’ve already taken - The steps you’ve already taken
- Relevant details presented cleanly (text stacktraces, formatted markdown, or screenshots. Please don’t paste large blocks of code unformatted or post photos of your screen from your phone) - Relevant details presented cleanly (text stacktraces, formatted markdown, or screenshots. Please don’t paste large blocks of code unformatted or post photos of your screen from your phone)
......
...@@ -98,12 +98,12 @@ little bit helps, and credit will always be given. ...@@ -98,12 +98,12 @@ little bit helps, and credit will always be given.
Here's a list of repositories that contain Superset-related packages: Here's a list of repositories that contain Superset-related packages:
- [apache/incubator-superset](https://github.com/apache/incubator-superset) - [apache/superset](https://github.com/apache/superset)
is the main repository containing the `apache-superset` Python package is the main repository containing the `apache-superset` Python package
distributed on distributed on
[pypi](https://pypi.org/project/apache-superset/). This repository [pypi](https://pypi.org/project/apache-superset/). This repository
also includes Superset's main TypeScript/JavaScript bundles and react apps under also includes Superset's main TypeScript/JavaScript bundles and react apps under
the [superset-frontend](https://github.com/apache/incubator-superset/tree/master/superset-frontend) the [superset-frontend](https://github.com/apache/superset/tree/master/superset-frontend)
folder. folder.
- [apache-superset/superset-ui](https://github.com/apache-superset/superset-ui) - [apache-superset/superset-ui](https://github.com/apache-superset/superset-ui)
contains core Superset's contains core Superset's
...@@ -142,7 +142,7 @@ The best way is to file an issue on GitHub: ...@@ -142,7 +142,7 @@ The best way is to file an issue on GitHub:
- Keep the scope as narrow as possible, to make it easier to implement. - Keep the scope as narrow as possible, to make it easier to implement.
- Remember that this is a volunteer-driven project, and that contributions are welcome :) - Remember that this is a volunteer-driven project, and that contributions are welcome :)
For large features or major changes to codebase, please create **Superset Improvement Proposal (SIP)**. See template from [SIP-0](https://github.com/apache/incubator-superset/issues/5602) For large features or major changes to codebase, please create **Superset Improvement Proposal (SIP)**. See template from [SIP-0](https://github.com/apache/superset/issues/5602)
### Fix Bugs ### Fix Bugs
...@@ -310,8 +310,8 @@ Should you decide that reverting is desirable, it is the responsibility of the C ...@@ -310,8 +310,8 @@ Should you decide that reverting is desirable, it is the responsibility of the C
First, [fork the repository on GitHub](https://help.github.com/articles/about-forks/), then clone it. You can clone the main repository directly, but you won't be able to send pull requests. First, [fork the repository on GitHub](https://help.github.com/articles/about-forks/), then clone it. You can clone the main repository directly, but you won't be able to send pull requests.
```bash ```bash
git clone git@github.com:your-username/incubator-superset.git git clone git@github.com:your-username/superset.git
cd incubator-superset cd superset
``` ```
### Documentation ### Documentation
...@@ -330,7 +330,7 @@ referenced in the rst, e.g. ...@@ -330,7 +330,7 @@ referenced in the rst, e.g.
aren't actually stored in that directory. Instead, you should add and commit aren't actually stored in that directory. Instead, you should add and commit
images (and any other static assets) to the `superset-frontend/images` directory. images (and any other static assets) to the `superset-frontend/images` directory.
When the docs are deployed to https://superset.incubator.apache.org/, images When the docs are deployed to https://superset.apache.org/, images
are copied from there to the `_static/images` directory, just like they're referenced are copied from there to the `_static/images` directory, just like they're referenced
in the docs. in the docs.
...@@ -340,7 +340,7 @@ For example, the image referenced above actually lives in `superset-frontend/ima ...@@ -340,7 +340,7 @@ For example, the image referenced above actually lives in `superset-frontend/ima
#### OS Dependencies #### OS Dependencies
Make sure your machine meets the [OS dependencies](https://superset.incubator.apache.org/installation.html#os-dependencies) before following these steps. Make sure your machine meets the [OS dependencies](https://superset.apache.org/installation.html#os-dependencies) before following these steps.
Ensure Python versions >3.7, Then proceed with: Ensure Python versions >3.7, Then proceed with:
...@@ -578,7 +578,7 @@ def sqrt(x: Union[float, int]) -> Union[float, int]: ...@@ -578,7 +578,7 @@ def sqrt(x: Union[float, int]) -> Union[float, int]:
### TypeScript ### TypeScript
TypeScript is fully supported and is the recommended language for writing all new frontend components. When modifying existing functions/components, migrating to TypeScript is appreciated, but not required. Examples of migrating functions/components to TypeScript can be found in [#9162](https://github.com/apache/incubator-superset/pull/9162) and [#9180](https://github.com/apache/incubator-superset/pull/9180). TypeScript is fully supported and is the recommended language for writing all new frontend components. When modifying existing functions/components, migrating to TypeScript is appreciated, but not required. Examples of migrating functions/components to TypeScript can be found in [#9162](https://github.com/apache/superset/pull/9162) and [#9180](https://github.com/apache/superset/pull/9180).
## Testing ## Testing
...@@ -670,7 +670,7 @@ npm run cypress-debug ...@@ -670,7 +670,7 @@ npm run cypress-debug
CYPRESS_BASE_URL=<your url> npm run cypress open CYPRESS_BASE_URL=<your url> npm run cypress open
``` ```
See [`superset-frontend/cypress_build.sh`](https://github.com/apache/incubator-superset/blob/master/superset-frontend/cypress_build.sh). See [`superset-frontend/cypress_build.sh`](https://github.com/apache/superset/blob/master/superset-frontend/cypress_build.sh).
As an alternative you can use docker-compose environment for testing: As an alternative you can use docker-compose environment for testing:
...@@ -817,7 +817,7 @@ yarn build ...@@ -817,7 +817,7 @@ yarn build
Then use `npm link` to create symlinks of the plugins/superset-ui packages you want to edit in `superset-frontend/node_modules`: Then use `npm link` to create symlinks of the plugins/superset-ui packages you want to edit in `superset-frontend/node_modules`:
```bash ```bash
cd incubator-superset/superset-frontend cd superset/superset-frontend
npm link ../../superset-ui/plugins/[PLUGIN NAME] npm link ../../superset-ui/plugins/[PLUGIN NAME]
# Or to link all core superset-ui and plugin packages: # Or to link all core superset-ui and plugin packages:
...@@ -855,7 +855,7 @@ Submissions will be considered for submission (or removal) on a case-by-case bas ...@@ -855,7 +855,7 @@ Submissions will be considered for submission (or removal) on a case-by-case bas
1. Alter the model you want to change. This example will add a `Column` Annotations model. 1. Alter the model you want to change. This example will add a `Column` Annotations model.
[Example commit](https://github.com/apache/incubator-superset/commit/6c25f549384d7c2fc288451222e50493a7b14104) [Example commit](https://github.com/apache/superset/commit/6c25f549384d7c2fc288451222e50493a7b14104)
1. Generate the migration file 1. Generate the migration file
...@@ -865,7 +865,7 @@ Submissions will be considered for submission (or removal) on a case-by-case bas ...@@ -865,7 +865,7 @@ Submissions will be considered for submission (or removal) on a case-by-case bas
This will generate a file in `migrations/version/{SHA}_this_will_be_in_the_migration_filename.py`. This will generate a file in `migrations/version/{SHA}_this_will_be_in_the_migration_filename.py`.
[Example commit](https://github.com/apache/incubator-superset/commit/d3e83b0fd572c9d6c1297543d415a332858e262) [Example commit](https://github.com/apache/superset/commit/d3e83b0fd572c9d6c1297543d415a332858e262)
1. Upgrade the DB 1. Upgrade the DB
...@@ -885,7 +885,7 @@ Submissions will be considered for submission (or removal) on a case-by-case bas ...@@ -885,7 +885,7 @@ Submissions will be considered for submission (or removal) on a case-by-case bas
Since there is a new column, we need to add it to the AppBuilder Model view. Since there is a new column, we need to add it to the AppBuilder Model view.
[Example commit](https://github.com/apache/incubator-superset/pull/5745/commits/6220966e2a0a0cf3e6d87925491f8920fe8a3458) [Example commit](https://github.com/apache/superset/pull/5745/commits/6220966e2a0a0cf3e6d87925491f8920fe8a3458)
1. Test the migration's `down` method 1. Test the migration's `down` method
......
DISCLAIMER
Apache Superset (incubating) is an effort undergoing incubation at the Apache
Software Foundation (ASF), sponsored by the Apache Incubator PMC.
Incubation is required of all newly accepted projects until a further review
indicates that the infrastructure, communications, and decision making process
have stabilized in a manner consistent with other successful ASF projects.
While incubation status is not necessarily a reflection of the completeness or
stability of the code, it does indicate that the project has yet to be fully
endorsed by the ASF.
...@@ -16,7 +16,7 @@ KIND, either express or implied. See the License for the ...@@ -16,7 +16,7 @@ KIND, either express or implied. See the License for the
specific language governing permissions and limitations specific language governing permissions and limitations
under the License. under the License.
--> -->
# INSTALL / BUILD instructions for Apache Superset (incubating) # INSTALL / BUILD instructions for Apache Superset
At this time, the docker file at RELEASING/Dockerfile.from_tarball 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 constitutes the recipe on how to get to a working release from a source
......
...@@ -21,7 +21,7 @@ under the License. ...@@ -21,7 +21,7 @@ under the License.
Here's a list of organizations, broken down into broad industry categories, that have taken the time to send a PR to let Here's a list of organizations, broken down into broad industry categories, that have taken the time to send a PR to let
the world know they are using Apache Superset. If you are a user and want to be recognized, the world know they are using Apache Superset. If you are a user and want to be recognized,
all you have to do is file a simple PR [like this one](https://github.com/apache/incubator-superset/pull/10122). If you think all you have to do is file a simple PR [like this one](https://github.com/apache/superset/pull/10122). If you think
the categorization is inaccurate, please file a PR with your correction as well. the categorization is inaccurate, please file a PR with your correction as well.
Join our growing community! Join our growing community!
......
Apache Superset (incubating) Apache Superset
Copyright 2016-2020 The Apache Software Foundation Copyright 2016-2020 The Apache Software Foundation
This product includes software developed at The Apache Software This product includes software developed at The Apache Software
......
...@@ -21,17 +21,17 @@ Superset ...@@ -21,17 +21,17 @@ Superset
========= =========
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/apache/incubator-superset) ![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/apache/superset)
[![Build Status](https://github.com/apache/incubator-superset/workflows/Python/badge.svg)](https://github.com/apache/incubator-superset/actions) [![Build Status](https://github.com/apache/superset/workflows/Python/badge.svg)](https://github.com/apache/superset/actions)
[![PyPI version](https://badge.fury.io/py/apache-superset.svg)](https://badge.fury.io/py/apache-superset) [![PyPI version](https://badge.fury.io/py/apache-superset.svg)](https://badge.fury.io/py/apache-superset)
[![Coverage Status](https://codecov.io/github/apache/incubator-superset/coverage.svg?branch=master)](https://codecov.io/github/apache/incubator-superset) [![Coverage Status](https://codecov.io/github/apache/superset/coverage.svg?branch=master)](https://codecov.io/github/apache/superset)
[![PyPI](https://img.shields.io/pypi/pyversions/apache-superset.svg?maxAge=2592000)](https://pypi.python.org/pypi/apache-superset) [![PyPI](https://img.shields.io/pypi/pyversions/apache-superset.svg?maxAge=2592000)](https://pypi.python.org/pypi/apache-superset)
[![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](https://join.slack.com/t/apache-superset/shared_invite/zt-g8lpruog-HeqpgYrwdfrD5OYhlU7hPQ) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](https://join.slack.com/t/apache-superset/shared_invite/zt-g8lpruog-HeqpgYrwdfrD5OYhlU7hPQ)
[![Documentation](https://img.shields.io/badge/docs-apache.org-blue.svg)](https://superset.apache.org) [![Documentation](https://img.shields.io/badge/docs-apache.org-blue.svg)](https://superset.apache.org)
[![Dependencies Status](https://david-dm.org/apache/incubator-superset/status.svg?path=superset-frontend)](https://david-dm.org/apache/incubator-superset?path=superset-frontend) [![Dependencies Status](https://david-dm.org/apache/superset/status.svg?path=superset-frontend)](https://david-dm.org/apache/superset?path=superset-frontend)
<img <img
src="https://github.com/apache/incubator-superset/raw/master/superset-frontend/branding/superset-logo-horiz-apache.png" src="https://github.com/apache/superset/raw/master/superset-frontend/branding/superset-logo-horiz-apache.png"
alt="Superset" alt="Superset"
width="500" width="500"
/> />
...@@ -51,27 +51,27 @@ A modern, enterprise-ready business intelligence web application. ...@@ -51,27 +51,27 @@ A modern, enterprise-ready business intelligence web application.
**Gallery** **Gallery**
<kbd><a href="https://superset.apache.org/gallery"><img title="Gallery" src="https://raw.githubusercontent.com/apache/incubator-superset/master/superset-frontend/images/screenshots/gallery.png"></a></kbd><br/> <kbd><a href="https://superset.apache.org/gallery"><img title="Gallery" src="https://raw.githubusercontent.com/apache/superset/master/superset-frontend/images/screenshots/gallery.png"></a></kbd><br/>
**View Dashboards** **View Dashboards**
<kbd><img title="View Dashboards" src="https://raw.githubusercontent.com/apache/incubator-superset/master/superset-frontend/images/screenshots/bank_dash.png"></kbd><br/> <kbd><img title="View Dashboards" src="https://raw.githubusercontent.com/apache/superset/master/superset-frontend/images/screenshots/bank_dash.png"></kbd><br/>
**Slice & dice your data** **Slice & dice your data**
<kbd><img title="Slice & dice your data" src="https://raw.githubusercontent.com/apache/incubator-superset/master/superset-frontend/images/screenshots/explore.png"></kbd><br/> <kbd><img title="Slice & dice your data" src="https://raw.githubusercontent.com/apache/superset/master/superset-frontend/images/screenshots/explore.png"></kbd><br/>
**Query and visualize your data with SQL Lab** **Query and visualize your data with SQL Lab**
<kbd><img title="SQL Lab" src="https://raw.githubusercontent.com/apache/incubator-superset/master/superset-frontend/images/screenshots/sqllab.png"></kbd><br/> <kbd><img title="SQL Lab" src="https://raw.githubusercontent.com/apache/superset/master/superset-frontend/images/screenshots/sqllab.png"></kbd><br/>
**Visualize geospatial data with deck.gl** **Visualize geospatial data with deck.gl**
<kbd><img title="Geospatial" src="https://raw.githubusercontent.com/apache/incubator-superset/master/superset-frontend/images/screenshots/deckgl_dash.png"></kbd><br/> <kbd><img title="Geospatial" src="https://raw.githubusercontent.com/apache/superset/master/superset-frontend/images/screenshots/deckgl_dash.png"></kbd><br/>
**Choose from a wide array of visualizations** **Choose from a wide array of visualizations**
<kbd><img title="Visualizations" src="https://raw.githubusercontent.com/apache/incubator-superset/master/superset-frontend/images/screenshots/visualizations.png"></kbd><br/> <kbd><img title="Visualizations" src="https://raw.githubusercontent.com/apache/superset/master/superset-frontend/images/screenshots/visualizations.png"></kbd><br/>
## Why Superset ## Why Superset
...@@ -126,12 +126,12 @@ SQL toolkit that is compatible with most databases. Here are some of the major d ...@@ -126,12 +126,12 @@ SQL toolkit that is compatible with most databases. Here are some of the major d
</p> </p>
A complete list of supported databases can be found A complete list of supported databases can be found
[here](https://superset.incubator.apache.org/docs/databases/installing-database-drivers). [here](https://superset.apache.org/docs/databases/installing-database-drivers).
## Installation and Configuration ## Installation and Configuration
[See in the documentation](https://superset.incubator.apache.org/docs/installation/installing-superset-using-docker-compose) [See in the documentation](https://superset.apache.org/docs/installation/installing-superset-using-docker-compose)
## Get Involved ## Get Involved
...@@ -157,7 +157,7 @@ how to set up a development environment. ...@@ -157,7 +157,7 @@ how to set up a development environment.
* [Connect Superset To Google Sheets](https://preset.io/blog/2020-06-01-connect-superset-google-sheets/) * [Connect Superset To Google Sheets](https://preset.io/blog/2020-06-01-connect-superset-google-sheets/)
* [Create Your First Chart](https://preset.io/blog/2020-06-08-first-chart/) * [Create Your First Chart](https://preset.io/blog/2020-06-08-first-chart/)
* [Create Time Series Charts](https://preset.io/blog/2020-06-26-timeseries-chart/) * [Create Time Series Charts](https://preset.io/blog/2020-06-26-timeseries-chart/)
* [Docker image](https://hub.docker.com/r/apache/incubator-superset) * [Docker image](https://hub.docker.com/r/apache/superset)
* [Youtube Channel](https://www.youtube.com/channel/UCMuwrvBsg_jjI2gLcm04R0g) * [Youtube Channel](https://www.youtube.com/channel/UCMuwrvBsg_jjI2gLcm04R0g)
* [May 2020: Virtual Meetup Recording. Topics: 0.36 Overview, Committers Self-Intro, Roadmap](https://www.youtube.com/watch?v=tXGDmqjmcTs&t=20s) * [May 2020: Virtual Meetup Recording. Topics: 0.36 Overview, Committers Self-Intro, Roadmap](https://www.youtube.com/watch?v=tXGDmqjmcTs&t=20s)
* [July 2020: Virtual Meetup Recording. Topics: Visualization Plugins, 0.37 Preview, Demo](https://www.youtube.com/watch?v=f6up5x_iRbI) * [July 2020: Virtual Meetup Recording. Topics: Visualization Plugins, 0.37 Preview, Demo](https://www.youtube.com/watch?v=f6up5x_iRbI)
......
...@@ -44,7 +44,7 @@ WORKDIR /home/superset ...@@ -44,7 +44,7 @@ WORKDIR /home/superset
ARG VERSION ARG VERSION
# Can fetch source from svn or copy tarball from local mounted directory # Can fetch source from svn or copy tarball from local mounted directory
RUN svn co https://dist.apache.org/repos/dist/dev/incubator/superset/$VERSION ./ RUN svn co https://dist.apache.org/repos/dist/dev/superset/$VERSION ./
RUN tar -xvf *.tar.gz RUN tar -xvf *.tar.gz
WORKDIR apache-superset-$VERSION WORKDIR apache-superset-$VERSION
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
FROM python:3.7-buster FROM python:3.7-buster
ARG VERSION ARG VERSION
RUN git clone --depth 1 --branch ${VERSION} https://github.com/apache/incubator-superset.git /superset RUN git clone --depth 1 --branch ${VERSION} https://github.com/apache/superset.git /superset
WORKDIR /superset WORKDIR /superset
# install doc dependencies # install doc dependencies
RUN pip install -r requirements/base.txt RUN pip install -r requirements/base.txt
......
...@@ -93,7 +93,7 @@ The script will output the exported variables. Here's example for 0.38.0rc1: ...@@ -93,7 +93,7 @@ The script will output the exported variables. Here's example for 0.38.0rc1:
SUPERSET_RELEASE_RC=apache-superset-0.38.0rc1 SUPERSET_RELEASE_RC=apache-superset-0.38.0rc1
SUPERSET_RELEASE_TARBALL=apache-superset-0.38.0-source.tar.gz SUPERSET_RELEASE_TARBALL=apache-superset-0.38.0-source.tar.gz
SUPERSET_RELEASE_RC_TARBALL=apache-superset-0.38.0rc1-source.tar.gz SUPERSET_RELEASE_RC_TARBALL=apache-superset-0.38.0rc1-source.tar.gz
SUPERSET_TMP_ASF_SITE_PATH=/tmp/incubator-superset-site-0.38.0 SUPERSET_TMP_ASF_SITE_PATH=/tmp/superset-site-0.38.0
``` ```
## Crafting a source release ## Crafting a source release
...@@ -260,8 +260,8 @@ into the non-"dev/" folder. ...@@ -260,8 +260,8 @@ into the non-"dev/" folder.
Then tag the final release: Then tag the final release:
```bash ```bash
# Go to the root directory of the repo, e.g. `~/src/incubator-superset` # Go to the root directory of the repo, e.g. `~/src/superset`
cd ~/src/incubator-superset/ cd ~/src/superset/
# make sure you're on the correct branch (e.g. 0.34) # make sure you're on the correct branch (e.g. 0.34)
git branch git branch
# Create the release tag # Create the release tag
...@@ -294,7 +294,7 @@ Once it's all done, an [ANNOUNCE] thread announcing the release to the dev@ mail ...@@ -294,7 +294,7 @@ Once it's all done, an [ANNOUNCE] thread announcing the release to the dev@ mail
### Github Release ### Github Release
Finally, so the Github UI reflects the latest release, you should create a release from the Finally, so the Github UI reflects the latest release, you should create a release from the
tag corresponding with the new version. Go to https://github.com/apache/incubator-superset/tags, tag corresponding with the new version. Go to https://github.com/apache/superset/tags,
click the 3-dot icon and select `Create Release`, paste the content of the ANNOUNCE thread in the click the 3-dot icon and select `Create Release`, paste the content of the ANNOUNCE thread in the
release notes, and publish the new release. release notes, and publish the new release.
......
...@@ -95,8 +95,7 @@ class GitChangeLog: ...@@ -95,8 +95,7 @@ class GitChangeLog:
try: try:
self._wait_github_rate_limit() self._wait_github_rate_limit()
with request.urlopen( with request.urlopen(
"https://api.github.com/repos/apache/incubator-superset/pulls/" "https://api.github.com/repos/apache/superset/pulls/" f"{pr_number}"
f"{pr_number}"
) as response: ) as response:
payload = json.loads(response.read()) payload = json.loads(response.read())
except HTTPError as ex: except HTTPError as ex:
...@@ -132,7 +131,7 @@ class GitChangeLog: ...@@ -132,7 +131,7 @@ class GitChangeLog:
github_login = log.author github_login = log.author
result = result + ( result = result + (
f"- [#{log.pr_number}]" f"- [#{log.pr_number}]"
f"(https://github.com/apache/incubator-superset/pull/{log.pr_number}) " f"(https://github.com/apache/superset/pull/{log.pr_number}) "
f"{log.message} (@{github_login})\n" f"{log.message} (@{github_login})\n"
) )
print(f"\r {i}/{len(self._logs)}", end="", flush=True) print(f"\r {i}/{len(self._logs)}", end="", flush=True)
...@@ -142,7 +141,7 @@ class GitChangeLog: ...@@ -142,7 +141,7 @@ class GitChangeLog:
for log in self._logs: for log in self._logs:
yield { yield {
"pr_number": log.pr_number, "pr_number": log.pr_number,
"pr_link": f"https://github.com/apache/incubator-superset/pull/" "pr_link": f"https://github.com/apache/superset/pull/"
f"{log.pr_number}", f"{log.pr_number}",
"message": log.message, "message": log.message,
"time": log.time, "time": log.time,
......
...@@ -22,8 +22,7 @@ Subject: [VOTE] Release Apache {{ project_name }} {{ version }} based on Superse ...@@ -22,8 +22,7 @@ Subject: [VOTE] Release Apache {{ project_name }} {{ version }} based on Superse
Hello {{ project_name }} Community, Hello {{ project_name }} Community,
This is a call for the vote to release Apache {{ project_name }} This is a call for the vote to release Apache {{ project_name }} version {{ version }}.
(incubating) version {{ version }}.
The release candidate: The release candidate:
https://dist.apache.org/repos/dist/dev/{{ project_module }}/{{ version_rc }}/ https://dist.apache.org/repos/dist/dev/{{ project_module }}/{{ version_rc }}/
......
...@@ -32,9 +32,9 @@ mkdir -p "${SUPERSET_SVN_DEV_PATH}"/"${SUPERSET_VERSION_RC}" ...@@ -32,9 +32,9 @@ mkdir -p "${SUPERSET_SVN_DEV_PATH}"/"${SUPERSET_VERSION_RC}"
# Clone superset from tag to /tmp # Clone superset from tag to /tmp
cd /tmp cd /tmp
git clone --depth 1 --branch ${SUPERSET_VERSION_RC} https://github.com/apache/incubator-superset.git git clone --depth 1 --branch ${SUPERSET_VERSION_RC} https://github.com/apache/superset.git
mkdir -p "${HOME}/${SUPERSET_VERSION_RC}" mkdir -p "${HOME}/${SUPERSET_VERSION_RC}"
cd incubator-superset && \ cd superset && \
# Check RC version # Check RC version
if ! jq -e --arg SUPERSET_VERSION $SUPERSET_VERSION '.version == $SUPERSET_VERSION' superset-frontend/package.json if ! jq -e --arg SUPERSET_VERSION $SUPERSET_VERSION '.version == $SUPERSET_VERSION' superset-frontend/package.json
......
此差异已折叠。
...@@ -19,5 +19,5 @@ RewriteEngine On ...@@ -19,5 +19,5 @@ RewriteEngine On
RewriteCond %{SERVER_PORT} 80 RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://superset.apache.org/$1 [R,L] RewriteRule ^(.*)$ https://superset.apache.org/$1 [R,L]
RewriteCond %{HTTP_HOST} ^superset.incubator.apache.org$ [NC] RewriteCond %{HTTP_HOST} ^superset.apache.org$ [NC]
RewriteRule ^(.*)$ https://superset.apache.org/$1 [R=301,L] RewriteRule ^(.*)$ https://superset.apache.org/$1 [R=301,L]
...@@ -37,17 +37,17 @@ npm run start ...@@ -37,17 +37,17 @@ npm run start
To publish, the static site that Gatsby generates needs to be pushed To publish, the static site that Gatsby generates needs to be pushed
to the `asf-site` branch on the to the `asf-site` branch on the
[apache/incubator-superset-site](https://github.com/apache/incubator-superset-site/) [apache/superset-site](https://github.com/apache/superset-site/)
repository. No need to PR here, simply `git push`. repository. No need to PR here, simply `git push`.
```bash ```bash
# Get in the docs/ folder in the main repo # Get in the docs/ folder in the main repo
cd ~/repos/incubator-superset/docs cd ~/repos/superset/docs
# have Gatsby build the static website, this puts in under `docs/public` # have Gatsby build the static website, this puts in under `docs/public`
npm run build npm run build
# go to the docs repo # go to the docs repo
cd ~/repos/incubator-superset-site cd ~/repos/superset-site
# checkout the proper branch # checkout the proper branch
git checkout asf-site git checkout asf-site
...@@ -56,7 +56,7 @@ git checkout asf-site ...@@ -56,7 +56,7 @@ git checkout asf-site
rm -rf * rm -rf *
# copy the static site here # copy the static site here
cp -r ~/repos/incubator-superset/docs/public/ ./ cp -r ~/repos/superset/docs/public/ ./
# git push # git push
git add . git add .
......
...@@ -86,15 +86,15 @@ supported.) ...@@ -86,15 +86,15 @@ supported.)
**Step 1 - Clone Superset's Github repository** **Step 1 - Clone Superset's Github repository**
`Clone Superset's repo <https://github.com/apache/incubator-superset>`__ `Clone Superset's repo <https://github.com/apache/superset>`__
in your terminal with the following command: in your terminal with the following command:
.. code:: bash .. code:: bash
$ git clone https://github.com/apache/incubator-superset.git $ git clone https://github.com/apache/superset.git
Once that command completes successfully, you should see a new Once that command completes successfully, you should see a new
``incubator-superset`` folder in your current directory. ``superset`` folder in your current directory.
**Step 2 - Launch Superset via `docker-compose up`** **Step 2 - Launch Superset via `docker-compose up`**
...@@ -102,7 +102,7 @@ Next, `cd` into the folder you created in Step 1: ...@@ -102,7 +102,7 @@ Next, `cd` into the folder you created in Step 1:
.. code:: bash .. code:: bash
$ cd incubator-superset $ cd superset
Once you're in the directory, run the following command: Once you're in the directory, run the following command:
...@@ -135,7 +135,7 @@ Congrats! You have successfully installed Superset! ...@@ -135,7 +135,7 @@ Congrats! You have successfully installed Superset!
.. note :: .. note ::
The Docker-related files and documentation are actively maintained and The Docker-related files and documentation are actively maintained and
managed by the core committers working on the project. Help and contributions managed by the core committers working on the project. Help and contributions
around Docker are welcomed! See also `docker/README.md <https://github.com/apache/incubator-superset/blob/master/docker/README.md>`_ for additional information. around Docker are welcomed! See also `docker/README.md <https://github.com/apache/superset/blob/master/docker/README.md>`_ for additional information.
OS dependencies OS dependencies
--------------- ---------------
...@@ -334,7 +334,7 @@ of the parameters you can copy / paste in that configuration module: :: ...@@ -334,7 +334,7 @@ of the parameters you can copy / paste in that configuration module: ::
MAPBOX_API_KEY = '' MAPBOX_API_KEY = ''
All the parameters and default values defined in All the parameters and default values defined in
https://github.com/apache/incubator-superset/blob/master/superset/config.py https://github.com/apache/superset/blob/master/superset/config.py
can be altered in your local ``superset_config.py`` . can be altered in your local ``superset_config.py`` .
Administrators will want to Administrators will want to
read through the file to understand what can be configured locally read through the file to understand what can be configured locally
...@@ -931,7 +931,7 @@ Domain Sharding ...@@ -931,7 +931,7 @@ Domain Sharding
Chrome allows up to 6 open connections per domain at a time. When there are more Chrome allows up to 6 open connections per domain at a time. When there are more
than 6 slices in dashboard, a lot of time fetch requests are queued up and wait for than 6 slices in dashboard, a lot of time fetch requests are queued up and wait for
next available socket. `PR 5039 <https://github.com/apache/incubator-superset/pull/5039>`_ adds domain sharding to Superset, next available socket. `PR 5039 <https://github.com/apache/superset/pull/5039>`_ adds domain sharding to Superset,
and this feature will be enabled by configuration only (by default Superset and this feature will be enabled by configuration only (by default Superset
doesn't allow cross-domain request). doesn't allow cross-domain request).
...@@ -1404,7 +1404,7 @@ Building from source ...@@ -1404,7 +1404,7 @@ Building from source
More advanced users may want to build Superset from sources. That More advanced users may want to build Superset from sources. That
would be the case if you fork the project to add features specific to would be the case if you fork the project to add features specific to
your environment. See `CONTRIBUTING.md#setup-local-environment-for-development <https://github.com/apache/incubator-superset/blob/master/CONTRIBUTING.md#setup-local-environment-for-development>`_. your environment. See `CONTRIBUTING.md#setup-local-environment-for-development <https://github.com/apache/superset/blob/master/CONTRIBUTING.md#setup-local-environment-for-development>`_.
Blueprints Blueprints
---------- ----------
...@@ -1546,7 +1546,7 @@ Here is a list of flags and descriptions: ...@@ -1546,7 +1546,7 @@ Here is a list of flags and descriptions:
* For some security concerns, you may need to enforce CSRF protection on all query request to explore_json endpoint. In Superset, we use `flask-csrf <https://sjl.bitbucket.io/flask-csrf/>`_ add csrf protection for all POST requests, but this protection doesn't apply to GET method. * For some security concerns, you may need to enforce CSRF protection on all query request to explore_json endpoint. In Superset, we use `flask-csrf <https://sjl.bitbucket.io/flask-csrf/>`_ add csrf protection for all POST requests, but this protection doesn't apply to GET method.
* When ENABLE_EXPLORE_JSON_CSRF_PROTECTION is set to true, your users cannot make GET request to explore_json. The default value for this feature False (current behavior), explore_json accepts both GET and POST request. See `PR 7935 <https://github.com/apache/incubator-superset/pull/7935>`_ for more details. * When ENABLE_EXPLORE_JSON_CSRF_PROTECTION is set to true, your users cannot make GET request to explore_json. The default value for this feature False (current behavior), explore_json accepts both GET and POST request. See `PR 7935 <https://github.com/apache/superset/pull/7935>`_ for more details.
* PRESTO_EXPAND_DATA * PRESTO_EXPAND_DATA
...@@ -1556,7 +1556,7 @@ Here is a list of flags and descriptions: ...@@ -1556,7 +1556,7 @@ Here is a list of flags and descriptions:
SIP-15 SIP-15
------ ------
`SIP-15 <https://github.com/apache/incubator-superset/issues/6360>`_ aims to ensure that time intervals are handled in a consistent and transparent manner for both the Druid and SQLAlchemy connectors. `SIP-15 <https://github.com/apache/superset/issues/6360>`_ aims to ensure that time intervals are handled in a consistent and transparent manner for both the Druid and SQLAlchemy connectors.
Prior to SIP-15 SQLAlchemy used inclusive endpoints however these may behave like exclusive for string columns (due to lexicographical ordering) if no formatting was defined and the column formatting did not conform to an ISO 8601 date-time (refer to the SIP for details). Prior to SIP-15 SQLAlchemy used inclusive endpoints however these may behave like exclusive for string columns (due to lexicographical ordering) if no formatting was defined and the column formatting did not conform to an ISO 8601 date-time (refer to the SIP for details).
......
...@@ -96,7 +96,7 @@ Superset's Jinja context: ...@@ -96,7 +96,7 @@ Superset's Jinja context:
Extending macros Extending macros
'''''''''''''''' ''''''''''''''''
As mentioned in the `Installation & Configuration <https://superset.incubator.apache.org/installation.html#installation-configuration>`_ documentation, As mentioned in the `Installation & Configuration <https://superset.apache.org/installation.html#installation-configuration>`_ documentation,
it's possible for administrators to expose more more macros in their it's possible for administrators to expose more more macros in their
environment using the configuration variable ``JINJA_CONTEXT_ADDONS``. environment using the configuration variable ``JINJA_CONTEXT_ADDONS``.
All objects referenced in this dictionary will become available for users All objects referenced in this dictionary will become available for users
...@@ -105,7 +105,7 @@ to integrate in their queries in **SQL Lab**. ...@@ -105,7 +105,7 @@ to integrate in their queries in **SQL Lab**.
Customize templating Customize templating
'''''''''''''''''''' ''''''''''''''''''''
As mentioned in the `Installation & Configuration <https://superset.incubator.apache.org/installation.html#sql-lab>`__ documentation, As mentioned in the `Installation & Configuration <https://superset.apache.org/installation.html#sql-lab>`__ documentation,
it's possible for administrators to overwrite Jinja templating with your customized it's possible for administrators to overwrite Jinja templating with your customized
template processor using the configuration variable ``CUSTOM_TEMPLATE_PROCESSORS``. template processor using the configuration variable ``CUSTOM_TEMPLATE_PROCESSORS``.
The template processors referenced in the dictionary will overwrite default Jinja template processors The template processors referenced in the dictionary will overwrite default Jinja template processors
......
...@@ -98,7 +98,7 @@ const MenuItems = ({ mode, toggleDrawer }: menuProps) => { ...@@ -98,7 +98,7 @@ const MenuItems = ({ mode, toggleDrawer }: menuProps) => {
{mode === 'horizontal' {mode === 'horizontal'
&& ( && (
<Menu.Item key="github" style={rightStyle}> <Menu.Item key="github" style={rightStyle}>
<a href="https://github.com/apache/incubator-superset" target="_blank" rel="noreferrer"> <a href="https://github.com/apache/superset" target="_blank" rel="noreferrer">
<GithubOutlined className="menu-icon" /> <GithubOutlined className="menu-icon" />
</a> </a>
</Menu.Item> </Menu.Item>
...@@ -133,7 +133,7 @@ export default class MainMenu extends React.Component { ...@@ -133,7 +133,7 @@ export default class MainMenu extends React.Component {
const { visible } = this.state; const { visible } = this.state;
return ( return (
<Layout.Header css={headerStyle}> <Layout.Header css={headerStyle}>
<a href="https://superset.incubator.apache.org"> <a href="https://superset.apache.org">
<img height="50" css={logoStyle} src={logoSvg} alt="logo" /> <img height="50" css={logoStyle} src={logoSvg} alt="logo" />
</a> </a>
<MenuItems toggleDrawer={this.toggleDrawer} mode="horizontal" /> <MenuItems toggleDrawer={this.toggleDrawer} mode="horizontal" />
......
...@@ -80,7 +80,7 @@ const LayoutFooter = () => ( ...@@ -80,7 +80,7 @@ const LayoutFooter = () => (
<SlackSquareOutlined className="icon" /> <SlackSquareOutlined className="icon" />
</a> </a>
<a <a
href="https://github.com/apache/incubator-superset" href="https://github.com/apache/superset"
target="_blank" target="_blank"
rel="noreferrer" rel="noreferrer"
> >
...@@ -116,16 +116,6 @@ const LayoutFooter = () => ( ...@@ -116,16 +116,6 @@ const LayoutFooter = () => (
&nbsp;License. &nbsp;License.
</a> </a>
{' '} {' '}
<div>
Disclaimer: Apache Superset is an effort undergoing incubation at The
Apache Software Foundation (ASF), sponsored by the Apache Incubator.
Incubation is required of all newly accepted projects until a further
review indicates that the infrastructure, communications, and decision
making process have stabilized in a manner consistent with other
successful ASF projects. While incubation status is not necessarily a
reflection of the completeness or stability of the code, it does
indicate that the project has yet to be fully endorsed by the ASF.
</div>
<div> <div>
Apache Superset, Apache, Superset, the Superset logo, and the Apache Apache Superset, Apache, Superset, the Superset logo, and the Apache
feather logo are either registered trademarks or trademarks of The feather logo are either registered trademarks or trademarks of The
......
...@@ -31,7 +31,7 @@ const links = [ ...@@ -31,7 +31,7 @@ const links = [
'interact with other Superset users and community members', 'interact with other Superset users and community members',
], ],
[ [
'https://github.com/apache/incubator-superset', 'https://github.com/apache/superset',
'GitHub', 'GitHub',
'create tickets to report issues, report bugs, and suggest new features', 'create tickets to report issues, report bugs, and suggest new features',
], ],
...@@ -51,7 +51,7 @@ const links = [ ...@@ -51,7 +51,7 @@ const links = [
'join our monthly virtual meetups and register for any upcoming events', 'join our monthly virtual meetups and register for any upcoming events',
], ],
[ [
'https://github.com/apache/incubator-superset/blob/master/INTHEWILD.md', 'https://github.com/apache/superset/blob/master/INTHEWILD.md',
'Organizations', 'Organizations',
'a list of some of the organizations using Superset in production', 'a list of some of the organizations using Superset in production',
], ],
......
...@@ -10,8 +10,8 @@ version: 1 ...@@ -10,8 +10,8 @@ version: 1
Superset requires a Python database driver to be installed for each additional type of database you Superset requires a Python database driver to be installed for each additional type of database you
want to connect to. When setting up Superset locally via `docker-compose`, the drivers and packages want to connect to. When setting up Superset locally via `docker-compose`, the drivers and packages
contained in contained in
[requirements.txt](https://github.com/apache/incubator-superset/blob/master/requirements.txt) and [requirements.txt](https://github.com/apache/superset/blob/master/requirements.txt) and
[requirements-dev.txt](https://github.com/apache/incubator-superset/blob/master/requirements-dev.txt) [requirements-dev.txt](https://github.com/apache/superset/blob/master/requirements-dev.txt)
will be installed automatically. will be installed automatically.
In this section, we'll walk through how to install the MySQL connector library. The connector In this section, we'll walk through how to install the MySQL connector library. The connector
......
...@@ -57,7 +57,7 @@ Note that many other databases are supported, the main criteria being the existe ...@@ -57,7 +57,7 @@ Note that many other databases are supported, the main criteria being the existe
If your database or data engine isn't on the list but a SQL interface If your database or data engine isn't on the list but a SQL interface
exists, please file an issue on the exists, please file an issue on the
[Superset GitHub repo](https://github.com/apache/incubator-superset/issues), so we can work on [Superset GitHub repo](https://github.com/apache/superset/issues), so we can work on
supporting it. supporting it.
[StackOverflow](https://stackoverflow.com/questions/tagged/apache-superset+superset) and the [StackOverflow](https://stackoverflow.com/questions/tagged/apache-superset+superset) and the
......
...@@ -13,13 +13,13 @@ which you can join): ...@@ -13,13 +13,13 @@ which you can join):
- [Mailing list](https://lists.apache.org/list.html?dev@superset.apache.org) - [Mailing list](https://lists.apache.org/list.html?dev@superset.apache.org)
- [Apache Superset Slack community](https://apache-superset.slack.com/join/shared_invite/zt-g8lpruog-HeqpgYrwdfrD5OYhlU7hPQ#/) - [Apache Superset Slack community](https://apache-superset.slack.com/join/shared_invite/zt-g8lpruog-HeqpgYrwdfrD5OYhlU7hPQ#/)
- [Github issues and PR's](https://github.com/apache/incubator-superset/issues) - [Github issues and PR's](https://github.com/apache/superset/issues)
If you're interested in contributing, we recommend reading the Community Contribution Guide If you're interested in contributing, we recommend reading the Community Contribution Guide
[described in CONTRIBUTING.MD](https://github.com/apache/incubator-superset/blob/master/CONTRIBUTING.md) [described in CONTRIBUTING.MD](https://github.com/apache/superset/blob/master/CONTRIBUTING.md)
to get started. Here are some helpful links from that page: to get started. Here are some helpful links from that page:
- [Overview of types of contributions](https://github.com/apache/incubator-superset/blob/master/CONTRIBUTING.md#types-of-contributions) - [Overview of types of contributions](https://github.com/apache/superset/blob/master/CONTRIBUTING.md#types-of-contributions)
- [Pull request guidelines](https://github.com/apache/incubator-superset/blob/master/CONTRIBUTING.md#pull-request-guidelines) - [Pull request guidelines](https://github.com/apache/superset/blob/master/CONTRIBUTING.md#pull-request-guidelines)
- [Managing Issues and PR's](https://github.com/apache/incubator-superset/blob/master/CONTRIBUTING.md#managing-issues-and-prs) - [Managing Issues and PR's](https://github.com/apache/superset/blob/master/CONTRIBUTING.md#managing-issues-and-prs)
- [Setting up local environment for development](https://github.com/apache/incubator-superset/blob/master/CONTRIBUTING.md#setup-local-environment-for-development) - [Setting up local environment for development](https://github.com/apache/superset/blob/master/CONTRIBUTING.md#setup-local-environment-for-development)
...@@ -271,7 +271,7 @@ are typical in basic SQL: ...@@ -271,7 +271,7 @@ are typical in basic SQL:
Yes, a public REST API, and the surface of that API formal is expanding steadily. Some of the Yes, a public REST API, and the surface of that API formal is expanding steadily. Some of the
original vision for the collection of endpoints under **/api/v1** was originally specified in original vision for the collection of endpoints under **/api/v1** was originally specified in
[SIP-17](https://github.com/apache/incubator-superset/issues/7259) and constant progress has been [SIP-17](https://github.com/apache/superset/issues/7259) and constant progress has been
made to cover more and more use cases. made to cover more and more use cases.
The API available is documented using [Swagger](https://swagger.io/) and the documentation can be The API available is documented using [Swagger](https://swagger.io/) and the documentation can be
......
...@@ -30,16 +30,16 @@ npm install -g yo @superset-ui/generator-superset ...@@ -30,16 +30,16 @@ npm install -g yo @superset-ui/generator-superset
### Install Superset ### Install Superset
There are There are
[complete instructions](https://github.com/apache/incubator-superset#installation-and-configuration) [complete instructions](https://github.com/apache/superset#installation-and-configuration)
available on the [Superset Github repository](https://github.com/apache/incubator-superset). In a available on the [Superset Github repository](https://github.com/apache/superset). In a
nutshell, the easiest way is to: nutshell, the easiest way is to:
1. Have a Mac or linux-based machine 1. Have a Mac or linux-based machine
2. Install [Docker](https://docs.docker.com/get-docker/) 2. Install [Docker](https://docs.docker.com/get-docker/)
3. Clone [the repository](https://github.com/apache/incubator-superset) to your computer 3. Clone [the repository](https://github.com/apache/superset) to your computer
4. Use your terminal to `cd` into the `incubator-superset` directory 4. Use your terminal to `cd` into the `superset` directory
5. Run `docker-compose up` 5. Run `docker-compose up`
6. Open _another_ terminal, and `cd` into `incubator-superset/superset-frontend` 6. Open _another_ terminal, and `cd` into `superset/superset-frontend`
7. Run `npm install` to load up all the npm packages. 7. Run `npm install` to load up all the npm packages.
8. Run `npm run dev-server` to spin up the Webpack hot-reloading server 8. Run `npm run dev-server` to spin up the Webpack hot-reloading server
9. Wait for it to build, and then open your browser to `http://localhost:9000` and log in with 9. Wait for it to build, and then open your browser to `http://localhost:9000` and log in with
...@@ -48,7 +48,7 @@ nutshell, the easiest way is to: ...@@ -48,7 +48,7 @@ nutshell, the easiest way is to:
### Install Superset-UI ### Install Superset-UI
1. Clone [the `superset-ui` repository](https://github.com/apache-superset/superset-ui) to your 1. Clone [the `superset-ui` repository](https://github.com/apache-superset/superset-ui) to your
computer. It can sit in the same parent directory as your `incubator-superset` repo computer. It can sit in the same parent directory as your `superset` repo
2. Use your terminal to `cd` into `superset-ui` 2. Use your terminal to `cd` into `superset-ui`
3. Run `yarn install` and wait for all the packages to get installed 3. Run `yarn install` and wait for all the packages to get installed
...@@ -98,14 +98,14 @@ Now, we want to see this thing actually RUN! To do that, we'll add your package ...@@ -98,14 +98,14 @@ Now, we want to see this thing actually RUN! To do that, we'll add your package
embrace the magic power of `npm link` to see it in-situ, without needing to **build** the plugin, or embrace the magic power of `npm link` to see it in-situ, without needing to **build** the plugin, or
open any PRs on Github. open any PRs on Github.
1. Add your package to the `package.json` file in `incubator-superset/superset-frontend`. 1. Add your package to the `package.json` file in `superset/superset-frontend`.
<img src="/images/plugin-8-package-json.png" />{' '} <img src="/images/plugin-8-package-json.png" />{' '}
Note: Do _not_ run `npm install`... explanation below. Note: Do _not_ run `npm install`... explanation below.
2. Add your plugin to the `MainPreset.js` file (located in 2. Add your plugin to the `MainPreset.js` file (located in
`incubator-superset/superset-frontend/src/visualizations/presets/MainPreset.js`) in two places, `superset/superset-frontend/src/visualizations/presets/MainPreset.js`) in two places,
alongside the other plugins. alongside the other plugins.
<img src="/images/plugin-9-mainpreset-import.png" />{' '} <img src="/images/plugin-9-mainpreset-import.png" />{' '}
...@@ -113,7 +113,7 @@ Note: Do _not_ run `npm install`... explanation below. ...@@ -113,7 +113,7 @@ Note: Do _not_ run `npm install`... explanation below.
{' '} {' '}
<img src="/images/plugin-9-mainpreset-register.png" /> <img src="/images/plugin-9-mainpreset-register.png" />
3. Open a terminal window to `incubator-superset/superset-frontend`. If you did the Install Superset 3. Open a terminal window to `superset/superset-frontend`. If you did the Install Superset
steps above, you may still have webpack running there, and you can just stop it with `ctrol-c`. steps above, you may still have webpack running there, and you can just stop it with `ctrol-c`.
If not, just open a new window and or `cd` to that directory path. If not, just open a new window and or `cd` to that directory path.
...@@ -187,7 +187,7 @@ to your plugin, so they don't "leak" to other areas of Superset. ...@@ -187,7 +187,7 @@ to your plugin, so they don't "leak" to other areas of Superset.
In the Hello World plugin, we've included a few example Theme variables (`colors`, `gridUnit`s, and In the Hello World plugin, we've included a few example Theme variables (`colors`, `gridUnit`s, and
typographic weights/sizes). We'll be continuing to add more variables to this theme file as we typographic weights/sizes). We'll be continuing to add more variables to this theme file as we
continue to push Superset (and the viz plugins) toward the standards of the Superset redesign (see continue to push Superset (and the viz plugins) toward the standards of the Superset redesign (see
[SIP-34](https://github.com/apache/incubator-superset/issues/8976)) [SIP-34](https://github.com/apache/superset/issues/8976))
### Give it a thumbnail ### Give it a thumbnail
......
...@@ -42,7 +42,7 @@ MAPBOX_API_KEY = '' ...@@ -42,7 +42,7 @@ MAPBOX_API_KEY = ''
``` ```
All the parameters and default values defined in All the parameters and default values defined in
[https://github.com/apache/incubator-superset/blob/master/superset/config.py](https://github.com/apache/incubator-superset/blob/master/superset/config.py) [https://github.com/apache/superset/blob/master/superset/config.py](https://github.com/apache/superset/blob/master/superset/config.py)
can be altered in your local `superset_config.py`. Administrators will want to read through the file can be altered in your local `superset_config.py`. Administrators will want to read through the file
to understand what can be configured locally as well as the default values in place. to understand what can be configured locally as well as the default values in place.
...@@ -198,7 +198,7 @@ Here is a list of flags and descriptions: ...@@ -198,7 +198,7 @@ Here is a list of flags and descriptions:
protection on all query request to the `explore_json` endpoint. When protection on all query request to the `explore_json` endpoint. When
`ENABLE_EXPLORE_JSON_CSRF_PROTECTION` is set to true, your users cannot make GET request to `ENABLE_EXPLORE_JSON_CSRF_PROTECTION` is set to true, your users cannot make GET request to
`explore_json`. The default value for this feature is `False` and `explore_json` will accept both `explore_json`. The default value for this feature is `False` and `explore_json` will accept both
GET and POST request. See [PR 7935](https://github.com/apache/incubator-superset/pull/7935) for GET and POST request. See [PR 7935](https://github.com/apache/superset/pull/7935) for
more details. more details.
- `PRESTO_EXPAND_DATA`: When this feature is enabled, nested types in Presto will be expanded into - `PRESTO_EXPAND_DATA`: When this feature is enabled, nested types in Presto will be expanded into
...@@ -206,7 +206,7 @@ Here is a list of flags and descriptions: ...@@ -206,7 +206,7 @@ Here is a list of flags and descriptions:
### SIP 15 ### SIP 15
[Superset Improvement Proposal 15](https://github.com/apache/incubator-superset/issues/6360) aims to [Superset Improvement Proposal 15](https://github.com/apache/superset/issues/6360) aims to
ensure that time intervals are handled in a consistent and transparent manner for both the Druid and ensure that time intervals are handled in a consistent and transparent manner for both the Druid and
SQLAlchemy connectors. SQLAlchemy connectors.
......
...@@ -41,14 +41,14 @@ all of the required dependencies. ...@@ -41,14 +41,14 @@ all of the required dependencies.
### 2. Clone Superset's Github repository ### 2. Clone Superset's Github repository
[Clone Superset's repo](https://github.com/apache/incubator-superset) in your terminal with the [Clone Superset's repo](https://github.com/apache/superset) in your terminal with the
following command: following command:
```bash ```bash
$ git clone https://github.com/apache/incubator-superset.git $ git clone https://github.com/apache/superset.git
``` ```
Once that command completes successfully, you should see a new `incubator-superset` folder in your Once that command completes successfully, you should see a new `superset` folder in your
current directory. current directory.
We recommend that you check out and run the code from the last tagged release: We recommend that you check out and run the code from the last tagged release:
...@@ -62,7 +62,7 @@ $ git checkout latest ...@@ -62,7 +62,7 @@ $ git checkout latest
Navigate to the folder you created in step 1: Navigate to the folder you created in step 1:
```bash ```bash
$ cd incubator-superset $ cd superset
``` ```
Then, run the following command: Then, run the following command:
......
...@@ -26,7 +26,7 @@ The following keys in `superset_config.py` can be specified to configure CORS: ...@@ -26,7 +26,7 @@ The following keys in `superset_config.py` can be specified to configure CORS:
Chrome allows up to 6 open connections per domain at a time. When there are more than 6 slices in Chrome allows up to 6 open connections per domain at a time. When there are more than 6 slices in
dashboard, a lot of time fetch requests are queued up and wait for next available socket. dashboard, a lot of time fetch requests are queued up and wait for next available socket.
[PR 5039](https://github.com/apache/incubator-superset/pull/5039) adds domain sharding to Superset, [PR 5039](https://github.com/apache/superset/pull/5039) adds domain sharding to Superset,
and this feature will be enabled by configuration only (by default Superset doesn’t allow and this feature will be enabled by configuration only (by default Superset doesn’t allow
cross-domain request). cross-domain request).
......
...@@ -86,4 +86,4 @@ FEATURE_FLAGS = { ...@@ -86,4 +86,4 @@ FEATURE_FLAGS = {
``` ```
The available validators and names can be found in The available validators and names can be found in
[sql_validators](https://github.com/apache/incubator-superset/tree/master/superset/sql_validators). [sql_validators](https://github.com/apache/superset/tree/master/superset/sql_validators).
...@@ -16,10 +16,10 @@ First make sure to wind down the running containers in Docker Compose: ...@@ -16,10 +16,10 @@ First make sure to wind down the running containers in Docker Compose:
docker-compose down docker-compose down
``` ```
Then, update the folder that mirrors the `incubator-superset` repo through git: Then, update the folder that mirrors the `superset` repo through git:
```bash ```bash
cd incubator_superset/ cd superset/
git pull origin master git pull origin master
``` ```
......
...@@ -46,4 +46,4 @@ production environment inside Kubernetes and serves 600+ daily active users view ...@@ -46,4 +46,4 @@ production environment inside Kubernetes and serves 600+ daily active users view
a day. a day.
You can find a partial list of industries and companies embracing Superset You can find a partial list of industries and companies embracing Superset
[on this page in GitHub](https://github.com/apache/incubator-superset/blob/master/INTHEWILD.md). [on this page in GitHub](https://github.com/apache/superset/blob/master/INTHEWILD.md).
...@@ -15,4 +15,4 @@ You can find the approximate public roadmap for Superset [here](https://github.c ...@@ -15,4 +15,4 @@ You can find the approximate public roadmap for Superset [here](https://github.c
Keep in mind that the roadmap represents only a subset of what's Keep in mind that the roadmap represents only a subset of what's
ahead. Many contributions come directly without ever making it onto the roadmap. ahead. Many contributions come directly without ever making it onto the roadmap.
Find out more about how the roadmap is managed in Find out more about how the roadmap is managed in
[SIP (Superset Improvement Proposal) 53](https://github.com/apache/incubator-superset/issues/10894) [SIP (Superset Improvement Proposal) 53](https://github.com/apache/superset/issues/10894)
...@@ -300,30 +300,30 @@ const Theme = () => { ...@@ -300,30 +300,30 @@ const Theme = () => {
<div className="github-section"> <div className="github-section">
<span className="github-button"> <span className="github-button">
<GitHubButton <GitHubButton
href="https://github.com/apache/incubator-superset" href="https://github.com/apache/superset"
data-size="large" data-size="large"
data-show-count="true" data-show-count="true"
aria-label="Star apache/incubator-superset on GitHub" aria-label="Star apache/superset on GitHub"
> >
Star Star
</GitHubButton> </GitHubButton>
</span> </span>
<span className="github-button"> <span className="github-button">
<GitHubButton <GitHubButton
href="https://github.com/apache/incubator-superset/subscription" href="https://github.com/apache/superset/subscription"
data-size="large" data-size="large"
data-show-count="true" data-show-count="true"
aria-label="Watch apache/incubator-superset on GitHub" aria-label="Watch apache/superset on GitHub"
> >
Watch Watch
</GitHubButton> </GitHubButton>
</span> </span>
<span className="github-button"> <span className="github-button">
<GitHubButton <GitHubButton
href="https://github.com/apache/incubator-superset/fork" href="https://github.com/apache/superset/fork"
data-size="large" data-size="large"
data-show-count="true" data-show-count="true"
aria-label="Fork apache/incubator-superset on GitHub" aria-label="Fork apache/superset on GitHub"
> >
Fork Fork
</GitHubButton> </GitHubButton>
......
...@@ -42,15 +42,15 @@ const learningLinks = [ ...@@ -42,15 +42,15 @@ const learningLinks = [
const installationLinks = [ const installationLinks = [
[ [
'Official Apache releases', 'Official Apache releases',
'https://dist.apache.org/repos/dist/release/incubator/superset/', 'https://dist.apache.org/repos/dist/release/superset/',
], ],
[ [
'Locally with Docker', 'Locally with Docker',
'https://superset.incubator.apache.org/installation.html#start-with-docker', 'https://superset.apache.org/installation.html#start-with-docker',
], ],
[ [
'Superset on the Python Package Index (PyPI)', 'Superset on the Python Package Index (PyPI)',
'https://dist.apache.org/repos/dist/release/incubator/superset/', 'https://dist.apache.org/repos/dist/release/superset/',
], ],
[ [
'Install on CentOS', 'Install on CentOS',
......
...@@ -19,7 +19,7 @@ name = Superset ...@@ -19,7 +19,7 @@ name = Superset
summary = a data exploration platform summary = a data exploration platform
description-file = README.md description-file = README.md
author = Apache Superset Dev author = Apache Superset Dev
author-email = dev@superset.incubator.apache.org author-email = dev@superset.apache.org
license = Apache License, Version 2.0 license = Apache License, Version 2.0
[files] [files]
......
...@@ -146,9 +146,9 @@ setup( ...@@ -146,9 +146,9 @@ setup(
}, },
python_requires="~=3.7", python_requires="~=3.7",
author="Apache Software Foundation", author="Apache Software Foundation",
author_email="dev@superset.incubator.apache.org", author_email="dev@superset.apache.org",
url="https://superset.apache.org/", url="https://superset.apache.org/",
download_url="https://www.apache.org/dist/incubator/superset/" + version_string, download_url="https://www.apache.org/dist/superset/" + version_string,
classifiers=[ classifiers=[
"Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.8",
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
}, },
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/apache/incubator-superset.git" "url": "git+https://github.com/apache/superset.git"
}, },
"keywords": [ "keywords": [
"big", "big",
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
], ],
"author": "Apache", "author": "Apache",
"bugs": { "bugs": {
"url": "https://github.com/apache/incubator-superset/issues" "url": "https://github.com/apache/superset/issues"
}, },
"browserslist": [ "browserslist": [
"last 3 chrome versions", "last 3 chrome versions",
......
...@@ -78,7 +78,7 @@ const TARGETS = { ...@@ -78,7 +78,7 @@ const TARGETS = {
const HREFS = { const HREFS = {
label: 'HREF', label: 'HREF',
options: { options: {
Superset: 'http://https://superset.incubator.apache.org/', Superset: 'http://https://superset.apache.org/',
None: null, None: null,
}, },
defaultValue: null, defaultValue: null,
......
...@@ -315,9 +315,9 @@ export default class Chart extends React.Component { ...@@ -315,9 +315,9 @@ export default class Chart extends React.Component {
{/* {/*
This usage of dangerouslySetInnerHTML is safe since it is being used to render This usage of dangerouslySetInnerHTML is safe since it is being used to render
markdown that is sanitized with bleach. See: markdown that is sanitized with bleach. See:
https://github.com/apache/incubator-superset/pull/4390 https://github.com/apache/superset/pull/4390
and and
https://github.com/apache/incubator-superset/commit/b6fcc22d5a2cb7a5e92599ed5795a0169385a825 https://github.com/apache/superset/commit/b6fcc22d5a2cb7a5e92599ed5795a0169385a825
*/} */}
{isExpanded && slice.description_markeddown && ( {isExpanded && slice.description_markeddown && (
<div <div
......
...@@ -23,7 +23,7 @@ import componentTypes from 'src/dashboard/util/componentTypes'; ...@@ -23,7 +23,7 @@ import componentTypes from 'src/dashboard/util/componentTypes';
export type ChartReducerInitialState = typeof chart; export type ChartReducerInitialState = typeof chart;
// chart query built from initialState // chart query built from initialState
// Ref: https://github.com/apache/incubator-superset/blob/dcac860f3e5528ecbc39e58f045c7388adb5c3d0/superset-frontend/src/dashboard/reducers/getInitialState.js#L120 // Ref: https://github.com/apache/superset/blob/dcac860f3e5528ecbc39e58f045c7388adb5c3d0/superset-frontend/src/dashboard/reducers/getInitialState.js#L120
export interface ChartQueryPayload extends Partial<ChartReducerInitialState> { export interface ChartQueryPayload extends Partial<ChartReducerInitialState> {
formData: ChartProps['formData']; formData: ChartProps['formData'];
form_data?: ChartProps['rawFormData']; form_data?: ChartProps['rawFormData'];
......
...@@ -24,7 +24,7 @@ import { addWarningToast } from 'src/messageToasts/actions'; ...@@ -24,7 +24,7 @@ import { addWarningToast } from 'src/messageToasts/actions';
/** /**
* @remark * @remark
* same as https://github.com/apache/incubator-superset/blob/c53bc4ddf9808a8bb6916bbe3cb31935d33a2420/superset-frontend/stylesheets/less/variables.less#L34 * same as https://github.com/apache/superset/blob/c53bc4ddf9808a8bb6916bbe3cb31935d33a2420/superset-frontend/stylesheets/less/variables.less#L34
*/ */
const GRAY_BACKGROUND_COLOR = '#F5F5F5'; const GRAY_BACKGROUND_COLOR = '#F5F5F5';
......
...@@ -320,7 +320,7 @@ DEFAULT_FEATURE_FLAGS: Dict[str, bool] = { ...@@ -320,7 +320,7 @@ DEFAULT_FEATURE_FLAGS: Dict[str, bool] = {
"SQLLAB_BACKEND_PERSISTENCE": False, "SQLLAB_BACKEND_PERSISTENCE": False,
"LISTVIEWS_DEFAULT_CARD_VIEW": False, "LISTVIEWS_DEFAULT_CARD_VIEW": False,
# Enables the replacement React views for all the FAB views (list, edit, show) with # Enables the replacement React views for all the FAB views (list, edit, show) with
# designs introduced in https://github.com/apache/incubator-superset/issues/8976 # designs introduced in https://github.com/apache/superset/issues/8976
# (SIP-34). This is a work in progress so not all features available in FAB have # (SIP-34). This is a work in progress so not all features available in FAB have
# been implemented. # been implemented.
"ENABLE_REACT_CRUD_VIEWS": True, "ENABLE_REACT_CRUD_VIEWS": True,
......
...@@ -158,7 +158,7 @@ class AlertLog(Model): ...@@ -158,7 +158,7 @@ class AlertLog(Model):
# TODO: Currently SQLObservation table will constantly grow with no limit, # TODO: Currently SQLObservation table will constantly grow with no limit,
# add some retention restriction or more to a more scalable db e.g. # add some retention restriction or more to a more scalable db e.g.
# https://github.com/apache/incubator-superset/blob/master/superset/utils/log.py#L32 # https://github.com/apache/superset/blob/master/superset/utils/log.py#L32
class SQLObservation(Model): # pylint: disable=too-few-public-methods class SQLObservation(Model): # pylint: disable=too-few-public-methods
"""Keeps track of the collected observations for alerts.""" """Keeps track of the collected observations for alerts."""
......
...@@ -175,7 +175,7 @@ class Database( ...@@ -175,7 +175,7 @@ class Database(
return self.db_engine_spec.get_function_names(self) return self.db_engine_spec.get_function_names(self)
except Exception as ex: # pylint: disable=broad-except except Exception as ex: # pylint: disable=broad-except
# function_names property is used in bulk APIs and should not hard crash # function_names property is used in bulk APIs and should not hard crash
# more info in: https://github.com/apache/incubator-superset/issues/9678 # more info in: https://github.com/apache/superset/issues/9678
logger.error( logger.error(
"Failed to fetch database function names with error: %s", str(ex) "Failed to fetch database function names with error: %s", str(ex)
) )
......
...@@ -29,7 +29,7 @@ logger = logging.getLogger("tasks.email_reports") ...@@ -29,7 +29,7 @@ logger = logging.getLogger("tasks.email_reports")
# Session needs to be passed along in the celery workers and db.session cannot be used. # Session needs to be passed along in the celery workers and db.session cannot be used.
# For more info see: https://github.com/apache/incubator-superset/issues/10530 # For more info see: https://github.com/apache/superset/issues/10530
def observe(alert_id: int, session: Session) -> Optional[str]: def observe(alert_id: int, session: Session) -> Optional[str]:
"""Collect observations for the alert. """Collect observations for the alert.
Returns an error message if the observer value was not valid Returns an error message if the observer value was not valid
......
...@@ -536,7 +536,7 @@ def schedule_email_report( ...@@ -536,7 +536,7 @@ def schedule_email_report(
name="alerts.run_query", name="alerts.run_query",
bind=True, bind=True,
soft_time_limit=config["EMAIL_ASYNC_TIME_LIMIT_SEC"], soft_time_limit=config["EMAIL_ASYNC_TIME_LIMIT_SEC"],
# TODO: find cause of https://github.com/apache/incubator-superset/issues/10530 # TODO: find cause of https://github.com/apache/superset/issues/10530
# and remove retry # and remove retry
autoretry_for=(NoSuchColumnError, ResourceClosedError,), autoretry_for=(NoSuchColumnError, ResourceClosedError,),
retry_kwargs={"max_retries": 5}, retry_kwargs={"max_retries": 5},
......
...@@ -27,7 +27,7 @@ from superset import app, db ...@@ -27,7 +27,7 @@ from superset import app, db
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
# Null pool is used for the celery workers due process forking side effects. # Null pool is used for the celery workers due process forking side effects.
# For more info see: https://github.com/apache/incubator-superset/issues/10530 # For more info see: https://github.com/apache/superset/issues/10530
@contextmanager @contextmanager
def session_scope(nullpool: bool) -> Iterator[Session]: def session_scope(nullpool: bool) -> Iterator[Session]:
"""Provide a transactional scope around a series of operations.""" """Provide a transactional scope around a series of operations."""
......
...@@ -276,7 +276,7 @@ class TimeRangeEndpoint(str, Enum): ...@@ -276,7 +276,7 @@ class TimeRangeEndpoint(str, Enum):
[start, end] the filter may behave like (start, end] due to mixed data types and [start, end] the filter may behave like (start, end] due to mixed data types and
lexicographical ordering. lexicographical ordering.
:see: https://github.com/apache/incubator-superset/issues/6360 :see: https://github.com/apache/superset/issues/6360
""" """
EXCLUSIVE = "exclusive" EXCLUSIVE = "exclusive"
......
...@@ -1069,7 +1069,7 @@ class TestDatasetApi(SupersetTestCase): ...@@ -1069,7 +1069,7 @@ class TestDatasetApi(SupersetTestCase):
""" """
birth_names_dataset = self.get_birth_names_dataset() birth_names_dataset = self.get_birth_names_dataset()
# TODO: fix test for presto # TODO: fix test for presto
# debug with dump: https://github.com/apache/incubator-superset/runs/1092546855 # debug with dump: https://github.com/apache/superset/runs/1092546855
if birth_names_dataset.database.backend in {"presto", "hive"}: if birth_names_dataset.database.backend in {"presto", "hive"}:
return return
...@@ -1131,7 +1131,7 @@ class TestDatasetApi(SupersetTestCase): ...@@ -1131,7 +1131,7 @@ class TestDatasetApi(SupersetTestCase):
""" """
birth_names_dataset = self.get_birth_names_dataset() birth_names_dataset = self.get_birth_names_dataset()
# TODO: fix test for presto # TODO: fix test for presto
# debug with dump: https://github.com/apache/incubator-superset/runs/1092546855 # debug with dump: https://github.com/apache/superset/runs/1092546855
if birth_names_dataset.database.backend in {"presto", "hive"}: if birth_names_dataset.database.backend in {"presto", "hive"}:
return return
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册