• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

Python vcsbase.MercurialScript类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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

示例1: __init__

    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,代码行数:29,代码来源:desktop_unittest.py


示例2: summary

 def summary(self):
     MercurialScript.summary(self)
     # TODO we probably want to make this configurable on/off
     locales = self.query_locales()
     for locale in locales:
         self.locales_property.setdefault(locale, "Success")
     self.set_buildbot_property("locales", json.dumps(self.locales_property), write_to_file=True)
开发者ID:MichaelKohler,项目名称:gecko-dev,代码行数:7,代码来源:mobile_l10n.py


示例3: __init__

 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,代码行数:26,代码来源:mobile_l10n.py


示例4: add_failure

 def add_failure(self, locale, message, **kwargs):
     self.locales_property[locale] = "Failed"
     prop_key = "%s_failure" % locale
     prop_value = self.query_buildbot_property(prop_key)
     if prop_value:
         prop_value = "%s  %s" % (prop_value, message)
     else:
         prop_value = message
     self.set_buildbot_property(prop_key, prop_value, write_to_file=True)
     MercurialScript.add_failure(self, locale, message=message, **kwargs)
开发者ID:MichaelKohler,项目名称:gecko-dev,代码行数:10,代码来源:mobile_l10n.py


示例5: __init__

 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,代码行数:10,代码来源:multi_locale_build.py


示例6: __init__

 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,代码行数:15,代码来源:mobile_cssfixer_repack.py


示例7: __init__

 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,代码行数:17,代码来源:mobile_partner_repack.py


示例8: __init__

 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,代码行数:44,代码来源:mobile_l10n.py


示例9: __init__

 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,代码行数:19,代码来源:sign_android.py


示例10: __init__

 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,代码行数:21,代码来源:multi_locale_build.py


示例11: __init__

 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,代码行数:37,代码来源:mobile_l10n.py



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Python buildb2gbase.B2GBuildBaseScript类代码示例发布时间:2022-05-27
下一篇:
Python script.BaseScript类代码示例发布时间:2022-05-27
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap