Sha256: 67f212766728d9df0fd15f848f817caf092d867713d6ecedc858b4ce640af521

Contents?: true

Size: 463 Bytes

Versions: 2

Compression:

Stored size: 463 Bytes

Contents

# Module for signing all packages to places

module Pkg::Util::Repo
  class << self

    # Create yum repositories of built RPM packages for this SHA on the distribution server
    def rpm_repos
      Pkg::Util::File.fetch
      Pkg::Rpm::Repo.create_remote_repos
    end

    # Create apt repositories of build DEB packages for this SHA on the distributions server
    def deb_repos
      Pkg::Util::File.fetch
      Pkg::Deb::Repo.create_repos
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
packaging-0.106.0 lib/packaging/util/repo.rb
packaging-0.105.0 lib/packaging/util/repo.rb