[AURON #2003] Extract common package configs to workspace Cargo.toml#2004
[AURON #2003] Extract common package configs to workspace Cargo.toml#2004yew1eb wants to merge 3 commits intoapache:masterfrom
Conversation
| ] | ||
|
|
||
| [workspace.package] | ||
| version = "0.1.0" |
There was a problem hiding this comment.
Should this versioning match our current active Auron version? If not, does it make sense to add a comment here that it doesn't reflect the versioning we have in the pom.xml?
There was a problem hiding this comment.
Thanks, will fix and align.
c693bc9 to
b96f6d3
Compare
ShreyeshArangath
left a comment
There was a problem hiding this comment.
LGTM, just one question
| ] | ||
|
|
||
| [workspace.package] | ||
| version = "7.0.0-incubating" |
There was a problem hiding this comment.
Q: Is there any way to derive this from the pom.xml
| [[package]] | ||
| name = "auron" | ||
| version = "0.1.0" | ||
| version = "7.0.0-incubating" |
There was a problem hiding this comment.
The cargo lock does not reflect 8.0.0 as the version, might need to be regenerated?
4e97fe1 to
0717c71
Compare
….toml # Conflicts: # Cargo.toml # native-engine/auron-jni-bridge/Cargo.toml # native-engine/auron-memmgr/Cargo.toml # native-engine/auron-planner/Cargo.toml # native-engine/auron/Cargo.toml # native-engine/datafusion-ext-commons/Cargo.toml # native-engine/datafusion-ext-exprs/Cargo.toml # native-engine/datafusion-ext-functions/Cargo.toml # native-engine/datafusion-ext-plans/Cargo.toml
b571388 to
a78e181
Compare
There was a problem hiding this comment.
Pull request overview
Extracts repeated Rust crate package metadata into the workspace root to keep native-engine manifests consistent and reduce duplication.
Changes:
- Add
versionandlicenseto root[workspace.package](edition already defined there). - Update native-engine sub-crates to inherit
version,license, andeditionfrom the workspace. - Regenerate
Cargo.lockso workspace crate versions reflect the inherited workspace version.
Reviewed changes
Copilot reviewed 9 out of 10 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| native-engine/datafusion-ext-plans/Cargo.toml | Switch package metadata to inherit from workspace.package |
| native-engine/datafusion-ext-functions/Cargo.toml | Switch package metadata to inherit from workspace.package |
| native-engine/datafusion-ext-exprs/Cargo.toml | Switch package metadata to inherit from workspace.package |
| native-engine/datafusion-ext-commons/Cargo.toml | Switch package metadata to inherit from workspace.package |
| native-engine/auron/Cargo.toml | Switch package metadata to inherit from workspace.package |
| native-engine/auron-planner/Cargo.toml | Switch package metadata to inherit from workspace.package |
| native-engine/auron-memmgr/Cargo.toml | Switch package metadata to inherit from workspace.package |
| native-engine/auron-jni-bridge/Cargo.toml | Switch package metadata to inherit from workspace.package |
| Cargo.toml | Define workspace.package version and license centrally |
| Cargo.lock | Updates local workspace crate versions to match workspace.package |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Which issue does this PR close?
Closes #2003
Rationale for this change
What changes are included in this PR?
Move
version, license, editionfrom sub-crates to root workspace.package.Keep
resolverin sub-crates since it does not support workspace inheritance.Are there any user-facing changes?
How was this patch tested?