示例#1
0
 def handle(self, *args, **options):
     set_verbosity_level(logger, options.get("verbosity", 1))
     update_counters(
         fast=options["fast"],
         nolog=options["nolog"],
         logger=logger,
     )
示例#2
0
    def handle(self, *args, **options):
        set_verbosity_level(logger, options.get("verbosity", 1))

        if options["all"] or options["category"]:
            packages = None

        elif len(args):
            packages = [pkg for pkg in args]
        else:
            packages = [pkg[:-1] for pkg in sys.stdin.readlines()]

        scan_metadata(packages=packages, category=options["category"], logger=logger, populate=options["populate"])
示例#3
0
    def handle(self, *args, **options):
        set_verbosity_level(logger, options.get("verbosity", 1))

        if options['all']:
            packages = None

        elif len(args):
            packages = [pkg for pkg in args]
        else:
            packages = [pkg[:-1] for pkg in sys.stdin.readlines()]

        scan_upstream(
            packages=packages,
            purge_versions=options["purge-versions"],
            logger=logger,
        )
示例#4
0
    def handle(self, *args, **options):
        set_verbosity_level(logger, options.get("verbosity", 1))

        if options['all'] or options['category']:
            packages = None
        elif len(args):
            packages = [pkg for pkg in args]
        else:
            packages = [pkg[:-1] for pkg in sys.stdin.readlines()]

        scan_portage(
            packages=packages,
            category=options['category'],
            no_log=options["no-log"],
            purge_packages=options["purge-packages"],
            purge_versions=options["purge-versions"],
            upstream=options["upstream"],
            logger=logger,
        )
示例#5
0
 def handle(self, *args, **options):
     set_verbosity_level(logger, options.get("verbosity", 1))
     regen_rrds(logger=logger)
示例#6
0
 def handle(self, *args, **options):
     set_verbosity_level(logger, options.get("verbosity", 1))
     stabilization_candidates(logger=logger)
示例#7
0
 def handle(self, *args, **options):
     set_verbosity_level(logger, options.get("verbosity", 1))
     update_portage_trees(logger=logger)