Merge lp://staging/~proyvind/smart/pycurl into lp://staging/smart

Proposed by Per Øyvind Karlsen
Status: Rejected
Rejected by: Anders F Björklund
Proposed branch: lp://staging/~proyvind/smart/pycurl
Merge into: lp://staging/smart
Diff against target: 184 lines (+45/-54)
2 files modified
smart/fetcher.py (+38/-53)
tests/fetcher.py (+7/-1)
To merge this branch: bzr merge lp://staging/~proyvind/smart/pycurl
Reviewer Review Type Date Requested Status
Smart Package Manager Team Pending
Review via email: mp+20830@code.staging.launchpad.net

Description of the change

contains various fixes to make pycurl usable with smart (it's currently utterly useless and breaks smart hard in several ways without these..)

Some of the changes might not be the most optimal wrt. nice code and all, but at least it brings awareness on what's broken and how to fix :)

To post a comment you must log in.
Revision history for this message
Anders F Björklund (afb) wrote :

Just a quick note that it breaks differently on different versions of pycurl.

For instance whether or not it has multi-threading, and some other variables.

Revision history for this message
Anders F Björklund (afb) wrote :

This needs more tests. Maybe not for the "sleep", but for all the other changes.

And when the tests break, like with r948, fix the code and not the tests (r949).

Unmerged revisions

950. By Per Øyvind Karlsen

fix slow download (always < ~100K/sec} with pycurl caused by sleep()

949. By Per Øyvind Karlsen

fix so that test_404_handling pass with different error message from pycurl

948. By Per Øyvind Karlsen

make curl fail on error <http://tracker.labix.org/issue310>

947. By Per Øyvind Karlsen

fix curl 'double free' (patch from http://lists.labix.org/pipermail/smart-labix.org/2007-October/003157.html)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches