[bitbake-devel] [PATCH 0/5] bb.fetch2.URI class fixes
Olof Johansson
olof.johansson at axis.com
Sun Mar 10 16:22:17 UTC 2013
During ELC, RP reverted the change where the encode- and
decodeurl were replaced with wrappers around the URI class
because of build failures in some corner cases. The cause of that
issue was my failure to take query strings in to account, and
that should now be solved.
This patch serie also includes some minor bug fixes to the URI
class.
On a last note, if you know of any weird/complex/unconventional
URLs in use somewhere, please let me know, and I'll add them to
the unit tests to make sure they are parsed ok.
Olof Johansson (5):
fetch2.URI: Coerce urlparse to use netloc for all schemes
tests.fetch: Remove debug assert
fetch2.URI: add support for query parameters
fetch2.URI: Support URIs with both query strings and params
fetch2.URI: Set username/password should not change the other
lib/bb/fetch2/__init__.py | 80 ++++++++++++++++++++++++++-------------------
lib/bb/tests/fetch.py | 62 ++++++++++++++++++++++++++++++++++-
2 files changed, 107 insertions(+), 35 deletions(-)
--
1.7.10.4
More information about the bitbake-devel
mailing list