Skip to content

Commit 245d09c

Browse files
Initial commit
Visitran — Modern Pythonic Data Transform Tool Licensed under AGPL-3.0
0 parents  commit 245d09c

1,043 files changed

Lines changed: 252313 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.devcontainer/devcontainer.json

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
{
2+
"name": "Docker in Docker",
3+
"build": {
4+
"dockerfile": "../DevContainerDockerfile",
5+
"context": ".."
6+
},
7+
"mounts": [
8+
"type=bind,source=${localWorkspaceFolder},target=/home/vscode/workspaces/visitran",
9+
"type=bind,source=/home/${localEnv:USER}/.ssh,target=/home/vscode/.ssh,readonly"
10+
],
11+
"workspaceFolder": "/home/vscode/workspaces/visitran",
12+
"features": {
13+
"ghcr.io/devcontainers/features/docker-in-docker:2": {
14+
"installZsh": "true",
15+
"version": "20.10",
16+
"enableNonRootDocker": "true",
17+
"moby": "true"
18+
},
19+
"ghcr.io/devcontainers/features/common-utils:2": {
20+
"configureZshAsDefaultShell": "true",
21+
"username": "vscode"
22+
},
23+
"ghcr.io/stuartleeks/dev-container-features/shell-history:0": {},
24+
"ghcr.io/devcontainers-contrib/features/zsh-plugins:0": {
25+
"plugins": "colored-man-pages jsontools zsh-autosuggestions zsh-syntax-highlighting",
26+
"omzPlugins": "https://github.com/zsh-users/zsh-autosuggestions https://github.com/zsh-users/zsh-syntax-highlighting",
27+
"username": "vscode"
28+
},
29+
"ghcr.io/devcontainers/features/node:1": {
30+
"version": "v18.14.2"
31+
},
32+
"ghcr.io/devcontainers/features/git-lfs:1": {}
33+
},
34+
"forwardPorts": [],
35+
"postCreateCommand": "inv install",
36+
"customizations": {
37+
"vscode": {
38+
"extensions": [
39+
"ms-python.python",
40+
"GitHub.vscode-pull-request-github",
41+
"bungcip.better-toml"
42+
],
43+
"settings": {
44+
"terminal.integrated.profiles.linux": {
45+
"zsh": {
46+
"path": "/bin/zsh"
47+
}
48+
},
49+
"terminal.integrated.defaultProfile.linux": "zsh",
50+
"python.linting.flake8Enabled": true,
51+
"python.linting.enabled": true,
52+
"python.formatting.provider": "black",
53+
"editor.formatOnSave": true,
54+
"python.linting.flake8Args": [
55+
"--max-line-length=120"
56+
],
57+
"python.testing.pytestArgs": [
58+
"tests"
59+
],
60+
"python.testing.unittestEnabled": false,
61+
"python.testing.pytestEnabled": true,
62+
"python.analysis.extraPaths": [
63+
"./visitran_cli"
64+
],
65+
"python.analysis.typeCheckingMode": "basic",
66+
"python.linting.mypyEnabled": true
67+
}
68+
}
69+
},
70+
"remoteUser": "vscode"
71+
}

.dockerignore

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
backend/pluggable_apps
2+
backend/pluggable_apps/**
3+
backend/plugins
4+
backend/plugins/**
5+
backend/.venv
6+
backend/.venv/**
7+
frontend/src/plugins
8+
frontend/src/plugins/**
9+
.git
10+
.github
11+
.vscode
12+
project-s

.flake8

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[flake8]
2+
ignore = W291, W293, W503, W504
3+
max-line-length = 120
4+
exclude = "pyproject.toml"

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
name: Bug report
3+
about: Report any issues found and help us improve
4+
title: 'fix: [ISSUE]'
5+
labels: bug
6+
assignees: ''
7+
8+
---
9+
10+
## Describe the bug
11+
A clear and concise description of what the bug is.
12+
13+
## To reproduce
14+
Steps to reproduce the behavior.
15+
16+
## Expected behavior
17+
A clear and concise description of what you expected to happen.
18+
19+
## Environment details
20+
- Version: [e.g. 0.93.0]
21+
- Database adapter: [e.g. PostgreSQL, DuckDB, Snowflake, BigQuery, Trino, Databricks]
22+
- Deployment: [e.g. Docker Compose, Direct Installation]
23+
24+
## Additional context
25+
Add any other context about the problem here.
26+
27+
## Screenshots
28+
If applicable, add screenshots to help explain your problem.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Documentation
4+
url: https://docs.visitran.com
5+
about: Check our documentation before creating an issue.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: 'feat: [ISSUE]'
5+
labels: enhancement
6+
assignees: ''
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the feature request here.
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: 'Display Environment Variables'
2+
description: 'Prints env variables'
3+
4+
runs:
5+
using: 'composite'
6+
steps:
7+
- name: Dump GitHub context
8+
shell: bash
9+
env:
10+
GITHUB_CONTEXT: ${{ toJson(github) }}
11+
run: echo "$GITHUB_CONTEXT"
12+
- name: Dump job context
13+
shell: bash
14+
env:
15+
JOB_CONTEXT: ${{ toJson(job) }}
16+
run: echo "$JOB_CONTEXT"
17+
- name: Dump steps context
18+
shell: bash
19+
env:
20+
STEPS_CONTEXT: ${{ toJson(steps) }}
21+
run: echo "$STEPS_CONTEXT"
22+
- name: Dump runner context
23+
shell: bash
24+
env:
25+
RUNNER_CONTEXT: ${{ toJson(runner) }}
26+
run: echo "$RUNNER_CONTEXT"
27+
- name: Dump strategy context
28+
shell: bash
29+
env:
30+
STRATEGY_CONTEXT: ${{ toJson(strategy) }}
31+
run: echo "$STRATEGY_CONTEXT"
32+
- name: Dump matrix context
33+
shell: bash
34+
env:
35+
MATRIX_CONTEXT: ${{ toJson(matrix) }}
36+
run: echo "$MATRIX_CONTEXT"
37+
38+
- name: Show default environment variables
39+
shell: bash
40+
run: |
41+
echo "The job_id is: $GITHUB_JOB" # reference the default environment variables
42+
echo "The id of this action is: $GITHUB_ACTION" # reference the default environment variables
43+
echo "The run id is: $GITHUB_RUN_ID"
44+
echo "The GitHub Actor's username is: $GITHUB_ACTOR"
45+
echo "GitHub SHA: $GITHUB_SHA"
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: 'Setup Python'
2+
description: 'Prints a greeting message'
3+
inputs:
4+
python-version:
5+
required: true
6+
type: string
7+
description: 'The version of Python to use'
8+
9+
runs:
10+
using: 'composite'
11+
steps:
12+
- uses: actions/setup-python@v5
13+
with:
14+
python-version: ${{ inputs.python-version }}
15+
- uses: astral-sh/setup-uv@v4
16+
with:
17+
python-version: ${{ inputs.python-version }}
18+
enable-cache: true
19+
cache-dependency-path: ./uv.lock
20+
- name: Install visitran-cloud dependencies
21+
shell: bash
22+
run: uv sync

.github/dependabot.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: "pip" # See documentation for possible values
9+
directory: "/" # Location of package manifests
10+
schedule:
11+
interval: "monthly"
12+
target-branch: "main" # The branch to create pull requests against

0 commit comments

Comments
 (0)