Commit Graph

26 Commits

Author SHA1 Message Date
Corentin Chary
55bc34b075 fixes 2013-07-10 09:43:36 +02:00
Corentin Chary
0c59e72a8a djeuscan: small scan fixes 2013-04-02 10:17:37 +02:00
volpino
12b504961d euscanwww: Added category description, overlay description, homepage and path
Minor changes:
- Fixed broken tests (alive field was still there)
- Added plural to Category model

Signed-off-by: volpino <fox91@anche.no>
2013-02-23 12:29:05 +01:00
volpino
b41ffe3609 euscanwww: PEP8 fixes
Signed-off-by: volpino <fox91@anche.no>
2013-02-23 12:29:05 +01:00
Corentin Chary
e42ba7dfd0 djeuscan: rework the scan process, don't use alive anymore
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-12-12 22:54:50 +01:00
volpino
48c1eadab4 Merge branch 'master' of https://github.com/iksaif/euscan
Conflicts:
	TODO
	euscanwww/djeuscan/processing/scan/scan_portage.py
	euscanwww/djeuscan/tasks.py
	euscanwww/djeuscan/templates/euscan/_package_details.html

Signed-off-by: volpino <fox91@anche.no>
2012-10-30 20:27:37 +01:00
Corentin Chary
90c7f27b95 djeuscan/processing: fix scan_upstream after scan_portage
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-10-29 13:06:06 +01:00
volpino
75b5bcc32f euscanwww: Adding an option to run upstream scanning after an update in portage
Signed-off-by: volpino <fox91@anche.no>
2012-10-29 13:06:03 +01:00
volpino
57c80cf954 euscanwww: Adding an option to run upstream scanning after an update in portage
Signed-off-by: volpino <fox91@anche.no>
2012-09-14 17:22:18 +02:00
volpino
1bb4f14faa euscanwww: Adding more options to preferences, implementing more filters for feeds
Signed-off-by: volpino <fox91@anche.no>
2012-08-11 13:32:56 +02:00
Corentin Chary
0c97fcd42e euscanwww: some optimizations
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-08-03 21:59:09 +02:00
volpino
6178d66f0d euscanwww: removing unused import and PEP8 cleaning
Signed-off-by: volpino <fox91@anche.no>
2012-07-29 10:13:17 +02:00
Corentin Chary
6ce658fa0d euscan: stuff
(yeah, sorry ..)

Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-28 11:39:38 +02:00
volpino
67654ee0b4 euscan: Progressbar on stderr
Signed-off-by: volpino <fox91@anche.no>
2012-07-25 16:53:16 +02:00
Corentin Chary
b0cd34ed75 djeuscan: portage. can be used instead of PORTDB
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-23 18:49:41 +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
Corentin Chary
8743e9d1e1 euscan: move version type helpers to euscan.version
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-20 09:04:15 +02:00
Corentin Chary
2544af2e32 euscanwww/tasks: simplify tasks
- 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>
2012-07-20 08:42:38 +02:00
volpino
b052f2e8b8 euscanwww: scan_portage get paths using eix and PORTDB
Signed-off-by: volpino <fox91@anche.no>
2012-07-17 16:34:33 +02:00
volpino
be146163f6 euscanwww: Displaying unstable versions in package view
Signed-off-by: volpino <fox91@anche.no>
2012-07-17 13:18:44 +02:00
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
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