-
Notifications
You must be signed in to change notification settings - Fork 254
Automatically delete unused dart deps from flutter/DEPS file #245
Conversation
|
cc @bkonyi |
| for (dart_k, dart_v) in (new_deps.iteritems()): | ||
| dart_k_suffix = dart_k[len('sdk/') if dart_k.startswith('sdk/') else 0:] | ||
| if (k.endswith(dart_k_suffix)): | ||
| updated_value = dart_v |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this do anything? We overwrite updated_value in the next line.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, right!
bkonyi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall, LGTM.
|
Okay, so then we need to land dart sdk with updated quiver var name, then update flutter/DEPS so it has markers and run the script once so it just reformats everything and stays unchanged in next runs(unless dependencies do change), then land this CL with the script into buildroot. |
I'll let you know when the next SDK roll makes its way in so we can do the necessary updates. Should hopefully be in tonight. |
|
The latest SDK roll has landed with the updated Quiver var name: flutter/engine#8796 Feel free to make the necessary changes to the DEPS file now. |
flutter/engine#8800 with the changes |
|
We should also roll the buildroot version forward once this change lands. |
Right! |
This requires introducing markers to flutter DEPS file as follows: