Sha256: fcc515a317f577ba56bd0232a80469e9ed3be0d53476aa14cb98574faeea8c77

Contents?: true

Size: 307 Bytes

Versions: 21

Compression:

Stored size: 307 Bytes

Contents

# Utility methods for handling Apt staging server.

module Pkg::Util::AptStagingServer
  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
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
packaging-0.102.0 lib/packaging/util/apt_staging_server.rb