File tree Expand file tree Collapse file tree 5 files changed +24
-1
lines changed Expand file tree Collapse file tree 5 files changed +24
-1
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,8 @@ MINIO_ROOT_USER=minioadmin
40
40
MINIO_ROOT_PASSWORD = minioadmin
41
41
42
42
# S3 Configuration (for application)
43
+ # Set to "true" to enable S3 storage for digests
44
+ # S3_ENABLED=true
43
45
# Endpoint URL for the S3 service (MinIO in development)
44
46
S3_ENDPOINT = http://minio:9000
45
47
# Access key for the S3 bucket (created automatically in development)
Original file line number Diff line number Diff line change @@ -113,6 +113,7 @@ repos:
113
113
files : ^src/
114
114
additional_dependencies :
115
115
[
116
+ boto3>=1.28.0,
116
117
click>=8.0.0,
117
118
' fastapi[standard]>=0.109.1' ,
118
119
httpx,
@@ -135,6 +136,7 @@ repos:
135
136
- --rcfile=tests/.pylintrc
136
137
additional_dependencies :
137
138
[
139
+ boto3>=1.28.0,
138
140
click>=8.0.0,
139
141
' fastapi[standard]>=0.109.1' ,
140
142
httpx,
Original file line number Diff line number Diff line change @@ -46,14 +46,15 @@ services:
46
46
- DEBUG=true
47
47
- GITINGEST_SENTRY_ENVIRONMENT=${GITINGEST_SENTRY_ENVIRONMENT:-development}
48
48
# S3 Configuration
49
+ - S3_ENABLED=true
49
50
- S3_ENDPOINT=http://minio:9000
50
51
- S3_ACCESS_KEY=${S3_ACCESS_KEY:-gitingest}
51
52
- S3_SECRET_KEY=${S3_SECRET_KEY:-gitingest123}
52
53
# Use lowercase bucket name to ensure compatibility with MinIO
53
54
- S3_BUCKET_NAME=${S3_BUCKET_NAME:-gitingest-bucket}
54
55
- S3_REGION=${S3_REGION:-us-east-1}
55
56
# Public URL for S3 resources
56
- - S3_ALIAS_HOST=${S3_ALIAS_HOST:-127.0.0.1:9000/${S3_BUCKET_NAME:-gitingest-bucket}}
57
+ - S3_ALIAS_HOST=${S3_ALIAS_HOST:-http:// 127.0.0.1:9000/${S3_BUCKET_NAME:-gitingest-bucket}}
57
58
volumes :
58
59
# Mount source code for live development
59
60
- ./src:/app:ro
@@ -104,6 +105,22 @@ services:
104
105
entrypoint : sh
105
106
command : -c /setup.sh
106
107
108
+ # Test service for running tests
109
+ test :
110
+ build :
111
+ context : .
112
+ dockerfile : Dockerfile.dev
113
+ profiles :
114
+ - dev
115
+ environment :
116
+ - DEBUG=true
117
+ - PYTHONPATH=/app:/tests
118
+ volumes :
119
+ - ./tests:/tests:ro
120
+ - ./src:/app/src:ro
121
+ working_dir : /tests
122
+ command : ["python", "-m", "pytest"]
123
+
107
124
volumes :
108
125
minio-data :
109
126
driver : local
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ description="CLI tool to analyze and create text dumps of codebases for LLMs"
5
5
readme = {file = " README.md" , content-type = " text/markdown" }
6
6
requires-python = " >= 3.8"
7
7
dependencies = [
8
+ " boto3>=1.28.0" ,
8
9
" click>=8.0.0" ,
9
10
" fastapi[standard]>=0.109.1" , # Minimum safe release (https://osv.dev/vulnerability/PYSEC-2024-38)
10
11
" httpx" ,
Original file line number Diff line number Diff line change
1
+ boto3 >= 1.28.0 # AWS SDK for S3 support
1
2
click >= 8.0.0
2
3
fastapi [standard ]>= 0.109.1 # Vulnerable to https://osv.dev/vulnerability/PYSEC-2024-38
3
4
httpx
You can’t perform that action at this time.
0 commit comments