Skip to content

Commit 8b63695

Browse files
Merge branch 'main' into improve-env
2 parents 42a458d + 360a38e commit 8b63695

29 files changed

+890
-33
lines changed

.codecov.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
comment: false
2+
github_checks:
3+
annotations: false

.env.example

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Gitingest Environment Variables
2+
3+
# Host Configuration
4+
# Comma-separated list of allowed hostnames
5+
# Default: "gitingest.com, *.gitingest.com, localhost, 127.0.0.1"
6+
ALLOWED_HOSTS=gitingest.com,*.gitingest.com,localhost,127.0.0.1
7+
8+
# GitHub Authentication
9+
# Personal Access Token for accessing private repositories
10+
# Generate your token here: https://github.com/settings/tokens/new?description=gitingest&scopes=repo
11+
# GITHUB_TOKEN=your_github_token_here
12+
13+
# Metrics Configuration
14+
# Set to any value to enable the Prometheus metrics server
15+
# GITINGEST_METRICS_ENABLED=true
16+
# Host for the metrics server (default: "127.0.0.1")
17+
GITINGEST_METRICS_HOST=127.0.0.1
18+
# Port for the metrics server (default: "9090")
19+
GITINGEST_METRICS_PORT=9090
20+
21+
# Sentry Configuration
22+
# Set to any value to enable Sentry error tracking
23+
# GITINGEST_SENTRY_ENABLED=true
24+
# Sentry DSN (required if Sentry is enabled)
25+
# GITINGEST_SENTRY_DSN=your_sentry_dsn_here
26+
# Sampling rate for performance data (default: "1.0", range: 0.0-1.0)
27+
GITINGEST_SENTRY_TRACES_SAMPLE_RATE=1.0
28+
# Sampling rate for profile sessions (default: "1.0", range: 0.0-1.0)
29+
GITINGEST_SENTRY_PROFILE_SESSION_SAMPLE_RATE=1.0
30+
# Profile lifecycle mode (default: "trace")
31+
GITINGEST_SENTRY_PROFILE_LIFECYCLE=trace
32+
# Send default personally identifiable information (default: "true")
33+
GITINGEST_SENTRY_SEND_DEFAULT_PII=true
34+
# Environment name for Sentry (default: "")
35+
GITINGEST_SENTRY_ENVIRONMENT=development

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 181 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,181 @@
1+
name: Bug report 🐞
2+
description: Report a bug or internal server error when using Gitingest
3+
title: "(bug): "
4+
labels: ["bug"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for taking the time to report a bug! :lady_beetle:
10+
11+
Please fill out the following details to help us reproduce and fix the issue. :point_down:
12+
13+
- type: dropdown
14+
id: interface
15+
attributes:
16+
label: Which interface did you use?
17+
default: 0
18+
options:
19+
- "Select one..."
20+
- Web UI
21+
- CLI
22+
- PyPI package
23+
validations:
24+
required: true
25+
26+
- type: input
27+
id: repo_url
28+
attributes:
29+
label: Repository URL (if public)
30+
placeholder: e.g., https://github.com/<username>/<repo>/commit_branch_or_tag/blob_or_tree/subdir
31+
32+
- type: dropdown
33+
id: git_host
34+
attributes:
35+
label: Git host
36+
description: The Git host of the repository.
37+
default: 0
38+
options:
39+
- "Select one..."
40+
- GitHub (github.com)
41+
- GitLab (gitlab.com)
42+
- Bitbucket (bitbucket.org)
43+
- Gitea (gitea.com)
44+
- Codeberg (codeberg.org)
45+
- Gist (gist.github.com)
46+
- Kaggle (kaggle.com)
47+
- GitHub Enterprise (github.company.com)
48+
- Other (specify below)
49+
validations:
50+
required: true
51+
52+
- type: input
53+
id: git_host_other
54+
attributes:
55+
label: Other Git host
56+
placeholder: If you selected "Other", please specify the Git host here.
57+
58+
- type: dropdown
59+
id: repo_visibility
60+
attributes:
61+
label: Repository visibility
62+
default: 0
63+
options:
64+
- "Select one..."
65+
- public
66+
- private
67+
validations:
68+
required: true
69+
70+
- type: dropdown
71+
id: revision
72+
attributes:
73+
label: Commit, branch, or tag
74+
default: 0
75+
options:
76+
- "Select one..."
77+
- default branch
78+
- commit
79+
- branch
80+
- tag
81+
validations:
82+
required: true
83+
84+
- type: dropdown
85+
id: ingest_scope
86+
attributes:
87+
label: Did you ingest the full repository or a subdirectory?
88+
default: 0
89+
options:
90+
- "Select one..."
91+
- full repository
92+
- subdirectory
93+
validations:
94+
required: true
95+
96+
- type: dropdown
97+
id: os
98+
attributes:
99+
label: Operating system
100+
default: 0
101+
options:
102+
- "Select one..."
103+
- Not relevant (Web UI)
104+
- macOS
105+
- Windows
106+
- Linux
107+
validations:
108+
required: true
109+
110+
- type: dropdown
111+
id: browser
112+
attributes:
113+
label: Browser (Web UI only)
114+
default: 0
115+
options:
116+
- "Select one..."
117+
- Not relevant (CLI / PyPI)
118+
- Chrome
119+
- Firefox
120+
- Safari
121+
- Edge
122+
- Other (specify below)
123+
validations:
124+
required: true
125+
126+
- type: input
127+
id: browser_other
128+
attributes:
129+
label: Other browser
130+
placeholder: If you selected "Other", please specify the browser here.
131+
132+
- type: input
133+
id: gitingest_version
134+
attributes:
135+
label: Gitingest version
136+
placeholder: e.g., v0.1.5
137+
description: Not required if you used the Web UI.
138+
139+
- type: input
140+
id: python_version
141+
attributes:
142+
label: Python version
143+
placeholder: e.g., 3.11.5
144+
description: Not required if you used the Web UI.
145+
146+
- type: textarea
147+
id: bug_description
148+
attributes:
149+
label: Bug description
150+
placeholder: Describe the bug here.
151+
description: A detailed but concise description of the bug.
152+
validations:
153+
required: true
154+
155+
156+
- type: textarea
157+
id: steps_to_reproduce
158+
attributes:
159+
label: Steps to reproduce
160+
placeholder: Include the exact commands or actions that led to the error.
161+
description: Include the exact commands or actions that led to the error *(if relevant)*.
162+
render: shell
163+
164+
- type: textarea
165+
id: expected_behavior
166+
attributes:
167+
label: Expected behavior
168+
placeholder: Describe what you expected to happen.
169+
description: Describe what you expected to happen *(if relevant)*.
170+
171+
- type: textarea
172+
id: actual_behavior
173+
attributes:
174+
label: Actual behavior
175+
description: Paste the full error message or stack trace here.
176+
177+
- type: textarea
178+
id: additional_context
179+
attributes:
180+
label: Additional context, logs, or screenshots
181+
placeholder: Add any other context, links, or screenshots about the issue here.
Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
name: Feature request 💡
2+
description: Suggest a new feature or improvement for Gitingest
3+
title: "(feat): "
4+
labels: ["enhancement"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for taking the time to help us improve **Gitingest**! :sparkles:
10+
11+
Please fill in the sections below to describe your idea. The more detail you provide, the easier it is for us to evaluate and plan the work. :point_down:
12+
13+
- type: input
14+
id: summary
15+
attributes:
16+
label: Feature summary
17+
placeholder: One-sentence description of the feature.
18+
validations:
19+
required: true
20+
21+
- type: textarea
22+
id: problem
23+
attributes:
24+
label: Problem / motivation
25+
description: What problem does this feature solve? How does it affect your workflow?
26+
placeholder: Why is this feature important? Describe the pain point or limitation you're facing.
27+
validations:
28+
required: true
29+
30+
- type: textarea
31+
id: proposal
32+
attributes:
33+
label: Proposed solution
34+
placeholder: Describe what you would like to see happen.
35+
description: Outline the feature as you imagine it. *(optional)*
36+
37+
38+
- type: textarea
39+
id: alternatives
40+
attributes:
41+
label: Alternatives considered
42+
placeholder: List other approaches you've considered or work-arounds you use today.
43+
description: Feel free to mention why those alternatives don't fully solve the problem.
44+
45+
- type: dropdown
46+
id: interface
47+
attributes:
48+
label: Which interface would this affect?
49+
default: 0
50+
options:
51+
- "Select one..."
52+
- Web UI
53+
- CLI
54+
- PyPI package
55+
- CLI + PyPI package
56+
- All
57+
validations:
58+
required: true
59+
60+
- type: dropdown
61+
id: priority
62+
attributes:
63+
label: How important is this to you?
64+
default: 0
65+
options:
66+
- "Select one..."
67+
- Nice to have
68+
- Important
69+
- Critical
70+
validations:
71+
required: true
72+
73+
- type: dropdown
74+
id: willingness
75+
attributes:
76+
label: Would you like to work on this feature yourself?
77+
default: 0
78+
options:
79+
- "Select one..."
80+
- Yes, I'd like to implement it
81+
- Maybe, if I get some guidance
82+
- No, just requesting (absolutely fine!)
83+
validations:
84+
required: true
85+
86+
- type: dropdown
87+
id: support_needed
88+
attributes:
89+
label: Would you need support from the maintainers (if you're implementing it yourself)?
90+
default: 0
91+
options:
92+
- "Select one..."
93+
- No, I can handle it solo
94+
- Yes, I'd need some guidance
95+
- Not sure yet
96+
- This is just a suggestion, I'm not planning to implement it myself (absolutely fine!)
97+
98+
- type: textarea
99+
id: additional_context
100+
attributes:
101+
label: Additional context, screenshots, or examples
102+
placeholder: Add links, sketches, or any other context that would help us understand and implement the feature.

.github/dependabot.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,8 @@ updates:
1515
directory: "/"
1616
schedule: { interval: "weekly" }
1717
labels: [ "dependencies", "gh-actions" ]
18+
19+
- package-ecosystem: docker
20+
directory: /
21+
schedule:
22+
interval: daily

0 commit comments

Comments
 (0)