evorepo/devel
Dan McGee 5ca2cea388 reporead: revamp database parsing code
This needed a little sprucing up as it has grown quite organically over the
life of this script. Make things a bit more pythonic through the use of
iterators rather than collection indexing, and try to generalize the special
cases of things a bit.

Also catch encoding problems early and fail gracefully rather than blow up
the entire package parser. A failed decode of a file should cause us to just
skip it rather than stop the entire parser.  Worst case, this leaves that
package out of the web interface.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-12 12:32:13 -05:00
..
management reporead: revamp database parsing code 2010-09-12 12:32:13 -05:00
__init__.py Initial import for public release... 2007-11-03 03:45:10 -04:00
models.py Add credential requirements tests to devel app 2009-12-01 23:26:14 -02:00
tests.py Add credential requirements tests to devel app 2009-12-01 23:26:14 -02:00
utils.py Restore flagged package count by maintainer in dashboard 2010-09-10 18:27:18 -05:00
views.py Check for correct permission when creating users 2010-09-12 10:20:00 -05:00