Beispiel #1
0
 def __init__(self, require_config_file=True, **kwargs):
     config_options = [[
      ["--locale",],
      {"action": "extend",
       "dest": "locales",
       "type": "string",
       "help": "Specify the locale(s) to repack"
      }
     ],[
      ["--platform",],
      {"action": "extend",
       "dest": "platforms",
       "type": "string",
       "help": "Specify the platform(s) to repack"
      }
     ],[
      ["--deb_name",],
      {"action": "store",
       "dest": "deb_name",
       "type": "string",
       "help": "Specify the name of the deb"
      }
     ]]
     self.failures = []
     LocalesMixin.__init__(self)
     MercurialScript.__init__(self, config_options=config_options,
                              all_actions=['clobber',
                                           'create-repos',
                                           'upload'],
                              require_config_file=require_config_file)
 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)