* 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>
* 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>
purge-packages: purge package that are not found in the tree
purge-versions: purge versions that are not found in the tree
Also, only purge versions of packages specified on the command line
when called without --all.
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>