* 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>
- 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>
Fixed tasks to work with processing.* changes.
Moved periodic tasks config to settings.py using CELERYBEAT_SCHEDULE
Signed-off-by: volpino <fox91@anche.no>
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>