Skip to content

Commit

Permalink
euscan: fix a bug with htop versions
Browse files Browse the repository at this point in the history
Signed-off-by: Corentin Chary <corentincj@iksaif.net>
  • Loading branch information
iksaif committed Nov 27, 2011
1 parent 7ff2655 commit a11bfdc
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
13 changes: 11 additions & 2 deletions TODO
Original file line number Diff line number Diff line change
Expand Up @@ -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=<category>|--herd=<herd>|--maintainer=<maintainer>|--package=<package>]: scan local
- euscan_uscan [--async|--sync] [--all|--category=<category>|--herd=<herd>|--maintainer=<maintainer>|--package=<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

3 changes: 2 additions & 1 deletion pym/euscan/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit a11bfdc

Please sign in to comment.