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
Propose for merging
- Robert Collins (community): Abstain on 2010-07-19
- Graham Binns (community): Disapprove (code) on 2010-06-21
- Björn Tillenius: Pending requested 2010-06-16
-
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 on 2010-06-17
-
Removed urllib2 usage in Bug.findAttachm
ents() by opening attachments
directly. - 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.findAttachm
ents():
* 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.findAttachm
ents() using
is_encoded parameter - 11015. By Kamran Riaz Khan on 2010-06-15
-
Fixed Bug.findAttachm
ents() to use preferred encoding instead of UTF-8 - 11014. By Kamran Riaz Khan on 2010-06-15
-
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