euscan: fix a bug with htop versions
Signed-off-by: Corentin Chary <corentincj@iksaif.net>
This commit is contained in:
parent
7ff26556d1
commit
a11bfdc54f
13
TODO
13
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=<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
|
||||
|
||||
|
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user