Commit Graph

7 Commits

Author SHA1 Message Date
Corentin Chary
0c97fcd42e euscanwww: some optimizations
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-08-03 21:59:09 +02:00
Corentin Chary
7e911bd9c6 djeuscan: use debug to dump json on error
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-24 08:03:42 +02:00
Corentin Chary
2544af2e32 euscanwww/tasks: simplify tasks
- strip '_task' end
- remove "launcher" functions, if we want complicated starter
  functions we will put them somewhere else later.
- now, everything is asynchroneous, maybe we could switch from
  group_one()/group_chunks() to .chunks() someday...

Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-20 08:42:38 +02:00
volpino
a85f7e71c1 euscanwww: Version.version_type -> Version.vtype
Signed-off-by: volpino <fox91@anche.no>
2012-07-17 12:30:55 +02:00
volpino
02be58024a euscanwww: Minor fixes
Signed-off-by: volpino <fox91@anche.no>
2012-07-09 18:15:34 +02:00
volpino
a6b215cec9 euscanwww: Fixed tasks to work with processing.scan and processing.misc
Fixed tasks to work with processing.* changes.
Moved periodic tasks config to settings.py using CELERYBEAT_SCHEDULE

Signed-off-by: volpino <fox91@anche.no>
2012-07-07 15:13:59 +02:00
Corentin Chary
8062fddc23 euscanwww: move processing to scan and misc, enhance update_portage_tree
update_portage_tree() now:
- watch stderr and stdout for each command
- use layman command instead of layman API for sync because
  layman API doesn't work when stdout or stderr is not a real file
  (we could probably work around that with pipes and epoll)
- use egencache instead of emerge to generate cache
- export PORTAGE_CONFIGROOT, ROOT, EIX_CACHEFILE etc.. so they
  are used everywhere

Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-02 18:16:59 +02:00