当前位置: 首页>>代码示例>>Python>>正文


Python MercurialScript.__init__方法代码示例

本文整理汇总了Python中mozharness.base.vcs.vcsbase.MercurialScript.__init__方法的典型用法代码示例。如果您正苦于以下问题:Python MercurialScript.__init__方法的具体用法?Python MercurialScript.__init__怎么用?Python MercurialScript.__init__使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在mozharness.base.vcs.vcsbase.MercurialScript的用法示例。


在下文中一共展示了MercurialScript.__init__方法的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: __init__

# 需要导入模块: from mozharness.base.vcs.vcsbase import MercurialScript [as 别名]
# 或者: from mozharness.base.vcs.vcsbase.MercurialScript import __init__ [as 别名]
    def __init__(self, require_config_file=True):
        # abs_dirs defined already in BaseScript but is here to make pylint happy
        self.abs_dirs = None
        MercurialScript.__init__(
            self,
            config_options=self.config_options,
            all_actions=[
                'clobber',
                'read-buildbot-config',
                'download-and-extract',
                'pull',
                'create-virtualenv',
                'install',
                'run-tests',
            ],
            require_config_file=require_config_file,
            config={'virtualenv_modules': self.virtualenv_modules,
                    'require_test_zip': True})

        c = self.config
        self.global_test_options = []
        self.installer_url = c.get('installer_url')
        self.test_url = c.get('test_url')
        self.symbols_url = c.get('symbols_url')
        # this is so mozinstall in install() doesn't bug out if we don't run
        # the download_and_extract action
        self.installer_path = c.get('installer_path')
        self.binary_path = c.get('binary_path')
        self.abs_app_dir = None
开发者ID:catlee,项目名称:build-mozharness,代码行数:31,代码来源:desktop_unittest.py

示例2: __init__

# 需要导入模块: from mozharness.base.vcs.vcsbase import MercurialScript [as 别名]
# 或者: from mozharness.base.vcs.vcsbase.MercurialScript import __init__ [as 别名]
 def __init__(self, require_config_file=True):
     LocalesMixin.__init__(self)
     MercurialScript.__init__(
         self,
         config_options=self.config_options,
         all_actions=[
             "clobber",
             "pull",
             "list-locales",
             "setup",
             "repack",
             "upload-repacks",
             "submit-to-balrog",
             "summary",
         ],
         require_config_file=require_config_file
     )
     self.base_package_name = None
     self.buildid = None
     self.make_ident_output = None
     self.repack_env = None
     self.revision = None
     self.upload_env = None
     self.version = None
     self.upload_urls = {}
     self.locales_property = {}
开发者ID:rhelmer,项目名称:gecko-dev,代码行数:28,代码来源:mobile_l10n.py

示例3: __init__

# 需要导入模块: from mozharness.base.vcs.vcsbase import MercurialScript [as 别名]
# 或者: from mozharness.base.vcs.vcsbase.MercurialScript import __init__ [as 别名]
 def __init__(self, require_config_file=True):
     LocalesMixin.__init__(self)
     MercurialScript.__init__(self, config_options=self.config_options,
                              all_actions=['clobber', 'pull-build-source',
                                           'pull-locale-source',
                                           'build', 'package-en-US',
                                           'upload-en-US',
                                           'add-locales', 'package-multi',
                                           'upload-multi'],
                              require_config_file=require_config_file)
开发者ID:Callek,项目名称:mozharness,代码行数:12,代码来源:multi_locale_build.py

示例4: __init__

# 需要导入模块: from mozharness.base.vcs.vcsbase import MercurialScript [as 别名]
# 或者: from mozharness.base.vcs.vcsbase.MercurialScript import __init__ [as 别名]
 def __init__(self, require_config_file=True):
     self.release_config = {}
     LocalesMixin.__init__(self)
     MercurialScript.__init__(
         self,
         config_options=self.config_options,
         all_actions=[
             "download",
             "repack",
             "sign",
             "upload-signed-bits",
             "summary",
         ],
         require_config_file=require_config_file
     )
开发者ID:seraphs,项目名称:cssfixer,代码行数:17,代码来源:mobile_cssfixer_repack.py

示例5: __init__

# 需要导入模块: from mozharness.base.vcs.vcsbase import MercurialScript [as 别名]
# 或者: from mozharness.base.vcs.vcsbase.MercurialScript import __init__ [as 别名]
 def __init__(self, require_config_file=True):
     self.release_config = {}
     LocalesMixin.__init__(self)
     MercurialScript.__init__(self,
         config_options=self.config_options,
         all_actions=[
             "passphrase",
             "clobber",
             "pull",
             "download",
             "repack",
             "upload-unsigned-bits",
             "sign",
             "upload-signed-bits",
         ],
         require_config_file=require_config_file
     )
开发者ID:Callek,项目名称:mozharness,代码行数:19,代码来源:mobile_partner_repack.py

示例6: __init__

# 需要导入模块: from mozharness.base.vcs.vcsbase import MercurialScript [as 别名]
# 或者: from mozharness.base.vcs.vcsbase.MercurialScript import __init__ [as 别名]
 def __init__(self, require_config_file=True):
     buildscript_kwargs = {
         'all_actions': [
             "get-secrets",
             "clobber",
             "pull",
             "clone-locales",
             "list-locales",
             "setup",
             "repack",
             "validate-repacks-signed",
             "upload-repacks",
             "create-virtualenv",
             "taskcluster-upload",
             "submit-to-balrog",
             "summary",
         ],
         'config': {
             'taskcluster_credentials_file': 'oauth.txt',
             'virtualenv_modules': [
                 'requests==2.8.1',
                 'PyHawk-with-a-single-extra-commit==0.1.5',
                 'taskcluster==0.0.26',
             ],
             'virtualenv_path': 'venv',
         },
     }
     LocalesMixin.__init__(self)
     MercurialScript.__init__(
         self,
         config_options=self.config_options,
         require_config_file=require_config_file,
         **buildscript_kwargs
     )
     self.base_package_name = None
     self.buildid = None
     self.make_ident_output = None
     self.repack_env = None
     self.enUS_revision = None
     self.revision = None
     self.upload_env = None
     self.version = None
     self.upload_urls = {}
     self.locales_property = {}
开发者ID:luke-chang,项目名称:gecko-1,代码行数:46,代码来源:mobile_l10n.py

示例7: __init__

# 需要导入模块: from mozharness.base.vcs.vcsbase import MercurialScript [as 别名]
# 或者: from mozharness.base.vcs.vcsbase.MercurialScript import __init__ [as 别名]
 def __init__(self, require_config_file=True):
     self.release_config = {}
     LocalesMixin.__init__(self)
     MobileSigningMixin.__init__(self)
     MercurialScript.__init__(self,
         config_options=self.config_options,
         all_actions=[
             "passphrase",
             "clobber",
             "pull",
             "download-unsigned-bits",
             "sign",
             "verify-signatures",
             "upload-signed-bits",
             "create-snippets",
             "upload-snippets",
         ],
         require_config_file=require_config_file
     )
开发者ID:ctalbert,项目名称:mozharness,代码行数:21,代码来源:sign_android.py

示例8: __init__

# 需要导入模块: from mozharness.base.vcs.vcsbase import MercurialScript [as 别名]
# 或者: from mozharness.base.vcs.vcsbase.MercurialScript import __init__ [as 别名]
 def __init__(self, require_config_file=True):
     LocalesMixin.__init__(self)
     MercurialScript.__init__(
         self,
         config_options=self.config_options,
         all_actions=[
             "clobber",
             "pull-build-source",
             "pull-locale-source",
             "build",
             "package-en-US",
             "upload-en-US",
             "backup-objdir",
             "restore-objdir",
             "add-locales",
             "package-multi",
             "upload-multi",
             "summary",
         ],
         require_config_file=require_config_file,
     )
开发者ID:jsyeo,项目名称:build-mozharness,代码行数:23,代码来源:multi_locale_build.py

示例9: __init__

# 需要导入模块: from mozharness.base.vcs.vcsbase import MercurialScript [as 别名]
# 或者: from mozharness.base.vcs.vcsbase.MercurialScript import __init__ [as 别名]
 def __init__(self, require_config_file=True):
     buildscript_kwargs = {
         "all_actions": [
             "clobber",
             "pull",
             "list-locales",
             "setup",
             "repack",
             "upload-repacks",
             "create-virtualenv",
             "taskcluster-upload",
             "submit-to-balrog",
             "summary",
         ],
         "config": {
             "taskcluster_credentials_file": "oauth.txt",
             "virtualenv_modules": [
                 "requests==2.8.1",
                 "PyHawk-with-a-single-extra-commit==0.1.5",
                 "taskcluster==0.0.15",
             ],
             "virtualenv_path": "venv",
         },
     }
     LocalesMixin.__init__(self)
     MercurialScript.__init__(
         self, config_options=self.config_options, require_config_file=require_config_file, **buildscript_kwargs
     )
     self.base_package_name = None
     self.buildid = None
     self.make_ident_output = None
     self.repack_env = None
     self.revision = None
     self.upload_env = None
     self.version = None
     self.upload_urls = {}
     self.locales_property = {}
开发者ID:mozilla-git,项目名称:gecko-dev,代码行数:39,代码来源:mobile_l10n.py


注:本文中的mozharness.base.vcs.vcsbase.MercurialScript.__init__方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。