`--commit-range` doesn't restrict the recommendations to changed files in that range
- Ngôn ngữ chính
- Java
- Star
- 23
- Fork
- 13
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
### Issue
When I run the cli command to get a security scan for a given commit range, it includes recommendations across the entire package rather than just the specified commit range.
### Steps to reproduce
1. Run `aws-codeguru-cli --root-dir . --profile --mode security --commit-range HEAD^:HEAD`
2. Observe the the file at `code-guru/recommendations.json` includes recommendations across your entire package.
### Expected Result
Only include recommendations that are part of the diff within the commit range.
### Notes
I tried removing the commit range and noticed that the output is identical which makes me think that the flag is ignored.
This seems related to #9 but I wasn't able to validate the output of the jobs mentioned in that query.
Hướng dẫn đóng góp
Hướng nghiên cứu
Chạy lệnh aws-codeguru-cli đã được báo cáo với và không có --commit-range, sau đó so sánh code-guru/recommendations.json. Truy vết điểm vào của --commit-range và xem xét issue #9 liên quan; được xem là hoàn tất khi recommendations.json chỉ chứa các khuyến nghị cho những tệp đã thay đổi trong khoảng commit được chỉ định.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- java
- Lĩnh vực
- cli
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 42/100