Esempio n. 1
0
 def __init__(self):
     Command.__init__(self, [
         make_option('-a',
                     '--autogen',
                     action='store_true',
                     dest='autogen',
                     default=False,
                     help=_('always run autogen.sh')),
         make_option('-c',
                     '--clean',
                     action='store_true',
                     dest='clean',
                     default=False,
                     help=_('run make clean before make')),
         make_option('--check',
                     action='store_true',
                     dest='check',
                     default=False,
                     help=_('run make check after building')),
         make_option('-q',
                     '--quiet',
                     action='store_true',
                     dest='quiet',
                     default=False,
                     help=_('quiet (no output)')),
     ])
Esempio n. 2
0
 def __init__(self):
     Command.__init__(self, [
         make_option('-a', '--autogen',
                     action='store_true', dest='_unused', default=False,
                     help=optparse.SUPPRESS_HELP), # no longer used
         make_option('-c', '--clean',
                     action='store_true', dest='clean', default=False,
                     help=_('run make clean before make')),
         make_option('--check',
                     action='store_true', dest='check', default=False,
                     help=_('run make check after building')),
         make_option('-d', '--dist',
                     action='store_true', dest='dist', default=False,
                     help=_('run make dist after building')),
         make_option('--distcheck',
                     action='store_true', dest='distcheck', default=False,
                     help=_('run make distcheck after building')),
         make_option('--ignore-suggests',
                     action='store_true', dest='ignore_suggests', default=False,
                     help=_('ignore all soft-dependencies')),
         make_option('-n', '--no-network',
                     action='store_true', dest='nonetwork', default=False,
                     help=_('skip version control update')),
         make_option('-q', '--quiet',
                     action='store_true', dest='quiet', default=False,
                     help=_('quiet (no output)')),
         make_option('-s', '--skip', metavar='MODULES',
                     action='append', dest='skip', default=[],
                     help=_('treat the given modules as up to date')),
         make_option('-t', '--start-at', metavar='MODULE',
                     action='store', dest='startat', default=None,
                     help=_('start building at the given module')),
         make_option('--tags',
                     action='append', dest='tags', default=[],
                     help=_('build only modules with the given tags')),
         make_option('-D', metavar='DATE-SPEC',
                     action='store', dest='sticky_date', default=None,
                     help=_('set a sticky date when checking out modules')),
         make_option('-x', '--no-xvfb',
                     action='store_true', dest='noxvfb', default=False,
                     help=_('run tests in real X and not in Xvfb')),
         make_option('-C', '--try-checkout',
                     action='store_true', dest='trycheckout', default=False,
                     help=_('try to force checkout and autogen on failure')),
         make_option('-N', '--no-poison',
                     action='store_true', dest='nopoison', default=False,
                     help=_("don't poison modules on failure")),
         make_option('-f', '--force',
                     action='store_true', dest='force_policy', default=False,
                     help=_('build even if policy says not to')),
         make_option('--build-optional-modules',
                     action='store_true', dest='build_optional_modules', default=False,
                     help=_('also build soft-dependencies that could be skipped')),
         make_option('--min-age', metavar='TIME-SPEC',
                     action='store', dest='min_age', default=None,
                     help=_('skip modules installed less than the given time ago')),
         make_option('--nodeps',
                     action='store_false', dest='check_sysdeps', default=None,
                     help=_('ignore missing system dependencies')),
         ])
Esempio n. 3
0
 def __init__(self):
     Command.__init__(self, [
         make_option('-a', '--autogen',
                     action='store_true', dest='autogen', default=False,
                     help='always run autogen.sh'),
         make_option('-c', '--clean',
                     action='store_true', dest='clean', default=False,
                     help='run make clean before make'),
         make_option('-d', '--dist',
                     action='store_true', dest='dist', default=False,
                     help='run make dist after building'),
         make_option('--distcheck',
                     action='store_true', dest='distcheck', default=False,
                     help='run make distcheck after building'),
         make_option('-n', '--no-network',
                     action='store_true', dest='nonetwork', default=False,
                     help='skip version control update'),
         make_option('-s', '--skip', metavar='MODULES',
                     action='append', dest='skip', default=[],
                     help='treat the given modules as up to date'),
         make_option('-t', '--start-at', metavar='MODULE',
                     action='store', dest='startat', default=None,
                     help='start building at the given module'),
         make_option('-D', metavar='DATE-SPEC',
                     action='store', dest='sticky_date', default=None,
                     help='set a sticky date when checking out modules'),
         ])
Esempio n. 4
0
 def __init__(self):
     Command.__init__(self, [
         make_option('-o', '--output', metavar='FILE',
                 action='store', dest='output', default=None),
         make_option('--all-modules',
                     action='store_true', dest='list_all_modules', default=False),
         ])
Esempio n. 5
0
 def __init__(self):
     Command.__init__(self, [
         make_option('--modulesetsdir',
                     action='store', dest='modulesets_dir', default=None,
                     help=_('Modulesets directory')),
         make_option('--type',
                     action='store', dest='type', default='tarball',
                     help=_('Module type [%s] (default=tarball)' %
                            ','.join(MODULE_TYPES.keys()))),
         make_option('--deps',
                     action='store', dest='deps', default="",
                     help=_('Module dependencies (list of ":" separated '
                            'values)')),
         make_option('--version',
                     action='store', dest='version', default=None,
                     help=_('Module version (only applies to "tarball" type)')),
         make_option('--url',
                     action='store', dest='url', default=None,
                     help=_('URL of the package (only applies to "tarball" type)')),
         make_option('--md5sum',
                     action='store', dest='md5sum', default=None,
                     help=_('MD5 of the tarball (only applies to "tarball" type)')),
         make_option('--repo',
                     action='store', dest='repo', default=None,
                     help=_('Sources repository (only applies to "autotools" type)')),
         make_option('--repo-module',
                     action='store', dest='repo_module', default=None,
                     help=_('Name of the module in the repository '
                            '(only applies to "autotools" type)')),
         ])
Esempio n. 6
0
 def __init__(self):
     Command.__init__(self, [
         make_option('--install',
                     action='store_true',
                     default=False,
                     help=_('Install pkg-config modules via system'))
     ])
Esempio n. 7
0
 def __init__(self):
     Command.__init__(self, [
         make_option('-s',
                     '--skip',
                     metavar='MODULES',
                     action='append',
                     dest='skip',
                     default=[],
                     help=_('treat the given modules as up to date')),
         make_option('-t',
                     '--start-at',
                     metavar='MODULE',
                     action='store',
                     dest='startat',
                     default=None,
                     help=_('start updating at the given module')),
         make_option('--tags',
                     action='append',
                     dest='tags',
                     default=[],
                     help=_('update only modules with the given tags')),
         make_option('-D',
                     metavar='DATE-SPEC',
                     action='store',
                     dest='sticky_date',
                     default=None,
                     help=_('set a sticky date when checking out modules')),
         make_option('--ignore-suggests',
                     action='store_true',
                     dest='ignore_suggests',
                     default=False,
                     help=_('ignore all soft-dependencies')),
     ])
Esempio n. 8
0
 def __init__(self):
     Command.__init__(self, [
         make_option('-a', '--autogen',
                     action='store_true', dest='autogen', default=False,
                     help=_('always run autogen.sh')),
         make_option('-c', '--clean',
                     action='store_true', dest='clean', default=False,
                     help=_('run make clean before make')),
         make_option('-n', '--no-network',
                     action='store_true', dest='nonetwork', default=False,
                     help=_('skip version control update')),
         make_option('-o', '--output', metavar='DIR',
                     action='store', dest='outputdir', default=None,
                     help=_('directory to store build logs in')),
         make_option('-s', '--skip', metavar='MODULES',
                     action='append', dest='skip', default=[],
                     help=_('treat the given modules as up to date')),
         make_option('-t', '--start-at', metavar='MODULE',
                     action='store', dest='startat', default=None,
                     help=_('start building at the given module')),
         make_option('-D', metavar='DATE-SPEC',
                     action='store', dest='sticky_date', default=None,
                     help=_('set a sticky date when checking out modules')),
         make_option('-C', '--try-checkout',
                     action='store_true', dest='trycheckout', default=False,
                     help=_('try to force checkout and autogen on failure')),
         make_option('-N', '--no-poison',
                     action='store_true', dest='nopoison', default=False,
                     help=_("don't poison modules on failure")),
         make_option('-f', '--force',
                     action='store_true', dest='force_policy', default=False,
                     help=_('build even if policy says not to'))
         ])
Esempio n. 9
0
 def __init__(self):
     Command.__init__(self, [
         make_option('--honour-config',
                     action='store_true',
                     dest='honour_config',
                     default=False,
                     help=_('honour the makeclean setting in config file')),
     ])
Esempio n. 10
0
 def __init__(self):
     Command.__init__(self, [
         make_option('--installed',
                     action='store_true', dest='installed', default=False,
                     help=_('only display information for installed modules. '
                            'This will not list system dependencies. If one or more '
                            'module names are specified and at least one module is '
                            'not installed, then the command will return 1.'))
         ])
Esempio n. 11
0
 def __init__(self):
     Command.__init__(self, [
         make_option('-D',
                     metavar='DATE-SPEC',
                     action='store',
                     dest='sticky_date',
                     default=None,
                     help=_('set a sticky date when checking out modules')),
     ])
Esempio n. 12
0
 def __init__(self):
     Command.__init__(self, [
         make_option('-s', '--skip', metavar='MODULES',
                     action='append', dest='skip', default=[],
                     help=_('don\'t package the given modules')),
         make_option('-t', '--start-at', metavar='MODULE',
                     action='store', dest='startat', default=None,
                     help=_('start building at the given module')),
         ])
Esempio n. 13
0
 def __init__(self):
     Command.__init__(self, [
         make_option('-r', '--show-revision',
                     action='store_true', dest='show_rev', default=False,
                     help='show which revision will be built'),
         make_option('-s', '--skip', metavar='MODULES',
                     action='append', dest='skip', default=[],
                     help='treat the given modules as up to date'),
         ])
Esempio n. 14
0
 def __init__(self):
     Command.__init__(self, [
         make_option('--in-builddir', metavar='MODULE',
                     action='store', dest='in_builddir', default = None,
                     help=_('run command in build dir of the given module')),
         make_option('--in-checkoutdir', metavar='MODULE',
                     action='store', dest='in_checkoutdir', default = None,
                     help=_('run command in checkout dir of the given module')),
         ])
Esempio n. 15
0
 def __init__(self):
     Command.__init__(self, [
         make_option('--soft-deps',
                     action='store_true', dest='soft_deps', default=False,
                     help=_('add dotted lines to soft dependencies')),
         make_option('--clusters',
                     action='store_true', dest='clusters', default=False,
                     help=_('group modules from metamodule together')),
         ])
Esempio n. 16
0
 def __init__(self):
     Command.__init__(
         self,
         [
             make_option(
                 "-r",
                 "--show-revision",
                 action="store_true",
                 dest="show_rev",
                 default=False,
                 help=_("show which revision will be built"),
             ),
             make_option(
                 "-s",
                 "--skip",
                 metavar="MODULES",
                 action="append",
                 dest="skip",
                 default=[],
                 help=_("treat the given modules as up to date"),
             ),
             make_option(
                 "-t",
                 "--start-at",
                 metavar="MODULE",
                 action="store",
                 dest="startat",
                 default=None,
                 help=_("start list at the given module"),
             ),
             make_option(
                 "--tags", action="append", dest="tags", default=[], help=_("build only modules with the given tags")
             ),
             make_option(
                 "--ignore-suggests",
                 action="store_true",
                 dest="ignore_suggests",
                 default=False,
                 help=_("ignore all soft-dependencies"),
             ),
             make_option(
                 "--list-optional-modules",
                 action="store_true",
                 dest="list_optional_modules",
                 default=False,
                 help=_("also list soft-dependencies that could be skipped"),
             ),
             make_option(
                 "-a",
                 "--all-modules",
                 action="store_true",
                 dest="list_all_modules",
                 default=False,
                 help=_("list all modules, not only those that would be built"),
             ),
         ],
     )
Esempio n. 17
0
 def __init__(self):
     Command.__init__(self, [
         make_option('-b',
                     '--branch',
                     metavar='BRANCH',
                     action='store',
                     dest='branch',
                     default=None)
     ])
Esempio n. 18
0
 def __init__(self):
     Command.__init__(self, [
         make_option('--dependencies',
                     action='store_true', dest='dependencies', default=False,
                     help=_('display dependency path next to modules')),
         make_option('--direct',
                     action='store_true', dest='direct', default=False,
                     help=_('limit display to modules directly depending on given module'))
         ])
Esempio n. 19
0
 def __init__(self):
     Command.__init__(self, [
         make_option('--soft-deps',
                     action='store_true', dest='soft_deps', default=False,
                     help=_('add dotted lines to soft dependencies')),
         make_option('--clusters',
                     action='store_true', dest='clusters', default=False,
                     help=_('group modules from metamodule together')),
         ])
Esempio n. 20
0
 def __init__(self):
     Command.__init__(self, [
         make_option('-s', '--skip', metavar='MODULES',
                     action='append', dest='skip', default=[],
                     help=_('treat the given modules as up to date')),
         make_option('-t', '--start-at', metavar='MODULE',
                     action='store', dest='startat', default=None,
                     help=_('start building at the given module')),
         ])
Esempio n. 21
0
 def __init__(self):
     Command.__init__(self, [
         make_option('--honour-config',
                     action='store_true', dest='honour_config', default=False,
                     help=_('honour the makeclean setting in config file')),
         make_option('--distclean',
                     action='store_true', dest='distclean', default=False,
                     help=_('completely clean source tree')),
         ])
Esempio n. 22
0
 def __init__(self):
     Command.__init__(self, [
         make_option('--in-builddir', metavar='MODULE',
                     action='store', dest='in_builddir', default = None,
                     help=_('run command in build dir of the given module')),
         make_option('--in-checkoutdir', metavar='MODULE',
                     action='store', dest='in_checkoutdir', default = None,
                     help=_('run command in checkout dir of the given module')),
         ])
Esempio n. 23
0
 def __init__(self):
     Command.__init__(self, [
         make_option('--dump',
                     action='store_true', default = False,
                     help=_('Machine readable list of missing sysdeps')),
         make_option('--dump-all',
                     action='store_true', default = False,
                     help=_('Machine readable list of all sysdeps')),
         make_option('--install',
                     action='store_true', default = False,
                     help=_('Install pkg-config modules via system'))])
Esempio n. 24
0
 def __init__(self):
     Command.__init__(self, [
         #FIXME: Don't hardcode default values
         make_option('--moduleset', metavar='MODULE',
                     action='store', dest='moduleset', default = None,
                     help=_('name of the moduleset')),
         make_option('--modulesetsdir', metavar='MODULE',
                     action='store', dest='modulesets_dir', default = None,
                     help=_('Directory lookup for available modules ')),
         ])
     self.modulesets = []
Esempio n. 25
0
 def __init__(self):
     Command.__init__(self, [
         make_option('-o', '--output', metavar='FILE',
                 action='store', dest='output', default=None),
         make_option('--devhelp-dirname', metavar='DIR',
                 action='store', dest='devhelp_dirname', default=None),
         make_option('--no-cache',
                 action='store_true', dest='nocache', default=False),
         make_option('--all-modules',
                     action='store_true', dest='list_all_modules', default=False),
         ])
Esempio n. 26
0
 def __init__(self):
     Command.__init__(self, [
         make_option('-s', '--skip', metavar='MODULES',
                     action='append', dest='skip', default=[],
                     help=_('don\'t package the given modules')),
         make_option('-c', '--compress-kind', metavar='MODULE',
                     action='store', dest='compress', default="gz",
                     help=_('compression type (default is gzip)')),
         make_option('-n', '--no-net',
                     action='store_true', dest='nonet', default=False,
                     help=_('package also downloadable libraries')),
         ])
Esempio n. 27
0
 def __init__(self):
     Command.__init__(self, [
         make_option('-s', '--skip', metavar='MODULES',
                     action='append', dest='skip', default=[],
                     help='treat the given modules as up to date'),
         make_option('-t', '--start-at', metavar='MODULE',
                     action='store', dest='startat', default=None,
                     help='start building at the given module'),
         make_option('-D', metavar='DATE-SPEC',
                     action='store', dest='sticky_date', default=None,
                     help='set a sticky date when checking out modules'),
         ])
Esempio n. 28
0
 def __init__(self):
     Command.__init__(self, [
         make_option('-o',
                     '--output',
                     metavar='FILE',
                     action='store',
                     dest='output',
                     default=None),
         make_option('--all-modules',
                     action='store_true',
                     dest='list_all_modules',
                     default=False),
     ])
Esempio n. 29
0
 def __init__(self):
     Command.__init__(self, [
         make_option(
             '--installed',
             action='store_true',
             dest='installed',
             default=False,
             help=_(
                 'only display information for installed modules. '
                 'This will not list system dependencies. If one or more '
                 'module names are specified and at least one module is '
                 'not installed, then the command will return 1.'))
     ])
Esempio n. 30
0
 def __init__(self):
     Command.__init__(
         self,
         [
             make_option(
                 "-D",
                 metavar="DATE-SPEC",
                 action="store",
                 dest="sticky_date",
                 default=None,
                 help=_("set a sticky date when checking out modules"),
             )
         ],
     )
Esempio n. 31
0
 def __init__(self):
     Command.__init__(self, [
         make_option('--dump',
                     action='store_true',
                     default=False,
                     help=_('Machine readable list of missing sysdeps')),
         make_option('--dump-all',
                     action='store_true',
                     default=False,
                     help=_('Machine readable list of all sysdeps')),
         make_option('--install',
                     action='store_true',
                     default=False,
                     help=_('Install pkg-config modules via system'))
     ])
Esempio n. 32
0
 def __init__(self):
     Command.__init__(self, [
         make_option('-a', '--autogen',
                     action='store_true', dest='autogen', default=False,
                     help=_('always run autogen.sh')),
         make_option('-c', '--clean',
                     action='store_true', dest='clean', default=False,
                     help=_('run make clean before make')),
         make_option('--check',
                     action='store_true', dest='check', default=False,
                     help=_('run make check after building')),
         make_option('-q', '--quiet',
                     action='store_true', dest='quiet', default=False,
                     help=_('quiet (no output)')),
         ])
Esempio n. 33
0
 def __init__(self):
     Command.__init__(self, [
         make_option('--dependencies',
                     action='store_true',
                     dest='dependencies',
                     default=False,
                     help=_('display dependency path next to modules')),
         make_option(
             '--direct',
             action='store_true',
             dest='direct',
             default=False,
             help=
             _('limit display to modules directly depending on given module'
               ))
     ])
Esempio n. 34
0
 def __init__(self):
     Command.__init__(self, [
         make_option('-r',
                     '--show-revision',
                     action='store_true',
                     dest='show_rev',
                     default=False,
                     help=_('show which revision will be built')),
         make_option('-s',
                     '--skip',
                     metavar='MODULES',
                     action='append',
                     dest='skip',
                     default=[],
                     help=_('treat the given modules as up to date')),
         make_option('-t',
                     '--start-at',
                     metavar='MODULE',
                     action='store',
                     dest='startat',
                     default=None,
                     help=_('start list at the given module')),
         make_option('--tags',
                     action='append',
                     dest='tags',
                     default=[],
                     help=_('build only modules with the given tags')),
         make_option('--ignore-suggests',
                     action='store_true',
                     dest='ignore_suggests',
                     default=False,
                     help=_('ignore all soft-dependencies')),
         make_option(
             '--list-optional-modules',
             action='store_true',
             dest='list_optional_modules',
             default=False,
             help=_('also list soft-dependencies that could be skipped')),
         make_option(
             '-a',
             '--all-modules',
             action='store_true',
             dest='list_all_modules',
             default=False,
             help=_(
                 'list all modules, not only those that would be built')),
     ])
Esempio n. 35
0
 def __init__(self):
     Command.__init__(self, [
         make_option('-s',
                     '--skip',
                     metavar='MODULES',
                     action='append',
                     dest='skip',
                     default=[],
                     help=_('don\'t package the given modules')),
         make_option('-t',
                     '--start-at',
                     metavar='MODULE',
                     action='store',
                     dest='startat',
                     default=None,
                     help=_('start building at the given module')),
         make_option('-c',
                     '--compress-kind',
                     metavar='COMP',
                     action='store',
                     dest='compress',
                     default="gz",
                     help=_('compression type (default is gzip)')),
         make_option('-n',
                     '--no-net',
                     action='store_true',
                     dest='nonet',
                     default=False,
                     help=_('package also downloadable libraries')),
         make_option(
             '-i',
             '--ignore-conditions',
             action='store_true',
             dest='ignore_conditions',
             default=False,
             help=_('package also libraries depending on a condition')),
         make_option(
             '-d',
             '--dist-only',
             action='store_true',
             dest='dist_only',
             default=False,
             help=
             _('only do make dist, without calling any previous configure steps'
               )),
     ])
Esempio n. 36
0
 def __init__(self):
     Command.__init__(
         self,
         [
             make_option(
                 "-s",
                 "--skip",
                 metavar="MODULES",
                 action="append",
                 dest="skip",
                 default=[],
                 help=_("treat the given modules as up to date"),
             ),
             make_option(
                 "-t",
                 "--start-at",
                 metavar="MODULE",
                 action="store",
                 dest="startat",
                 default=None,
                 help=_("start updating at the given module"),
             ),
             make_option(
                 "--tags",
                 action="append",
                 dest="tags",
                 default=[],
                 help=_("update only modules with the given tags"),
             ),
             make_option(
                 "-D",
                 metavar="DATE-SPEC",
                 action="store",
                 dest="sticky_date",
                 default=None,
                 help=_("set a sticky date when checking out modules"),
             ),
             make_option(
                 "--ignore-suggests",
                 action="store_true",
                 dest="ignore_suggests",
                 default=False,
                 help=_("ignore all soft-dependencies"),
             ),
         ],
     )
Esempio n. 37
0
 def __init__(self):
     Command.__init__(self, [
         make_option('-o', '--output', metavar='FILE',
                 action='store', dest='output', default=None),
         make_option('--bugs-file', metavar='BUGFILE',
                 action='store', dest='bugfile', default=None),
         make_option('--false-positives-file', metavar='FILE',
                 action='store', dest='falsepositivesfile', default=None),
         make_option('--devhelp-dirname', metavar='DIR',
                 action='store', dest='devhelp_dirname', default=None),
         make_option('--cache', metavar='FILE',
                 action='store', dest='cache', default=None),
         make_option('--all-modules',
                     action='store_true', dest='list_all_modules', default=False),
         make_option('--check', metavar='CHECK',
                     action='append', dest='checks', default=[],
                     help=_('check to perform')),
         ])
Esempio n. 38
0
 def __init__(self):
     Command.__init__(self, [
         make_option('-o', '--output', metavar='FILE',
                 action='store', dest='output', default=None),
         make_option('--bugs-file', metavar='BUGFILE',
                 action='store', dest='bugfile', default=None),
         make_option('--false-positives-file', metavar='FILE',
                 action='store', dest='falsepositivesfile', default=None),
         make_option('--devhelp-dirname', metavar='DIR',
                 action='store', dest='devhelp_dirname', default=None),
         make_option('--cache', metavar='FILE',
                 action='store', dest='cache', default=None),
         make_option('--all-modules',
                     action='store_true', dest='list_all_modules', default=False),
         make_option('--check', metavar='CHECK',
                     action='append', dest='checks', default=[],
                     help=_('check to perform')),
         ])
Esempio n. 39
0
 def __init__(self):
     Command.__init__(self, [
         make_option('-s', '--skip', metavar='MODULES',
                     action='append', dest='skip', default=[],
                     help=_('treat the given modules as up to date')),
         make_option('-t', '--start-at', metavar='MODULE',
                     action='store', dest='startat', default=None,
                     help=_('start building at the given module')),
         make_option('--tags',
                     action='append', dest='tags', default=[],
                     help=_('build only modules with the given tags')),
         make_option('-D', metavar='DATE-SPEC',
                     action='store', dest='sticky_date', default=None,
                     help=_('set a sticky date when checking out modules')),
         make_option('--ignore-suggests',
                     action='store_true', dest='ignore_suggests', default=False,
                     help=_('ignore all soft-dependencies')),
         ])
Esempio n. 40
0
 def __init__(self):
     Command.__init__(self, [
         make_option('-a', '--autogen',
                     action='store_true', dest='autogen', default=False,
                     help=_('always run autogen.sh')),
         make_option('', '--distclean',
                     action='store_true', dest='distclean', default=False,
                     help=_('completely clean source tree')),
         make_option('-c', '--clean',
                     action='store_true', dest='clean', default=False,
                     help=_('run make clean before make')),
         make_option('--check',
                     action='store_true', dest='check', default=False,
                     help=_('run make check after building')),
         make_option('-n', '--no-network',
                     action='store_true', dest='nonetwork', default=False,
                     help=_('skip version control update')),
         make_option('-o', '--output', metavar='DIR',
                     action='store', dest='outputdir', default=None,
                     help=_('directory to store build logs in')),
         make_option('-s', '--skip', metavar='MODULES',
                     action='append', dest='skip', default=[],
                     help=_('treat the given modules as up to date')),
         make_option('-t', '--start-at', metavar='MODULE',
                     action='store', dest='startat', default=None,
                     help=_('start building at the given module')),
         make_option('-D', metavar='DATE-SPEC',
                     action='store', dest='sticky_date', default=None,
                     help=_('set a sticky date when checking out modules')),
         make_option('-C', '--try-checkout',
                     action='store_true', dest='trycheckout', default=False,
                     help=_('try to force checkout and autogen on failure')),
         make_option('-N', '--no-poison',
                     action='store_true', dest='nopoison', default=False,
                     help=_("don't poison modules on failure")),
         make_option('-f', '--force',
                     action='store_true', dest='force_policy', default=False,
                     help=_('build even if policy says not to')),
         make_option('--nodeps',
                     action='store_false', dest='check_sysdeps', default=None,
                     help=_('ignore missing system dependencies'))
         ])
Esempio n. 41
0
 def __init__(self):
     Command.__init__(self, [
         make_option('--setup',
                     action='store_true', dest='setup', default=False,
                     help=_('setup a buildbot environment')),
         make_option('--start',
                     action='store_true', dest='start', default=False,
                     help=_('start a buildbot slave server')),
         make_option('--stop',
                     action='store_true', dest='stop', default=False,
                     help=_('stop a buildbot slave server')),
         make_option('--start-server',
                     action='store_true', dest='start_server', default=False,
                     help=_('start a buildbot master server')),
         make_option('--reload-server-config',
                     action='store_true', dest='reload_server_config', default=False,
                     help=_('reload a buildbot master server configuration')),
         make_option('--stop-server',
                     action='store_true', dest='stop_server', default=False,
                     help=_('stop a buildbot master server')),
         make_option('--daemon',
                     action='store_true', dest='daemon', default=False,
                     help=_('start as daemon')),
         make_option('--pidfile', metavar='PIDFILE',
                     action='store', dest='pidfile', default=None,
                     help=_('PID file location')),
         make_option('--logfile', metavar='LOGFILE',
                     action='store', dest='logfile', default=None,
                     help=_('log file location')),
         make_option('--slaves-dir', metavar='SLAVESDIR',
                     action='store', dest='slaves_dir', default=None,
                     help=_('directory with slave files (only with --start-server)')),
         make_option('--buildbot-dir', metavar='BUILDBOTDIR',
                     action='store', dest='buildbot_dir', default=None,
                     help=_('directory with buildbot work files (only with --start-server)')),
         make_option('--mastercfg', metavar='CFGFILE',
                     action='store', dest='mastercfgfile', default=None,
                     help=_('master cfg file location (only with --start-server)')),
         make_option('--step',
                     action='store_true', dest='step', default=False,
                     help=_('exec a buildbot step (internal use only)')),
         ])
Esempio n. 42
0
 def __init__(self):
     Command.__init__(self, [
         make_option('--setup',
                     action='store_true', dest='setup', default=False,
                     help=_('setup a buildbot environment')),
         make_option('--start',
                     action='store_true', dest='start', default=False,
                     help=_('start a buildbot slave server')),
         make_option('--stop',
                     action='store_true', dest='stop', default=False,
                     help=_('stop a buildbot slave server')),
         make_option('--start-server',
                     action='store_true', dest='start_server', default=False,
                     help=_('start a buildbot master server')),
         make_option('--reload-server-config',
                     action='store_true', dest='reload_server_config', default=False,
                     help=_('reload a buildbot master server configuration')),
         make_option('--stop-server',
                     action='store_true', dest='stop_server', default=False,
                     help=_('stop a buildbot master server')),
         make_option('--daemon',
                     action='store_true', dest='daemon', default=False,
                     help=_('start as daemon')),
         make_option('--pidfile', metavar='PIDFILE',
                     action='store', dest='pidfile', default=None,
                     help=_('pid file location')),
         make_option('--logfile', metavar='LOGFILE',
                     action='store', dest='logfile', default=None,
                     help=_('log file location')),
         make_option('--slaves-dir', metavar='SLAVESDIR',
                     action='store', dest='slaves_dir', default=None,
                     help=_('directory with slave files (only with --start-server)')),
         make_option('--buildbot-dir', metavar='BUILDBOTDIR',
                     action='store', dest='buildbot_dir', default=None,
                     help=_('directory with buildbot work files (only with --start-server)')),
         make_option('--mastercfg', metavar='CFGFILE',
                     action='store', dest='mastercfgfile', default=None,
                     help=_('master cfg file location (only with --start-server)')),
         make_option('--step',
                     action='store_true', dest='step', default=False,
                     help=_('exec a buildbot step (internal use only)')),
         ])
Esempio n. 43
0
 def __init__(self):
     Command.__init__(self, [
         make_option('-a', '--autogen',
                     action='store_true', dest='autogen', default=False,
                     help=_('always run autogen.sh')),
         make_option('-c', '--clean',
                     action='store_true', dest='clean', default=False,
                     help=_('run make clean before make')),
         make_option('', '--distclean',
                     action='store_true', dest='distclean', default=False,
                     help=_('completely clean source tree')),
         make_option('--check',
                     action='store_true', dest='check', default=False,
                     help=_('run make check after building')),
         make_option('-d', '--dist',
                     action='store_true', dest='dist', default=False,
                     help=_('run make dist after building')),
         make_option('--distcheck',
                     action='store_true', dest='distcheck', default=False,
                     help=_('run make distcheck after building')),
         make_option('-n', '--no-network',
                     action='store_true', dest='nonetwork', default=False,
                     help=_('skip version control update')),
         make_option('-q', '--quiet',
                     action='store_true', dest='quiet', default=False,
                     help=_('quiet (no output)')),
         make_option('-D', metavar='DATE-SPEC',
                     action='store', dest='sticky_date', default=None,
                     help=_('set a sticky date when checking out modules')),
         make_option('-x', '--no-xvfb',
                     action='store_true', dest='noxvfb', default=False,
                     help=_('run tests in real X and not in Xvfb')),
         make_option('-N', '--no-poison',
                     action='store_true', dest='nopoison', default=False,
                     help=_("don't poison modules on failure")),
         make_option('-f', '--force',
                     action='store_true', dest='force_policy', default=False,
                     help=_('build even if policy says not to')),
         make_option('--min-age', metavar='TIME-SPEC',
                     action='store', dest='min_age', default=None,
                     help=_('skip modules installed less than the given time ago')),
         ])
Esempio n. 44
0
 def __init__(self):
     Command.__init__(
         self,
         [
             make_option(
                 "--honour-config",
                 action="store_true",
                 dest="honour_config",
                 default=False,
                 help=_("honour the makeclean setting in config file"),
             ),
             make_option(
                 "--distclean",
                 action="store_true",
                 dest="distclean",
                 default=False,
                 help=_("completely clean source tree"),
             ),
         ],
     )
Esempio n. 45
0
 def __init__(self):
     Command.__init__(
         self,
         [
             make_option(
                 "--soft-deps",
                 action="store_true",
                 dest="soft_deps",
                 default=False,
                 help=_("add dotted lines to soft dependencies"),
             ),
             make_option(
                 "--clusters",
                 action="store_true",
                 dest="clusters",
                 default=False,
                 help=_("group modules from metamodule together"),
             ),
         ],
     )
Esempio n. 46
0
 def __init__(self):
     Command.__init__(self, [
         make_option('-o',
                     '--output',
                     metavar='FILE',
                     action='store',
                     dest='output',
                     default=None),
         make_option('--devhelp-dirname',
                     metavar='DIR',
                     action='store',
                     dest='devhelp_dirname',
                     default=None),
         make_option('--no-cache',
                     action='store_true',
                     dest='nocache',
                     default=False),
         make_option('--all-modules',
                     action='store_true',
                     dest='list_all_modules',
                     default=False),
     ])
Esempio n. 47
0
 def __init__(self):
     Command.__init__(self, [
         make_option('-a', '--autogen',
                     action='store_true', dest='autogen', default=False,
                     help=_('always run autogen.sh')),
         make_option('-c', '--clean',
                     action='store_true', dest='clean', default=False,
                     help=_('run make clean before make')),
         make_option('', '--distclean',
                     action='store_true', dest='distclean', default=False,
                     help=_('completely clean source tree')),
         make_option('--check',
                     action='store_true', dest='check', default=False,
                     help=_('run make check after building')),
         make_option('-d', '--dist',
                     action='store_true', dest='dist', default=False,
                     help=_('run make dist after building')),
         make_option('--distcheck',
                     action='store_true', dest='distcheck', default=False,
                     help=_('run make distcheck after building')),
         make_option('-n', '--no-network',
                     action='store_true', dest='nonetwork', default=False,
                     help=_('skip version control update')),
         make_option('-q', '--quiet',
                     action='store_true', dest='quiet', default=False,
                     help=_('quiet (no output)')),
         make_option('-D', metavar='DATE-SPEC',
                     action='store', dest='sticky_date', default=None,
                     help=_('set a sticky date when checking out modules')),
         make_option('-x', '--no-xvfb',
                     action='store_true', dest='noxvfb', default=False,
                     help=_('run tests in real X and not in Xvfb')),
         make_option('-f', '--force',
                     action='store_true', dest='force_policy', default=False,
                     help=_('build even if policy says not to')),
         make_option('--min-age', metavar='TIME-SPEC',
                     action='store', dest='min_age', default=None,
                     help=_('skip modules installed less than the given time ago')),
         ])
Esempio n. 48
0
 def __init__(self):
     Command.__init__(
         self,
         [
             make_option(
                 "--in-builddir",
                 metavar="MODULE",
                 action="store",
                 dest="in_builddir",
                 default=None,
                 help=_("run command in build dir of the given module"),
             ),
             make_option(
                 "--in-checkoutdir",
                 metavar="MODULE",
                 action="store",
                 dest="in_checkoutdir",
                 default=None,
                 help=_("run command in checkout dir of the given module"),
             ),
         ],
     )
Esempio n. 49
0
 def __init__(self):
     Command.__init__(self, [
         make_option('--dump',
                     action='store_true',
                     default=False,
                     help=_('Machine readable list of missing sysdeps')),
         make_option('--dump-all',
                     action='store_true',
                     default=False,
                     help=_('Machine readable list of all sysdeps')),
         make_option('--install',
                     action='store_true',
                     default=False,
                     help=_('Install pkg-config modules via system')),
         make_option(
             '--assume-yes',
             action="store_true",
             default=False,
             dest="assume_yes",
             help=
             _('assume yes/the default answer to interactive questions during installation of system '
               + 'dependencies"'))
     ])
Esempio n. 50
0
 def __init__(self):
     Command.__init__(self, [
         make_option('-r', '--show-revision',
                     action='store_true', dest='show_rev', default=False,
                     help=_('show which revision will be built')),
         make_option('-s', '--skip', metavar='MODULES',
                     action='append', dest='skip', default=[],
                     help=_('treat the given modules as up to date')),
         make_option('-t', '--start-at', metavar='MODULE',
                     action='store', dest='startat', default=None,
                     help=_('start list at the given module')),
         make_option('--tags',
                     action='append', dest='tags', default=[],
                     help=_('build only modules with the given tags')),
         make_option('--ignore-suggests',
                     action='store_true', dest='ignore_suggests', default=False,
                     help=_('ignore all soft-dependencies')),
         make_option('--list-optional-modules',
                     action='store_true', dest='list_optional_modules', default=False,
                     help=_('also list soft-dependencies that could be skipped')),
         make_option('-a', '--all-modules',
                     action='store_true', dest='list_all_modules', default=False,
                     help=_('list all modules, not only those that would be built')),
         ])
Esempio n. 51
0
 def __init__(self):
     Command.__init__(
         self,
         [
             make_option('-a',
                         '--autogen',
                         action='store_true',
                         dest='_unused',
                         default=False,
                         help=optparse.SUPPRESS_HELP),  # no longer used
             make_option('-c',
                         '--clean',
                         action='store_true',
                         dest='clean',
                         default=False,
                         help=_('run make clean before make')),
             make_option('--check',
                         action='store_true',
                         dest='check',
                         default=False,
                         help=_('run make check after building')),
             make_option('-d',
                         '--dist',
                         action='store_true',
                         dest='dist',
                         default=False,
                         help=_('run make dist after building')),
             make_option('--distcheck',
                         action='store_true',
                         dest='distcheck',
                         default=False,
                         help=_('run make distcheck after building')),
             make_option('-n',
                         '--no-network',
                         action='store_true',
                         dest='nonetwork',
                         default=False,
                         help=_('skip version control update')),
             make_option('-q',
                         '--quiet',
                         action='store_true',
                         dest='quiet',
                         default=False,
                         help=_('quiet (no output)')),
             make_option(
                 '-D',
                 metavar='DATE-SPEC',
                 action='store',
                 dest='sticky_date',
                 default=None,
                 help=_('set a sticky date when checking out modules')),
             make_option('-x',
                         '--no-xvfb',
                         action='store_true',
                         dest='noxvfb',
                         default=False,
                         help=_('run tests in real X and not in Xvfb')),
             make_option('-f',
                         '--force',
                         action='store_true',
                         dest='force_policy',
                         default=False,
                         help=_('build even if policy says not to')),
             make_option(
                 '--min-age',
                 metavar='TIME-SPEC',
                 action='store',
                 dest='min_age',
                 default=None,
                 help=_(
                     'skip modules installed less than the given time ago')
             ),
         ])
Esempio n. 52
0
 def __init__(self):
     Command.__init__(self, [
         make_option('-D', metavar='DATE-SPEC',
                     action='store', dest='sticky_date', default=None,
                     help=_('set a sticky date when checking out modules')),
         ])
Esempio n. 53
0
 def __init__(self):
     Command.__init__(self, [
         make_option('-a',
                     '--autogen',
                     action='store_true',
                     dest='autogen',
                     default=False,
                     help=_('always run autogen.sh')),
         make_option('',
                     '--distclean',
                     action='store_true',
                     dest='distclean',
                     default=False,
                     help=_('completely clean source tree')),
         make_option('-c',
                     '--clean',
                     action='store_true',
                     dest='clean',
                     default=False,
                     help=_('run make clean before make')),
         make_option('--check',
                     action='store_true',
                     dest='check',
                     default=False,
                     help=_('run make check after building')),
         make_option('-d',
                     '--dist',
                     action='store_true',
                     dest='dist',
                     default=False,
                     help=_('run make dist after building')),
         make_option('--distcheck',
                     action='store_true',
                     dest='distcheck',
                     default=False,
                     help=_('run make distcheck after building')),
         make_option('--ignore-suggests',
                     action='store_true',
                     dest='ignore_suggests',
                     default=False,
                     help=_('ignore all soft-dependencies')),
         make_option('-n',
                     '--no-network',
                     action='store_true',
                     dest='nonetwork',
                     default=False,
                     help=_('skip version control update')),
         make_option('-q',
                     '--quiet',
                     action='store_true',
                     dest='quiet',
                     default=False,
                     help=_('quiet (no output)')),
         make_option('-s',
                     '--skip',
                     metavar='MODULES',
                     action='append',
                     dest='skip',
                     default=[],
                     help=_('treat the given modules as up to date')),
         make_option('-t',
                     '--start-at',
                     metavar='MODULE',
                     action='store',
                     dest='startat',
                     default=None,
                     help=_('start building at the given module')),
         make_option('--tags',
                     action='append',
                     dest='tags',
                     default=[],
                     help=_('build only modules with the given tags')),
         make_option('-D',
                     metavar='DATE-SPEC',
                     action='store',
                     dest='sticky_date',
                     default=None,
                     help=_('set a sticky date when checking out modules')),
         make_option('-x',
                     '--no-xvfb',
                     action='store_true',
                     dest='noxvfb',
                     default=False,
                     help=_('run tests in real X and not in Xvfb')),
         make_option(
             '-C',
             '--try-checkout',
             action='store_true',
             dest='trycheckout',
             default=False,
             help=_('try to force checkout and autogen on failure')),
         make_option('-N',
                     '--no-poison',
                     action='store_true',
                     dest='nopoison',
                     default=False,
                     help=_("don't poison modules on failure")),
         make_option('-f',
                     '--force',
                     action='store_true',
                     dest='force_policy',
                     default=False,
                     help=_('build even if policy says not to')),
         make_option(
             '--build-optional-modules',
             action='store_true',
             dest='build_optional_modules',
             default=False,
             help=_('also build soft-dependencies that could be skipped')),
         make_option(
             '--min-age',
             metavar='TIME-SPEC',
             action='store',
             dest='min_age',
             default=None,
             help=_('skip modules installed less than the given time ago')),
         make_option('--nodeps',
                     action='store_false',
                     dest='check_sysdeps',
                     default=None,
                     help=_('ignore missing system dependencies')),
     ])
Esempio n. 54
0
 def __init__(self):
     Command.__init__(self, [])
Esempio n. 55
0
 def __init__(self):
     Command.__init__(self)