Quellcodebibliothek Statistik Leitseite products/sources/formale Sprachen/C/Firefox/taskcluster/gecko_taskgraph/transforms/   (Browser von der Mozilla Stiftung Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 839 B image not shown  

Quelle  openh264.py   Sprache: Python

 
# 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/.
"""
This transform is used to help populate mozharness options for openh264 jobs
"""

from taskgraph.transforms.base import TransformSequence

transforms = TransformSequence()


@transforms.add
def set_mh_options(config, jobs):
    """
    This transform sets the 'openh264_rev' attribute.
    """
    for job in jobs:
        repo = job.pop("repo")
        rev = job.pop("revision")
        attributes = job.setdefault("attributes", {})
        attributes["openh264_rev"] = rev
        run = job.setdefault("run", {})
        options = run.setdefault("options", [])
        options.extend([f"repo={repo}", f"rev={rev}"])
        yield job

50%


¤ Dauer der Verarbeitung: 0.11 Sekunden  (vorverarbeitet)  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

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.