-
Notifications
You must be signed in to change notification settings - Fork 214
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: Wrong format of dependency_overrides package #821
Comments
Can you post your full |
I am facing the very same issue.
name: altoke_common_brick_hooks
publish_to: none
environment:
sdk: ">=3.6.0 <4.0.0"
dependencies:
mason: ^0.1.0
path: ^1.9.0
shell:
path: ../../../../tools/shell
value_equality_approach:
path: ../../../../tools/value_equality_approach
dev_dependencies:
very_good_analysis: ^7.0.0
dependency_overrides:
shell:
git:
url: https://github.com/mrverdant13/altoke_bricks.git
ref: 575389c0d0d0752834361c4b4be6888ef4e32f83
path: ./tools/shell/
value_equality_approach:
git:
url: https://github.com/mrverdant13/altoke_bricks.git
ref: 575389c0d0d0752834361c4b4be6888ef4e32f83
path: ./tools/value_equality_approach/
# melos_managed_dependency_overrides: shell,value_equality_approach
dependency_overrides:
shell:
url: https://github.com/mrverdant13/altoke_bricks.git
ref: 575389c0d0d0752834361c4b4be6888ef4e32f83
path: ./tools/shell/
value_equality_approach:
url: https://github.com/mrverdant13/altoke_bricks.git
ref: 575389c0d0d0752834361c4b4be6888ef4e32f83
path: ./tools/value_equality_approach/ The same result is generated when not setting any version nor path for the More context: |
Oh, I missed your comment @spydon |
I found the problem, try to downgrade to Melos 6.2.0 for now. |
@vietstone-ng @mrverdant13 I just published v6.3.1 with a hot patch for this, can you try it out? You'll have to run If you want to you can also start migrating to 7.0.0 by using v7.0.0-dev.3 if you want, that version uses the pub workspaces feature and will hopefully soon be released to stable. The issue is fixed in there too. |
I can confirm this issue got fixed in 6.3.1 Thanks, @spydon I am avoiding pub workspaces for now as I have some projects that rely on the |
Is there an existing issue for this?
Version
6.3.0
Description
The format of
dependency_overrides
packages (inpubspec_overrides.yaml
) is wrong with version6.3.0
It's correct with version
6.2.0
Steps to reproduce
melos: 6.3.0
Expected behavior
6.3.0 should has the same correct format of
dependency_overrides
as 6.2.0Screenshots
No response
Additional context and comments
No response
The text was updated successfully, but these errors were encountered: