# 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 os
import attr import yaml from mozilla_version.gecko import FirefoxVersion
from ..cli import BaseTryParser from ..push import push_to_try, vcs
with open(os.path.join(vcs.path, "taskcluster/config.yml")) as f:
migration_configs = yaml.safe_load(f) for migration in migrations:
migration_config = migration_configs["merge-automation"]["behaviors"][migration] for path, from_, to in migration_config["replacements"]: if path in files_to_change:
contents = files_to_change[path] else:
contents = read_file(path)
from_ = from_.format(**format_options)
to = to.format(**format_options)
files_to_change[path] = contents.replace(from_, to)
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 und die Messung sind noch experimentell.