Commit Graph

223 Commits

Author SHA1 Message Date
Corentin Chary
f670645747 Revert "djeuscan: helpers.py is actually unused"
This reverts commit 8146dc1f44.
2012-07-25 17:08:19 +02:00
Corentin Chary
1a7efc58a7 djeuscan: tweak admin.py
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-25 16:53:17 +02:00
Corentin Chary
a12e2c42ea djeuscan: move problem to another page, use an icon, restrict to registered
We may move it back to the package page later.

Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-25 16:53:17 +02:00
volpino
e2890c6364 euscan: Added watch handler, fixed generic one
Signed-off-by: volpino <fox91@anche.no>
2012-07-25 16:53:17 +02:00
volpino
795dcb1414 euscanwww: == None -> is None
Signed-off-by: volpino <fox91@anche.no>
2012-07-25 16:53:17 +02:00
volpino
67654ee0b4 euscan: Progressbar on stderr
Signed-off-by: volpino <fox91@anche.no>
2012-07-25 16:53:16 +02:00
volpino
cf8f9ae9cc euscanwww: From fixture to south data migration
Signed-off-by: volpino <fox91@anche.no>
2012-07-25 16:53:16 +02:00
Corentin Chary
8146dc1f44 djeuscan: helpers.py is actually unused
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-25 16:53:16 +02:00
Corentin Chary
7cdd10f028 Revert "djeuscan: helpers.py is actually unused"
This reverts commit be9d28c255.
2012-07-24 09:04:20 +02:00
Corentin Chary
9d905166be djeuscan: smaller icons, change refresh icon
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-24 08:09:47 +02:00
Corentin Chary
96a5a91e0c djeuscan: remove empty CELERYBEAT_SCHEDULE
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-24 08:09:17 +02:00
Corentin Chary
fe7a81654b djeuscan: switch to ansi2html
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-24 08:08:37 +02:00
Corentin Chary
e0a5308463 djeuscan: add euscan result log into a variable
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-24 08:07:09 +02:00
Corentin Chary
6bb42d72fc djeuscan: display confidence and tweak result display
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-24 08:06:10 +02:00
Corentin Chary
3d6126cf81 djeuscan: run scan_metadata(packages=None, populate=True)
Scan only additional stuff, not packages.

Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-24 08:05:12 +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
9617fd25a1 djeuscan: add cp() and cpv() for Package and Version
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-24 07:59:00 +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
be9d28c255 djeuscan: helpers.py is actually unused
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-23 18:49:41 +02:00
volpino
edf549bc40 euscanwww: added fixture for periodic tasks
Signed-off-by: volpino <fox91@anche.no>
2012-07-21 10:00:12 +02:00
volpino
0d4e8283ae euscanwww: added alert on refresh request, added missing pull-right
Signed-off-by: volpino <fox91@anche.no>
2012-07-20 17:20:18 +02:00
volpino
10cb482294 euscanwww: Icons for watching and refreshing, a user can refresh only once
Signed-off-by: volpino <fox91@anche.no>
2012-07-20 17:10:12 +02:00
volpino
c6f2baa0e6 euscanwww: color code fix for json hilighting
Signed-off-by: volpino <fox91@anche.no>
2012-07-20 16:30:37 +02:00
volpino
ad02fd4b81 euscanwww: Added ansi to html helper
Signed-off-by: volpino <fox91@anche.no>
2012-07-20 15:12:44 +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
609eff60ab euscanwww: Launch scan_portage per category like scan_metadata
Signed-off-by: volpino <fox91@anche.no>
2012-07-20 14:11:09 +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
6f9e575bbc euscanwww: add missing file
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-20 08:42:38 +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
c483ac41f1 euscanwww: using djcelery.schedulers.DatabaseScheduler for periodic tasks
Signed-off-by: volpino <fox91@anche.no>
2012-07-18 17:16:31 +02:00
volpino
8268e634f0 euscanwww: Report problems is hided and can be shown with a click
Signed-off-by: volpino <fox91@anche.no>
2012-07-17 19:05:26 +02:00
volpino
d70e4cb617 euscanwww: Adding unstable to legenda
Signed-off-by: volpino <fox91@anche.no>
2012-07-17 16:53:28 +02:00
volpino
748fa12462 euscanwww: Display unstable versions in package table list
Signed-off-by: volpino <fox91@anche.no>
2012-07-17 16:51: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
b7d772dfc3 euscanwww: Tests unwatch too
Signed-off-by: volpino <fox91@anche.no>
2012-07-14 16:43:12 +02:00
volpino
66db910583 euscanwww: Tests for watch packages/categories/maintainers/herds
Signed-off-by: volpino <fox91@anche.no>
2012-07-14 16:22:02 +02:00
volpino
c0aefdef29 euscanwww: Started writing tests for favourite stuff but login fails
Signed-off-by: volpino <fox91@anche.no>
2012-07-14 15:29:42 +02:00
volpino
bd2af29ff7 euscanwww: Basic user dashboard
Signed-off-by: volpino <fox91@anche.no>
2012-07-14 13:56:21 +02:00
volpino
aa09812f6f euscanwww: Migration for handling ebuild and metadata paths
Signed-off-by: volpino <fox91@anche.no>
2012-07-14 13:55:56 +02:00
volpino
fab19a6bfc euscanwww: Watch/unwatch packages, categories, maintainers, overlays
Added a button for watch/unwatch and a dashboard with user selected
stuff only

Signed-off-by: volpino <fox91@anche.no>
2012-07-10 16:15:06 +02:00
volpino
02be58024a euscanwww: Minor fixes
Signed-off-by: volpino <fox91@anche.no>
2012-07-09 18:15:34 +02:00
volpino
379a6d2942 euscanwww: Adding a problem reporting form in package page
Signed-off-by: volpino <fox91@anche.no>
2012-07-09 14:29:42 +02:00
volpino
03cf3b90a4 euscanwww: Upgraded to Celery 3.0 and fixed scan_portage
Fixed TaskSet calls and synchronous stuff. Everything should be
deadlock safe

Signed-off-by: volpino <fox91@anche.no>
2012-07-07 18:09:14 +02:00