lp:~inspirated/launchpad/implement-Bug-findAttachments

Created by Kamran Riaz Khan on 2010-06-15 and last modified on 2010-06-17
Get this branch:
bzr branch lp:~inspirated/launchpad/implement-Bug-findAttachments
Only Kamran Riaz Khan can upload to this branch. If you are Kamran Riaz Khan please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Kamran Riaz Khan
Project:
Launchpad itself
Status:
Development

Recent revisions

11021. By Kamran Riaz Khan on 2010-06-17

Minor changes to improve unittest readability.

11020. By Kamran Riaz Khan on 2010-06-17

Removed urllib2 usage in Bug.findAttachments() by opening attachments
directly.

11019. By Kamran Riaz Khan on 2010-06-17

Minor changes to improve code readability.

11018. By Kamran Riaz Khan on 2010-06-17

Use encode('unicode_escape') instead of urllib.quote() for multiline
searches

11017. By Kamran Riaz Khan on 2010-06-16

Changes in Bug.findAttachments():
 * Use Boyer-Moore-Horspool algorithm to search attachments in chunks
 * Fixed unicode and multiline unittests

11016. By Kamran Riaz Khan on 2010-06-16

Added support for multi-line searches in Bug.findAttachments() using
is_encoded parameter

11015. By Kamran Riaz Khan on 2010-06-15

Fixed Bug.findAttachments() to use preferred encoding instead of UTF-8

11014. By Kamran Riaz Khan on 2010-06-15

Changes in Bug.findAttachments():
 * Limited the size of attachments that can be searched to 8 MB
 * Modified searching to go-through attachments line-wise

11013. By Kamran Riaz Khan on 2010-06-15

Fixed unicode searches in Bug.findAttachments()

11012. By Kamran Riaz Khan on 2010-06-15

Added unit tests for Bug.findAttachments() method

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:launchpad/db-devel
This branch contains Public information 
Everyone can see this information.

Subscribers