volpino
a85f7e71c1
euscanwww: Version.version_type -> Version.vtype
...
Signed-off-by: volpino <fox91@anche.no>
2012-07-17 12:30:55 +02:00
volpino
c4577c5279
euscanwww: Store ebuild and metadata path in Version
...
Uses getRepositoryPath, change if possible
Signed-off-by: volpino <fox91@anche.no>
2012-07-17 11:36:59 +02:00
volpino
02be58024a
euscanwww: Minor fixes
...
Signed-off-by: volpino <fox91@anche.no>
2012-07-09 18:15:34 +02:00
volpino
3be52a710c
euscanwww: Changing RefreshPackageQuery.query to ForeignKey
...
Signed-off-by: volpino <fox91@anche.no>
2012-07-07 15:46:35 +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
bdff6b7c63
euscanwww/scan_portage: try using gentoopm and fix slots
...
gentoopm is still slower with portage backend, will try pkgcore
backend later.
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-03 10:56:14 +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
Corentin Chary
ba805536ad
euscanwww: add --category to scan_metadata, remove homepage and description
...
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-02 11:19:49 +02:00
Corentin Chary
093cb4da47
euscanwww/scan_portage: fixes and add --category
...
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-02 09:43:31 +02:00
volpino
71f71c5b58
euscanwww: fixed commit_on_success
...
Signed-off-by: volpino <fox91@anche.no>
2012-06-30 19:21:43 +02:00
volpino
f43ab3ae3d
euscanwww: fixing merge
...
Signed-off-by: volpino <fox91@anche.no>
2012-06-30 18:36:45 +02:00
volpino
94b814481b
euscanwww: adding elem.clear() to prevent memory leaking in xml parsing
...
Signed-off-by: volpino <fox91@anche.no>
2012-06-30 11:03:24 +02:00
volpino
c184628f48
Merge branch 'master' of https://github.com/iksaif/euscan
...
Conflicts:
euscanwww/djeuscan/processing/scan_portage.py
Signed-off-by: volpino <fox91@anche.no>
2012-06-30 10:39:18 +02:00
volpino
0c5a0ac36f
euscanwww: Using incremental xml parsing for portage scanning
...
Signed-off-by: volpino <fox91@anche.no>
2012-06-30 10:28:03 +02:00
Corentin Chary
9e6f885f89
djeuscan/scan_portage: fix purge-packages and purge-versions
...
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>
2012-06-30 10:19:07 +02:00
volpino
fc7f929038
euscanwww: Fixed broken tasks
...
Signed-off-by: volpino <fox91@anche.no>
2012-06-29 17:25:45 +02:00
volpino
951624759a
euscanwww: Fixing tasks
...
Fixing minor bugs in tasks.py and little related stuff
Signed-off-by: volpino <fox91@anche.no>
2012-06-27 10:15:30 +02:00
volpino
8fdac1014c
euscanwww: Adding infos to EuscanResults
...
Now we store metadata, output from euscan is cleaned from colors
encoding when outputting json
Signed-off-by: volpino <fox91@anche.no>
2012-06-26 18:13:28 +02:00
volpino
d7e0a4ca16
euscanwww: Tweaked processing.scan_portage to use eix --xml
...
Signed-off-by: volpino <fox91@anche.no>
2012-06-26 17:16:02 +02:00
volpino
779ccdf5d3
euscanwww: use logging in djeuscan.processing
...
Signed-off-by: volpino <fox91@anche.no>
2012-06-22 11:31:15 +02:00
volpino
9bfd728d4f
euscanwww: Moved business logic to djeuscan.processing
...
Moved stuff from management commands to djeuscan.processing
Signed-off-by: volpino <fox91@anche.no>
2012-06-22 09:32:39 +02:00