Age | Commit message (Collapse) | Author |
|
|
|
Rather than load one package at a time and put unnecessary load on the
database, load them all at once upfront since we are going to need 99% of
them anyway. This shifts the burden of work from the database to the python
script itself.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
|
|
|
|
|
|
|
|
This patch adds URL to the fields to be updated on package update.
Path is a fix for the following scenario:
- a package is added at one point.
- later a url is changed or added.
- when the package is updated, the following fields are updated:
pkgver, pkgrel, pkgdesc, needupdate, last_update
There was an original assumption, that some fields were very seldom changed,
and it would not have make sense from a performance standpoint to update the
fields that never changed, since the update mechanism was written using the
django orm..which is 'chatty'.
NOTE: It is rather pointless to do a compare to test if the field has changed.
It is more performant to simply update the field regardless.
|
|
|
|
|
|
- Fix for reporead when description is empty.
- Fix for settings.py. Middleware wasn't found (changed import name)
- Clarity change for dashboard.
|
|
|
|
|
|
Chop so we don't throw mysql errors when we try to commit.
|
|
Added them to the django admin interface as well.
|
|
|
|
|
|
|
|
reporead uses the same model files, and needs access to the db anyway.
|
|
|
|
Special Note
Prior to git import, approx 90% of the code was done by Judd Vinet. Thanks Judd!
|