get_selections(config,
options,
iface_uri,
select_only,
download_only,
test_callback,
requirements=None)
| source code
|
Get selections for iface_uri, according to the options passed. Will
switch to GUI mode if necessary.
- Parameters:
options - options from OptionParser
iface_uri (str) - canonical URI of the interface
select_only (bool) - return immediately even if the selected versions aren't cached
download_only (bool) - wait for stale feeds, and display GUI button as Download, not Run
requirements (Requirements) - requirements to use; if None, requirements come from options
(since 1.15)
config (zeroinstall.injector.config.Config)
- Returns: selections.Selections | None
- the selected versions, or None if the user cancels
|