Support Gradle wildcard version or placeholder variable in dependency management recipes
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- java
- Lĩnh vực
- build-system
Hướng nghiên cứu
Bắt đầu với recipe AddDependency và các recipe quản lý dependency liên quan, sau đó theo dõi cách các giá trị phiên bản được diễn giải và hiển thị. Xác minh hành vi mong muốn bằng cách kiểm tra rằng một phiên bản như 1.2.+ được giữ nguyên chính xác trong dependency được thêm vào sau cùng; việc hỗ trợ placeholder có thể cần được làm rõ phạm vi riêng.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What problem are you trying to solve?
My organization regularly wildcards the patch version for projects rather than using an explicit version as it helps to avoid the churn of versioning artifacts explicitly, but we use OpenRewrite to change the versions of several artifacts at once across many repositories. We'd like to have the ability to specify a version of a.b.+ to better support this. We also use placeholders in several locations (i.e. a version of ${dependencyVersion}) which would also be helpful but might be out-of-scope for this issue. I can open another issue for this work if you'd like.
Describe the solution you'd like
When running the AddDependency recipe (or other dependency management recipes), I'd like to be able to specify version: 1.2.+ and have the resulting added dependency be wildcarded properly.
Have you considered any alternatives or workarounds?
A rawVersion property or similar would be just as useful and would allow for wildcarding and for placeholders.
Are you interested in contributing this feature to OpenRewrite?
I'd be interested in contributing but given how busy I am I likely won't be able to work on it anytime soon. I'll update if I find time to work on this.
- Ngôn ngữ chính
- Java
- Star
- 18
- Fork
- 12
- Merge trung bình
- 3 ngày 1 giờ
- Pull request đã merge (30 ngày)
- 7
Chuẩn bị môi trường
- Không có Dockerfile hay 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 tương tự
-
BC remittance upload: a claim MSP refused (S03) is saved with a blank status instead of refused (F)Đang mởtype: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
carlos-emr/carlos#4933 ·
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 68/100
Vakore/ZappierGames#147 ·
-
Post 1.11.2 to SpigotMCĐang mởspigotmc
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
Dans-Plugins/Wild-Pets#356 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Post 1.16.2 to SpigotMCĐang mởspigotmc
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
Dans-Plugins/Medieval-Roleplay-Engine#371 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
eddyizm/tempus#1220 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày