summaryrefslogtreecommitdiff
path: root/patchtracker/DiffGzHandler.py
AgeCommit message (Collapse)AuthorFilesLines
2011-09-17Save memory by not loading the filtered patch.Giovanni Mascellani1-12/+9
2011-09-17Added ghost patches support.Giovanni Mascellani1-6/+7
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.
2010-11-07Explicitly close a popen3(patch) fd to avoid lockupsSean Finney1-0/+1
Thanks to Bernhard R. Link for the suggestion.
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-02-12fail more gracefully if a diff.gz is missingsean finey1-1/+4
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.
2008-06-10updates to Patch/DiffGzHandlerSean Finney1-5/+6
Patch now implements a diffstat() functionality, and is slightly more robust in series parsing at the expense of being totally ugly. Diffstat had some minor cleanups and slight improvements to __main__.
2008-06-05new classes for diff/diff.gz handlingSean Finney1-0/+67
DiffGzHandler should be an extensible interface to getting whatever info is needed from a diff.gz file. Patch (and PatchSeries from the same module) should be an extensible interface for whatever mangling we need to with patches.