summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-09-02move the profile/pstats import into run_profileSean Finney1-1/+1
this way if the app is being run on a machine that does not have python-profiler installed it will still function unless specifically told to profile.
2009-09-01update apache config to include WSGIDaemonProcess and friendsSean Finney1-0/+10
sample apache2 config now includes the various WSGI options needed to run as a dedicated user.
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-01consolidate profiling in pagehandler, removing duplicate codeSean Finney1-7/+11
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 Finney2-10/+12
2009-09-01add new .gitignore masks for cache, profile and index filesSean Finney1-0/+3
2009-08-31even better profiling, new -o output cmdline optionSean Finney1-4/+8
use cProfile instead of profile, it's much faster and better as long as it doesn't need to be extended. the -o option redirects the output to the specified file, instead of printing it to stdout (or not printing it, both of which aren't very good for general testing/profiling purposes).
2009-08-31allow for pagehandler args to be passed on cmdlineSean Finney1-13/+29
2009-08-31initial support for profilingSean Finney1-3/+13
2009-08-31add simple getopt support to pagehandler.pySean Finney1-0/+15
while this isn't intended for mod_wsgi deployments, it opens up some new oppurtunities for cmdline testing (specifying a URL to avoid invoking the wsgiref server, enabling profiling, etc).
2009-07-26initial support for PTS index file generationSean Finney3-1/+52
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 Finney2-1/+23
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-07-26pass the patch tracker root via PYTHONPATH to repreproSean Finney1-2/+3
the diffsonly.py script called via reprepro needs to know where the patch tracker root is so that it can include configuration options from the same central location.
2009-07-26minor changes to required software in READMESean Finney1-8/+8
2009-07-21get README up to date with realitySean Finney1-19/+37
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-12add a base href to skeleton templatesean finey1-0/+1
2009-02-12updated apache conf for wsgiwsgisean finey1-9/+15
2009-02-12more gracefully find what should be the installation rootsean finey1-7/+5
2009-02-11mod_python -> wsgisean finey2-54/+77
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...
2009-01-08d'oh. html validation fix for anchor name tagsSean Finney1-12/+8
2009-01-08add background-color attribute for body{}Sean Finney1-0/+1
2009-01-08include anchor name tags in package pageSean Finney1-4/+12
2009-01-08use min-height instead of height, it's prettierSean Finney1-1/+1
2008-12-30add documentation about "email search"Sean Finney1-0/+2
2008-12-29add a sample apache configurationSean Finney1-0/+14
2008-12-29missed one module rename from the initial ptcgi -> ReqHandlerSean Finney1-1/+1
2008-12-29migrate from cgi to mod_pythonSean Finney2-167/+192
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-12-29fix absolute link in quick jump formSean Finney1-1/+1
2008-09-12add a local configuration file ignored by gitSean Finney2-0/+6
2008-09-11more TODO cut/paste from emailSean Finney1-0/+41
2008-09-11incorporate some suggestions/updates into TODOSean Finney1-0/+46
2008-09-08two maintainer email fixesSean Finney2-3/+3
2008-09-08Revert previous database representation changesSean Finney4-82/+50
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 Finney3-5/+7
2008-09-04don't allow package searches < 3 charsSean Finney1-1/+4
2008-09-04add utf-8 encoding commentSean Finney1-0/+1
2008-09-04better database maintainer representationSean Finney4-44/+84
2008-09-04change root_url to '' by defaultSean Finney1-1/+1
2008-09-03consolidate the FK triggersSean Finney1-34/+13
2008-09-03maintainer support in frontendSean Finney2-3/+21
2008-09-03initial, slightly stupid, maintainer support in databaseSean Finney3-4/+10
2008-09-02add slash to solo root_url to prevent empty hrefSean Finney1-1/+1
2008-09-02new ReleaseList class to order project releasesSean Finney4-11/+19
2008-09-02add experimental to reprepro configSean Finney1-0/+5
2008-07-06add automatic archive updating supportSean Finney1-1/+8