Commit Graph

449 Commits

Author SHA1 Message Date
volpino
112313ab7f euscan: generic handler fixes
* urljoin was broken with dirs ("http://site.com/lol" joined with "wat"
  produces http://site.com/wat)
* fixed _v regex, don't match what is not needed

Signed-off-by: volpino <fox91@anche.no>
2012-07-25 16:53:17 +02:00
volpino
9f164ed22c euscanwww: Removing useless stuff while creating watch tag
* Removing useless options or actions
* Fixing handling of substitution regex

Signed-off-by: volpino <fox91@anche.no>
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
1cf5d0726a euscan: handlers now use a Package object instead of cpv
Signed-off-by: volpino <fox91@anche.no>
2012-07-25 16:53:16 +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
volpino
83cc025170 euscan: euscan_patch_metadata --diff option
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
volpino
36e1aa6d12 euscan: euscan_path_metadata diff using difflib
Signed-off-by: volpino <fox91@anche.no>
2012-07-25 13:49:47 +02:00
volpino
21c6a9107d euscan: generic handler fixes
* urljoin was broken with dirs ("http://site.com/lol" joined with "wat"
  produces http://site.com/wat)
* fixed _v regex, don't match what is not needed

Signed-off-by: volpino <fox91@anche.no>
2012-07-25 10:44:15 +02:00
volpino
29101f88f8 euscanwww: Removing useless stuff while creating watch tag
* Removing useless options or actions
* Fixing handling of substitution regex

Signed-off-by: volpino <fox91@anche.no>
2012-07-25 10:19:27 +02:00
volpino
c35065e344 euscan: Added watch handler, fixed generic one
Signed-off-by: volpino <fox91@anche.no>
2012-07-24 17:48:20 +02:00
Corentin Chary
7cdd10f028 Revert "djeuscan: helpers.py is actually unused"
This reverts commit be9d28c255.
2012-07-24 09:04:20 +02:00
volpino
266838b308 euscanwww: == None -> is None
Signed-off-by: volpino <fox91@anche.no>
2012-07-24 09:03:14 +02:00
volpino
cc7c378648 Revert "djeuscan: helpers.py is actually unused"
This reverts commit be9d28c255.
2012-07-24 09:02:01 +02:00
volpino
8e08b6a33b euscan: handlers now use a Package object instead of cpv
Signed-off-by: volpino <fox91@anche.no>
2012-07-24 08:56:00 +02:00
Corentin Chary
99054971aa euscan: drop fixed version dependencies
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-24 08:37:31 +02:00
Corentin Chary
46c2ea6f70 euscan: use python-git for __version__
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-24 08:33:19 +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
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
fb77d201c8 Merge branch 'master' of https://github.com/iksaif/euscan 2012-07-22 10:37:34 +02:00
volpino
8f768bd4fd euscanwww: From fixture to south data migration
Signed-off-by: volpino <fox91@anche.no>
2012-07-22 10:34:13 +02:00
volpino
634c2db389 euscan: euscan_patch_metadata --diff option
Signed-off-by: volpino <fox91@anche.no>
2012-07-22 10:26:40 +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
f7340bee43 euscan: patch_metadata now handles debian diff files
Signed-off-by: volpino <fox91@anche.no>
2012-07-21 09:22:26 +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
Corentin Chary
5add4ddfcc djeuscan: helpers.py is actually unused
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-21 07:36:06 +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
0885e89cc1 euscanwww: uscan watch handle options
Signed-off-by: volpino <fox91@anche.no>
2012-07-20 16:10:53 +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
5fb076b304 euscan: remove trailing comma
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
2012-07-20 09:06:22 +02:00