# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/.
import sys
import requests from gecko_taskgraph.util.taskgraph import find_existing_tasks from taskgraph.parameters import Parameters from taskgraph.util.taskcluster import find_task_id, get_artifact, get_session
from ..cli import BaseTryParser from ..push import push_to_try
def get_release_graph(release): for phase in release["phases"]: if phase["name"] in ("ship_firefox",): return phase["actionTaskId"] raise Exception("No ship phase.")
# Copy L10n configuration from the commit the release we are using was # based on. This *should* ensure that the chunking of L10n tasks is the # same between graphs.
files_to_change = {
path: get_hg_file(previous_parameters, path) for path in [ "browser/locales/l10n-changesets.json", "browser/locales/shipped-locales",
]
}
task_config = {"version": 2, "parameters": try_config_params or {}}
task_config["parameters"]["optimize_target_tasks"] = True
task_config["parameters"]["existing_tasks"] = existing_tasks for param in ( "app_version", "build_number", "next_version", "release_history", "release_product", "release_type", "version",
):
task_config["parameters"][param] = previous_parameters[param]
try_config = task_config["parameters"].setdefault("try_task_config", {})
try_config["tasks"] = TASK_TYPES[task_type] for label in try_config["tasks"]: if label in existing_tasks: del existing_tasks[label]
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.