Skip to content

Commit 91e6f9b

Browse files
committed
feat: initialize layout
Signed-off-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
1 parent 1c5f855 commit 91e6f9b

30 files changed

Lines changed: 864 additions & 0 deletions

.bazelignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
vendor/

.bazelrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# load bazelrc from the legacy location as recommended
2+
# in https://github.com/bazelbuild/bazel/issues/6319
3+
import %workspace%/tools/bazel.rc

.bazelversion

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
5.3.1

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
requirements/*-requirements.lock.txt linguist-generated=true
2+
requirements.bzl linguist-generated=true

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @aarnphm
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: 🐛 Bug Report
2+
description: Create a bug report to help us improve the library.
3+
title: "bug: "
4+
labels: ["bug"]
5+
body:
6+
- type: markdown
7+
id: issue-already-exists
8+
attributes:
9+
value: |
10+
Please search to see if an issue already exists for the bug you encountered.
11+
See [Searching Issues and Pull Requests](https://docs.github.com/en/search-github/searching-on-github/searching-issues-and-pull-requests) for how to use the GitHub search bar and filters.
12+
- type: textarea
13+
id: describe-the-bug
14+
validations:
15+
required: true
16+
attributes:
17+
label: Describe the bug
18+
description: Please provide a clear and concise description about the problem you ran into.
19+
placeholder: This happened when I...
20+
- type: textarea
21+
id: to-reproduce
22+
validations:
23+
required: false
24+
attributes:
25+
label: To reproduce
26+
description: |
27+
Please provide a code sample or a code snipet to reproduce said problem. If you have code snippets, error messages, stack trace please also provide them here.
28+
29+
**IMPORTANT**: make sure to use [code tag](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks#syntax-highlighting) to correctly format your code. Screenshot is helpful but don't use it for code snippets as it doesn't allow others to copy-and-paste your code.
30+
placeholder: |
31+
Steps to reproduce the bug:
32+
33+
1. Provide '...'
34+
2. Run '...'
35+
3. See error
36+
- type: textarea
37+
id: expected-behavior
38+
validations:
39+
required: false
40+
attributes:
41+
label: Expected behavior
42+
description: "A clear and concise description of what you would expect to happen."
43+
- type: textarea
44+
id: environment-info
45+
attributes:
46+
label: Environment
47+
description: |
48+
Please share your environment with us.
49+
placeholder: |
50+
python: ...
51+
bazel: ...
52+
platform: ...
53+
validations:
54+
required: true

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
blank_issues_enabled: true
2+
version: 2.1
3+
contact_links:
4+
- name: Discussions
5+
url: https://github.com/aarnphm/ecosystem/discussions
6+
about: Please ask general questions here.
7+
- name: Issues
8+
url: https://github.com/aarnphm/ecosystem/issues?q=is:issue+is:open+sort:updated-desc
9+
about: Please create and issue new tickets.
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: 🚀 Feature Request
2+
description: Submit a proposal/feature request.
3+
title: "feat: "
4+
labels: ["new-feature", "enhancement"]
5+
body:
6+
- type: textarea
7+
id: feature-request
8+
validations:
9+
required: true
10+
attributes:
11+
label: Feature request
12+
description: |
13+
A clear and concise description of the feature request.
14+
placeholder: |
15+
I would like it if...
16+
- type: textarea
17+
id: motivation
18+
validations:
19+
required: false
20+
attributes:
21+
label: Motivation
22+
description: |
23+
Please outline the motivation for this feature request. Is your feature request related to a problem? e.g., I'm always frustrated when [...].
24+
If this is related to another issue, please link here too.
25+
If you have a current workaround, please also provide it here.
26+
placeholder: |
27+
This feature would solve ...
28+
- type: textarea
29+
id: other
30+
attributes:
31+
label: Other
32+
description: |
33+
Is there any way that you could help, e.g. by submitting a PR?
34+
placeholder: |
35+
I would love to contribute ...

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
## What does this PR address?
2+
3+
<!-- Remove if not applicable -->
4+
5+
Fixes #(issue)
6+
7+
## Before submitting:
8+
9+
<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
10+
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
11+
<!--- If you plan to update documentation or tests in follow-up, please note -->
12+
13+
- [ ] Does the Pull Request follow [Conventional Commits specification](https://www.conventionalcommits.org/en/v1.0.0/#summary) naming? Here are [GitHub's
14+
guide](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request) on how to create a pull request.
15+
- [ ] Did you read through and follow [development guidelines](../DEVELOPMENT.md)?
16+
- [ ] Did your changes require updates to the documentation? Have you updated those accordingly?
17+
- [ ] Did you write tests to cover your changes?
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Setup repo
2+
3+
description: Setup repo with all features on CI
4+
5+
inputs:
6+
python-version:
7+
description: "Python version"
8+
required: true
9+
default: "3.10"
10+
architecture:
11+
description: "Which architecture to run on"
12+
required: true
13+
default: x64
14+
15+
runs:
16+
using: composite
17+
steps:
18+
- name: Setup Python
19+
uses: actions/setup-python@v4
20+
with:
21+
python-version: ${{ inputs.python-version }}
22+
architecture: ${{ inputs.architecture }}
23+
- name: Get pip cache dir
24+
id: pip-cache
25+
shell: bash
26+
run: echo "directory=$(pip cache dir)" >> $GITHUB_OUTPUT
27+
- name: Get cache key prefix
28+
id: get-cache-key-prefix
29+
shell: bash
30+
run: |
31+
echo "prefix=$ImageOS-$ImageVersion" >> $GITHUB_OUTPUT
32+
- name: Cache PyPI
33+
id: cache-pypi
34+
uses: actions/cache@v3.0.10
35+
with:
36+
key: ${{ steps.get-cache-key-prefix.outputs.prefix }}-pypi-${{ hashFiles('requirements/*-requirements.txt') }}
37+
path: ${{ steps.pip-cache.outputs.directory }}
38+
restore-keys: |
39+
${{ steps.get-cache-key-prefix.outputs.prefix }}-pypi--
40+
- name: Install development dependencies
41+
shell: bash
42+
run: python -m pip install -r requirements/dev-requirements.lock.txt

0 commit comments

Comments
 (0)