Пример #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))
     update_counters(
         fast=options["fast"],
         nolog=options["nolog"],
         logger=logger,
     )
Пример #3
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"])
Пример #4
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,
        )
Пример #5
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,
        )
Пример #6
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'],
        )
Пример #7
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,
        )
Пример #8
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,
        )
Пример #9
0
 def handle(self, *args, **options):
     set_verbosity_level(logger, options.get("verbosity", 1))
     stabilization_candidates(logger=logger)
Пример #10
0
 def handle(self, *args, **options):
     set_verbosity_level(logger, options.get("verbosity", 1))
     regen_rrds(logger=logger)
Пример #11
0
 def handle(self, *args, **options):
     set_verbosity_level(logger, options.get("verbosity", 1))
     stabilization_candidates(logger=logger)
Пример #12
0
 def handle(self, *args, **options):
     set_verbosity_level(logger, options.get("verbosity", 1))
     update_portage_trees(logger=logger)