summaryrefslogtreecommitdiff
path: root/patchtracker
AgeCommit message (Collapse)AuthorFilesLines
2011-09-17enumerate_packages() moved in class PatchTrackerDB.Giovanni Mascellani1-0/+7
2011-09-17Fix small bug with filenames that contain commas.Giovanni Mascellani1-2/+2
When tokenizing the "diffstat -t" output, commas inside the filename shouldn't be considered. We achive it by splitting only on the first three commas.
2011-09-17Added export_for_udd.py script.Giovanni Mascellani1-0/+9
2011-09-17Save memory by not loading the filtered patch.Giovanni Mascellani1-12/+9
2011-09-17Added ghost patches support.Giovanni Mascellani3-26/+59
The ghost options disable the actual loading in memory of the patches. When you just want to know the number of patches or their stats, this saves quite a lot of memory and CPU time.
2011-09-17Move makeDiffHandler in DB, so it can be used in other contexts.Giovanni Mascellani2-14/+22
2011-02-20First stab at extracting suites into a local conf valueSean Finney2-2/+13
2011-02-20etch is out, wheezy is inSean Finney1-6/+6
2010-11-07Explicitly close a popen3(patch) fd to avoid lockupsSean Finney1-0/+1
Thanks to Bernhard R. Link for the suggestion.
2010-03-05Allow blank lines and comments in quilt series filesSean Finney1-3/+12
Thanks to Colin Watson for the suggestion.
2010-03-01allow a "3.0 (quilt)" format packages without patches.Bernhard R. Link1-3/+7
2009-12-02allow for compression formats other than gz in the debian.tar files0.20091202_quilt-3.0Sean Finney1-1/+1
2009-12-02use "Debian-diff" as "type" for both 1.0 and 3.0 (quilt) formatsSean Finney1-1/+1
there doesn't really seem to be a reason to have it apart from identifying packages that are native and non-native.
2009-12-02store the patches in Quilt30Series without the dir nameSean Finney1-2/+2
2009-12-02initial support for source package format 3.0 (quilt)Sean Finney6-31/+123
the changes aren't as pretty as i'd like them to be, but i don't want to hold things up on mere aesthetic grounds and it seems to work anyway :)
2009-11-29inject some zero-whitespace break characters in long version stringsSean Finney1-0/+5
2009-11-29remove another unused option: static_dirSean Finney1-1/+0
2009-11-29remove unused/obsolete config output_dirSean Finney1-1/+0
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.