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

Fix workspace manifest loading #54

Merged
merged 1 commit into from
Nov 15, 2022
Merged

Fix workspace manifest loading #54

merged 1 commit into from
Nov 15, 2022

Conversation

bnjbvr
Copy link
Owner

@bnjbvr bnjbvr commented Nov 15, 2022

This fixes two things:

  • first, we looked at the wrong manifest when checking for a [workspace] property: we need to look at the workspace manifest, to the child one.
  • second: there is an "API bug" in cargo_toml, that makes it impossible to properly use from_path_with_metadata (unless I'm mistaken! see full analysis), so we need to use other methods to get the content, with a slightly different order. That's fine, it's quite internal and shouldn't change much over time.

@Veetaha Would you be so kind as to try this branch, please, to confirm whether this fixes the issue you were running into? At least for me, it does fix it where I saw it (internal repositories).

@bnjbvr bnjbvr merged commit d2d76c1 into main Nov 15, 2022
@bnjbvr bnjbvr deleted the make-workspace-work branch November 15, 2022 21:52
@bnjbvr
Copy link
Owner Author

bnjbvr commented Nov 15, 2022

taking a leap of faith as it really works locally :)

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.

1 participant