Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

feat(stackable-operator): Add a utility for creating Java runtime arguments

Đang mở
#839 2 bình luận 0 reaction 1 người được giao Xem trên GitHub

@NickLarsenNZ đang làm issue này rồi.

Từ ngày 16/8/2024.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

idea (non-blocker): we could have a utility type for making properties. It might make this a little easier for humans to parse.

Originally posted by @NickLarsenNZ in https://github.com/stackabletech/spark-k8s-operator/pull/451#discussion_r1719540578

Maybe we already have something available, but this helps close the comment on the linked PR so it can be merged.

I'm thinking something like:

pub struct Properties(BTreeMap);

impl Display for JreProperties {
    fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
        todo!("iterate over the properties in self.0 and make -Dproperty=value joined by space");
        // write!(f, "{}", self.0)
    }
}

impl DerefMut for Properties {
   ...
}

See: https://docs.oracle.com/javase/8/docs/technotes/tools/windows/java.html#BABDJJFI

Ngôn ngữ chính
Rust
Star
167
Fork
19
Merge trung bình
1 ngày 6 giờ
Pull request đã merge (30 ngày)
9

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của stackabletech/operator-rs

Tất cả issue của stackabletech/operator-rs

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.