lp:~inspirated/launchpad/implement-Bug-findAttachments
Created by
Kamran Riaz Khan
and last modified
- 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
Propose for merging
No branches
dependent on this one.
- Robert Collins (community): Abstain
- Graham Binns (community): Disapprove (code)
- Björn Tillenius: Pending requested
-
Diff: 234 lines (+175/-0)7 files modifiedlib/lp/bugs/configure.zcml (+1/-0)
lib/lp/bugs/interfaces/bug.py (+10/-0)
lib/lp/bugs/model/bug.py (+61/-0)
lib/lp/bugs/tests/test_bug_find_attachment.py (+87/-0)
lib/lp/bugs/tests/testfiles/sample-attachment-lorem.txt (+4/-0)
lib/lp/bugs/tests/testfiles/sample-attachment-repeatchars.txt (+7/-0)
lib/lp/bugs/tests/testfiles/sample-attachment-unicode.txt (+5/-0)
Branch information
Recent revisions
- 11020. By Kamran Riaz Khan
-
Removed urllib2 usage in Bug.findAttachm
ents() by opening attachments
directly. - 11018. By Kamran Riaz Khan
-
Use encode(
'unicode_ escape' ) instead of urllib.quote() for multiline
searches - 11017. By Kamran Riaz Khan
-
Changes in Bug.findAttachm
ents():
* Use Boyer-Moore-Horspool algorithm to search attachments in chunks
* Fixed unicode and multiline unittests - 11016. By Kamran Riaz Khan
-
Added support for multi-line searches in Bug.findAttachm
ents() using
is_encoded parameter - 11014. By Kamran Riaz Khan
-
Changes in Bug.findAttachm
ents():
* Limited the size of attachments that can be searched to 8 MB
* Modified searching to go-through attachments line-wise
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