lp://staging/~dooferlad/lava-dispatcher/fix-url-encoding
- Get this branch:
- bzr branch lp://staging/~dooferlad/lava-dispatcher/fix-url-encoding
Branch merges
- Linaro Validation Team: Pending requested
-
Diff: 55 lines (+29/-2)1 file modifiedlava_dispatcher/downloader.py (+29/-2)
Branch information
Recent revisions
- 634. By James Tunnicliffe
-
Update the URL quoting logic so the query section is not mangled incorrectly. This involves using ursplit (not urlparse, which doesn't work with new style URLS where you can have parameters in the path). The path, query and fragment sections (should) now be correctly % encoded.
- 626. By Antonio Terceiro
-
Refactor handling of configuration directories
The configuration search path is now unconditionally set to:
$HOME/
.config/ lava-dispatcher
${VIRTUAL_ENV}/etc/ lava-dispatcher
${lava_dispatcher_ root}/lava_ dispatcher/ default- config/ lava-dispatcher If the VIRTUAL_ENV environment variable is not set, then it will read
configuration from /etc/lava-dispatcher (as expected). - The search path is now exposed to client code by the
lava_dispatcher. config. search_ path() function - The path for *writing* configuration files is exported in the write_path()
function.- Each individual directory in the search path can be accessed by the variables
user_config_ path, system_config_path and default_ config_ path. - Switched from /etc/xdg/
lava-dispatcher to /etc/lava- dispatcher. Because of
the previous state of the code, where a specific config_dir was always passed
in and there was no way of overriding it, /etc/xdg/lava-dispatcher was never
actually used by anybody, so the risk of this change is zero.- Removed passing around of configuration directory.
- --config-dir switch in command line tools was kept and has the same behaviour
as before. If a custom config dir is passed, both user and system-wide
directories are ignored, and only the custom directory and the hardcoded
defaults are used. - 625. By Yongqin Liu
-
fix to treat ADBConnectError as err in run method of job.py, so that we can get the trace of the error
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://staging/lava-dispatcher