summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2011-06-29Use normal date format on signoffs pageDan McGee1-1/+1
Fixes FS#24949. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-28Add a bad compression ratio reportDan McGee2-1/+21
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-28Add order_by to packager count queryDan McGee1-2/+2
No real idea why SQLite is returning wrong results without out this, but it is likely a bug in the ORM layer I'm not interested in digging into. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-27Adjust CSS to make front page news look betterDan McGee1-1/+2
A code element inside a pre block looked like ass, which is how markdown generates indented code blocks. Drop the bright yellow from these code elements, and while we are at it, also lighten up the yellow a bit as it stands out way too much. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-24Fix syntax errors, == not =Dan McGee1-2/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-24Don't include staging packages in todolistsDan McGee1-2/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-24Add Package.in_staging methodDan McGee1-0/+11
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-24Set up queries for staging reposDan McGee2-11/+19
This treats repo.staging special in much the way we already have to treat repo.testing as special. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-24Add (hidden) ability to search by last packagerDan McGee3-13/+40
This is used from the developer dashboard to add a new column to the stats of # of packages for a given developer where they were the last to do the packaging. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-24Add a rematch_packager management commandDan McGee3-4/+80
This allows quick resolution of all unmatched packages, especially after tweaking the way find_user works. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-24Turn find_user into UserFinder classDan McGee3-58/+103
This moves the cache inside an instance. Also add a few more tests. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-24find_user: add tests and fix no email address caseDan McGee2-9/+62
If a packager string was passed in without an email address, we would blow up on the matcher and not try to find a user. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-24Move find_user method to devel utilsDan McGee2-50/+59
This could be handy elsewhere as well, and it is loosely coupled to anything else in reporead. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-24Revert "Remove unused flagged() manager method"Dan McGee1-0/+4
Far from unneeded, this is used on the developer dashboard. Silly me. Document this fact as well in the code so we don't screw it up again. This reverts commit 2a44855556531a27e949884d4084c6e5d37082e1.
2011-06-21Nicer formatting of PGP key display valueDan McGee1-3/+14
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-20Differentiate between no filelist and empty filelistDan McGee2-3/+10
We had these two cases munged together before; some packages have seen filelist updates but simply don't have any files ('firefox-i18n' for example). Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-16Remove automatic search redirection on count = 1Dan McGee1-3/+0
This is really annoying. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-15Add a base pages sitemapDan McGee3-3/+36
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-15Use correct date in news sitemapDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-15Fix out of date testDan McGee1-4/+1
A version of this view is now publicly available, so it returns 200. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-15Remove unused flagged() manager methodDan McGee1-3/+0
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-15Refactor common select_related into manager methodDan McGee7-22/+21
For a Package object query, we almost always did .select_related('arch', 'repo). Refactor this into the manager as a 'normal()' method so we can avoid sprinkling the same logic everywhere. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-15PositiveBigIntegerField: set get_internal_type() correctlyDan McGee1-1/+1
This is a key for Django to return the DB type that matches this value. Since we are basically just ripping off a BigIntegerField, we can use the database types for it. This makes my prior checked in migrations actually work on MySQL. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-15Add CSS for staging repos packagesDan McGee1-0/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-15Update to jQuery 1.4.4Dan McGee3-167/+168
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-15Simplify jQuery CDN tagDan McGee1-15/+10
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-15Add named devel URLsDan McGee1-2/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-15Add JSON package details and files viewsDan McGee3-14/+48
These are retrieved by adding 'json/' to the normal package details or files view. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-15Link to stale relations pageDan McGee1-0/+4
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-15Add some more developer linksDan McGee1-4/+8
This should take care of FS#24022 as well. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-15Mark several package columns as non-NULLDan McGee2-4/+177
These have been around for a long time now so they don't need to be NULL-able anymore. We can also add a custom field type for our numbers to at least get a check constraint at the Django level. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-15Allow mirror country field to be persisted to DB as NULLDan McGee2-3/+78
You need a custom field type in Django to allow this. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-15reporead: small memory/perf improvementsDan McGee1-3/+5
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-15reporead: two small cleanupsDan McGee1-15/+17
* Parse builddate when reading from repo database file * Use defaultdict where it comes in handy Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-13Add a long out-of-date developer reportDan McGee2-1/+9
This shows packages that have been marked out of date for more than 90 days in the repos. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-10Fix busted batch score on package removalDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-10reporead: allow batching of package updatesDan McGee1-9/+49
The real reason I originally added transactions to this code was to prevent half-updates; e.g. a package gets in without the matching depends values. We can safely commit between packages and resume processing the database at a later time. Take advantage of this fact and commit every so often in batch fashion if we have a lot of updates piling up. In the case of updating the files DB, this can really cut down on the need to hold open a long-running, statement heavy transaction and get the information public faster. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-09Management command cleanupDan McGee2-27/+5
Now that we aren't seeing odd segfaults and hung tasks, we can remove the traceback stuff from the scripts. Also use the 'io' module only, it has been long enough. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-02Add a PGP key field on the dev profileDan McGee6-3/+207
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-05-27Remove now uneeded pytz bug workaroundDan McGee1-3/+1
2011-05-24clarify that issues should still be reported on the bugtrackerDieter Plaetinck1-3/+7
Signed-off-by: Dieter Plaetinck <dieter@plaetinck.be> Signed-off-by: Dan McGee <dan@archlinux.org>
2011-05-15Use proper punctuation/grammar in help textDan McGee1-3/+3
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-05-15Fix typo introduced in fixture creationDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-05-15releng: Add more (and more precise) clock choicesTom Willemsen1-3/+52
Signed-off-by: Tom Willemsen <ryuslash@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
2011-05-15Remove stale JS remnantDan McGee1-35/+0
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-05-15Allow screening developer reports by maintainerDan McGee4-13/+40
A simple link is added for each user, but the URLs are flexible enough to screen by any maintainer if you know how they are constructed. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-05-15releng: Place helptext closer to its option listTom Willemsen1-0/+1
Place all the elements with the helptext class that follow a <ul> closer to the <ul>. Signed-off-by: Tom Willemsen <ryuslash@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
2011-05-12Put most recent ISOs first in listsDan McGee1-2/+3
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-05-10Put the period in the correct placeDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-05-10Ensure releng modules links work correctlyDan McGee1-9/+10
Signed-off-by: Dan McGee <dpmcgee@gmail.com>