#!/usr/bin/env python # -*- coding:utf-8 -*- # author: NinEveN # date: 2022/2/15 import logging from django.dispatch import Signal logger = logging.getLogger(__name__) """ 更新应用的时候,是否同时更新超级签名数据 """ run_resign_task_signal = Signal(providing_args=["app_obj"]) """ 删除应用时的信号,用户清理签名相关数据 """ delete_app_signal = Signal(providing_args=["app_obj"]) """ 下载超级签名数据 """ xsign_app_download_url_signal = Signal(providing_args=["app_pk", "udid", "download_url_type", "limit"]) """ 迁移超级签名数据 """ xsign_migrate_data_signal = Signal(providing_args=["app_release_obj", "user_obj", "new_storage_obj", "clean_old_data"]) """ 清理超级签名数据 """ xsign_clean_data_signal = Signal(providing_args=["app_release_obj", "storage_obj"]) """ 根据binary_file获取签名应用数据 """ xsign_app_release_obj_signal = Signal(providing_args=["binary_file"])