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.109.7 lib/packaging/util/apt_staging_server.rb
packaging-0.109.6 lib/packaging/util/apt_staging_server.rb
packaging-0.109.5 lib/packaging/util/apt_staging_server.rb
packaging-0.109.4 lib/packaging/util/apt_staging_server.rb
packaging-0.109.3 lib/packaging/util/apt_staging_server.rb
packaging-0.109.2 lib/packaging/util/apt_staging_server.rb
packaging-0.109.1 lib/packaging/util/apt_staging_server.rb
packaging-0.109.0 lib/packaging/util/apt_staging_server.rb
packaging-0.108.2 lib/packaging/util/apt_staging_server.rb
packaging-0.108.1 lib/packaging/util/apt_staging_server.rb
packaging-0.108.0 lib/packaging/util/apt_staging_server.rb
packaging-0.107.2 lib/packaging/util/apt_staging_server.rb
packaging-0.107.1 lib/packaging/util/apt_staging_server.rb
packaging-0.107.0 lib/packaging/util/apt_staging_server.rb
packaging-0.106.3 lib/packaging/util/apt_staging_server.rb
packaging-0.106.2 lib/packaging/util/apt_staging_server.rb
packaging-0.106.1 lib/packaging/util/apt_staging_server.rb
packaging-0.106.0 lib/packaging/util/apt_staging_server.rb
packaging-0.105.0 lib/packaging/util/apt_staging_server.rb
packaging-0.104.0 lib/packaging/util/apt_staging_server.rb