summaryrefslogtreecommitdiff
path: root/packages
AgeCommit message (Collapse)Author
2011-11-03Signoffs changes and improvementsDan McGee
* Better signoff report with more detail * Show signoff specification in signoffs view * Honor disabled/bad flags and display in approval column * Various other small bugfixes and tweaks Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-03Add signoff options form and data entry pageDan McGee
This allows the criteria and other information about certain signoffs to be overridden as necessary. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-03Make signoff_report command send emailDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-03Package signoff email report, initial revisionDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-03Refactor more package signoff stuffDan McGee
This sets up some shared utility code for use in a later package signoff email report command. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-03Many signoff page improvementsDan McGee
Add a new 'SignoffSpecification' model which will capture metadata regarding a specific package if it differs from the norm- e.g. more or less than 2 required signoffs, is known to be bad, a comment from the maintainer, etc. The groundwork is laid here; much of this will still need to be wired up in the future. Enhance the view with a lot more JS prettiness and add revoking of signoffs. The signoff page can be filtered and the links and all the fun stuff are totally dynamic now. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-10-12Revert movement of search initialization codeDan McGee
I'm stupid and didn't realize it was referenced before the location I moved it to. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-10-12Package search and sort code cleanupDan McGee
Move initializations closer to where they are actually needed, and remove the sorting on multiple columns when a sort field is passed in. We don't do this for the default sort, so let's not do it here either. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-10-12Add hidden name and desc fields to package searchDan McGee
Not linked from anywhere just yet, but they are available if you know they exist and can be used in the standard query string. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-10-11Pylint suggested and other cleanupsDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-09-19Add some dev dashboard info regarding signed package countDan McGee
This adds a column similar to the flagged package count for the number of signed packages in a given architecture or repository. It is up to the user to do some simple math to figure out the number of unsigned packages. Also, add 'signed' as a hidden search field option similar to what we did for packager. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-09-14Ensure we have a mirror URL to returnDan McGee
If our query returned zero results, then try a slightly less exclusive query followed by returning a 404 result. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-09-01Use package branches to display commit historyEvangelos Foutras
We now have one link pointing to the tree of /trunk, and another pointing to the log of /trunk. Both links specify a package branch. Signed-off-by: Evangelos Foutras <evangelos@foutrelis.com> Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-22Admin setup tweaksDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-19Ensure ampersands are properly escaped in hrefsDan McGee
This was pointed out by the W3C validator. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-16add "search wiki" link to package details pageSergej Pupykin
Dan: fix usage of urlencode() function. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-09Add a template tag to link multiple packages at onceDan McGee
Comma-separated list. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-09Add package details link tagDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-07-29Add index to package groups name fieldDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-07-29Fix package sort fieldsDan McGee
Don't list pkgname twice, include pkgbase instead. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-07-06Add a few more valid package sort fieldsDan McGee
Just for fun and for people that know what they are doing. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-07-06Refactor code to use new signoff modelDan McGee
This moves signoff creation and display to the new packages.Signoff model. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-07-06Add get_current_signoffs utility methodDan McGee
This is another SQL-based utility method that dramatically cuts back on how many queries we run and gets around the shortcoming of arbitrary joins in Django. It will be used by the new signoff page logic. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-07-06Add new packages signoff modelDan McGee
This one is centered around pkgbase, much as our PackageRelation object is. However, it also tracks all of the versioning fields we have in order to making joining against the current package testing list possible. Finally, additional metadata including a created date, an (optional) revoke date, and a comments field are added. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-07-06Move package signoff URL to more logical locationDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-07-05Simplify package differences codeDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-07-05Move set_created_field() to shared utils classDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-23Set up queries for staging reposDan McGee
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-23Add (hidden) ability to search by last packagerDan McGee
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-20Differentiate between no filelist and empty filelistDan McGee
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 McGee
This is really annoying. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-15Add a base pages sitemapDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-15Refactor common select_related into manager methodDan McGee
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-14Add JSON package details and files viewsDan McGee
These are retrieved by adding 'json/' to the normal package details or files view. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-05-03Add a created date to package relationsDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-05-03Never cache the stale relations pageDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-18Reimplement links code as template tagsDan McGee
These were starting to get a bit too much inside the model itself, and they don't really belong there as they are view layer concerns anyway. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-18packages: pylint suggested cleanupsDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-18Update out of date flag screen and emailDan McGee
Now that multiple packages get marked out of date whenever this form is processed, have the page and email itself reflect this fact. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-16Only include known values in generated search queryDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-15Remove old package search/ URLsDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-07Use UTC datetime objects everywhereDan McGee
Rather than the twisted mix of local times and UTC times we currently have. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-07Select related needed objects when pulling package detailsDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-23Fix package group unicode methodDan McGee
2011-03-23Add new package parts modelsDan McGee
This allows us to store conflicts, provisions (provides), and replacements in the database, things we weren't capturing before. All can be multivalued, just like License and PackageGroup. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-23Allow virtual base packages to display in web interfaceDan McGee
Repurpose the old group details page to show a listing of all packages built from a particular pkgbase value, even if this value is not an actual package. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-23Generalize group details pageDan McGee
We will be able to use this same table-based package listing elsewhere. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-23Use select_related() on group details pageDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-16Fix valid_value() in "LimitTypedChoiceField" class.Lukas Fleischer
We just returned the coerced value in valid_value() which may become None if the valid value "all" was passed, resulting in valid_value() evaluating to False. Explicitly returning True if the value can be coerced without an error fixes this. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-15Only set limit if we have one, else default to 50Dan McGee
This was the cause of some pretty awesome performance headaches this morning. Signed-off-by: Dan McGee <dan@archlinux.org>