summaryrefslogtreecommitdiff
path: root/patchtracker/Patch.py
AgeCommit message (Collapse)AuthorFilesLines
2011-09-17Added ghost patches support.Giovanni Mascellani1-18/+50
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-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-02store the patches in Quilt30Series without the dir nameSean Finney1-2/+2
2009-12-02initial support for source package format 3.0 (quilt)Sean Finney1-23/+42
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-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.
2008-06-28force -p1 for diffstat generationSean Finney1-2/+2
2008-06-28strip surrounding ws from diffstat outputSean Finney1-1/+1
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-11initial stab at cgi-based patch generationSean Finney1-1/+1
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-10updates to Patch/DiffGzHandlerSean Finney1-10/+69
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/+66
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.