From 37a9a742c3d2f25393b14652c625bd0863824e17 Mon Sep 17 00:00:00 2001 From: Corentin Chary Date: Wed, 28 Mar 2012 09:08:42 +0200 Subject: [PATCH] euscan: cleanups Signed-off-by: Corentin Chary --- TODO | 2 ++ euscanwww/api/handlers.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/TODO b/TODO index 393dc79..7e373b4 100644 --- a/TODO +++ b/TODO @@ -9,6 +9,7 @@ GSoC Ideas euscan ------ +- run euscan on .ebuild (see /usr/bin/ebuild + os.environ['PORTDIR_OVERLAY'] - check other distros (youri, distrowatch, distromatch, whoas; Equivalent-Packages) - steal ideas from other tools (uscan, portscout) - steal data from other tools (dehs) @@ -17,6 +18,7 @@ euscan - http://my.soft/tar-(\d+).ball - cleaner code to separate gentoo mangled version and upstream unmangled versions - try to import $PV -> $MY_PV transformations from ebuilds ? + - http://euscan.iksaif.net/package/net-misc/ntp/ 4.2.6p5 -> 4.2.6_p5 - Add a way to how we failled to find a new version - add a HTTP cache (1day, configurable) - add a way to enable/disable methods: other_distributions,remote_euscan,handlers, etc.... diff --git a/euscanwww/api/handlers.py b/euscanwww/api/handlers.py index 5e073a5..2a3b4e6 100644 --- a/euscanwww/api/handlers.py +++ b/euscanwww/api/handlers.py @@ -7,10 +7,10 @@ from django.forms.models import model_to_dict from euscan.models import Version, Package, Herd, Maintainer, EuscanResult, VersionLog from euscan.forms import WorldForm, PackagesForm -from api.emitters import EuscanXMLEmitter # replace default XMLEmitter with ours from piston.emitters import Emitter +from api.emitters import EuscanXMLEmitter Emitter.register('xml', EuscanXMLEmitter, 'text/xml; charset=utf-8') def xint(i):