haixuanTao
3775a3c08b
Make downloading file use `content_dosposition` header or the filename within the url to get the path avoiding to create confusion on the name of the file.
1 year ago
Haixuan Xavier Tao
156b08a108
Fix ros2 bridge incompatibility with CI Ubuntu 24 and with pyo3 22 ( #670 )
This fix the CI that I unfortunately broke at #667
1 year ago
haixuanTao
ee45beb61b
Replace extract with downcast for ros2-beidge
1 year ago
haixuanTao
dd10bbf85c
Bump `pyo3` version to `0.22`
1 year ago
haixuanTao
e88aba4053
Use readable port number
1 year ago
haixuanTao
2d7e8f1a96
Skip validation of remote path for now
1 year ago
Haixuan Xavier Tao
01b561a0aa
Make dora versions compatible by using separate versioning for `dora-message` crate ( #614 )
By versioning the `dora-message` crate individually, we can use the
semver rules to encode which versions are compatible. This way, we can
allow different versions of dora to work together (e.g. CLI version can
be different than node API version), as long as the message formats are
compatible. Breaking message format changes are signaled by a
semver-incompatible release of `dora-message`. For example, 0.4.0 is not
compatible with 0.3.5.
One alternative approach could be to use the main version to signal
compatibility, i.e. the common version that we use for all dora crates.
This has the disadvantage that we might need to bump the minor version
of the main dora crate every time we want to change the message format
in a breaking way. As we still expect semi-regular breaking changes to
the message format in the near future, we want to avoid this churn. Once
we consider the message format more stable, we plan to revisit this
approach.
Fixes https://github.com/dora-rs/dora/issues/504
TODO
- [x] Update release script: We should not try to publish the
`dora-message` crate if there is no new version.
- [x] Relax version checks to only compare major/minor version
(according to semver compatibility rules).
1 year ago
Michael-J-Ward
011d610703
rustfmt
1 year ago
Michael-J-Ward
b13695ffb2
add allow(dead_code) to impl ffi::U16String::from_str
1 year ago
Michael-J-Ward
3c85d9ea1a
fix clippy lints in libraries
1 year ago
Philipp Oppermann
3469f8068b
Bump dora-message version to 0.4.0
1 year ago
Philipp Oppermann
22373b28ac
Version comparison: Check for semver-compatibility instead of exact match
1 year ago
Philipp Oppermann
8e8034d103
Set `repository` metadata for all our crates
1 year ago
Philipp Oppermann
d6032265a2
Refactor: Move message definitions to `dora-message` crate ( #613 )
First step towards versioning the message definitions indepedently.
1 year ago
Philipp Oppermann
b20cef6c37
Fix: Use correct pointer for `align_offset` call
1 year ago
Philipp Oppermann
9c28f4e1e3
Add TODOs for next steps
1 year ago
Philipp Oppermann
70482b4888
Use separate version for `dora-message` crate
Decouples the `dora-message` version from the version of the other `dora-*` crates. This allows us to use semver-versioning for the `dora-message` crate to encode message compatibility across dora versions.
1 year ago
Philipp Oppermann
6a3dcecf33
Refactor: Move message definitions to `dora-message` crate
First step towards versioning the message definitions indepedently.
1 year ago
Philipp Oppermann
350f15fce4
Fix alignment of atomics in shared memory communication channel
1 year ago
Philipp Oppermann
c6f44a7da2
Merge pull request #567 from starlitxiling/main
Ros2-bridge action attempt
2 years ago
haixuanTao
bc68de3bbd
Change `MetadataParameters` into a `BTreeMap` to allow user defined metadata as well as enable more flexibility in managing metadata
2 years ago
Philipp Oppermann
762f67f61f
Fix: Return data from downcast function
2 years ago
Philipp Oppermann
7dbda333ce
Fix downcast name
2 years ago
chang xu
bccb1ae27d
Add domain unix socket supports ( #594 )
2 years ago
jacques Perrault
52045f3af8
add try from for floats
2 years ago
Philipp Oppermann
64f831ce02
Merge pull request #559 from dora-rs/error-logging
Add basic log forwarding from daemon to CLI
2 years ago
starlitxiling
edd0c7a1d2
fmt ros2-bridge action code
2 years ago
starlitxiling
7ed5698c12
Merge branch 'dora-rs:main' into main
2 years ago
starlitxiling
52281be4f7
add ros2-bridge action attempt code
2 years ago
Philipp Oppermann
b570cc314d
Remove some extra newlines in error message
2 years ago
Philipp Oppermann
2d0f0dcf5e
Merge branch 'main' into error-logging
2 years ago
Philipp Oppermann
1aaf5ef1a2
Improve log output
2 years ago
Philipp Oppermann
2680e61404
Change default log level to info and consider `RUST_LOG`
Allows to override the log level through the `RUST_LOG` env variable.
2 years ago
EricLBuehler
233192f41e
Update deps
2 years ago
EricLBuehler
72f604295b
Merge remote-tracking branch 'upstream/main' into proc_macro_dir
2 years ago
Eric Buehler
61d12274fb
Merge pull request #1 from haixuanTao/improve-eric-pyo3-derive-special-method
Add derivation fo python ros2 bridge
2 years ago
Philipp Oppermann
12049c4039
Fix: Add `DataflowDaemonResult::is_ok` method
2 years ago
Philipp Oppermann
e90ffd0b7f
Merge branch 'main' into list-failed-dataflows
2 years ago
Philipp Oppermann
5bda3338af
Only add `[...]` omission marker if stderr buffer is full
2 years ago
Philipp Oppermann
ece3f72a39
Shorten grace duration error message to one line
2 years ago
Philipp Oppermann
ee394361e9
Add error cause for grace duration kills
2 years ago
Philipp Oppermann
24e6c9c30a
Add space
2 years ago
Philipp Oppermann
2e0419b100
Add basic log forwarding from daemon to CLI
Forwarded by coordinator
2 years ago
Philipp Oppermann
361ea27485
Slightly tweak error printing
2 years ago
Philipp Oppermann
252746a203
Fix: Move ellipsis marker to the beginning of the stderr output
2 years ago
haixuanTao
42dcb07237
Add derivation fo rpython ros2 bridge
2 years ago
Philipp Oppermann
262f39fb98
Refactor: Report dataflow list as one `Vec`
2 years ago
Philipp Oppermann
94fecd61c5
Print all non-cascading errors (instead of only first one)
2 years ago
Philipp Oppermann
43b128f67a
Print lines before and after stderr for easier readability
2 years ago
Philipp Oppermann
72bc9cd74e
Print error causes and include node that caused error
2 years ago