def main(request, response): manifest_path = os.path.join(root, "MANIFEST.json") manifest.update_manifest(root, **{"rebuild": False, "local_changes": True, "path": manifest_path}) return [("Content-Type", "application/json")], json.dumps({"url": "/MANIFEST.json"})
def update_manifest(): manifest.update_manifest( wptsubdir("web-platform-tests"), rebuild=False, experimental_include_local_changes=True, path=wptsubdir("metadata", "MANIFEST.json"), ) return True
def update_manifest(): manifest.update_manifest(wptsubdir("web-platform-tests"), rebuild=False, experimental_include_local_changes=True, path=wptsubdir("metadata", "MANIFEST.json")) return True
def ensure_manifest(): if not os.path.isfile(wptsubdir("metadata", "MANIFEST.json")): opts = argparse.Namespace(rebuild=False, experimental_include_local_changes=True, path=wptsubdir("metadata", "MANIFEST.json")) manifest.update_manifest(wptsubdir("web-platform-tests"), opts)