You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
depot_tools/recipes/recipe_modules/bot_update/examples/full.expected
Garrett Beaty c8c88f9c55 Use fixed revisions in bot_update's test API output_json.
Currently the output_json method generates revisions for projects that
are in the revision_mapping and only those projects appear in the
manifest and source_manifest, using the generated revision. This method
is used to construct the default json output for bot_update in tests.
This has 2 problems:
1. If a project has a fixed revision, its manifest entries and the
property used the generated revision, meaning the gitiles input revision
will not be used in the json output.
2. If a project has a fixed revision and isn't present in
revision_mapping then manifest entries aren't generated for it.

This changes the method to use the revisions in the fixed_revisions dict
and to create manifest entries for the projects that appear in the
fixed_revisions dict which should make fewer situations where
bot_update's output_json needs to be explicitly set.

Change-Id: I99de52edc9248c28e9d3aa3a04cc77bf9fccbe37
Recipe-Nontrivial-Roll: build
Recipe-Nontrivial-Roll: infra
Recipe-Nontrivial-Roll: build_limited_scripts_slave
Recipe-Nontrivial-Roll: chrome_release
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2304644
Reviewed-by: Edward Lesmes <ehmaldonado@chromium.org>
Commit-Queue: Garrett Beaty <gbeaty@chromium.org>
5 years ago
..
basic.json Use fixed revisions in bot_update's test API output_json. 5 years ago
basic_luci.json Use fixed revisions in bot_update's test API output_json. 5 years ago
basic_with_branch_heads.json Use fixed revisions in bot_update's test API output_json. 5 years ago
clobber.json Set DEPOT_TOOLS_UPDATE='0' assuming depot_tool do not auto update on bot 5 years ago
deprecated_got_revision_mapping.json Add gerrit_change_owner field to tryserver recipe api 5 years ago
gerrit_no_rebase_patch_ref.json Set DEPOT_TOOLS_UPDATE='0' assuming depot_tool do not auto update on bot 5 years ago
gerrit_no_reset.json Set DEPOT_TOOLS_UPDATE='0' assuming depot_tool do not auto update on bot 5 years ago
input_commit_with_id_without_repo.json Use fixed revisions in bot_update's test API output_json. 5 years ago
multiple_patch_refs.json Set DEPOT_TOOLS_UPDATE='0' assuming depot_tool do not auto update on bot 5 years ago
no_apply_patch_on_gclient.json Add gerrit_change_owner field to tryserver recipe api 5 years ago
no_cp_checkout_HEAD.json Set DEPOT_TOOLS_UPDATE='0' assuming depot_tool do not auto update on bot 5 years ago
no_cp_checkout_a_branch_head.json Set DEPOT_TOOLS_UPDATE='0' assuming depot_tool do not auto update on bot 5 years ago
no_cp_checkout_a_specific_commit.json Set DEPOT_TOOLS_UPDATE='0' assuming depot_tool do not auto update on bot 5 years ago
no_cp_checkout_master.json Set DEPOT_TOOLS_UPDATE='0' assuming depot_tool do not auto update on bot 5 years ago
refs.json Set DEPOT_TOOLS_UPDATE='0' assuming depot_tool do not auto update on bot 5 years ago
reset_root_solution_revision.json Use fixed revisions in bot_update's test API output_json. 5 years ago
resolve_chromium_fixed_version.json Use fixed revisions in bot_update's test API output_json. 5 years ago
tryjob_fail.json Add gerrit_change_owner field to tryserver recipe api 5 years ago
tryjob_fail_patch.json Add gerrit_change_owner field to tryserver recipe api 5 years ago
tryjob_fail_patch_download.json Add gerrit_change_owner field to tryserver recipe api 5 years ago
tryjob_gerrit_angle.json Add gerrit_change_owner field to tryserver recipe api 5 years ago
tryjob_gerrit_branch_heads.json Add gerrit_change_owner field to tryserver recipe api 5 years ago
tryjob_gerrit_feature_branch.json Add gerrit_change_owner field to tryserver recipe api 5 years ago
tryjob_gerrit_v8_feature_branch.json Add gerrit_change_owner field to tryserver recipe api 5 years ago
tryjob_gerrit_webrtc.json Use fixed revisions in bot_update's test API output_json. 5 years ago
tryjob_v8.json Use fixed revisions in bot_update's test API output_json. 5 years ago
tryjob_v8_head_by_default.json Add gerrit_change_owner field to tryserver recipe api 5 years ago
unrecognized_commit_repo.json
with_tags.json Set DEPOT_TOOLS_UPDATE='0' assuming depot_tool do not auto update on bot 5 years ago