Commit Graph

8 Commits

Author SHA1 Message Date
Corentin Chary
0efe8292b1 Don't remove everything, only cache 2012-11-12 23:26:43 +01:00
Corentin Chary
5c460e895a djeuscan/tasks: fix update_portage() and layman --sync 2012-11-04 12:30:22 +01:00
Corentin Chary
1fc42e083d Merge remote-tracking branch 'origin/master'
Conflicts:
	euscanwww/djeuscan/templates/euscan/accounts/euscan_email.txt

Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-09-14 10:31:19 +02:00
Corentin Chary
32506e252a euscanwww: small scan related fixes
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-09-14 10:29:06 +02:00
volpino
519f335966 euscan: PEP8 compliant code
Signed-off-by: volpino <fox91@anche.no>
2012-08-15 15:37:55 +02:00
Corentin Chary
bbfcc3d6d5 euscan: misc fixes
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-08-15 11:04:29 +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