euscan: cleanups

Signed-off-by: Corentin Chary <corentincj@iksaif.net>
This commit is contained in:
Corentin Chary 2012-03-28 09:08:42 +02:00
parent 76a1121c9f
commit 37a9a742c3
2 changed files with 3 additions and 1 deletions

2
TODO
View File

@ -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
- <upsteam><watch options="quirck1 quirck2">http://my.soft/tar-(\d+).ball</watch></upstream>
- 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....

View File

@ -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):