Commit Graph

60 Commits

Author SHA1 Message Date
volpino
b41ffe3609 euscanwww: PEP8 fixes
Signed-off-by: volpino <fox91@anche.no>
2013-02-23 12:29:05 +01:00
Corentin Chary
b2726bd058 fixes 2013-01-16 10:08:24 +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
Corentin Chary
0efe8292b1 Don't remove everything, only cache 2012-11-12 23:26:43 +01:00
volpino
b838f3cb59 Merge branch 'master' of https://github.com/iksaif/euscan
Signed-off-by: volpino <fox91@anche.no>
2012-11-04 18:04:22 +01:00
Corentin Chary
5c460e895a djeuscan/tasks: fix update_portage() and layman --sync 2012-11-04 12:30:22 +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
Corentin Chary
808acfe13a django-recaptcha 0.0.5 compat
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-10-29 13:06:05 +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
Corentin Chary
1fc42e083d Merge remote-tracking branch 'origin/master'
Conflicts:
	euscanwww/djeuscan/templates/euscan/accounts/euscan_email.txt

Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-09-14 10:31:19 +02:00
Corentin Chary
32506e252a euscanwww: small scan related fixes
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-09-14 10:29:06 +02:00
volpino
519f335966 euscan: PEP8 compliant code
Signed-off-by: volpino <fox91@anche.no>
2012-08-15 15:37:55 +02:00
Corentin Chary
bbfcc3d6d5 euscan: misc fixes
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-08-15 11:04:29 +02:00
Corentin Chary
97830775c8 djeuscan: fix some small bugs
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-08-14 09:11:23 +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
volpino
952d9505b2 euscan/euscawww: Removing unused imports, fixed some typos and PEP8 cleaning
Signed-off-by: volpino <fox91@anche.no>
2012-08-07 09:39:49 +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
04265dacff euscan: just PEP8 cleaning
Signed-off-by: volpino <fox91@anche.no>
2012-07-27 11:33:27 +02:00
Corentin Chary
89408dde2b djeuscan: pkg.metadata can fail
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-26 21:18:31 +02:00
volpino
7b9560ced0 euscanwww: Moving from XXXAssociation to UserProfile
Signed-off-by: volpino <fox91@anche.no>
2012-07-26 14:37:03 +02:00
volpino
266838b308 euscanwww: == None -> is None
Signed-off-by: volpino <fox91@anche.no>
2012-07-24 09:03:14 +02:00
volpino
fd12bf1cb4 Merge branch 'master' of https://github.com/iksaif/euscan
Conflicts:
	euscanwww/djeuscan/processing/scan/scan_portage.py

Signed-off-by: volpino <fox91@anche.no>
2012-07-24 08:15:56 +02:00
volpino
2b09bfba8a euscan: Progressbar on stderr
Signed-off-by: volpino <fox91@anche.no>
2012-07-24 08:10:56 +02:00
Corentin Chary
7e911bd9c6 djeuscan: use debug to dump json on error
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-24 08:03:42 +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
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
Corentin Chary
65618e3056 djeuscan: portage. can be used instead of PORTDB
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-21 07:36:35 +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
3d8ea27ecc Merge branch 'master' of https://github.com/iksaif/euscan 2012-07-20 11:58:07 +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
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
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