Module package: package selection dialog

This module provides basic dialog for package selection.

Module requires for running: unpack version

Module defines phase: package after PROJECT

Module defines three phase with guess: package_project after PROJECT

Module defines three phase with guess: package_basename after package_project_set

Module defines three phase with guess: package_home_page after package_basename_set

Module defines three phase with guess: package_search_uri after package_home_page_set

Module defines phase: package_download after package_search_uri_set

Module uses phase: package_download after package_search_uri_set

Module provides function for: Supported URI types: ${uris[*]}" q=package_home_page valid=project default="" string=unknown

Module provides function for: Supported URI types: ${uris[*]}" q=package_search_uri valid=project

Module provides function for: Supported URI types: ${uris[*]}" q=package_uri_${pwiz_project_version//[.-]/_} valid=product

package_collect_uri uri uri_type

uri: URI of found hyperlink

uri_type: "list": URI contains sub-URIs (directory, web page), "file": URI is file (downloadable file without links), "link": URI is hyper-reference or alias of different URI, "unknown": unknown type of URI (can be any of previous type)

returns: 0: no action needed, 1: follow this URI

Parses URI and collects guesses of versions and package URIs. (internal)

Accepts file with known extension as download candidate.

Requests following of URIs, which seems to be known type of sub-directory...

package_find_latest_version

returns: 0: known archive, 1: unknown file

returns $pwiz_result: stripped package version

Goes through all versions found and find latest conforming policy. (internal)