[bitbake-devel] [PATCH 0/5] Improvements to bb.fetch2.URI class

Olof Johansson olof.johansson at axis.com
Mon Jan 20 11:03:19 UTC 2014


This patch series fixes some issues that was encountered after the URI class
was integrated to Bitbake's fetch2 package. Notably, it adds support for query
parameters. This patch series does *not* make encode/decodeurl use the URI
class, as I had issues getting uri_replace to work with it.


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.8.5.2



More information about the bitbake-devel mailing list