Skip to content

Commit 796a962

Browse files
committed
initial commit
1 parent 1a4fffe commit 796a962

File tree

170 files changed

+32455
-3
lines changed

Some content is hidden

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

170 files changed

+32455
-3
lines changed
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
name: 🐛 Bug Report
3+
description: Create a report to help us improve the python SDK for Infrahub
4+
title: 'bug: '
5+
labels: ["type/bug"]
6+
body:
7+
- type: dropdown
8+
attributes:
9+
label: Component
10+
description: Please indicate which component(s) this feature is associated with (leave blanc if unknown)
11+
multiple: true
12+
options:
13+
- Python SDK
14+
- infrahubctl
15+
- Not Sure
16+
- type: input
17+
attributes:
18+
label: Infrahub SDK version
19+
description: Infrahub version (e.g. 0.13.2)
20+
validations:
21+
required: true
22+
- type: textarea
23+
attributes:
24+
label: Current Behavior
25+
description: A clear description of what the bug is and how it manifests.
26+
validations:
27+
required: true
28+
- type: textarea
29+
attributes:
30+
label: Expected Behavior
31+
description: A clear description of what you expected to happen.
32+
validations:
33+
required: true
34+
- type: textarea
35+
attributes:
36+
label: Steps to Reproduce
37+
description: Please explain the steps required to duplicate this issue.
38+
validations:
39+
required: true
40+
- type: textarea
41+
attributes:
42+
label: Additional Information
43+
description: |
44+
List any other information that is relevant to your request.
45+
Stack traces, related issues, suggestions on how to implement, Stack Overflow links, forum links, etc.
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
name: 💡 Feature Request
3+
description: Suggest a feature for the Python SDK for Infrahub
4+
title: 'feature: '
5+
labels: ["type/feature"]
6+
body:
7+
- type: dropdown
8+
attributes:
9+
label: Component
10+
description: Please indicate which component(s) this feature is associated with (leave blank if unknown)
11+
multiple: true
12+
options:
13+
- Python SDK
14+
- infrahubctl CLI
15+
- Not Sure
16+
- type: textarea
17+
attributes:
18+
label: Describe the Feature Request
19+
description: A clear and concise description of what the feature does.
20+
validations:
21+
required: true
22+
- type: textarea
23+
attributes:
24+
label: Describe the Use Case
25+
description: A clear and concise use case for what problem this feature would solve.
26+
validations:
27+
required: true
28+
- type: textarea
29+
attributes:
30+
label: Additional Information
31+
description: |
32+
List any other information that is relevant to your request.
33+
Stack traces, related issues, suggestions on how to implement, Stack Overflow links, forum links, etc.

.github/ISSUE_TEMPLATE/task.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
name: ✅ Task
3+
description: Create a task for minor issues that isn't a feature or a bug
4+
title: 'task: '
5+
labels: ["type/task"]
6+
body:
7+
- type: dropdown
8+
attributes:
9+
label: Component
10+
description: Please indicate which component(s) this task is associated with (leave blank if unknown)
11+
multiple: true
12+
options:
13+
- Python SDK
14+
- infrahubctl CLI
15+
- CI/CD
16+
- Documentation & Examples
17+
- Not Sure
18+
- type: textarea
19+
attributes:
20+
label: Task Description
21+
description: A clear description of what it is you think should be done.
22+
validations:
23+
required: true

.github/build-docs.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/sh
2+
3+
cd docs && npm install && npm run build

.github/dependabot.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
# yamllint disable rule:truthy
3+
version: 2
4+
5+
updates:
6+
# Maintain dependencies for GitHub Actions
7+
- package-ecosystem: "github-actions"
8+
directory: "/"
9+
schedule:
10+
interval: "weekly"
11+
day: "monday"
12+
time: "09:00"
13+
target-branch: develop
14+
labels:
15+
- "type/housekeeping"

.github/file-filters.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
ci_config: &ci_config
3+
- ".github/workflows/ci.yml"
4+
- ".github/file-filters.yml"
5+
6+
github_workflows: &github_workflows
7+
- ".github/workflows/*.yml"
8+
9+
development_files: &development_files
10+
- "development/**"
11+
- "tasks/**"
12+
13+
poetry_files: &infrahub_poetry_files
14+
- "pyproject.toml"
15+
- "poetry.lock"
16+
17+
doc_files: &doc_files
18+
- "docs/**"
19+
20+
python_all: &python_all
21+
- "**/*.py"
22+
23+
yaml_all: &yaml_all
24+
- "**/*.{yml,yaml}"
25+
26+
markdown_all: &markdown_all
27+
- "**/*.{md,mdx}"
28+
29+
documentation_all:
30+
- *development_files
31+
- *doc_files
32+
- *markdown_all

.github/labeler.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
"group/ci":
3+
- changed-files:
4+
- any-glob-to-any-file: [".github/**"]
5+
6+
"type/documentation":
7+
- changed-files:
8+
- any-glob-to-any-file: ["docs/**"]

.github/labels.yml

Lines changed: 151 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,151 @@
1+
---
2+
# Labels names are important as they are used by Release Drafter to decide
3+
# regarding where to record them in changelog or if to skip them.
4+
#
5+
# The repository labels will be automatically configured using this file and
6+
# the GitHub Action https://github.com/marketplace/actions/github-labeler.
7+
8+
# ----------------------------------
9+
# GROUP
10+
# ----------------------------------
11+
- name: "group/ci"
12+
description: "Issue related to the CI pipeline"
13+
color: "f25009"
14+
15+
# ----------------------------------
16+
# TYPE INFRAHUB (default)
17+
# ----------------------------------
18+
- name: "type/feature"
19+
description: "New feature or request"
20+
color: "a2eeef"
21+
22+
- name: "type/bug"
23+
description: "Something isn't working as expected"
24+
color: "d73a4a"
25+
26+
- name: "type/housekeeping"
27+
description: "Maintenance task"
28+
color: "fef2c0"
29+
30+
- name: "type/tech-debt"
31+
description: "Item we know we need to improve way it is implemented"
32+
color: "73FA20"
33+
34+
# ----------------------------------
35+
# TYPE ALL
36+
# ----------------------------------
37+
- name: "type/question"
38+
description: "Question or discussion"
39+
color: "d876e3"
40+
41+
- name: "type/documentation"
42+
description: "Improvements or additions to documentation"
43+
color: "0075ca"
44+
45+
- name: "type/duplicate"
46+
description: "This issue or pull request already exists"
47+
color: "cfd3d7"
48+
49+
- name: "type/epic"
50+
description: "Large body of work composed of multiple tasks and/or features"
51+
color: "fbd39c"
52+
53+
- name: "type/task"
54+
description: "Body of work related to an epic"
55+
color: "0b8e92"
56+
57+
- name: "type/ecosystem"
58+
description: "Effort related to the community, usually not part of the core project"
59+
color: "0b5aa9"
60+
61+
- name: "type/brainstorming"
62+
description: "Topic for brainstorming, discussions"
63+
color: "e19e0f"
64+
65+
- name: "type/user-centric"
66+
description: "Issue that would improve the overall experience of our users"
67+
color: "ff8c00"
68+
69+
- name: "type/newcomers"
70+
description: "Good for newcomers"
71+
color: "309c56"
72+
73+
# ----------------------------------
74+
# EFFORT
75+
# ----------------------------------
76+
- name: "effort/high"
77+
description: "This issue should be completed in more than a day"
78+
color: "b60205"
79+
80+
- name: "effort/medium"
81+
description: "This issue should be completed in a less than a day"
82+
color: "ff9f1c"
83+
84+
- name: "effort/low"
85+
description: "This issue should be completed in a couple of hours"
86+
color: "ffcc00"
87+
88+
# ----------------------------------
89+
# SEVERITY
90+
# ----------------------------------
91+
- name: "priority/1"
92+
description: "This issue must be fixed/implemented ASAP, it's a blocker for a release"
93+
color: "b60205"
94+
95+
- name: "priority/2"
96+
description: "This issue stalls work on the project or its dependents, it's a blocker for a release"
97+
color: "ff9f1c"
98+
99+
- name: "priority/3"
100+
description: "Not blocking but should be fixed soon"
101+
color: "ffcc00"
102+
103+
- name: "priority/4"
104+
description: "Low priority and doesn't need to be rushed"
105+
color: "cfda2c"
106+
107+
# ----------------------------------
108+
# STATUS
109+
# ----------------------------------
110+
- name: "state/blocked"
111+
description: "The issue is currently blocked and cannot be resolved."
112+
color: "e34918"
113+
114+
- name: "state/draft"
115+
description: "The redaction of the issue is still a work in progress"
116+
color: "dcb518"
117+
118+
- name: "state/need-triage"
119+
description: "This issue needs to be triaged"
120+
color: "333333"
121+
122+
- name: "state/need-more-info"
123+
description: "This issue needs more information"
124+
color: "cccccc"
125+
126+
- name: "state/need-testing"
127+
description: "This issue is ready and needs to be tested."
128+
color: "cccccc"
129+
130+
- name: "state/backlog"
131+
description: "This issue is part of the backlog"
132+
color: "eeeeee"
133+
134+
- name: "state/planned"
135+
description: "This issue is planned to be worked on in an upcoming release."
136+
color: "eeeeee"
137+
138+
- name: "state/not-reproducible"
139+
description: "Unable to reproduce this issue."
140+
color: "eeeeee"
141+
142+
- name: "state/wont-fix"
143+
description: "Issue has been closed and won't be fix/implemented."
144+
color: "eeeeee"
145+
146+
# ----------------------------------
147+
# CI
148+
# ----------------------------------
149+
- name: "ci/skip-changelog"
150+
description: "Don't include this PR in the changelog"
151+
color: "c30664"

0 commit comments

Comments
 (0)