Philipp Oppermann
e6b70fb2a5
Error if node with `git` field was not built before dataflow start
The working directory of nodes with git fields is only decided on `dora build` because that's where we translate the branch/tag name into the commit hash.
Before, we fell back to using the base working directory if no build was done. However, this is confusing since the reason for the different working directory is not communicated in any.
This commit throws an error if no build happened before starting a dataflow with git nodes.
6 months ago
Philipp Oppermann
6c3298b535
Example change to JSON file to test PR creation
6 months ago
Dora Bot
fbc9f46987
Update JSON schema for `dora-core`
6 months ago
Philipp Oppermann
852e3c6c85
Update `schemars` crate to `v1.0.4` ( #1085 )
Most important change is https://github.com/GREsau/schemars/pull/310 ,
which keeps newlines unchanged during schema generation. This is
important to preserve the lists, markdown code blocks, and markdown
headings in our docs.
Note: This PR deliberately does not update the schema file yet in order
to test #1083 . So it should be merged after #1083 .
6 months ago
Philipp Oppermann
bc41743311
Document public `DYNAMIC_SOURCE` constant ( #1082 )
Also set `#![warn(missing_docs)]` for the module so that we get a
warning if we add undocumented fields etc in the future.
6 months ago
Philipp Oppermann
e7130289d0
Update `schemars` crate to `v1.0.4`
Most important change is https://github.com/GREsau/schemars/pull/310 , which keeps newlines unchanged during schema generation. This is important to preserve the lists, markdown code blocks, and markdown headings in our docs.
6 months ago
Philipp Oppermann
947b7c1233
Document public `DYNAMIC_SOURCE` constant
6 months ago
Haixuan Xavier Tao
1f1d2f91aa
chore: update json schema ( #1080 )
related: #1069
6 months ago
Philipp Oppermann
591aaadcfd
Improve build logging ( #1067 )
- Buffer log messages that are sent before subscribers are connected
- Include working directory in 'running build command' message
- Lower log level of 'building' message to `Debug`
6 months ago
sjfhsjfh
f4be254168
chore: update json schema
6 months ago
Philipp Oppermann
5be4edb334
doc: Node & Descriptor ( #1069 )
related: https://github.com/dora-rs/dora-rs.github.io/pull/40
6 months ago
Philipp Oppermann
2f610f964c
Fix: Create working directory if it doesn't exist ( #1066 )
We forgot to create the working directory in a few cases in #901 . This
PR fixes this by adding the proper `create_dir_all` calls.
Alternative to https://github.com/dora-rs/dora/pull/1064
6 months ago
Chrislearn Young
076e7f8035
remove unused field `reuse_for`
6 months ago
Chrislearn Young
bfedbe4b62
Merge branch 'main' into fix-all-clippy-warning
6 months ago
Chrislearn Young
dcfaee05b7
Fix all `cargo clippy` warning
6 months ago
Philipp Oppermann
92cea2426b
Add proper documentation to `dora-node-api` crate ( #1056 )
Also includes a bit or regorganization to streamline the API.
6 months ago
Haixuan Xavier Tao
05547d841d
Fix many `cargo clippy` warning ( #1070 )
6 months ago
Philipp Oppermann
911b7a7372
Fix typo
6 months ago
Chrislearn Young
bcf591deb4
Remove rust--toolchain.toml and use rust-version in Cargo.toml
6 months ago
Chrislearn Young
715ee0286b
Fix many `cargo clippy` warning
6 months ago
Philipp Oppermann
2dff59f0ff
Put unstable `deploy` field to end
6 months ago
Philipp Oppermann
540721b81b
Be consistent about `## Example` headings
6 months ago
Philipp Oppermann
75326ec0df
Document remaining fields
6 months ago
Philipp Oppermann
0dbc2c8abc
Document input and outputs fields
6 months ago
Philipp Oppermann
9ed425cf90
Reorder fields and improve documentation
6 months ago
Philipp Oppermann
7036f8dd5f
Merge branch 'main' into rust-api-docs
6 months ago
sjfhsjfh
36d702fb0a
doc: Node & Descriptor
6 months ago
Philipp Oppermann
bd10a0ccab
Include working directory in 'running build command' message
6 months ago
Philipp Oppermann
6073c9c70a
Wait for stdout task on build
Ensures that we see all error messages instead of just the exit code.
6 months ago
Philipp Oppermann
c48434c15b
Create working directory if it doesn't exist
6 months ago
haixuantao
d03b6d138b
Add pyo3 special method
6 months ago
Philipp Oppermann
287b71d893
Document remaining items of `dora-node-api` crate
6 months ago
Chrislearn Young
cc9eeac472
Made some changes to make clippy happy
6 months ago
haixuantao
39c933436a
Bump dora message into non alpha version
6 months ago
Haixuan Xavier Tao
4cb97a6e27
Adding vision to rust openai proxy server ( #1033 )
This PR adds vision to rust openai proxy server
7 months ago
Philipp Oppermann
125d5a0443
Merge branch 'main' into git-source
7 months ago
haixuantao
c6ce84167b
Adding vision to openai server
7 months ago
Haixuan Xavier Tao
39785b56c1
Revert "Adding vision to openai server"
7 months ago
Haixuan Xavier Tao
14b49f6f05
Adding vision to openai server ( #1025 )
Add vision support to rust openai proxy server
7 months ago
Philipp Oppermann
9eac013637
Fix clone directory copying
7 months ago
Philipp Oppermann
84084b1475
Fix: Don't rename git dir if other nodes of same dataflow still need it
7 months ago
Philipp Oppermann
5eeab6f905
Fix: Append session UUID to path, without `SessionId(...)` wrapper
Parentheses in directory names confuse some build tools/scripts (e.g. openssl Makefile).
7 months ago
Philipp Oppermann
950862b916
Add a special log level for `stdout` output
7 months ago
haixuantao
671c70e254
Adding vision to openai server
7 months ago
haixuantao
1c7f0cd21c
Adding dora vggt example
7 months ago
Philipp Oppermann
de32f92766
Force colored output for build commands
See https://bixense.com/clicolors/
7 months ago
Philipp Oppermann
8a4ddf4f4d
Use UUID v7 instead of v4 for build and session IDs
V7 UUIDs include a timestamp and are sortable. This is useful to see which ID is newer.
7 months ago
Philipp Oppermann
003542c0fa
Add `build` feature to `dora-core` to make `git2` dependency optional
We don't want to include it for e.g. the `dora-node-api-c`.
7 months ago
Philipp Oppermann
0a60e3dbb6
Log a warning that git working dir is still unstable and might change
7 months ago
Philipp Oppermann
2a05324692
Fix some warnings
7 months ago