pkgman 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: b9e6ce1cbde5c8d865813f230ddcd56f04ce63237f4b65ee2da952aa32076bb9
4
+ data.tar.gz: 51efe06c5f706d52c3b964f581af11e97db97ca63703b67b46dbe690e2cad608
5
+ SHA512:
6
+ metadata.gz: b4eee1a0a208a4757c232cd17710d32918de9c418faac80c44deb415af93fd44c65a830d730742ff1df98383a6edd4d195a755d50f529e042b5b54925787bc7e
7
+ data.tar.gz: 0eb09fa8a52d7117e70ee42b2a09d1657f0f3c9d9f00e9a8a6414f2d7d9a0dcb26756f6a8143bf0c704e6bc02e2866b9fa29e4c6fd88a70410472c7fbc2c8310
data/.gitignore ADDED
@@ -0,0 +1,12 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ /.idea
11
+ *.iml
12
+ *.gem
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.5.0
5
+ before_install: gem install bundler -v 1.16.1
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in pkgman.gemspec
6
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,38 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ pkgman (0.1.0)
5
+ docker-api (~> 1.34)
6
+ faraday (~> 0.14)
7
+ liquid (~> 4.0)
8
+ nokogiri (~> 1.8)
9
+
10
+ GEM
11
+ remote: https://rubygems.org/
12
+ specs:
13
+ docker-api (1.34.0)
14
+ excon (>= 0.47.0)
15
+ multi_json
16
+ excon (0.60.0)
17
+ faraday (0.14.0)
18
+ multipart-post (>= 1.2, < 3)
19
+ liquid (4.0.0)
20
+ mini_portile2 (2.3.0)
21
+ minitest (5.11.3)
22
+ multi_json (1.13.1)
23
+ multipart-post (2.0.0)
24
+ nokogiri (1.8.2)
25
+ mini_portile2 (~> 2.3.0)
26
+ rake (10.5.0)
27
+
28
+ PLATFORMS
29
+ ruby
30
+
31
+ DEPENDENCIES
32
+ bundler (~> 1.16)
33
+ minitest (~> 5.0)
34
+ pkgman!
35
+ rake (~> 10.0)
36
+
37
+ BUNDLED WITH
38
+ 1.16.1
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2018 Marek Jelen
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,60 @@
1
+ # Pkgman
2
+
3
+ `pkgman` helps with building packages using a simple descriptor file
4
+
5
+ ## Installation
6
+
7
+ $ gem install pkgman
8
+
9
+ ## Usage
10
+
11
+ Create the descriptor file `pkgman.yml`, e.g.
12
+
13
+ ```yaml
14
+ repositories:
15
+ rpms:
16
+ type: local
17
+ path: rpms
18
+
19
+ builds:
20
+ - from: source
21
+ name: ruby
22
+ version: 2.5.0
23
+ source: https://cache.ruby-lang.org/pub/ruby/{{ version | slice 0,3 }}/ruby-{{ version }}.tar.gz
24
+ configure:
25
+ - -disable-install-doc
26
+ targets:
27
+ - image: centos
28
+ version: 7
29
+ requires:
30
+ - openssl-devel
31
+ - libyaml-devel
32
+ - libffi-devel
33
+ - readline-devel
34
+ - zlib-devel
35
+ - gdbm-devel
36
+ - ncurses-devel
37
+ package:
38
+ - type: rpm
39
+ dependencies:
40
+ - openssl
41
+ - libyaml
42
+ - libffi
43
+ - readline
44
+ - zlib
45
+ - gdbm
46
+ - ncurses
47
+ - gmp
48
+ push:
49
+ - rpms
50
+ ```
51
+
52
+ Builds Ruby 2.5.0 without documentation and saves the resulting RPM file into `rpms` directory in current folder.
53
+
54
+ ## Contributing
55
+
56
+ Bug reports and pull requests are welcome on GitHub at https://github.com/marekjelen/pkgman.
57
+
58
+ ## License
59
+
60
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
data/Rakefile ADDED
@@ -0,0 +1,10 @@
1
+ require "bundler/gem_tasks"
2
+ require "rake/testtask"
3
+
4
+ Rake::TestTask.new(:test) do |t|
5
+ t.libs << "test"
6
+ t.libs << "lib"
7
+ t.test_files = FileList["test/**/*_test.rb"]
8
+ end
9
+
10
+ task :default => :test
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "pkgman"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
data/exe/pkgman ADDED
@@ -0,0 +1,13 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ lib = File.expand_path('../../lib', __FILE__)
4
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
+
6
+ require 'pkgman/descriptor'
7
+ require 'pkgman/executor'
8
+
9
+ descriptor = Pkgman::Descriptor.new
10
+
11
+ executor = Pkgman::Executor.new
12
+ executor.execute(descriptor)
13
+
@@ -0,0 +1,45 @@
1
+ module Pkgman
2
+ module Builds
3
+ class Source
4
+
5
+ attr_reader :build
6
+
7
+ def initialize(build, target)
8
+ @build = build
9
+ @target = target
10
+ end
11
+
12
+ def start
13
+ @target.execute("curl -o source.tar.gz #{build['source']}", '/tmp/src')
14
+ @target.execute('tar -xf source.tar.gz', '/tmp/src')
15
+
16
+ unless build['source-directory']
17
+ uri = URI(build['source'])
18
+
19
+ build['source-directory'] = File.basename(uri.path, ".*")
20
+ if build['source-directory'].end_with?('.tar')
21
+ build['source-directory'] = File.basename(build['source-directory'], ".tar")
22
+ end
23
+ end
24
+
25
+ build['configure'] ||= []
26
+ unless build['configure'].find { |it| it.start_with?('--prefix=') }
27
+ build['configure'] << '--prefix=/usr'
28
+ end
29
+
30
+ dir = "/tmp/src/#{build['source-directory']}"
31
+ @target.execute("./configure #{build['configure'].join(' ')}", dir)
32
+ @target.execute('make install DESTDIR=/tmp/compiled', dir)
33
+ end
34
+
35
+ def type
36
+ 'dir'
37
+ end
38
+
39
+ def path
40
+ '/tmp/compiled'
41
+ end
42
+
43
+ end
44
+ end
45
+ end
@@ -0,0 +1,53 @@
1
+ module Pkgman
2
+ class Container
3
+
4
+ def initialize(image, version)
5
+ @image = Docker::Image.create('fromImage' => "#{image}:#{version}")
6
+ @container = Docker::Container.create('Image' => @image.id, 'Tty' => true)
7
+ @container.start
8
+ end
9
+
10
+ def execute(command, cwd = '/root')
11
+ puts "Executing #{command} in #{cwd}"
12
+
13
+ options = {}
14
+ options['WorkingDir'] = cwd if cwd
15
+
16
+ command = ['/bin/bash', '-c', command]
17
+
18
+ stdout, stderr, status = @container.exec(command, options) do |stream, chunk|
19
+ puts "#{stream}: #{chunk}"
20
+ end
21
+
22
+ if status > 0
23
+ self.destroy
24
+ raise Exception.new('Execution failed')
25
+ end
26
+ end
27
+
28
+ def download(what, dst)
29
+ pth = File.join(dst, "export.rpm.tar")
30
+ File.open(pth, 'w') do |file|
31
+ @container.copy(what) do |chunk|
32
+ file.write(chunk)
33
+ end
34
+ end
35
+
36
+ Gem::Package::TarReader.new(File.open(pth)) do |tar|
37
+ tar.each do |entry|
38
+ File.open(File.join(dst, entry.full_name), 'w') do |file|
39
+ file.write(entry.read)
40
+ end
41
+ end
42
+ end
43
+
44
+ File.delete(pth)
45
+ end
46
+
47
+ def destroy
48
+ @container.kill
49
+ @container.delete(:force => true)
50
+ end
51
+
52
+ end
53
+ end
@@ -0,0 +1,37 @@
1
+ require 'yaml'
2
+ require 'liquid'
3
+
4
+ module Pkgman
5
+ class Descriptor
6
+
7
+ def initialize(path = 'pkgman.yml')
8
+ @path = path
9
+ @data = Wrapper.new.merge(YAML.load(File.read(File.expand_path(@path))))
10
+ end
11
+
12
+ def [](name)
13
+ @data[name]
14
+ end
15
+
16
+ class Wrapper < Hash
17
+
18
+ def [](name)
19
+ val = super(name)
20
+ case val
21
+ when Hash
22
+ self[name] = Wrapper.new.merge(val) unless val.kind_of?(Wrapper)
23
+ super(name)
24
+ when Array
25
+ self[name] = val.map { |it| it.kind_of?(Hash) ? Wrapper.new.merge(it) : it }
26
+ super(name)
27
+ when String
28
+ Liquid::Template.parse(val).render(self)
29
+ else
30
+ val
31
+ end
32
+ end
33
+
34
+ end
35
+
36
+ end
37
+ end
@@ -0,0 +1,55 @@
1
+ require 'fileutils'
2
+ require 'pkgman/builds/source'
3
+ require 'pkgman/packages/rpm'
4
+ require 'pkgman/repositories/local'
5
+ require 'pkgman/repositories/package_cloud'
6
+ require 'pkgman/runtime'
7
+ require 'pkgman/target'
8
+
9
+ module Pkgman
10
+ class Executor
11
+
12
+ def initialize
13
+ @runtime = Runtime.new
14
+ end
15
+
16
+ def execute(descriptor)
17
+ descriptor['builds'].each do |build|
18
+ build['targets'].each do |target|
19
+ target = Target.new(@runtime, target)
20
+ case build['from']
21
+ when 'source'
22
+ strategy = Builds::Source.new(build, target)
23
+ strategy.start
24
+ else
25
+ puts "Unknown build strategy #{build['from']}"
26
+ end
27
+
28
+ target.target['package'].each do |package|
29
+ case package['type']
30
+ when 'rpm'
31
+ pkg = Packages::Rpm.new(strategy, package, target)
32
+ pkg.start
33
+
34
+ package['push'].each do |push|
35
+ repository = descriptor['repositories'][push]
36
+ case repository['type']
37
+ when 'local'
38
+ repo = Pkgman::Repositories::Local.new(target, repository, pkg)
39
+ repo.execute
40
+ when 'packagecloud'
41
+ repo = Pkgman::Repositories::PackageCloud.new(target, repository, pkg)
42
+ repo.execute
43
+ end
44
+ end
45
+ else
46
+ puts "Unknown package strategy #{package['type']}"
47
+ end
48
+ end
49
+ end
50
+
51
+ end
52
+ end
53
+
54
+ end
55
+ end
@@ -0,0 +1,44 @@
1
+ module Pkgman
2
+ module Packages
3
+
4
+ class Rpm
5
+
6
+ attr_reader :package
7
+
8
+ def initialize(build, package, target)
9
+ @build = build
10
+ @package = package
11
+ @target = target
12
+ end
13
+
14
+ def name
15
+ @build.build['name']
16
+ end
17
+
18
+ def version
19
+ @build.build['version']
20
+ end
21
+
22
+ def start
23
+ deps = '-d ' + @package['dependencies'].join(' -d ')
24
+
25
+ cmd = "fpm -n #{name} "
26
+ cmd += "-v #{version} "
27
+ cmd += "-s #{@build.type} -t rpm #{deps} "
28
+ cmd += "-p /tmp/product -C #{@build.path}"
29
+
30
+ @target.execute(cmd)
31
+ end
32
+
33
+ def path
34
+ "/tmp/product/#{name}-#{version}-1.x86_64.rpm"
35
+ end
36
+
37
+ def type
38
+ 'rpm'
39
+ end
40
+
41
+ end
42
+
43
+ end
44
+ end
@@ -0,0 +1,19 @@
1
+ module Pkgman
2
+ module Repositories
3
+ class Local
4
+
5
+ def initialize(target, repository, package)
6
+ @target = target
7
+ @repository = repository
8
+ @package = package
9
+ end
10
+
11
+ def execute
12
+ dst = File.expand_path(@repository['path'])
13
+ FileUtils.mkpath(dst)
14
+ @target.download(@package.path, dst)
15
+ end
16
+
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,21 @@
1
+ module Pkgman
2
+ module Repositories
3
+
4
+ class PackageCloud
5
+
6
+ def initialize(target, repository, package)
7
+ @target = target
8
+ @repository = repository
9
+ @package = package
10
+ end
11
+
12
+ def execute
13
+ url = File.join("https://#{@repository['token']}:@packagecloud.io/api/v1/repos/#{@repository['user']}/#{@repository['repository']}/packages.json")
14
+ command = "curl -X POST -F package[distro_version_id]=140 -F package[package_file]=@#{@package.path} #{url}"
15
+ @target.execute(command)
16
+ end
17
+
18
+ end
19
+
20
+ end
21
+ end
@@ -0,0 +1,17 @@
1
+ require 'docker-api'
2
+
3
+ require 'pkgman/container'
4
+
5
+ module Pkgman
6
+ class Runtime
7
+
8
+ def initialize
9
+ @docker = Docker.connection
10
+ end
11
+
12
+ def container(image, version)
13
+ Container.new(image, version)
14
+ end
15
+
16
+ end
17
+ end
@@ -0,0 +1,25 @@
1
+ require 'pkgman/targets/centos'
2
+
3
+ module Pkgman
4
+ class Target
5
+
6
+ attr_reader :target
7
+
8
+ def initialize(runtime, target)
9
+ @target = target
10
+ case @target['image']
11
+ when 'centos'
12
+ @driver = Targets::Centos.new(runtime, target)
13
+ end
14
+ end
15
+
16
+ def execute(*args, &block)
17
+ @driver.container.execute(*args, &block)
18
+ end
19
+
20
+ def download(*args, &block)
21
+ @driver.container.download(*args, &block)
22
+ end
23
+
24
+ end
25
+ end
@@ -0,0 +1,37 @@
1
+ module Pkgman
2
+ module Targets
3
+ class Centos
4
+
5
+ attr_reader :container
6
+
7
+ def initialize(runtime, target)
8
+ @runtime = runtime
9
+ @target = target
10
+
11
+ @container = runtime.container(target['image'], target['version'])
12
+
13
+ self.update
14
+ self.install('gcc', 'bzip2', 'make', 'rpm-build', 'rubygems', 'ruby-devel', 'ruby-json')
15
+
16
+ @container.execute('gem install --no-document fpm')
17
+
18
+ self.install(*target['requires'])
19
+
20
+ @container.execute('mkdir /tmp/compiled')
21
+ @container.execute('mkdir /tmp/src')
22
+ @container.execute('mkdir /tmp/product')
23
+ end
24
+
25
+ def update
26
+ @container.execute('yum update -y --setopt=tsflags=nodocs')
27
+ end
28
+
29
+ def install(*packages)
30
+ pkgs = packages.join(' ')
31
+ @container.execute("yum install -y --setopt=tsflags=nodocs #{pkgs}")
32
+ end
33
+
34
+ end
35
+
36
+ end
37
+ end
@@ -0,0 +1,3 @@
1
+ module Pkgman
2
+ VERSION = '0.1.0' unless const_defined?(:VERSION)
3
+ end
data/lib/pkgman.rb ADDED
@@ -0,0 +1,5 @@
1
+ require "pkgman/version"
2
+
3
+ module Pkgman
4
+ # Your code goes here...
5
+ end
data/pkgman.gemspec ADDED
@@ -0,0 +1,31 @@
1
+ lib = File.expand_path('../lib', __FILE__)
2
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
+ require 'pkgman/version'
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = 'pkgman'
7
+ spec.version = Pkgman::VERSION
8
+ spec.authors = ['Marek Jelen']
9
+ spec.email = ['marek@jelen.biz']
10
+
11
+ spec.summary = 'Helps to automate building packages'
12
+ spec.description = 'Builds and uploads packages based on a simple descriptor'
13
+ spec.homepage = 'https://github.com/marekjelen/pkgman'
14
+ spec.license = 'MIT'
15
+
16
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
17
+ f.match(%r{^(test|spec|features)/})
18
+ end
19
+ spec.bindir = 'exe'
20
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
21
+ spec.require_paths = ['lib']
22
+
23
+ spec.add_dependency 'docker-api', '~> 1.34'
24
+ spec.add_dependency 'faraday', '~> 0.14'
25
+ spec.add_dependency 'liquid', '~> 4.0'
26
+ spec.add_dependency 'nokogiri', '~> 1.8'
27
+
28
+ spec.add_development_dependency 'bundler', '~> 1.16'
29
+ spec.add_development_dependency 'rake', '~> 10.0'
30
+ spec.add_development_dependency 'minitest', '~> 5.0'
31
+ end
metadata ADDED
@@ -0,0 +1,166 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: pkgman
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Marek Jelen
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2018-03-06 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: docker-api
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.34'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.34'
27
+ - !ruby/object:Gem::Dependency
28
+ name: faraday
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '0.14'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '0.14'
41
+ - !ruby/object:Gem::Dependency
42
+ name: liquid
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '4.0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '4.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: nokogiri
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '1.8'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '1.8'
69
+ - !ruby/object:Gem::Dependency
70
+ name: bundler
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '1.16'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '1.16'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rake
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '10.0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '10.0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: minitest
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '5.0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '5.0'
111
+ description: Builds and uploads packages based on a simple descriptor
112
+ email:
113
+ - marek@jelen.biz
114
+ executables:
115
+ - pkgman
116
+ extensions: []
117
+ extra_rdoc_files: []
118
+ files:
119
+ - ".gitignore"
120
+ - ".travis.yml"
121
+ - Gemfile
122
+ - Gemfile.lock
123
+ - LICENSE.txt
124
+ - README.md
125
+ - Rakefile
126
+ - bin/console
127
+ - bin/setup
128
+ - exe/pkgman
129
+ - lib/pkgman.rb
130
+ - lib/pkgman/builds/source.rb
131
+ - lib/pkgman/container.rb
132
+ - lib/pkgman/descriptor.rb
133
+ - lib/pkgman/executor.rb
134
+ - lib/pkgman/packages/rpm.rb
135
+ - lib/pkgman/repositories/local.rb
136
+ - lib/pkgman/repositories/package_cloud.rb
137
+ - lib/pkgman/runtime.rb
138
+ - lib/pkgman/target.rb
139
+ - lib/pkgman/targets/centos.rb
140
+ - lib/pkgman/version.rb
141
+ - pkgman.gemspec
142
+ homepage: https://github.com/marekjelen/pkgman
143
+ licenses:
144
+ - MIT
145
+ metadata: {}
146
+ post_install_message:
147
+ rdoc_options: []
148
+ require_paths:
149
+ - lib
150
+ required_ruby_version: !ruby/object:Gem::Requirement
151
+ requirements:
152
+ - - ">="
153
+ - !ruby/object:Gem::Version
154
+ version: '0'
155
+ required_rubygems_version: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ requirements: []
161
+ rubyforge_project:
162
+ rubygems_version: 2.7.3
163
+ signing_key:
164
+ specification_version: 4
165
+ summary: Helps to automate building packages
166
+ test_files: []