Commit Graph

7 Commits

Author SHA1 Message Date
volpino
266838b308 euscanwww: == None -> is None
Signed-off-by: volpino <fox91@anche.no>
2012-07-24 09:03:14 +02:00
Corentin Chary
5d39cbf2fd djeuscan: in scan_metadata, if packages=None, skip packages scan
But if packages=[], scan all packages.

Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-24 07:59:40 +02:00
volpino
1aaee90ab7 euscanwww: take herds.xml path as an argument
Signed-off-by: volpino <fox91@anche.no>
2012-07-20 14:15:28 +02:00
volpino
7dc322348d euscanwww: PEP8, Cleaning unused imports and removing useless stuff
* Removed useless use of chords
* populate in scan_metadata is off by default
* fixed group_one and scan_metadata launch
* removed useless utils.py

Signed-off-by: volpino <fox91@anche.no>
2012-07-20 14:07:16 +02:00
volpino
2245698326 euscanwww: scan_metadata populates db from herds.xml
* Every herd has a m2m relation with maintainers
* New method populate_herds_and_maintainers to fill data in from herds.xml

Signed-off-by: volpino <fox91@anche.no>
2012-07-20 11:50:16 +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