API call port

Port internal source package

An internal 'port' is a no-changes (i.e., only the changelog will be adapted)
rebuild of the given locally-installed package.

When ``from_distribution`` equals ``to_distribution``, a rebuild will be done.

Authorization: STAFF
Clear
source: Source package name

Format: Plain string
Clear
from_distribution: Distribution name (<codename>-<id>-<suite>[-rollback<n>])

Format: Plain string
Clear
to_distributions: Distribution names

Format: List as comma-separated strings
Optional arguments
Clear
version: Port exactly this version. Use as safeguard, or for rare cases of multiple version of the same package in one distribution (in different components)

Format: Plain string
Clear Paste default
options: List of upload options, separated by '|':

  (lintian|piuparts|autopkgtest)-mode[<arch>]=<mode>
    'DISABLED' (Don't run check), 'IGNORE' (Run check but ignore results), 'ERRFAIL' (Run check and fail on errors), 'WARNFAIL' (Run check and fail on warnings)
  internal-apt-priority[<arch>]=<prio>
    Apt prio for our repo packages when building (use 500 to always prefer).
  auto-ports=<dist>,...
    List of distributions (comma-separated) to automatically run ports for after successful install.
  deb-build-options[<arch>]=<option> <option>...
    Contents of DEB_BUILD_OPTIONS environment for building (see https://www.debian.org/doc/debian-policy/ch-source.html#debian-rules-and-deb-build-options).
  deb-build-profiles[<arch>]=<profile> <profile>...
    Contents of DEB_BUILD_PROFILES environment for building (see https://wiki.debian.org/BuildProfileSpec).
  add-depends[<arch>]=<dep>,<dep>...
    List of additional dependencies (comma-separated, like in ``debian/control``) (see ``sbuild --add-depends``).


Format: Plain string
output: Desired result format

html: Return result as HTML (popup with JS, else full HTML page)
plain: Plain result
json: Return raw json result


Format: Choice