From a1cc8425f2fbd4937476983c7389ad87dfa668f5 Mon Sep 17 00:00:00 2001 From: Corentin Chary Date: Fri, 14 Sep 2012 10:28:26 +0200 Subject: [PATCH 1/3] euscan: TODO Signed-off-by: Corentin Chary --- TODO | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/TODO b/TODO index eaa0d72..3ad5887 100644 --- a/TODO +++ b/TODO @@ -39,6 +39,12 @@ metadata.xml packages: - MySQL: should use http://downloads.mysql.com/archives/ - mariadb: should use http://downloads.askmonty.org/MariaDB/+releases/ +- freecode: to scan freecode.com +- remote-id: type deb repository. Example I always scan: + http://dl.google.com/linux/musicmanager/deb/dists/stable/main/binary-i386/Packages + to see if google has release an update, same would help for all google + packages and some of the actual debian packages. + Something similar could be done for rpm repositories. euscanwww --------- From 32506e252a43646ede2195e81e3e62791d2c9af0 Mon Sep 17 00:00:00 2001 From: Corentin Chary Date: Fri, 14 Sep 2012 10:29:06 +0200 Subject: [PATCH 2/3] euscanwww: small scan related fixes Signed-off-by: Corentin Chary --- euscanwww/djeuscan/management/commands/scan_upstream.py | 1 - euscanwww/djeuscan/processing/misc/update_portage_trees.py | 2 +- euscanwww/djeuscan/tasks.py | 3 +++ 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, ] From e13d54100d931ce01530119eaec08f1810105c30 Mon Sep 17 00:00:00 2001 From: Corentin Chary Date: Fri, 14 Sep 2012 10:29:24 +0200 Subject: [PATCH 3/3] euscanwww/templates: minor fixes Signed-off-by: Corentin Chary --- euscanwww/djeuscan/templates/euscan/about.html | 2 +- euscanwww/djeuscan/templates/euscan/accounts/euscan_email.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/euscanwww/djeuscan/templates/euscan/about.html b/euscanwww/djeuscan/templates/euscan/about.html index 657edfb..592af18 100644 --- a/euscanwww/djeuscan/templates/euscan/about.html +++ b/euscanwww/djeuscan/templates/euscan/about.html @@ -9,7 +9,7 @@ This web interface allow you to browse the portage tree, and find outdated ebuilds. It is designed to help maintainers monitor their packages and bump them.

- euscan code source is available at http://git.iksaif.net/?p=euscan.git;a=summary. + euscan code source is available on github.

Original Gentoo artwork and logos copyright (C) Gentoo Foundation. diff --git a/euscanwww/djeuscan/templates/euscan/accounts/euscan_email.txt b/euscanwww/djeuscan/templates/euscan/accounts/euscan_email.txt index fe609d2..b08c8a4 100644 --- a/euscanwww/djeuscan/templates/euscan/accounts/euscan_email.txt +++ b/euscanwww/djeuscan/templates/euscan/accounts/euscan_email.txt @@ -48,3 +48,4 @@ Hot packages: -- This email was sent by euscan +Go to your euscan account to change email notification settings