本文整理汇总了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
示例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 = {}
示例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)
示例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
)
示例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
)
示例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 = {}
示例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
)
示例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,
)
示例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 = {}