summaryrefslogtreecommitdiff
path: root/patchtracker
AgeCommit message (Collapse)AuthorFilesLines
2009-11-12add squeeze to the list of tracked releasesSean Finney1-1/+1
2009-10-26shuffle the logic in PackageCmd to allow exact matches for < 3 lettersSean Finney1-5/+8
2009-09-30Revert "oops, the length should be two not one"Sean Finney1-2/+1
This reverts commit 7bacd4e7b2f521be3d2bf6494547c60ddf2426b3. actually, it should be one.
2009-09-30oops, the length should be two not oneSean Finney1-1/+2
2009-09-30when no version is specified, do not cache PackageCmdSean Finney1-1/+2
2009-09-06Revert "try both utf8 and latin-1 for contents in Patch constructor"Sean Finney1-5/+1
This reverts commit ee7e7301434b1cf8b3baa4d839fdbf2f05617e91.
2009-09-06Revert "Revert "remove some extra print statements that only cause problems""Sean Finney1-5/+5
This reverts commit a9ffd60188742f144d1a8d49f93b05f8e34c39d7. d'oh, i reverted the wrong commit. this re-adds the wrongly reverted commit.
2009-09-06Revert "remove some extra print statements that only cause problems"Sean Finney1-5/+5
This reverts commit c2ef848129e03d5486ff3d084d903a7ef7ea658b.
2009-09-06try both utf8 and latin-1 for contents in Patch constructorSean Finney1-1/+5
thanks to Raphael Geissert for catching this
2009-09-05remove some extra print statements that only cause problemsSean Finney1-5/+5
while some of them are printed only in the case of error, mod_wsgi doesn't allow sys.stdout access and therefore they're useless anyway.
2009-09-03add extra indicator config variable for compressed lists file.Sean Finney1-0/+6
2009-09-01remove superflous import of DiffGzHandler from SourceArchiveSean Finney1-2/+0
2009-09-01track the size of the diff.gz file in DiffGzHandlerSean Finney1-0/+3
this can be used later to do things like pre-emptive caching of large files, etc.
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