Skip to content
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

Sort workspace dependencies #55

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

nipunn1313
Copy link

arr.sort();
}
Item::Table(table) => {
sort_table(table, group);
Copy link
Author

@nipunn1313 nipunn1313 Nov 6, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I verified that if I leave out this new line of code (sort_table), the new test fails - so the test is covering this correctly.

@DevinR528
Copy link
Owner

Thanks for the PR!!

I will check this out tomorrow and merge it then. A quick look over it seems like everything is good! Also thanks for adding a test for this 👍

@jayvdb
Copy link

jayvdb commented Nov 17, 2022

Just noting this doesnt help with workspace members which are using inherited dependencies, which is broadly covered in #47

@buffalu
Copy link

buffalu commented Aug 1, 2023

any updates on this? would be great to get in :)

@jcramb
Copy link

jcramb commented Aug 31, 2023

Any progress on merging this? Would be nice to have cargo sort working with this common syntax.

@1oglop1
Copy link

1oglop1 commented Sep 16, 2023

I will check this out tomorrow and merge it then

@DevinR528 It's been a pretty long day :), do you need any help to get this merged?

Bravo555 added a commit to Bravo555/thin-edge.io that referenced this pull request Nov 22, 2023
cargo-sort had problems parsing workspace dependencies, looks like it's
unmaintained. Fortunately someone made a fix in DevinR528/cargo-sort#55.
The branch was cloned and diff examined, we can use for now until we can
invest more time to find and configure a replacement.

Signed-off-by: Marcel Guzik <[email protected]>
@ekim197
Copy link

ekim197 commented Feb 20, 2024

@DevinR528 can we get this merged soon? Would be a great feature to have :)

@pronebird
Copy link

@DevinR528 hope everything is alright, can this be merged please?

@Jaltaire
Copy link

@DevinR528 Just bumping this again.

@fenollp
Copy link

fenollp commented Aug 7, 2024

Hey @nipunn1313 do you mind rebasing this, pretty please?

@nipunn1313
Copy link
Author

Sure - done.

@jayvdb
Copy link

jayvdb commented Aug 7, 2024

ping @DevinR528 , can we get this merged please

@jayakrishnancn
Copy link

Hi @DevinR528 , Kindly merge this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sort [workspace.dependencies], [workspace.dev-dependencies], and [workspace.build-dependencies]