-
Notifications
You must be signed in to change notification settings - Fork 248
chore: improve pubspec.yaml, remove pubspec.lock #1258
Conversation
No, pubspec.lock is useful and should remain. We use the pubspec.lock to keep all developers on the exact same version of libraries and to ensure that bugs introduced in patch releases of dependencies do not break our tests. |
Interesting argument, but:
But I'm not opposed to keep it if you think it makes more sense - the other option could be to only list the dependencies which cause troubles there when any. |
I disagree with the "don't check in your pubspec.lock". While it isn't useful for distribution, it is critical for keeping the dev team in sync and providing a record of which exact versions are tested at which SHAs. Without the pubspec.lock, we are letting other packages potentially break our tests -- yet we are responsible for the tests and should be the only people breaking them. A compromise would be to write a bot that runs |
No need to spend so much effort on this. I'll re-add the file. |
@jbdeboer I have updated the PR to re-add pubspec.lock. I originally update the web_components deps to |
LGTM The Travis failure is expected, but let @chirayuk merge this PR. |
And the failure in web_components_spec.dart is #1289 , the test was already failing. It should be ok to upgrade web_components to 0.5.0, I will fix the test independently of this PR |
Could you ping me when it's fixed... could also explains some failure I had with IE/Safari |
Test and rebase before we can merge. |
Fixed & rebased. Travis is unhappy due to a g3 conflict only. |
@vicb, web_components should be listed as a dependency of the example. |
I have updated examples & benchmark deps |
8fd235c
to
50e2645
Compare
@jbdeboer I'd like to update DI to the freshly released 3.0.0, could I do this as part of this PR or would it be better to submit an other one (wrt g3) ? |
Not in scope for this PR. |
replaces #1082