-
Notifications
You must be signed in to change notification settings - Fork 44
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
Pana should consider local version if dependency_overrides is given #1020
Comments
Not sure I understand completely. What would the semantics of Is it about dependency_overrides? In my local testing |
Apparently, the dart package analyzer GH Action only calls I could actually reproduce that locally too. Trying to explain with a real use case.
Running I see that the GH Action plugin executes this as well:
Maybe |
Ah yes - I didn't think about the call to Not sure what is best here, but I feel adding another command-line parameter for this would make the tool hard to use correctly. Hopefully we could find a default behavior that makes sense. Perhaps we should leave |
Yep, that would be ideal, otherwise, it makes |
Another option would be to add a
For my use case, I am trying to use pana in CI in a monorepo that uses melos. We use the I am assuming that |
@isoos let's do this |
We should still do this. |
Thanks for making
pana
better day by day.pana
could have an optional parameter likepana --allow-overrides
to be used in CI during development.The reason is that sometimes during local development, you add/remove things (APIs, methods, classes, etc...) that will make
pana
drop your points due to checking the latest version based on the dependency constraints.This optional parameter would be likely used during development and CI before you get the chance to publish your new version.
E.g. https://github.com/getsentry/sentry-dart/runs/5276357655?check_suite_focus=true
The text was updated successfully, but these errors were encountered: