feat(stackable-operator): Add a utility for creating Java runtime arguments
@NickLarsenNZ 已经在做这个了。
开始于 2024年8月16日。
评估
这个 Issue 还没有评估数据。
描述
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
- 主要语言
- Rust
- 星标
- 167
- 派生
- 19
- 平均合并
- 1 天 6 小时
- 30 天内合并 PR
- 9
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
stackabletech/operator-rs 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
stackabletech/operator-rs#1273 · 1 条评论 ·
-
难度 5/5 一周以上 新手友好度 25/100
stackabletech/operator-rs#1077 ·
-
难度 3/5 1-2 天 新手友好度 45/100
stackabletech/operator-rs#1063 ·
-
难度 3/5 1-2 天 新手友好度 45/100
stackabletech/operator-rs#1028 ·
-
难度 5/5 一周以上 新手友好度 25/100
stackabletech/operator-rs#965 ·
查看 stackabletech/operator-rs 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 88/100
nautechsystems/nautilus_trader#5095 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 2/5 1-3 小时 新手友好度 78/100
stellar/rs-soroban-env#1739 ·
-
难度 2/5 1-3 小时 新手友好度 76/100
-
bug good first issue package: quic
难度 2/5 1-3 小时 新手友好度 78/100