-
Notifications
You must be signed in to change notification settings - Fork 205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Homepage added to Cargo.toml #157
Conversation
@hiirrxnn I think we want to add the website to each of the iceberg-rust/crates/catalog/hms/Cargo.toml Lines 23 to 27 in b703146
|
Is it alright now ? I've done it in the way mentioned by the doc referenced here . Let me know if something has to be changed here . |
Hi, @hiirrxnn There is another approach for this, please follow these steps:
Here is a great example from cargo: https://doc.rust-lang.org/cargo/reference/workspaces.html#the-package-table This way we don't need to repeat same thing for each package. |
… homepage = {workspace=true}
I have done that ! Is that what you meant ? Let me know if there's something wrong ! |
Yeah, exactly, thanks! There are also several fields which are shared among all packages in a workspace:
Do you want to modify them together or we can do it in later prs, it's up to you. |
I will start doing those other packages asap , but i think i should do that in a different pr as too much modified code in one pr might not be ideal . Please tell me how you think about this , otherwise i can do it in this pr as well ! |
Should i follow the exact same approach for all of them , in essence referring them from workspace Cargo.toml? |
Yes, thanks! |
Cool, looking forward to your next pr! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
Since this PR hadn't been merged yet , the new changes in new PR contains both original issue changes and new ones . Please check that out and let me know if something has to be changed ! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
@@ -19,6 +19,9 @@ | |||
resolver = "2" | |||
members = ["crates/catalog/*", "crates/iceberg", "crates/test_utils"] | |||
|
|||
[workspace.package] | |||
homepage = {url = "https://rust.iceberg.apache.org/"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I noticed that the CI is failing:
Caused by:
TOML parse error at line 23, column 12
|
23 | homepage = {url = "https://rust.iceberg.apache.org/"}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
invalid type: map, expected a string
homepage = {url = "https://rust.iceberg.apache.org/"} | |
homepage = "https://rust.iceberg.apache.org/" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have fixed this in the new PR , please review those changes and let me know if something has to be improved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! It's better to run taplo fmt
to format the toml files.
I tried to resolve conflicts, but failed 😞 |
Good suggestion! |
Let me know if this works !