Add support for simple Gradle version catalog aliases
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 62/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Lĩnh vực
- backend, documentation
Hướng nghiên cứu
Start in backend/app/scanners/analyzers/java.py to see how literal group:artifact:version Gradle declarations are extracted, then check the fixtures in backend/tests/scanners/test_java_analyzer.py. The change should read gradle/libs.versions.toml as data, resolve simple [libraries] aliases for implementation, api and test configurations, and leave anything unsupported unresolved. Done means the new fixture tests pass alongside the existing literal-parsing tests, and docs/languages.md describes the added support and its limits.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
Gradle analysis currently extracts literal group:artifact:version declarations. Simple Gradle version catalog aliases in gradle/libs.versions.toml are not resolved, so dependencies referenced as implementation(libs.alias) or equivalent are missing from the inventory.
Affected files
backend/app/scanners/analyzers/java.pybackend/tests/scanners/test_java_analyzer.pydocs/languages.md
Scope
Read the conventional gradle/libs.versions.toml catalog and resolve simple library aliases used by supported dependency configurations. Parse the TOML as data only; never execute Gradle scripts or fetch artifacts. Leave unsupported expressions unresolved.
Acceptance criteria
- The scanner reads
gradle/libs.versions.tomlwhen present. - Simple
[libraries]aliases resolve from inline versions andversion.refentries. - Basic
implementation(libs.alias),api(libs.alias), and test-configuration references are recognized. - Existing literal Gradle dependency parsing remains unchanged.
- Complex expressions, unsupported catalog features, and unresolved version references remain unresolved rather than guessed.
- Fixture-based tests cover inline versions,
version.ref, supported configurations, unresolved expressions, and literal parsing. docs/languages.mdaccurately documents the added catalog support and remaining limitations.
Testing expectations
Run the focused Java analyzer tests and relevant backend scanner tests. Confirm documentation claims match tested behavior.
- Ngôn ngữ chính
- Python
- Star
- 2
- Fork
- 1
- Merge trung bình
- 1 giờ 22 phút
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của ayushdoesdev/verspect
-
documentation good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
ayushdoesdev/verspect#5 ·
-
enhancement good first issue
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 62/100
ayushdoesdev/verspect#3 ·
-
enhancement good first issue
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 62/100
ayushdoesdev/verspect#2 ·
Tất cả issue của ayushdoesdev/verspect
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
elviskahoro/sdk-python-attio#144 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
RenyiELBO raises TypeError when model has no sample sitesCó thể đã có người làm @alibb007 đã nhận hôm nay. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày