forked from apache/superset
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3,567 changed files
with
397,642 additions
and
340,113 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
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
Validating CODEOWNERS rules …
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,104 @@ | ||
name: Bug report | ||
description: Report a bug to improve Superset's stability | ||
labels: ["bug"] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Hello Superset Community member! Please keep things tidy by putting your post in the proper place: | ||
🚨 Reporting a security issue: send an email to [email protected]. DO NOT USE GITHUB ISSUES TO REPORT SECURITY PROBLEMS. | ||
🐛 Reporting a bug: use this form. | ||
🙏 Asking a question or getting help: post in the [Superset Slack chat](http://bit.ly/join-superset-slack) or [GitHub Discussions](https://github.com/apache/superset/discussions) under "Q&A / Help". | ||
💡 Requesting a new feature: Search [GitHub Discussions](https://github.com/apache/superset/discussions) to see if it exists already. If not, add a new post there under "Ideas". | ||
- type: textarea | ||
id: bug-description | ||
attributes: | ||
label: Bug description | ||
description: A clear and concise description of what the bug is. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: repro-steps | ||
attributes: | ||
label: How to reproduce the bug | ||
placeholder: | | ||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See error | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: screenshots-recordings | ||
attributes: | ||
label: Screenshots/recordings | ||
description: If applicable, add screenshots or recordings to help explain your problem. | ||
- type: markdown | ||
attributes: | ||
value: | | ||
### Environment | ||
Please specify your environment. If your environment does not match the alternatives, you need to upgrade your environment before submitting the issue as it may have already been fixed. For additional information about the releases, see [Release Process](https://github.com/apache/superset/wiki/Release-Process). | ||
- type: dropdown | ||
id: superset-version | ||
attributes: | ||
label: Superset version | ||
options: | ||
- master / latest-dev | ||
- "4.0.1" | ||
- "3.1.3" | ||
validations: | ||
required: true | ||
- type: dropdown | ||
id: python-version | ||
attributes: | ||
label: Python version | ||
options: | ||
- "3.9" | ||
- "3.10" | ||
- "3.11" | ||
- Not applicable | ||
- I don't know | ||
validations: | ||
required: true | ||
- type: dropdown | ||
id: node-version | ||
attributes: | ||
label: Node version | ||
options: | ||
- "16" | ||
- "17" | ||
- "18 or greater" | ||
- Not applicable | ||
- I don't know | ||
validations: | ||
required: true | ||
- type: dropdown | ||
id: browser | ||
attributes: | ||
label: Browser | ||
options: | ||
- Chrome | ||
- Firefox | ||
- Safari | ||
- Not applicable | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: additional-context | ||
attributes: | ||
label: Additional context | ||
description: | | ||
Add any other context about the problem here such as the feature flags that you have enabled, any customizations you have made, the data source you are querying, etc. | ||
- type: checkboxes | ||
id: checklist | ||
attributes: | ||
label: Checklist | ||
description: Make sure to follow these steps before submitting your issue - thank you! | ||
options: | ||
- label: I have searched Superset docs and Slack and didn't find a solution to my problem. | ||
- label: I have searched the GitHub issue tracker and didn't find a similar bug report. | ||
- label: I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section. | ||
validations: | ||
required: true |
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: 'Change Detector' | ||
description: 'Detects file changes for pull request and push events' | ||
inputs: | ||
token: | ||
description: 'GitHub token for authentication' | ||
required: true | ||
outputs: | ||
python: | ||
description: 'Whether Python-related files were changed' | ||
value: ${{ steps.change-detector.outputs.python }} | ||
frontend: | ||
description: 'Whether frontend-related files were changed' | ||
value: ${{ steps.change-detector.outputs.frontend }} | ||
docker: | ||
description: 'Whether docker-related files were changed' | ||
value: ${{ steps.change-detector.outputs.docker }} | ||
docs: | ||
description: 'Whether docs-related files were changed' | ||
value: ${{ steps.change-detector.outputs.docs }} | ||
runs: | ||
using: 'composite' | ||
steps: | ||
- name: Detect file changes | ||
id: change-detector | ||
run: | | ||
python --version | ||
python scripts/change_detector.py | ||
shell: bash | ||
env: | ||
GITHUB_TOKEN: ${{ inputs.token }} | ||
GITHUB_OUTPUT: ${{ github.output }} |
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 |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name: 'Setup Python Environment' | ||
description: 'Set up Python and install dependencies with optional configurations.' | ||
inputs: | ||
python-version: | ||
description: 'Python version to set up. Accepts a version number, "current", or "next".' | ||
required: true | ||
default: 'current' | ||
cache: | ||
description: 'Cache dependencies. Options: pip' | ||
required: false | ||
default: 'pip' | ||
requirements-type: | ||
description: 'Type of requirements to install. Options: base, development, default' | ||
required: false | ||
default: 'dev' | ||
install-superset: | ||
description: 'Whether to install Superset itself. If false, only python is installed' | ||
required: false | ||
default: 'true' | ||
|
||
runs: | ||
using: 'composite' | ||
steps: | ||
- name: Interpret Python Version | ||
id: set-python-version | ||
shell: bash | ||
run: | | ||
if [ "${{ inputs.python-version }}" = "current" ]; then | ||
echo "PYTHON_VERSION=3.10" >> $GITHUB_ENV | ||
elif [ "${{ inputs.python-version }}" = "next" ]; then | ||
echo "PYTHON_VERSION=3.11" >> $GITHUB_ENV | ||
elif [ "${{ inputs.python-version }}" = "previous" ]; then | ||
echo "PYTHON_VERSION=3.9" >> $GITHUB_ENV | ||
else | ||
echo "PYTHON_VERSION=${{ inputs.python-version }}" >> $GITHUB_ENV | ||
fi | ||
- name: Set up Python ${{ env.PYTHON_VERSION }} | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ env.PYTHON_VERSION }} | ||
cache: ${{ inputs.cache }} | ||
- name: Install dependencies | ||
run: | | ||
if [ "${{ inputs.install-superset }}" = "true" ]; then | ||
sudo apt-get update && sudo apt-get -y install libldap2-dev libsasl2-dev | ||
pip install --upgrade pip setuptools wheel | ||
if [ "${{ inputs.requirements-type }}" = "dev" ]; then | ||
pip install -r requirements/development.txt | ||
elif [ "${{ inputs.requirements-type }}" = "base" ]; then | ||
pip install -r requirements/base.txt | ||
fi | ||
fi | ||
shell: bash |
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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: 'Setup supersetbot' | ||
description: 'Sets up supersetbot npm lib from the repo or npm' | ||
inputs: | ||
from-npm: | ||
description: 'Install from npm instead of local setup' | ||
required: false | ||
default: 'true' # Defaults to using the local setup | ||
runs: | ||
using: 'composite' | ||
steps: | ||
|
||
- name: Setup Node Env | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: '20' | ||
|
||
- name: Install supersetbot from npm | ||
if: ${{ inputs.from-npm == 'true' }} | ||
shell: bash | ||
run: npm install -g supersetbot | ||
|
||
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )" | ||
if: ${{ inputs.from-npm == 'false' }} | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: apache-superset/supersetbot | ||
path: supersetbot | ||
|
||
- name: Setup supersetbot from repo | ||
if: ${{ inputs.from-npm == 'false' }} | ||
shell: bash | ||
working-directory: supersetbot | ||
run: | | ||
# simple trick to install globally with dependencies | ||
npm pack | ||
npm install -g ./supersetbot*.tgz | ||
- name: echo supersetbot version | ||
shell: bash | ||
run: supersetbot version |
Oops, something went wrong.