EricLBuehler
6c62246e53
Fix typos
2 years ago
Philipp Oppermann
89b97d75f2
Add `LOCALHOST` and `LISTEN_WILDCARD` constants to simplify code
2 years ago
Philipp Oppermann
02b5c7d443
Remove `coordinator_addr` and `coordinator_port` arguments from `dora up`
The `dora up` command always starts a coordinator and daemon in local mode using the default config. For non-standard config and for remote setups, users need to use `dora coordinator` and `dora daemon` directly.
2 years ago
Philipp Oppermann
8aa1303445
Merge branch 'main' into improve-coordinator-port-config
2 years ago
Philipp Oppermann
142d218610
Add support for custom coordinator control port numbers in CLI
2 years ago
Philipp Oppermann
d037303373
Provide help messages for CLI
2 years ago
Philipp Oppermann
88d43d8b0c
Set default in CLI parsing
This way, the default address is shown as part of the `--help` output.
2 years ago
Philipp Oppermann
2ccba2b953
Allow setting custom control port in coordinator
2 years ago
Haixuan Xavier Tao
f50478b1a7
Merge pull request #513 from Gege-Wang/multiple-daemon
Make dora cli connect to remote coordinator
2 years ago
Gege-Wang
21f29091cc
fix: add check command
2 years ago
Gege-Wang
49e6994cda
fix: add dora coordinator control port
2 years ago
Gege-Wang
ce2b02fb05
fix: change the SocketAddr to IpAddr
2 years ago
Gege-Wang
d9ddeff87c
test: add coordinator-addr CI test
2 years ago
Miyamo
c75928239e
Make dora cli connect to remote coordinator
Signed-off-by: Gege-Wang <2891067867@qq.com>
fix: localhost to control_socket_addr()
2 years ago
Philipp Oppermann
7eccab94f7
Allow declaring node fields at top level to reduce nesting
We want to treat the nodes like custom nodes in this case since we plan to deprecate operators.
2 years ago
Philipp Oppermann
22ba6e02a5
Adjust dataflow node parsing to be more flexible
We plan to (soft-)remove operators and simplify the dataflow YAML file by removing the additional nesting caused by the `custom` field. This commit prepares for that. See #474 for context.
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