summaryrefslogtreecommitdiff
path: root/patchtracker
AgeCommit message (Collapse)AuthorFilesLines
2009-09-01initial implementation of selective output cachingSean Finney3-2/+101
the PackageCmd and PatchCmd classes are now cached on their first request. note that this is incomplete, as the PackageCmd is also currently used to print non-static information as well (when a package name doesn't find an exact match and it does a query).
2009-09-01small fixups to the pts index featureSean Finney1-9/+8
2009-07-26initial support for PTS index file generationSean Finney2-0/+39
a new option (-i) to ./gen-patch-info.py allows for generating a global "index" file with any and all information that the PTS might want from this system. The format is: { "index-version": N "packages": { "<pkg1>": { "url": url-for-all-versions "versions": { "<vers1>": { <various attributes> } } } } } index-version is a monotonically increasing version number. when the "schema" changes, this version is incremented. if we care enough, we can do a major-minor versioning scheme where BC breaks are differentiated from "new attribute" type changes by incrementing the major or minor versions, respectively.
2009-07-26changes to work with >> lenny versions of reprepro and python-debianSean Finney1-0/+8
reprepro now seems to default to passching the lists files uncompressed to the hook, so we deal with that gracefully either way. python-debian seems to have slightly changed how it handles some multiline fields due to starting to use the built-in apt_pkg module, see the comments in Conf.py which should point to the bug.
2009-02-12fail more gracefully if a diff.gz is missingsean finey2-3/+9
this should never happen in production as the database contains only a cache of what's on disk, but during testing on a system with the database and no archive, or in unexpected circumstances, it might be helpful to give a more informative error page.
2009-02-11mod_python -> wsgisean finey1-48/+58
i hear it's the new black. code change requirements weren't very big at all, and apparently this will work better/stabler on lenny systems, so...
2008-12-29migrate from cgi to mod_pythonSean Finney1-0/+175
previously this system was a cgi-based execution. however, this prevented us from doing a number of useful things, like throwing a 404/5xx error when an invalid page was requested. so, no we use mod_python instead...
2008-09-12add a local configuration file ignored by gitSean Finney1-0/+5
2008-09-08two maintainer email fixesSean Finney2-3/+3
2008-09-08Revert previous database representation changesSean Finney2-44/+46
This reverts commit 26a4f31bc27b021dbb332c536e7d14c65fdf54c0. This reverts commit 5578d0fad24d68ecbd12a735c444910754db50ca.
2008-09-05remove unneeded where conditionSean Finney1-2/+1
2008-09-05unicode fixesSean Finney1-4/+5
2008-09-04better output for searches, email query fixSean Finney1-1/+2
2008-09-04better database maintainer representationSean Finney2-40/+46
2008-09-04change root_url to '' by defaultSean Finney1-1/+1
2008-09-03maintainer support in frontendSean Finney1-3/+6
2008-09-03initial, slightly stupid, maintainer support in databaseSean Finney2-3/+7
2008-09-02new ReleaseList class to order project releasesSean Finney2-7/+15
2008-07-06bugfix: don't automatically prune in destructorSean Finney1-5/+10
otherwise its gets pruned every page visit, whoops.
2008-07-05remove superfluous print from Archive classSean Finney1-3/+0
2008-07-05use a "marked" field to catch stale/removed pkgsSean Finney1-2/+7
2008-07-01slightly better breadcrumbs in headerSean Finney1-9/+6
2008-06-28force -p1 for diffstat generationSean Finney1-2/+2
2008-06-28fix a long overdue XXX wrt diffgz's in pagehandlerSean Finney1-0/+10
2008-06-28xhtml compliance: esc. [^a-zA-Z0-9-] from <a name>Sean Finney1-4/+9
2008-06-28strip surrounding ws from diffstat outputSean Finney1-1/+1
2008-06-28mostly aesthetic changes and initial "breadcrumbs"Sean Finney1-2/+24
2008-06-28don't bother sorting package entries when parsingSean Finney1-3/+1
no reason to, assuming i make a better way to track progress.
2008-06-28have a "slightly" more efficient frontpage querySean Finney2-4/+17
2008-06-28db "optimizations" fsvo "optimization"Sean Finney1-8/+6
stop the voodoo with home-rolled "auto increment" type stuff. also, use sqlite "extensions" for conflict resolution (in schema for all but the source package table, which has it in saveSourcePackage), so that we don't need to check for pre-existing records. the "OR REPLACE" was doing this previously, but had wierd effects with modifying the primary key, which would cause db inconsistency and *really* wierd effects when combined with the triggers).
2008-06-28remove need for initial empty rows, fix syntax errSean Finney1-4/+4
2008-06-26package search / versionless implementationSean Finney3-42/+39
going to /packages/pkg now gives a table of contents with the available versions for the package, or the results of a widers search in the case of no exact matches also removed a bunch of dead code from DB mostly
2008-06-26add new collection row factory, query cleanupSean Finney2-42/+37
2008-06-25fix broken downloads from patch view pageSean Finney1-2/+3
2008-06-25frontpage rework and quick/dirty jump formSean Finney1-2/+1
2008-06-24modify relateSourcePackage to take package/versionSean Finney1-4/+3
...instead of a source package, which should remove an extra query and also allow changing the behaviour for findSourcePackage later on as well
2008-06-24remove debug printing cruft for db bootstrappingSean Finney1-1/+0
2008-06-24remove suite info from packagevers template etcSean Finney1-2/+1
the suite isn't readily available, and doesn't make much sense anyway since a single package/version can be shared in multiple suites.
2008-06-24add support for displaying "direct" changesSean Finney1-5/+22
i.e. changes made directly to files (not using any patching system and not underneath ./debian) also introduce new Diffstat class for mangling diff stats in various ways.
2008-06-24remove Writers, move to templates to TemplatesSean Finney1-34/+1
2008-06-24slightly optimize query logic w/ INSERT OR REPLACESean Finney1-26/+11
2008-06-23don't declare ArchiveDiffer with empty parentSean Finney1-1/+1
2008-06-23split up generator and parsing logic in ArchiveSean Finney1-5/+68
also introduce a singleton-like ArchiveDiffer class. the idea is to eventually minimize the number of db queries and speed up the archive<->database sync.
2008-06-22big commit with db and cgi handling updatesSean Finney4-75/+186
i know it's bad form to lump this all together. oh well :p gen-patch-info now does very little besides processing packages and updating the relevant database entries. pretty much everything else is dynamically generated from pagehandler.py now.
2008-06-11saving some work on sqlite related stuffSean Finney1-0/+68
2008-06-11further cgi related fixesSean Finney1-1/+1
2008-06-11initial stab at cgi-based patch generationSean Finney2-1/+12
complete with many ugly hacks to workaround the lack of an underlying database. hopefully it's all marked with XXX for later fixing :) does not cover all patch cases, in fact currently it only covers series patch viewing and downloading.
2008-06-10sorting fixups/cleanupsSean Finney1-18/+13
2008-06-10add a DiffGzHandler to the PackageVers templateSean Finney1-4/+15
2008-06-10add key-based sorting on package listingsSean Finney1-2/+6