Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(108)

Issue 488323002: Make servePackages's contents argument saner. (Closed)

Created:
6 years, 4 months ago by nweiz
Modified:
6 years, 4 months ago
Reviewers:
Bob Nystrom
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Make servePackages's contents argument saner. R=rnystrom@google.com Committed: https://code.google.com/p/dart/source/detail?r=39469

Patch Set 1 #

Total comments: 3

Patch Set 2 : Code review changes #

Total comments: 16

Patch Set 3 : Code review changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+732 lines, -660 lines) Patch
M sdk/lib/_internal/pub/test/build/copies_non_dart_files_to_build_test.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/_internal/pub/test/cache/add/adds_latest_matching_version_test.dart View 1 1 chunk +6 lines, -6 lines 0 comments Download
M sdk/lib/_internal/pub/test/cache/add/adds_latest_version_test.dart View 1 1 chunk +5 lines, -5 lines 0 comments Download
M sdk/lib/_internal/pub/test/cache/add/all_adds_all_matching_versions_test.dart View 1 1 chunk +6 lines, -6 lines 0 comments Download
M sdk/lib/_internal/pub/test/cache/add/all_with_some_versions_present_test.dart View 1 1 chunk +6 lines, -6 lines 0 comments Download
M sdk/lib/_internal/pub/test/cache/add/already_cached_test.dart View 1 1 chunk +3 lines, -3 lines 0 comments Download
M sdk/lib/_internal/pub/test/cache/add/no_matching_version_test.dart View 1 1 chunk +4 lines, -4 lines 0 comments Download
M sdk/lib/_internal/pub/test/cache/add/package_not_found_test.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/_internal/pub/test/cache/repair/handles_failure_test.dart View 1 1 chunk +4 lines, -4 lines 0 comments Download
M sdk/lib/_internal/pub/test/cache/repair/reinstalls_hosted_packages_test.dart View 1 1 chunk +7 lines, -7 lines 0 comments Download
M sdk/lib/_internal/pub/test/dependency_override_test.dart View 1 4 chunks +20 lines, -18 lines 0 comments Download
M sdk/lib/_internal/pub/test/deps_test.dart View 1 2 1 chunk +13 lines, -23 lines 0 comments Download
M sdk/lib/_internal/pub/test/downgrade/does_not_show_other_versions_test.dart View 1 1 chunk +5 lines, -5 lines 0 comments Download
M sdk/lib/_internal/pub/test/downgrade/dry_run_does_not_apply_changes_test.dart View 1 1 chunk +4 lines, -4 lines 0 comments Download
M sdk/lib/_internal/pub/test/downgrade/unlock_dependers_test.dart View 1 2 2 chunks +8 lines, -8 lines 0 comments Download
M sdk/lib/_internal/pub/test/downgrade/unlock_if_necessary_test.dart View 1 2 2 chunks +8 lines, -8 lines 0 comments Download
M sdk/lib/_internal/pub/test/get/dry_run_does_not_apply_changes_test.dart View 1 1 chunk +3 lines, -3 lines 0 comments Download
M sdk/lib/_internal/pub/test/get/hosted/avoid_network_requests_test.dart View 1 1 chunk +8 lines, -8 lines 0 comments Download
M sdk/lib/_internal/pub/test/get/hosted/cached_pubspec_test.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/_internal/pub/test/get/hosted/do_not_upgrade_on_removed_constraints_test.dart View 1 2 1 chunk +6 lines, -6 lines 0 comments Download
M sdk/lib/_internal/pub/test/get/hosted/does_no_network_requests_when_possible_test.dart View 1 1 chunk +5 lines, -5 lines 0 comments Download
M sdk/lib/_internal/pub/test/get/hosted/get_test.dart View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M sdk/lib/_internal/pub/test/get/hosted/get_transitive_test.dart View 1 2 1 chunk +6 lines, -6 lines 0 comments Download
M sdk/lib/_internal/pub/test/get/hosted/resolve_constraints_test.dart View 1 2 1 chunk +7 lines, -7 lines 0 comments Download
M sdk/lib/_internal/pub/test/get/hosted/stay_locked_if_compatible_test.dart View 1 2 chunks +2 lines, -2 lines 0 comments Download
M sdk/lib/_internal/pub/test/get/hosted/stay_locked_if_new_is_satisfied_test.dart View 1 2 2 chunks +11 lines, -11 lines 0 comments Download
M sdk/lib/_internal/pub/test/get/hosted/stay_locked_test.dart View 1 2 chunks +2 lines, -2 lines 0 comments Download
M sdk/lib/_internal/pub/test/get/hosted/unlock_if_incompatible_test.dart View 1 1 chunk +2 lines, -2 lines 0 comments Download
M sdk/lib/_internal/pub/test/get/hosted/unlock_if_new_is_unsatisfied_test.dart View 1 2 2 chunks +13 lines, -13 lines 0 comments Download
M sdk/lib/_internal/pub/test/get/hosted/unlock_if_version_doesnt_exist_test.dart View 1 2 chunks +2 lines, -2 lines 0 comments Download
M sdk/lib/_internal/pub/test/get/switch_source_test.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/_internal/pub/test/global/activate/activate_git_after_hosted_test.dart View 1 1 chunk +7 lines, -7 lines 0 comments Download
M sdk/lib/_internal/pub/test/global/activate/activate_hosted_after_git_test.dart View 1 1 chunk +7 lines, -7 lines 0 comments Download
M sdk/lib/_internal/pub/test/global/activate/activate_hosted_after_path_test.dart View 1 1 chunk +7 lines, -7 lines 0 comments Download
M sdk/lib/_internal/pub/test/global/activate/activate_path_after_hosted_test.dart View 1 1 chunk +7 lines, -7 lines 0 comments Download
M sdk/lib/_internal/pub/test/global/activate/cached_package_test.dart View 1 1 chunk +3 lines, -3 lines 0 comments Download
M sdk/lib/_internal/pub/test/global/activate/constraint_test.dart View 1 1 chunk +6 lines, -6 lines 0 comments Download
M sdk/lib/_internal/pub/test/global/activate/different_version_test.dart View 1 1 chunk +4 lines, -4 lines 0 comments Download
M sdk/lib/_internal/pub/test/global/activate/empty_constraint_test.dart View 1 1 chunk +4 lines, -4 lines 0 comments Download
M sdk/lib/_internal/pub/test/global/activate/ignores_active_version_test.dart View 1 1 chunk +4 lines, -4 lines 0 comments Download
M sdk/lib/_internal/pub/test/global/activate/installs_dependencies_for_git_test.dart View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M sdk/lib/_internal/pub/test/global/activate/installs_dependencies_for_path_test.dart View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M sdk/lib/_internal/pub/test/global/activate/installs_dependencies_test.dart View 1 2 1 chunk +5 lines, -5 lines 0 comments Download
M sdk/lib/_internal/pub/test/global/activate/supports_version_solver_backtracking_test.dart View 1 1 chunk +6 lines, -6 lines 0 comments Download
M sdk/lib/_internal/pub/test/global/activate/uncached_package_test.dart View 1 1 chunk +5 lines, -5 lines 0 comments Download
M sdk/lib/_internal/pub/test/global/activate/unknown_package_test.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/_internal/pub/test/global/deactivate/deactivate_and_reactivate_package_test.dart View 1 1 chunk +4 lines, -4 lines 0 comments Download
M sdk/lib/_internal/pub/test/global/deactivate/hosted_package_test.dart View 1 1 chunk +1 line, -3 lines 0 comments Download
M sdk/lib/_internal/pub/test/global/deactivate/unknown_package_test.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/_internal/pub/test/global/run/errors_if_outside_bin_test.dart View 1 1 chunk +7 lines, -7 lines 0 comments Download
M sdk/lib/_internal/pub/test/global/run/implicit_executable_name_test.dart View 1 1 chunk +7 lines, -7 lines 0 comments Download
M sdk/lib/_internal/pub/test/global/run/nonexistent_script_test.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/_internal/pub/test/global/run/runs_script_test.dart View 1 1 chunk +7 lines, -7 lines 0 comments Download
M sdk/lib/_internal/pub/test/global/run/unknown_package_test.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/_internal/pub/test/hosted/fail_gracefully_on_missing_package_test.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/_internal/pub/test/hosted/offline_test.dart View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M sdk/lib/_internal/pub/test/hosted/remove_removed_dependency_test.dart View 1 1 chunk +4 lines, -4 lines 0 comments Download
M sdk/lib/_internal/pub/test/hosted/remove_removed_transitive_dependency_test.dart View 1 2 1 chunk +8 lines, -8 lines 0 comments Download
M sdk/lib/_internal/pub/test/implicit_barback_dependency_test.dart View 1 6 chunks +37 lines, -37 lines 0 comments Download
M sdk/lib/_internal/pub/test/implicit_dependency_test.dart View 1 4 chunks +26 lines, -26 lines 0 comments Download
M sdk/lib/_internal/pub/test/list_package_dirs/lists_dependency_directories_test.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/_internal/pub/test/no_package_symlinks_test.dart View 1 1 chunk +4 lines, -4 lines 0 comments Download
M sdk/lib/_internal/pub/test/serve/gets_first_if_dependency_is_not_installed_test.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/_internal/pub/test/serve/gets_first_if_transitive_dependency_is_not_installed_test.dart View 1 1 chunk +1 line, -1 line 0 comments Download
A sdk/lib/_internal/pub/test/serve_packages.dart View 1 2 1 chunk +195 lines, -0 lines 0 comments Download
M sdk/lib/_internal/pub/test/snapshot/creates_a_snapshot_for_immediate_and_transitive_dep_test.dart View 1 2 1 chunk +12 lines, -12 lines 0 comments Download
M sdk/lib/_internal/pub/test/snapshot/creates_a_snapshot_test.dart View 1 1 chunk +11 lines, -9 lines 0 comments Download
M sdk/lib/_internal/pub/test/snapshot/doesnt_snapshot_an_entrypoint_dependency_test.dart View 1 2 1 chunk +6 lines, -6 lines 0 comments Download
M sdk/lib/_internal/pub/test/snapshot/doesnt_snapshot_transitive_dependencies_test.dart View 1 2 1 chunk +6 lines, -6 lines 0 comments Download
M sdk/lib/_internal/pub/test/snapshot/prints_errors_for_broken_snapshots_test.dart View 1 1 chunk +14 lines, -9 lines 0 comments Download
M sdk/lib/_internal/pub/test/snapshot/recompiles_if_the_sdk_is_out_of_date_test.dart View 1 1 chunk +5 lines, -3 lines 0 comments Download
M sdk/lib/_internal/pub/test/snapshot/snapshots_transformed_code_test.dart View 1 2 1 chunk +13 lines, -9 lines 0 comments Download
M sdk/lib/_internal/pub/test/snapshot/upgrades_snapshot_for_dependency_test.dart View 1 2 chunks +17 lines, -15 lines 0 comments Download
M sdk/lib/_internal/pub/test/snapshot/upgrades_snapshot_test.dart View 1 2 chunks +14 lines, -10 lines 0 comments Download
M sdk/lib/_internal/pub/test/test_pub.dart View 1 2 3 chunks +4 lines, -134 lines 0 comments Download
M sdk/lib/_internal/pub/test/upgrade/dry_run_does_not_apply_changes_test.dart View 1 1 chunk +4 lines, -4 lines 0 comments Download
M sdk/lib/_internal/pub/test/upgrade/hosted/unlock_dependers_test.dart View 1 2 2 chunks +8 lines, -8 lines 0 comments Download
M sdk/lib/_internal/pub/test/upgrade/hosted/unlock_if_necessary_test.dart View 1 2 2 chunks +8 lines, -8 lines 0 comments Download
M sdk/lib/_internal/pub/test/upgrade/hosted/upgrade_removed_constraints_test.dart View 1 2 1 chunk +6 lines, -6 lines 0 comments Download
M sdk/lib/_internal/pub/test/upgrade/report/describes_change_test.dart View 1 1 chunk +6 lines, -6 lines 0 comments Download
M sdk/lib/_internal/pub/test/upgrade/report/does_not_show_newer_versions_for_locked_packages_test.dart View 1 1 chunk +8 lines, -8 lines 0 comments Download
M sdk/lib/_internal/pub/test/upgrade/report/highlights_overrides_test.dart View 1 1 chunk +1 line, -3 lines 0 comments Download
M sdk/lib/_internal/pub/test/upgrade/report/leading_character_shows_change_test.dart View 1 1 chunk +11 lines, -11 lines 0 comments Download
M sdk/lib/_internal/pub/test/upgrade/report/shows_newer_available_versions_test.dart View 1 1 chunk +17 lines, -17 lines 0 comments Download
M sdk/lib/_internal/pub/test/upgrade/report/shows_number_of_changed_dependencies_test.dart View 1 1 chunk +5 lines, -5 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
nweiz
6 years, 4 months ago (2014-08-20 23:29:08 UTC) #1
Bob Nystrom
https://codereview.chromium.org/488323002/diff/1/pkg/scheduled_test/lib/scheduled_process.dart File pkg/scheduled_test/lib/scheduled_process.dart (right): https://codereview.chromium.org/488323002/diff/1/pkg/scheduled_test/lib/scheduled_process.dart#newcode207 pkg/scheduled_test/lib/scheduled_process.dart:207: if (description == "pub get") return; You should check ...
6 years, 4 months ago (2014-08-20 23:50:23 UTC) #2
nweiz
Code review changes
6 years, 4 months ago (2014-08-21 01:20:42 UTC) #3
nweiz
https://codereview.chromium.org/488323002/diff/1/sdk/lib/_internal/pub/test/test_pub.dart File sdk/lib/_internal/pub/test/test_pub.dart (right): https://codereview.chromium.org/488323002/diff/1/sdk/lib/_internal/pub/test/test_pub.dart#newcode258 sdk/lib/_internal/pub/test/test_pub.dart:258: /// (e.g. "foo-1.2.3") to their contents. On 2014/08/20 23:50:23, ...
6 years, 4 months ago (2014-08-21 01:21:23 UTC) #4
Bob Nystrom
I really like the builder pattern you've got here. Some suggestions, but LGTM! https://codereview.chromium.org/488323002/diff/20001/sdk/lib/_internal/pub/test/cache/add/package_not_found_test.dart File ...
6 years, 4 months ago (2014-08-21 16:44:17 UTC) #5
nweiz
Code review changes
6 years, 4 months ago (2014-08-21 18:28:34 UTC) #6
nweiz
https://codereview.chromium.org/488323002/diff/20001/sdk/lib/_internal/pub/test/cache/add/package_not_found_test.dart File sdk/lib/_internal/pub/test/cache/add/package_not_found_test.dart (right): https://codereview.chromium.org/488323002/diff/20001/sdk/lib/_internal/pub/test/cache/add/package_not_found_test.dart#newcode13 sdk/lib/_internal/pub/test/cache/add/package_not_found_test.dart:13: servePackages((_) {}); On 2014/08/21 16:44:17, Bob Nystrom wrote: > ...
6 years, 4 months ago (2014-08-21 18:28:52 UTC) #7
nweiz
6 years, 4 months ago (2014-08-21 18:47:45 UTC) #8
Message was sent while issue was closed.
Committed patchset #3 manually as 39469 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698