Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/python/mozbuild/mozbuild/vendor/   (Browser von der Mozilla Stiftung Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 1 kB image not shown  

Quelle  host_angle.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/.

import requests

from mozbuild.vendor.host_base import BaseHost


class AngleHost(BaseHost):
    def upstream_commit(self, revision):
        raise Exception("Should not be called")

    def upstream_tag(self, revision):
        data = requests.get("https://omahaproxy.appspot.com/all.json").json()

        for row in data:
            if row["os"] == "win64":
                for version in row["versions"]:
                    if version["channel"] == "beta":
                        branch = "chromium/" + version["true_branch"]

                        if revision != "HEAD" and revision != branch:
                            raise Exception(
                                "Passing a --revision for Angle that is not HEAD "
                                + "or the true branch is not supported."
                            )

                        return (
                            branch,
                            version["current_reldate"],
                        )

        raise Exception("Could not find win64 beta version in the JSON response")

    def upstream_snapshot(self, revision):
        raise Exception("Not supported for Angle")

Messung V0.5
C=95 H=93 G=93

¤ 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 und die Messung sind noch experimentell.