Replies: 3 comments 2 replies
-
I think we need a prototype to start the discussion. Bare YES or NO would receive YES where people don't know clearly what they vote to. Generally, I feel just is make. You still need to write some random commands/scripts; nothing different. |
Beta Was this translation helpful? Give feedback.
-
I think this will be very beneficial for newcomer contributors (myself included) Maybe a command to run CI checks? |
Beta Was this translation helpful? Give feedback.
-
It's landed at #5461. So this thread can be considered as resolved. However, I'd still keep it open for a while if anyone would suggest or contribute more for further development. |
Beta Was this translation helpful? Give feedback.
-
Hi, we are currently working on tasks to parse Rust's configuration and generate APIs for bindings to enhance the experience of using our bindings. One challenge we face is how to implement this without adding extra burden on our developers.
Our initial plan was to use cargo-xtask. We added an alias here: https://github.com/apache/opendal/blob/93f3aa14bf4c7247af242ee36d8c644e57275c57/.cargo/config.toml#L19C6-L19C45, allowing developers to simply run
cargo o abc
to execute tasks.However, since our project is not a Rust workspace, we are unable to call
cargo o
from subdirectories. I tried various methods to resolve this issue, but none were successful.So I'm thinking about introducing
just
for task runners, so our developers can call:Just has some incredibly useful features:
make
.Justfile
discovery and fallback logic.just
everywhere in the projectEssentially, we will still implement scripts in Rust, but we will execute them through
just
.It's not a strict requirement for developers and contributors; they can continue using
npm
andcargo
. However, they may eventually migrate tojust
once they realize how easy it is to use.What do you think?
Beta Was this translation helpful? Give feedback.
All reactions