forked from apache/superset
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: cleanup documentation (apache#29552)
- Loading branch information
1 parent
3f6b7e2
commit 84a1cd2
Showing
8 changed files
with
62 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -115,7 +115,7 @@ source set_release_env.sh 1.5.1rc1 [email protected] | |
|
||
The script will output the exported variables. Here's example for 1.5.1rc1: | ||
|
||
``` | ||
```env | ||
------------------------------- | ||
Set Release env variables | ||
SUPERSET_VERSION=1.5.1 | ||
|
@@ -264,13 +264,13 @@ python changelog.py --previous_version 1.5.0 --current_version ${SUPERSET_GITHUB | |
|
||
Finally, bump the version number on `superset-frontend/package.json` (replace with whichever version is being released excluding the RC version): | ||
|
||
``` | ||
```json | ||
"version": "0.38.0" | ||
``` | ||
|
||
Commit the change with the version number, then git tag the version with the release candidate and push to the branch: | ||
|
||
``` | ||
```bash | ||
# add changed files and commit | ||
git add ... | ||
git commit ... | ||
|
@@ -366,7 +366,7 @@ The script will interactively ask for extra information needed to fill out the e | |
voting description, it will generate a passing, non passing or non conclusive email. | ||
Here's an example: | ||
|
||
``` | ||
```text | ||
A List of people with +1 binding vote (ex: Max,Grace,Krist): Daniel,Alan,Max,Grace | ||
A List of people with +1 non binding vote (ex: Ville): Ville | ||
A List of people with -1 vote (ex: John): | ||
|
@@ -516,16 +516,22 @@ reference), and whether to force the `latest` Docker tag on the | |
generated images. | ||
|
||
### Npm Release | ||
|
||
You might want to publish the latest @superset-ui release to npm | ||
|
||
```bash | ||
cd superset/superset-frontend | ||
``` | ||
|
||
An automated GitHub action will run and generate a new tag, which will contain a version number provided as a parameter. | ||
|
||
```bash | ||
export GH_TOKEN={GITHUB_TOKEN} | ||
npx lerna version {VERSION} --conventional-commits --create-release github --no-private --yes --message {COMMIT_MESSAGE} | ||
``` | ||
|
||
This action will publish the specified version to npm registry. | ||
|
||
```bash | ||
npx lerna publish from-package --yes | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -175,6 +175,7 @@ FROM | |
GROUP BY | ||
UPPER(country_of_origin) | ||
``` | ||
|
||
### `time_groupby_inline = False` | ||
|
||
In theory this attribute should be used to omit time filters from the self-joins. When the attribute is false the time attribute will be present in the subquery used to compute limited series, eg: | ||
|
@@ -415,21 +416,21 @@ DB engine specs should implement a class method called `get_function_names` that | |
|
||
Superset does a good job in keeping credentials secure. When you add a database with a password, for example: | ||
|
||
``` | ||
```text | ||
postgresql://admin:[email protected]:5432/db | ||
``` | ||
|
||
The password is sent over the network only when the database is created. When you edit the database later, Superset will return this as the SQLAlchemy URI: | ||
|
||
``` | ||
```text | ||
postgresql://admin:[email protected]:5432/db | ||
``` | ||
|
||
The password will be masked in the API response; it's not just masked in the browser UI. This is done in order to avoid sending the password unnecessarily over the network. Also, if a non-admin user has access to the API response, they won't be able to know the database password. | ||
|
||
When the database is edited, the Superset backend is smart enough to replace the masked password with the actual password, unless the password has changed. That is, if you change the database in the URI from `db` to `db2` the SQLAlchemy URI will be stored in the backend as: | ||
|
||
``` | ||
```text | ||
postgresql://admin:[email protected]:5432/db2 | ||
``` | ||
|
||
|