-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Use friendlier YAML formatting for pubspec.lock #5104
Comments
This comment was originally written by prujo...@gmail.com See https://codereview.chromium.org/10968035 for my attempt at this. |
This comment was originally written by ross.m.smith...@gmail.com Another option would be to support pretty JSON first: http://code.google.com/p/dart/issues/detail?id=4464 Since the lock file is just JSON for now anyhow. Then YAML serialization would come after that (i'm also eager for the YAML library!) |
This comment was originally written by pr...@gmail.com I agree. This patch is narrowly focused just to handle the .lock file until JSON/YAML come further along. :) |
Removed Type-Defect label. |
Issue #5409 has been merged into this issue. |
Issue #10307 has been merged into this issue. |
Andrei suggests map keys should be sorted too, to minimize deltas in diffs. |
Set owner to @munificent. |
Added Started label. |
Added Fixed label. |
This issue has been moved to dart-lang/pub#108. |
The lock file that pub generates doesn't use any whitespace which makes it hard to read and unfriendly in diffs. We should try to write a cleaner, more human-friendly YAML file.
The text was updated successfully, but these errors were encountered: