Skip to content

Commit 60574ab

Browse files
committed
Initial commit
0 parents  commit 60574ab

File tree

14 files changed

+1399
-0
lines changed

14 files changed

+1399
-0
lines changed
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: '🐞 Bug Report'
2+
description: 'Report a reproducible bug in WheelOS'
3+
title: '[Bug]: '
4+
labels: ['bug', 'needs-triage']
5+
assignees: []
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: |
10+
Thank you for reporting a bug! Please provide clear and complete information to help us reproduce and fix it.
11+
12+
- type: textarea
13+
id: system_info
14+
attributes:
15+
label: 'System Information / Logs'
16+
description: |
17+
Paste `whl-env` output **or** drag-and-drop logs/config files here.
18+
GitHub will auto-upload and link them in the issue.
19+
placeholder: |
20+
Paste content here, or drag files into this box to attach them.
21+
validations:
22+
required: true
23+
24+
- type: textarea
25+
id: steps
26+
attributes:
27+
label: 'Steps to Reproduce'
28+
description: 'List the minimal steps to reproduce this bug, in order'
29+
placeholder: |
30+
1.
31+
2.
32+
3.
33+
validations:
34+
required: true
35+
36+
- type: textarea
37+
id: expected_vs_actual
38+
attributes:
39+
label: 'Expected vs Actual Behavior'
40+
description: |
41+
**Expected:** what you expected
42+
**Actual:** what actually happened (include errors/logs)
43+
validations:
44+
required: true
45+
46+
- type: textarea
47+
id: additional
48+
attributes:
49+
label: 'Additional Information'
50+
description: 'Screenshots, logs, or configuration (optional)'
51+
validations:
52+
required: false
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: '🌟 Feature Request'
2+
description: 'Suggest a new feature or improvement'
3+
title: '[Feature]: '
4+
labels: ['enhancement']
5+
assignees: []
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: |
10+
💡 Share your ideas on how to improve WheelOS — the more context and use cases, the better!
11+
12+
- type: textarea
13+
id: use_case
14+
attributes:
15+
label: 'Use Case / Motivation'
16+
description: 'Describe the real-world scenario or problem this addresses'
17+
validations:
18+
required: true
19+
20+
- type: textarea
21+
id: proposal
22+
attributes:
23+
label: 'Proposed Implementation'
24+
description: 'Outline your idea—API, commands, behavior, etc.'
25+
validations:
26+
required: false
27+
28+
- type: textarea
29+
id: alternatives
30+
attributes:
31+
label: 'Alternatives Considered'
32+
description: 'Any existing workaround or past discussion'
33+
validations:
34+
required: false
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: '❓ Question / Help'
2+
description: 'Ask for help with usage, configuration, or docs'
3+
title: '[Question]: '
4+
labels: ['question', 'help-wanted']
5+
assignees: []
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: |
10+
Need help? Ask here! Provide details so we can assist quickly.
11+
12+
- type: textarea
13+
id: system_info
14+
attributes:
15+
label: 'System Information / Logs'
16+
description: |
17+
Paste `whl-env` output **or** drag-and-drop logs/config files here.
18+
GitHub will auto-upload and link them in the issue.
19+
placeholder: |
20+
Paste content here, or drag files into this box to attach them.
21+
validations:
22+
required: false
23+
24+
- type: textarea
25+
id: question
26+
attributes:
27+
label: 'Question'
28+
description: 'Please describe your question or problem clearly'
29+
validations:
30+
required: true
31+
32+
- type: textarea
33+
id: attempted
34+
attributes:
35+
label: 'What I Tried'
36+
description: "Steps you've already taken or looked into (optional)"
37+
validations:
38+
required: false
39+
40+
- type: input
41+
id: attachments
42+
attributes:
43+
label: 'Relevant Logs or Links'
44+
description: |
45+
Optional: Provide URLs to logs, screenshots, or related issues for reference.
46+
placeholder: 'https://example.com/log.txt'
47+
validations:
48+
required: false

.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: 'Community Forum'
4+
url: 'https://github.com/orgs/wheelos/discussions'
5+
about: 'Ask usage questions and discuss ideas with the WheelOS community.'

.github/workflows/lint-format.yml

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
name: Code Lint and Format Check
2+
3+
on:
4+
push:
5+
branches:
6+
- main # Trigger on push to 'main'
7+
pull_request:
8+
branches:
9+
- main # Trigger on PR to 'main'
10+
- 8.0-dev
11+
12+
# Workflow permissions
13+
permissions:
14+
contents: read
15+
pull-requests: write
16+
17+
jobs:
18+
lint-format:
19+
runs-on: ubuntu-latest
20+
21+
steps:
22+
- name: Checkout Code
23+
uses: actions/checkout@v4
24+
with:
25+
fetch-depth: 0
26+
27+
- name: Read Bazel version from .bazelversion
28+
id: bazel-version
29+
run: echo "version=$(cat .bazelversion)" >> $GITHUB_OUTPUT
30+
31+
- name: Set up Python
32+
uses: actions/setup-python@v5
33+
with:
34+
python-version: '3.10'
35+
36+
- name: Install Python dependencies
37+
run: |
38+
python -m pip install --upgrade pip
39+
pip install black==24.4.2 flake8==7.0.0 isort==5.13.2
40+
41+
- name: Set up Bazel
42+
uses: bazel-contrib/setup-bazel@0.15.0
43+
with:
44+
bazelisk-cache: true
45+
disk-cache: ${{ github.workflow }}
46+
bazel-version: ${{ steps.bazel-version.outputs.version }}
47+
48+
- name: Install C++ (Clang-Format), Shell (Shellcheck) and Buildifier
49+
run: |
50+
sudo apt-get update
51+
# Install clang-format version from .pre-commit-config.yaml
52+
sudo apt-get install -y clang-format-18 shellcheck
53+
54+
# Install Buildifier using Go
55+
# Todo(zero): different from ".pre-commit-config.yaml"
56+
go install github.com/bazelbuild/buildtools/buildifier@latest
57+
echo "$HOME/go/bin" >> $GITHUB_PATH
58+
59+
- name: Run Lint and Format Checks (PR Diff Mode)
60+
if: github.event_name == 'pull_request'
61+
run: |
62+
echo "Running apollo_lint.sh in diff mode for PR..."
63+
${{ github.workspace }}/scripts/ci/apollo_lint.sh --all --diff origin/${{ github.base_ref }}
64+
env:
65+
GITHUB_BASE_REF: ${{ github.base_ref }}
66+
67+
- name: Run Lint and Format Checks (Push Full Mode)
68+
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
69+
run: |
70+
echo "Running apollo_lint.sh in full mode for push to main branch..."
71+
${{ github.workspace }}/scripts/ci/apollo_lint.sh --all

0 commit comments

Comments
 (0)