summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-05-02Add filesizeformat filter to sizes in reports/bigEvangelos Foutras
We also add a new 'filesize' tablesorter parser that handles all the suffixes found in django's filesizeformat filter. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-05-02Document how to sync releng isonamesDieter Plaetinck
Signed-off-by: Dieter Plaetinck <dieter@plaetinck.be> Signed-off-by: Dan McGee <dan@archlinux.org>
2011-05-02Simplify instructions to load all fixtures in READMEDan McGee
Difference from Dieter's original patch: do it in one step, and add a bit more information. Original-work-by: Dieter Plaetinck <dieter@plaetinck.be> Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-29Add unneeded orphans reportDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-29Change big packages reportDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-29Use single quotes only in dev report viewDan McGee
2011-04-29releng: auto-deactivate old ISO namesDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-29releng: final touches before public showingrelease_2011-04-29Dan McGee
* Move URL prefix to /releng/feedback/ * Move link on main page to Development, not Community Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-29releng: make rollback fs a standard_optionDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-29releng: enhance admin, remove errant print statementDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-28Merge branch 'releng'Dan McGee
2011-04-28releng: add initial migrationDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-28Rename isotests to relengDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-28Remove more hardcoded isotests linksDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-28isotests: massive overview refactorDan McGee
Copy pasted code sucks. Fix it. Also, ensure 500 errors aren't going to be popping up when people start typing invalid URLs for fun, among a lot of other small fixes going in here. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-28isotests: clean up submissin formDan McGee
Don't show stupid '-----' entries with radio buttons, remove the list item style since we have radio buttons or checkboxes everywhere anyway. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-28isotests: move form metaclass to end of definitionDan McGee
To match our style everywhere else. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-28isotests: record submission IP addressDan McGee
Helps a lot if we start seeing bogus submissions to track down and suppress the issue. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-28isotests: make the various pages a bit more usefulDan McGee
Instructions are nice, as are links to other pages that actually flow with the style of the rest of the site. Also fix the styling of the labels on the results entry page as it looked a bit funky before. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-28isotests: update some syntax and ways of doing thingsDan McGee
To be more Django-like, Pythonic, or to fit better in the existing archweb project. Also add some created fields to the models, as storing dates for anything is almost always a good idea. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-28isotests: Cleaned up the page titles and syncisos commandTom Willemsen
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-28isotests: modelines, imports, url and passTom Willemsen
* Added vim modelines to files. * Rearranged import statements. * Moved the arch releng isos url to settings.py. * Fixed some issues that arose from forgetting to import the isotests urls package. * removed redundant str() calls. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-28isotests: various changes and updatesTom Willemsen
* isotests/fixtures/clockchoices.json: changed 'default' to 'unchanged' * isotests/fixtures/filesystems.json: removed 'check the installed system' line from one of the options * isotests/fixtures/modules.json: added 'ext2','ext3','ext4','swap','xfs','jfs','reiserFS' * isotests/models.py: * Added RollbackOption abstract class that adds the functions get_rollback_success_test and get_rollback_failed_test on top of the IsoOption abstract class for use with the Filesystem and Module classes since Test uses these both in 2 ways (regular and rollback). This keeps them seperated. * renamed the related names of these properties from rollback_test to rollback_test_set (seems more in-tune with the other relations) * isotests/views.py: * changed the order of the fields, the automatic order makes no sense. * Added help texts to the fields success, filesystem, rollback_filesystem and rollback_modules. * Removed help text from modules (made no sense) * Added a website field, should remain empty, a simplistic way to hopefully reduce spambot entries. * templates/isotests/results.html: * Removed the rollback yes/no section * The rollback labels should check get_rollback_success_test and get_rollback_failed_test. * Rollback checkbox removed. * Clearly tell users that success must only be selected if everything works right. * Clearly tell users to only fill in the rollback options if they did a rollback. * Added a thanks page that tells people thanks. * Added links between the pages. * Added links to lists with tests of either a specific iso or of any iso where a specific option was selected. Signed-off-by: Dan McGee <dan@archlinux.org> Conflicts: templates/isotests/results.html
2011-04-28isotests: add syncisos commandTom Willemsen
* Installtype fixture places 'interactive' at the top now. * Added a syncisos command to isotests to get new iso names from http://releng.archlinux.org/isos/ and add them to the database. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-28isotests: style cleanup, ui improvementsTom Willemsen
* Using radio buttons for widgets is smarter. * Model names cleanup. * Test.ms: totally un-descriptive field name, should be modules. * models, Iso: Likely need more than a date field here. Removed date and added name. * get_success_test/get_failed_test: now on abstract superclass * tests.py: I wasn't using these, so I might as well remove it. * admin.py: convention is not to use * imports. * models.py: "# Create your models here." -> not needed. * urls.py: I wasn't using info_dict anymore; I had a blank second pattern definition, and I should follow indentation patterns from elsewhere in the project. * views.py, add: switched to using mostly direct_to_template to avoid some of the boilerplate. * isotest/templates: was old, not used. * I had 4 + 1 templates, but only two views- these other ones were old, unnecessary and not wired up. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-28isotests: view updates, choices->models, show results, adminTom Willemsen
* Started changing the view portion * Changed choices to models * Show the latest failed/succeeded tests on results page * Added some more admin pages Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-28isotests: entry and listing of release engineering testsTom Willemsen
Add a new project for entry and listing of testing results for our release ISOs. This will assist the release engineering team with determining a good ISO to make into the real deal. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-25Add links to developer reportsDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-25Developer reportsDan McGee
This commit adds four initial developer reports that are hopefully useful to developers and packages in checking up on the state of things. They include: * big : the 100 biggest packages in the repos * old : packages built > 2 years ago * uncompressed-man : self-explanatory * uncompressed-info : self-explanatory There should obviously be some sort of index page to access all of these, so that will be coming soon. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-23Update repos fixture with new fieldsrelease_2011-04-23Dan 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-18Add a "Report a Bug" linkDan McGee
We need Flyspray category data to make this more useful, and we can prefill the Subject and Category fields (along with putting it on the right project). Implements FS#23751. 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-18mirrors: pylint discovered cleanupsDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-18Never parse generated lastsync fileDan McGee
We should be encouraging our mirrors to serve us the original file, not something they create and come up with. 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-16Add some simple template caching on developer dashboardDan 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-12Add optional country override for individual mirror URLsDan McGee
This allows a named top-level mirror to have geographically distributed URLs, e.g. kernel.org and the geo-DNS setup. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-09Show more info about todolists on developer dashboardrelease_2011-04-09Dan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-09Rename local variables for clarityDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-09Ascii-ize the todo list email package listDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-07Utilize Django 1.3 'on_delete' feature on several foreign keysDan McGee
The most important one here is PROTECT to keep people from making bone-headed plays and deleting an Arch or Repo and every package along with it. We can use this in a few other places, as well as some carefully placed SET_NULL indicators. Note that nothing here pushes deletion responsibilities down to the database, although that will probably happen in a future commit. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-07Update requirements.txt for Django 1.3Dan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-07Convert todolist delete to class-based viewDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-07Convert generic views in urls.py to class-basedDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-07Consolidate caching black magicDan McGee
Get the stuff used to retrieve and refresh the latest date values all in the same place, and make it a bit more beautiful by refactoring it all into a common set of methods. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-07Add some migrations to convert database to UTC timeDan McGee
This follows the earlier commit where we make sure any value going to or being pulled from the database is UTC. 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>