aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorentin Chary <corentin.chary@gmail.com>2012-09-14 10:29:06 +0200
committerCorentin Chary <corentin.chary@gmail.com>2012-09-14 10:29:06 +0200
commit32506e252a43646ede2195e81e3e62791d2c9af0 (patch)
treeb38d39de606824503e17dae205aa23fdcebbb566 /euscanwww
parenteuscan: TODO (diff)
downloadeuscan-32506e252a43646ede2195e81e3e62791d2c9af0.tar.gz
euscan-32506e252a43646ede2195e81e3e62791d2c9af0.tar.bz2
euscan-32506e252a43646ede2195e81e3e62791d2c9af0.zip
euscanwww: small scan related fixes
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
Diffstat (limited to 'euscanwww')
-rw-r--r--euscanwww/djeuscan/management/commands/scan_upstream.py1
-rw-r--r--euscanwww/djeuscan/processing/misc/update_portage_trees.py2
-rw-r--r--euscanwww/djeuscan/tasks.py3
3 files changed, 4 insertions, 2 deletions
diff --git a/euscanwww/djeuscan/management/commands/scan_upstream.py b/euscanwww/djeuscan/management/commands/scan_upstream.py
index e941e73..a1528d4 100644
--- a/euscanwww/djeuscan/management/commands/scan_upstream.py
+++ b/euscanwww/djeuscan/management/commands/scan_upstream.py
@@ -9,7 +9,6 @@ from djeuscan.processing.scan import scan_upstream
logger = logging.getLogger(__name__)
-
class Command(BaseCommand):
_overlays = {}
diff --git a/euscanwww/djeuscan/processing/misc/update_portage_trees.py b/euscanwww/djeuscan/processing/misc/update_portage_trees.py
index e91a18c..3c52eaf 100644
--- a/euscanwww/djeuscan/processing/misc/update_portage_trees.py
+++ b/euscanwww/djeuscan/processing/misc/update_portage_trees.py
@@ -111,11 +111,11 @@ def update_portage_trees(logger=None):
logger = logger or FakeLogger()
logger.info("Running emerge --sync")
emerge_sync(logger)
+ emerge_metadata(logger)
logger.info("Running layman --sync")
layman_sync(logger, cache=True)
#logger.info("Running emerge --regen")
#emerge_regen(logger)
- emerge_metadata(logger)
logger.info("Running eix-update")
eix_update(logger)
logger.info("Done!")
diff --git a/euscanwww/djeuscan/tasks.py b/euscanwww/djeuscan/tasks.py
index acfb3d7..51e1c53 100644
--- a/euscanwww/djeuscan/tasks.py
+++ b/euscanwww/djeuscan/tasks.py
@@ -360,4 +360,7 @@ admin_tasks = [
update_portage,
update_upstream,
scan_package,
+ send_update_email,
+ send_weekly_email,
+ send_monthly_email,
]