euscanwww: small scan related fixes
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
This commit is contained in:
parent
a1cc8425f2
commit
32506e252a
@ -9,7 +9,6 @@ from djeuscan.processing.scan import scan_upstream
|
|||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
||||||
class Command(BaseCommand):
|
class Command(BaseCommand):
|
||||||
_overlays = {}
|
_overlays = {}
|
||||||
|
|
||||||
|
@ -111,11 +111,11 @@ def update_portage_trees(logger=None):
|
|||||||
logger = logger or FakeLogger()
|
logger = logger or FakeLogger()
|
||||||
logger.info("Running emerge --sync")
|
logger.info("Running emerge --sync")
|
||||||
emerge_sync(logger)
|
emerge_sync(logger)
|
||||||
|
emerge_metadata(logger)
|
||||||
logger.info("Running layman --sync")
|
logger.info("Running layman --sync")
|
||||||
layman_sync(logger, cache=True)
|
layman_sync(logger, cache=True)
|
||||||
#logger.info("Running emerge --regen")
|
#logger.info("Running emerge --regen")
|
||||||
#emerge_regen(logger)
|
#emerge_regen(logger)
|
||||||
emerge_metadata(logger)
|
|
||||||
logger.info("Running eix-update")
|
logger.info("Running eix-update")
|
||||||
eix_update(logger)
|
eix_update(logger)
|
||||||
logger.info("Done!")
|
logger.info("Done!")
|
||||||
|
@ -360,4 +360,7 @@ admin_tasks = [
|
|||||||
update_portage,
|
update_portage,
|
||||||
update_upstream,
|
update_upstream,
|
||||||
scan_package,
|
scan_package,
|
||||||
|
send_update_email,
|
||||||
|
send_weekly_email,
|
||||||
|
send_monthly_email,
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user