Philipp Oppermann
1b665b0c44
CLI: Add a hidden `connected-machines` command
This command is useful for testing examples with multiple daemons.
2 years ago
Philipp Oppermann
00df8f2936
Fix: Wait until dora daemon is connected to coordinator on `dora up`
It might take a short time until the daemon is connected to the coordinator after start-up. This could lead to issues when using `dora up` in a script because a subsequent `dora start` command might fail when the daemon is not connected at that point.
This commit fixes this issue by waiting until the coordinator confirms that a daemon is connected before returning from `dora up`.
2 years ago
haixuanTao
e66b7ce67b
Adding long arg for grace duration and adding more grace duration within the CI
2 years ago
haixuanTao
b9f67a2855
Add grace duration and kill process
2 years ago
Philipp Oppermann
b3f652df8b
Use `resolver = 2` for in workspace in Rust template
Avoids a cargo warning.
2 years ago
Michael-J-Ward
dfe298eb1e
lint: fix clippy lints
2 years ago
Michael-J-Ward
431d72ce4c
refactor: rename coordinator listen port configuration to addr
2 years ago
Michael-J-Ward
a9bfafd7fc
refactor: use `addr` instead of `bind` to configure daemon listen address
2 years ago
Philipp Oppermann
e76f497939
Revert "revert to daemons listening to 127.0.0.1 by default"
This reverts commit 4af82a4833 .
2 years ago
Michael-J-Ward
4af82a4833
revert to daemons listening to 127.0.0.1 by default
clients can not connect to `0.0.0.0` on windows.
2 years ago
Michael-J-Ward
3a6323ff0c
feat: add bind configuration for coordination daemon
Ref: #459
2 years ago
Michael-J-Ward
f6590224b4
feat: add bind configuration for the inter_daemon listener
Ref: #459
2 years ago
haixuanTao
c6948c1644
Only use conda if conda is present
2 years ago
haixuanTao
15af539729
Adding customizing `conda_env` within Python operator
This commit makes it possible to specify the conda env that we want to use in
a specific operator.
```yaml
- id: robot
operator:
python:
source: ../operators/robot.py
conda_env: robomaster
```
This will call:
```bash
conda run -n robomaster python -c "import dora; dora.start_runtime()"
```
2 years ago
haixuanTao
f0db125499
Use `Uuid::v7` to have chronological Uuid
2 years ago
Philipp Oppermann
fecb58be60
Update `bat` dependency to v0.24
2 years ago
haixuanTao
0985bd4f9b
Make first positional argument optional
Bump 0.3.2-rc2
2 years ago
haixuanTao
573a7bc425
Make it possible to check the logs without passing uuid
This commit make it possible to check the logs as follows:
```bash
dora logs object_detection
```
If more than one dataflow is running, we will inquire for which dataflow to use.
2 years ago
haixuanTao
b79172c9bc
Removing `coordinator_addr` for `run_dataflow` command
2 years ago
haixuanTao
28be4a6663
Fix example by using the right daemon command
2 years ago
haixuanTao
054ae5afcc
Fix multiple daemon example
2 years ago
haixuanTao
ddf94f7094
Adding ctrlc back to their individual repo
2 years ago
haixuanTao
88902cb97b
Make tracing available for node in the runtime
2 years ago
haixuanTao
54b0882f6f
link up command with the newly added binaries within the cli
2 years ago
haixuanTao
6dfd4b17b3
adding daemon, coordinator and runtime command in the cli
2 years ago
Haixuan Xavier Tao
e35ed75e87
Merge pull request #398 from dora-rs/fix-window-path-error
Fix window path error
2 years ago
haixuanTao
0870f775ee
Remove introduced typo in PR
2 years ago
haixuanTao
0718c35265
Fix CD errors and try to release new version
2 years ago
haixuanTao
68ecf89b61
Remove explicit statement to `python3`and resolve it instead
2 years ago
haixuanTao
06356ffe25
Renaming `dora-cli` dora
2 years ago
haixuanTao
5ca3cb6f00
Replace `dora_input` with `dora_event`
2 years ago
haixuanTao
976f013cc9
Remove type hinting as it might mess up with old python version
Simplify operator template and remove type hinting
2 years ago
Philipp Oppermann
ae88b50a42
Merge pull request #370 from dora-rs/simplify-graph-visualisation
beautify graph visualisation
2 years ago
haixuanTao
aa470cfe18
Use base theme as it is more visually appealing
2 years ago
haixuanTao
739cfd57f7
Change type hinting frfom Uint8 only array to any array
2 years ago
Philipp Oppermann
96eceb8dc4
Fix Python operator template too
2 years ago
Philipp Oppermann
b78f913561
Use 'value' instead of 'data' in Python node template
2 years ago
Philipp Oppermann
6154415cbc
Update Rust APIs and rust-dataflow-example to use arrow types
2 years ago
haixuanTao
90c28de777
Fix clippy warnings about unnecessary `.clone()`, `.into()`, borrowing and let statement
2 years ago
Philipp Oppermann
a16efcbaa4
Merge pull request #326 from dora-rs/use-cargo-instead-of-git-in-template
Use cargo instead of git in Rust `Cargo.toml` template
2 years ago
haixuanTao
4ff932ceaf
Remove logs formatting for easier copy paste out of cli
2 years ago
haixuanTao
d59f47ddc0
Use cargo instead of git in template `Cargo.toml`
By using cargo instead of git, we make compilation not have to git clone
dora project.
2 years ago
haixuanTao
b02745eef8
Use optional instead of | as it does not work on windows
2 years ago
haixuanTao
4b616a8346
Make typing more explicit
2 years ago
haixuanTao
d55df9a326
Adding documentation for the send method
This PR/commit adds documentation for the send_output method.
Follow up discussion: https://github.com/orgs/dora-rs/discussions/317#discussioncomment-6475816
2 years ago
Haixuan Xavier Tao
0cfed32ab2
Merge pull request #318 from dora-rs/fix-dep
Replace unmaintained `atty` crate with `std::io::IsTerminal`
2 years ago
Philipp Oppermann
21c3fe33cd
Replace unmaintained `atty` crate with `std::io::IsTerminal`
There is a current vulnerability (low severity) and the crate appears to be unmaintained. Since Rust 1.70, we should be able to use the new `IsTerminal` trait of the standard library instead.
2 years ago
haixuanTao
c54bd504e1
Use python3 within the template to avoid python2 confusion
2 years ago
haixuanTao
ff66581156
Merge branch 'meua/main'
3 years ago
haixuanTao
224d1b4c81
Add python3 as default interpreter
3 years ago