module Pkg::Util::AptStagingServer
Utility methods for handling Apt staging server.
Public Class Methods
send_packages(pkg_directory, apt_component = 'stable')
click to toggle source
# File lib/packaging/util/apt_staging_server.rb, line 4 def self.send_packages(pkg_directory, apt_component = 'stable') %x(apt-stage-artifacts --component=#{apt_component} #{pkg_directory}) fail 'APT artifact staging failed.' unless $CHILD_STATUS.success? end