OS version check prevents usage on unsupported platforms
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Đình trệ
- Lĩnh vực
- devops, operating-systems
Hướng nghiên cứu
Bắt đầu bằng cách kiểm tra manifests/init.pp quanh dòng 97-106, nơi mô tả bước kiểm tra nền tảng không được hỗ trợ. Xác minh cách module hoạt động trên Debian 9 và Debian 12, sau đó xác nhận rằng người dùng có thể cung cấp các giá trị mặc định mà module không bị lỗi trên nền tảng không được hỗ trợ.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Use Case
Sometimes it happens that stuff runs on legacy platforms for reasons. The code in
https://github.com/puppetlabs/puppetlabs-java/blob/main/manifests/init.pp#L97-L106 prevents the use of the module on unsupported platforms. This pattern is quite unique to this module. For example it prevents the use of the same module on Debian 9 (supported until v10.x.x) and Debian 12 (supported since v11.x.x)
When a new version is released user should be able to define default values in his own environment and allow the use on an unsupported platform.
Describe the Solution You Would Like
Remove the failure on unsupported platforms.
Describe Alternatives You've Considered
Having separate branches of the control repo with different module versions. I prefer a single main branch for all environments though. Multiple control-repo branches lead to merge overhead and/or rotting branches.
Different module versions in different branches can also become an issue with inconsistent types.
Additional Context
https://puppetcommunity.slack.com/archives/CFD8Z9A4T/p1713871729247549
- Ngôn ngữ chính
- Ruby
- Star
- 101
- Fork
- 274
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- 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 puppetlabs/puppetlabs-java
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
puppetlabs/puppetlabs-java#618 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 38/100
puppetlabs/puppetlabs-java#615 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 42/100
puppetlabs/puppetlabs-java#604 ·
-
Support for Debian 12Đang mởcommunity
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 32/100
puppetlabs/puppetlabs-java#566 · 3 bình luận · 1 reaction ·
Tất cả issue của puppetlabs/puppetlabs-java
Issue tương tự
-
ActionText::Content#to_markdown: <br> in a table cell and empty <tr> produce malformed Markdown tablesCó thể đã có người làm @azmi2409 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
kotlin-lsp is missingĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
JetBrains/homebrew-utils#21 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
ublue-os/homebrew-experimental-tap#774 ·
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 62/100
r-uby-dev/llm#251 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
accessibility
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
slovensko-digital/ops-portal#212 ·
Maintainer thường phản hồi trong vòng 1 ngày