From a11bfdc54f324ad916f189b2505bc37fde304eed Mon Sep 17 00:00:00 2001 From: Corentin Chary Date: Sun, 27 Nov 2011 16:25:44 +0100 Subject: [PATCH] euscan: fix a bug with htop versions Signed-off-by: Corentin Chary --- TODO | 13 +++++++++++-- pym/euscan/helpers.py | 3 ++- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/TODO b/TODO index f04e097..3c275ce 100644 --- a/TODO +++ b/TODO @@ -19,14 +19,23 @@ euscanwww --------- - add last scan in the footer -- add json/xml for each page (with a *real* API) (using django-piston !) - rss scan world + post ? - add an /about/config page that describe the current config (overlays, stuff in make.conf, euscan default settings, etc..) +- add a table for overlays, change euscan_versions + +### Commands + +- euscan_init: init local tree (portage, layman, eix) +- euscan_addoverlay: add a layman overlay +- euscan_sync [--async|--sync]: sync portage, overlays, caches +- euscan_scan [--async|--sync] [--all|--category=|--herd=|--maintainer=|--package=]: scan local +- euscan_uscan [--async|--sync] [--all|--category=|--herd=|--maintainer=|--package=]: scan upstream ### Scan process - Move to celery: - periodic task for emerge --sync; layman -S; eix-update etc... (every day ?) -- periodic task for euscan (once every week, groupped by category) +- periodic task for euscan (once every week, groupped by category or package ?) This would allow easier on-demand refresh from web interface + diff --git a/pym/euscan/helpers.py b/pym/euscan/helpers.py index 0c5430c..e987ba2 100644 --- a/pym/euscan/helpers.py +++ b/pym/euscan/helpers.py @@ -69,7 +69,8 @@ def version_is_nightly(a, b): ''' Try to skip nightly builds when not wanted (www-apps/moodle) ''' if len(a) != len(b) and len(b) == 2 and len(b[0]) == len('yyyymmdd'): - return True + if b[0][:4] != '0000': + return True return False def version_blacklisted(cp, version):