obs_deploy 0.2.0 → 0.3.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a671e53bbfc49281a52dfc32edc85bf74dddb20fd45034a6f3118aa60cd7693e
4
- data.tar.gz: e8a2fa4883c4a2f182593c8c9b3bb2e4b02918047b6b5f3c6057520b963404c5
3
+ metadata.gz: 7ebc8a1643cc4ad84ad5d480e44e6c98c8bbb008aaee87cd450f59ff85219083
4
+ data.tar.gz: 219d68cf9a244dd94f011bfe8126b7c667c2477059dd5d5132da81b99a25018f
5
5
  SHA512:
6
- metadata.gz: 580a4c94c6769d977de4c1b91f40cf86f355e31c26027761ea24ebc82c0ba2c14cfe2161c4c36fa7b8c385fd4464bceb0dc766cc42a5e2c1c4736b52983e9a2d
7
- data.tar.gz: 57dc7ee60f649e8a344d368d86d201001605a128319396319f833a170a3b0dbd545f96acf8e38279c33ea5b1bc77077aaf7c6ed139ecbedb024d5e2867a5c2aa
6
+ metadata.gz: 50e93f6d5392498366eb0da55273ac5fab0cb594b836a526147e081f85ba8e7e8dcda66246755c14905dbe4daa6108a8a3fc4c930f3b0ac119c9e02fb903248e
7
+ data.tar.gz: b93b82add9aea39fcb322f005bf9a739a9b1ab4f2dca241c405ea151855146a2c5217f1f324fbc324723ea1d70cf6da8e0d4e0faeb45cc27ce0d6582587521cb
@@ -0,0 +1,26 @@
1
+ # The behavior of RuboCop can be controlled via the .rubocop.yml
2
+ # configuration file. It makes it possible to enable/disable
3
+ # certain cops (checks) and to alter their behavior if they accept
4
+ # any parameters. The file can be placed either in your home
5
+ # directory or in some project directory.
6
+ #
7
+ # RuboCop will start looking for the configuration file in the directory
8
+ # where the inspected file is and continue its way up to the root directory.
9
+ #
10
+ # See https://github.com/rubocop-hq/rubocop/blob/master/manual/configuration.md
11
+
12
+ AllCops:
13
+ Exclude:
14
+ - 'dist/rubygem-obs_deploy.spec'
15
+
16
+ Metrics/BlockLength:
17
+ Enabled: false
18
+
19
+ Layout/LineLength:
20
+ Enabled: false
21
+
22
+ Layout/LineLength:
23
+ Enabled: false
24
+
25
+ Style/Documentation:
26
+ Enabled: false
@@ -0,0 +1,8 @@
1
+ FROM opensuse/tumbleweed
2
+
3
+ RUN zypper --gpg-auto-import-keys refresh
4
+ RUN zypper install -y openssh vim iputils
5
+
6
+ COPY entrypoint.sh /entrypoint.sh
7
+ RUN chmod +x /entrypoint.sh
8
+ ENTRYPOINT ["/entrypoint.sh"]
File without changes
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- obs_deploy (0.2.0)
4
+ obs_deploy (0.2.5)
5
5
  cheetah
6
6
  dry-cli
7
7
  nokogiri
@@ -0,0 +1,9 @@
1
+ docker-dev:
2
+ docker build -f Dockerfile.dev -t $(USER)/obs_deploy_dev .
3
+ docker run --rm -it -v "$(HOME)/.ssh:/tmp/.ssh:ro" -v "$(PWD):/obs_deploy" $(USER)/obs_deploy_dev bash
4
+
5
+ docker-rpm:
6
+ docker build -f Dockerfile.rpm -t $(USER)/obs_deploy_dev .
7
+ docker run --rm -it -v "$(HOME)/.ssh:/tmp/.ssh:ro" -v "$(PWD):/obs_deploy" $(USER)/obs_deploy_dev bash
8
+
9
+
data/README.md CHANGED
@@ -5,6 +5,9 @@ Simple tool to deploy OBS via zypper to our reference server
5
5
  ## Build Status
6
6
  [![CircleCI](https://circleci.com/gh/vpereira/obs_deploy.svg?style=svg)](https://app.circleci.com/pipelines/github/vpereira/obs_deploy)
7
7
 
8
+ ## Codebeat
9
+ [![codebeat badge](https://codebeat.co/badges/767d7e65-0364-4386-a26e-99ad228dfe31)](https://codebeat.co/projects/github-com-vpereira-obs_deploy-master)
10
+
8
11
 
9
12
  ## Installation
10
13
 
@@ -61,6 +64,10 @@ After checking out the repo, run `bin/setup` to install dependencies. Then, run
61
64
 
62
65
  To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
63
66
 
67
+ ### Fixtures
68
+
69
+ To generate the fixtures (located under `spec/fixtures`), we are using `curl -si $URL > $FIXTURE`
70
+
64
71
  ### Run the `bin/obs_deploy` on development:
65
72
 
66
73
  On the checked out source, run the following:
@@ -80,7 +87,7 @@ if you want to run it against the OBS appliance running on VirtualBox:
80
87
  - then run the container as:
81
88
 
82
89
  ```
83
- docker run --rm -it -v "$HOME/.ssh:/tmp/.ssh:ro" $USER/obs_deploy bash
90
+ make docker-dev
84
91
  ```
85
92
  Now you are inside the container and should be able to ping the obs appliance.
86
93
 
@@ -97,6 +104,15 @@ If you want to add new command to the cli, please read the `dry-cli` documentati
97
104
 
98
105
  The commands are being sent via ssh and ssh is being called via `cheetah` https://github.com/openSUSE/cheetah. Please Read the `ssh.rb` file, specially the `SSH#run` method
99
106
 
107
+ ## RPM Building
108
+
109
+ Under dist/ we have the necessary files to use to build the gem as rpm. The
110
+ `_service` still not used. Mainly because we need either to build the rubygem
111
+ dependencies or use https://github.com/openSUSE/obs-service-bundle_gems
112
+
113
+ Today as it is, you have to push the gem to rubygems and then generate the spec
114
+ and push it to build service
115
+
100
116
  ## Contributing
101
117
 
102
118
  Bug reports and pull requests are welcome on GitHub at https://github.com/vpereira/obs_deploy.
@@ -1,4 +1,12 @@
1
1
  <services>
2
- <service name="download_files">
2
+ <service name="tar_scm">
3
+ <param name="scm">git</param>
4
+ <param name="url">git://github.com/vpereira/obs_deploy.git</param>
5
+ <param name="revision">master</param>
6
+ <param name="version">0.2.0</param>
3
7
  </service>
8
+ <service name="recompress">
9
+ <param name="file">*.tar</param>
10
+ <param name="compression">xz</param>
11
+ </service>
4
12
  </services>
@@ -1,54 +1,104 @@
1
- #
2
- # spec file for package rubygem-obs_deploy
3
- #
4
- # Copyright (c) 2020 SUSE LLC
5
- #
6
- # All modifications and additions to the file contributed by third parties
7
- # remain the property of their copyright owners, unless otherwise agreed
8
- # upon. The license for this file, and modifications and additions to the
9
- # file, is the same license as for the pristine package itself (unless the
10
- # license for the pristine package is not an Open Source License, in which
11
- # case the license is the MIT License). An "Open Source License" is a
12
- # license that conforms to the Open Source Definition (Version 1.9)
13
- # published by the Open Source Initiative.
14
-
15
- # Please submit bugfixes or comments via https://bugs.opensuse.org/
16
- #
17
-
18
-
19
- %define mod_name obs_deploy
20
- %define mod_full_name %{mod_name}-%{version}
21
- %define rb_suffix ruby2.6
22
- Name: rubygem-obs_deploy
23
- Version: 0.2.0
24
- Release: 0
25
- Summary: OBS Deployment tool
26
- License: MIT
27
- Group: Development/Languages/Ruby
28
- URL: https://openbuildservice.org
29
- Source: https://rubygems.org/gems/%{mod_full_name}.gem
30
- BuildRequires: %{rubygem gem2rpm}
31
- BuildRequires: %{ruby}
32
- BuildRequires: ruby-macros >= 5
33
- BuildRequires: ruby-common-rails
34
- # FIXME: use proper Requires(pre/post/preun/...)
35
- PreReq: update-alternatives
1
+ # Generated from obs_deploy-0.2.5.gem by gem2rpm -*- rpm-spec -*-
2
+ %define rbname obs_deploy
3
+ %define version 0.2.5
4
+ %define release 1
36
5
 
6
+ Summary: OBS Deployment tool
7
+ Name: ruby-gems-%{rbname}
8
+
9
+ Version: %{version}
10
+ Release: %{release}
11
+ Group: Development/Ruby
12
+ License: Distributable
13
+ URL: https://openbuildservice.org
14
+ Source0: %{rbname}-%{version}.gem
15
+ # Make sure the spec template is included in the SRPM
16
+ Source1: ruby-gems-%{rbname}.spec.in
17
+ BuildRoot: %{_tmppath}/%{name}-%{version}-root
18
+ Requires: ruby [""]
19
+ Requires: ruby-gems >= 3.0.6
20
+ Requires: ruby-gems-bundler >= 2.0
21
+ Requires: ruby-gems-bundler < 3
22
+ Requires: ruby-gems-pry
23
+ Requires: ruby-gems-rake >= 13.0
24
+ Requires: ruby-gems-rake < 14
25
+ Requires: ruby-gems-rspec >= 3.0
26
+ Requires: ruby-gems-rspec < 4
27
+ Requires: ruby-gems-rubocop
28
+ Requires: ruby-gems-webmock
29
+ Requires: ruby-gems-cheetah
30
+ Requires: ruby-gems-dry-cli
31
+ Requires: ruby-gems-nokogiri
32
+ BuildRequires: ruby [""]
33
+ BuildRequires: ruby-gems >= 3.0.6
34
+ BuildArch: noarch
35
+ Provides: ruby(Obs_deploy) = %{version}
36
+
37
+ %define gemdir /home/vpereira/.rvm/gems/ruby-2.5.0
38
+ %define gembuilddir %{buildroot}%{gemdir}
37
39
 
38
40
  %description
39
41
  OBS Deployment tool.
40
42
 
43
+
41
44
  %prep
45
+ %setup -T -c
42
46
 
43
47
  %build
44
48
 
45
49
  %install
46
- %rails_fix_ruby_shebang bin/
47
- %gem_install \
48
- --symlink-binaries \
49
- --doc-files="README.md" \
50
- -f
50
+ %{__rm} -rf %{buildroot}
51
+ mkdir -p %{gembuilddir}
52
+ gem install --local --install-dir %{gembuilddir} --force %{SOURCE0}
53
+ mkdir -p %{buildroot}/%{_bindir}
54
+ mv %{gembuilddir}/bin/* %{buildroot}/%{_bindir}
55
+ rmdir %{gembuilddir}/bin
56
+
57
+ %clean
58
+ %{__rm} -rf %{buildroot}
59
+
60
+ %files
61
+ %defattr(-, root, root)
62
+ %{_bindir}/console
63
+ %{_bindir}/obs_deploy
64
+ %{_bindir}/setup
65
+ %{gemdir}/gems/obs_deploy-0.2.5/
66
+ %{gemdir}/gems/obs_deploy-0.2.5/
67
+ %{gemdir}/gems/obs_deploy-0.2.5/
68
+ %{gemdir}/gems/obs_deploy-0.2.5/
69
+ %{gemdir}/gems/obs_deploy-0.2.5/
70
+ %{gemdir}/gems/obs_deploy-0.2.5/
71
+ %{gemdir}/gems/obs_deploy-0.2.5/
72
+ %{gemdir}/gems/obs_deploy-0.2.5/
73
+ %{gemdir}/gems/obs_deploy-0.2.5/
74
+ %{gemdir}/gems/obs_deploy-0.2.5/
75
+ %{gemdir}/gems/obs_deploy-0.2.5/
76
+ %{gemdir}/gems/obs_deploy-0.2.5/
77
+ %{gemdir}/gems/obs_deploy-0.2.5/
78
+ %{gemdir}/gems/obs_deploy-0.2.5/
79
+ %{gemdir}/gems/obs_deploy-0.2.5/
80
+ %{gemdir}/gems/obs_deploy-0.2.5/
81
+ %{gemdir}/gems/obs_deploy-0.2.5/
82
+ %{gemdir}/gems/obs_deploy-0.2.5/
83
+ %{gemdir}/gems/obs_deploy-0.2.5/
84
+ %{gemdir}/gems/obs_deploy-0.2.5/
85
+ %{gemdir}/gems/obs_deploy-0.2.5/
86
+ %{gemdir}/gems/obs_deploy-0.2.5/
87
+ %{gemdir}/gems/obs_deploy-0.2.5/
88
+ %{gemdir}/gems/obs_deploy-0.2.5/
89
+ %{gemdir}/gems/obs_deploy-0.2.5/
90
+ %{gemdir}/gems/obs_deploy-0.2.5/
91
+ %{gemdir}/gems/obs_deploy-0.2.5/
92
+ %{gemdir}/gems/obs_deploy-0.2.5/
93
+ %{gemdir}/gems/obs_deploy-0.2.5/
94
+ %{gemdir}/gems/obs_deploy-0.2.5/
95
+ %{gemdir}/gems/obs_deploy-0.2.5/
96
+ %{gemdir}/gems/obs_deploy-0.2.5/
97
+ %{gemdir}/gems/obs_deploy-0.2.5/
98
+
51
99
 
52
- %gem_packages
100
+ %doc %{gemdir}/doc/obs_deploy-0.2.5
101
+ %{gemdir}/cache/obs_deploy-0.2.5.gem
102
+ %{gemdir}/specifications/obs_deploy-0.2.5.gemspec
53
103
 
54
104
  %changelog
@@ -11,6 +11,8 @@ require 'obs_deploy/check_diff'
11
11
  require 'obs_deploy/ssh'
12
12
  require 'obs_deploy/zypper'
13
13
  require 'obs_deploy/systemctl'
14
+ require 'obs_deploy/apache_sysconfig'
15
+ require 'tempfile'
14
16
 
15
17
  module ObsDeploy
16
18
  class Error < StandardError; end
@@ -0,0 +1,66 @@
1
+ # frozen_string_literal: true
2
+
3
+ module ObsDeploy
4
+ class ApacheSysconfig
5
+ attr_reader :path
6
+
7
+ def initialize
8
+ @path = '/etc/sysconfig/apache2'
9
+ end
10
+
11
+ def enable_maintenance_mode
12
+ unless maintenance_mode?
13
+ content = File.read(path).gsub(/^#{server_flags}=\"STATUS\"$/,
14
+ apache_status_line(maintenance))
15
+ write_apache_sysconfig(content)
16
+ end
17
+ end
18
+
19
+ def disable_maintenance_mode
20
+ if maintenance_mode?
21
+ content = File.read(path).gsub(/^#{server_flags}=\"STATUS MAINTENANCE\"/,
22
+ apache_status_line(no_maintenance))
23
+ write_apache_sysconfig(content)
24
+ end
25
+ end
26
+
27
+ def maintenance_mode?
28
+ find_server_flags.all? { |r| r.include?('MAINTENANCE') }
29
+ end
30
+
31
+ private
32
+
33
+ def no_maintenance
34
+ 'STATUS'
35
+ end
36
+
37
+ def maintenance
38
+ 'STATUS MAINTENANCE'
39
+ end
40
+
41
+ def server_flags
42
+ 'APACHE_SERVER_FLAGS'
43
+ end
44
+
45
+ def apache_status_line(status)
46
+ "#{server_flags}=\"#{status}\""
47
+ end
48
+
49
+ def find_server_flags
50
+ File.readlines(path).grep(/^#{server_flags}=/)
51
+ end
52
+
53
+ def write_apache_sysconfig(content)
54
+ f = Tempfile.new
55
+ f.write(content)
56
+ begin
57
+ File.rename(f.path, path)
58
+ rescue SystemCallError => e
59
+ puts e.inspect
60
+ ensure
61
+ f.unlink
62
+ f.close
63
+ end
64
+ end
65
+ end
66
+ end
@@ -28,7 +28,25 @@ module ObsDeploy
28
28
  def has_migration?
29
29
  return true if github_diff.nil? || github_diff.empty?
30
30
 
31
- !!github_diff.match(%r{db/migrate})
31
+ github_diff.match?(%r{db/migrate})
32
+ end
33
+
34
+ def has_data_migration?
35
+ return true if github_diff.nil? || github_diff.empty?
36
+
37
+ github_diff.match(%r{db/data})
38
+ end
39
+
40
+ def data_migrations
41
+ return [] unless has_data_migration?
42
+
43
+ github_diff.match(%r{db/data/.*\.rb}).to_a
44
+ end
45
+
46
+ def migrations
47
+ return [] unless has_migration?
48
+
49
+ github_diff.match(%r{db/migrate/.*\.rb}).to_a
32
50
  end
33
51
 
34
52
  def package_url
@@ -10,6 +10,7 @@ module ObsDeploy
10
10
  autoload :GetPackageVersion, File.join(__dir__, 'commands/get_package_version.rb')
11
11
  autoload :GetDeployedVersion, File.join(__dir__, 'commands/get_deployed_version.rb')
12
12
  autoload :Systemctl, File.join(__dir__, 'commands/systemctl.rb')
13
+ autoload :GetPendingMigration, File.join(__dir__, 'commands/get_pending_migration.rb')
13
14
 
14
15
  # register the commands and its command line
15
16
  register 'available-package', GetPackageVersion
@@ -18,6 +19,7 @@ module ObsDeploy
18
19
  register 'deploy', Deploy
19
20
  register 'refresh-repositories', RefreshRepositories
20
21
  register 'systemctl', Systemctl
22
+ register 'pending-migrations', GetPendingMigration
21
23
  end
22
24
  end
23
25
  end
@@ -5,10 +5,10 @@ module ObsDeploy
5
5
  module Commands
6
6
  class GetDeployedVersion < Dry::CLI::Command
7
7
  desc 'Get the deployed version of OBS'
8
- option :host, type: :string, default: 'https://api.opensuse.org', desc: 'API server'
8
+ option :url, type: :string, default: 'https://api.opensuse.org', desc: 'API url'
9
9
 
10
- def call(host:, **)
11
- puts "Deployed version: #{ObsDeploy::CheckDiff.new(server: host).obs_running_commit}"
10
+ def call(url:, **)
11
+ puts "Deployed version: #{ObsDeploy::CheckDiff.new(server: url).obs_running_commit}"
12
12
  end
13
13
  end
14
14
  end
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ module ObsDeploy
4
+ module CLI
5
+ class GetDiff
6
+ end
7
+ end
8
+ end
@@ -5,13 +5,13 @@ module ObsDeploy
5
5
  module Commands
6
6
  class GetPackageVersion < Dry::CLI::Command
7
7
  desc 'Get the available package version'
8
- option :host, type: :string, default: 'https://api.opensuse.org', desc: 'API server'
8
+ option :url, type: :string, default: 'https://api.opensuse.org', desc: 'API url'
9
9
  option :package, type: :string, default: 'obs-api', desc: 'Package name'
10
10
  option :product, type: :string, default: 'SLE_12_SP4', desc: 'Product name'
11
11
  option :architecture, type: :string, default: 'x86_64', desc: 'Architecture'
12
12
 
13
- def call(host:, product:, **)
14
- puts "Available package: #{ObsDeploy::CheckDiff.new(server: host, product: product).package_version}"
13
+ def call(url:, product:, **)
14
+ puts "Available package: #{ObsDeploy::CheckDiff.new(server: url, product: product).package_version}"
15
15
  end
16
16
  end
17
17
  end
@@ -0,0 +1,20 @@
1
+ # frozen_string_literal: true
2
+
3
+ module ObsDeploy
4
+ module CLI
5
+ module Commands
6
+ class GetPendingMigration < Dry::CLI::Command
7
+ option :url, type: :string, default: 'https://api.opensuse.org', desc: 'API url'
8
+
9
+ def call(url:, **)
10
+ migrations = ObsDeploy::CheckDiff.new(server: url).migrations
11
+ if migrations.empty?
12
+ puts 'No pending migrations'
13
+ else
14
+ puts migrations
15
+ end
16
+ end
17
+ end
18
+ end
19
+ end
20
+ end
@@ -52,7 +52,7 @@ module ObsDeploy
52
52
  end
53
53
 
54
54
  def logger_formatter
55
- proc do |severity, datetime, progname, msg|
55
+ proc do |severity, _datetime, _progname, msg|
56
56
  "#{severity} - #{msg}\n"
57
57
  end
58
58
  end
@@ -10,6 +10,14 @@ module ObsDeploy
10
10
  run ['systemctl'] + ['list-dependencies'] + target
11
11
  end
12
12
 
13
+ def restart_apache
14
+ run ['systemctl'] + ['restart'] + ['apache2']
15
+ end
16
+
17
+ def status_apache
18
+ run ['systemctl'] + ['status'] + ['apache2']
19
+ end
20
+
13
21
  private
14
22
 
15
23
  def target
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ObsDeploy
4
- VERSION = '0.2.0'
4
+ VERSION = '0.3.0'
5
5
  end
@@ -6,17 +6,33 @@ module ObsDeploy
6
6
 
7
7
  def initialize(dry_run: true, package_name: 'obs-api')
8
8
  @dry_run = dry_run
9
+ @package_name = package_name
9
10
  end
10
11
 
11
12
  def update
12
- run ['zypper'] + update_string + package_name
13
+ run %w[zypper] + update_string + package_name
13
14
  end
14
15
 
15
16
  def refresh
16
- run ['zypper', '--non-interactive', '--gpg-auto-import-keys', 'refresh']
17
+ run %w[zypper --non-interactive --gpg-auto-import-keys refresh]
17
18
  end
18
19
 
19
- private
20
+ # TODO
21
+ # check if we want to lock from specific repositories
22
+ def add_lock
23
+ run %w[zypper addlock] + package_name
24
+ end
25
+
26
+ def remove_lock
27
+ run %w[zypper removelock] + package_name
28
+ end
29
+
30
+ def locked?
31
+ # check the return value
32
+ run %w[zypper locks] + package_name
33
+ end
34
+
35
+ private
20
36
 
21
37
  def run(params)
22
38
  params
@@ -31,15 +47,15 @@ module ObsDeploy
31
47
  end
32
48
 
33
49
  def package_name
34
- ['obs-api']
50
+ [@package_name]
35
51
  end
36
52
 
37
53
  def update_params
38
- ['--non-interactive', 'update', '--best-effort', '--details']
54
+ %w[--non-interactive update --best-effort --details]
39
55
  end
40
56
 
41
57
  def dry_run_params
42
- ['--dry-run --download-only']
58
+ %w[--dry-run --download-only]
43
59
  end
44
- end
60
+ end
45
61
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: obs_deploy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Pereira
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-08 00:00:00.000000000 Z
11
+ date: 2020-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -136,7 +136,7 @@ dependencies:
136
136
  - - ">="
137
137
  - !ruby/object:Gem::Version
138
138
  version: '0'
139
- description:
139
+ description:
140
140
  email:
141
141
  - vpereira@suse.de
142
142
  executables:
@@ -149,10 +149,13 @@ files:
149
149
  - ".circleci/config.yml"
150
150
  - ".gitignore"
151
151
  - ".rspec"
152
+ - ".rubocop.yml"
152
153
  - ".travis.yml"
153
- - Dockerfile
154
+ - Dockerfile.dev
155
+ - Dockerfile.rpm
154
156
  - Gemfile
155
157
  - Gemfile.lock
158
+ - Makefile
156
159
  - README.md
157
160
  - Rakefile
158
161
  - bin/console
@@ -163,11 +166,14 @@ files:
163
166
  - dist/rubygem-obs_deploy.spec
164
167
  - entrypoint.sh
165
168
  - lib/obs_deploy.rb
169
+ - lib/obs_deploy/apache_sysconfig.rb
166
170
  - lib/obs_deploy/check_diff.rb
167
171
  - lib/obs_deploy/cli/commands.rb
168
172
  - lib/obs_deploy/cli/commands/deploy.rb
169
173
  - lib/obs_deploy/cli/commands/get_deployed_version.rb
174
+ - lib/obs_deploy/cli/commands/get_diff.rb
170
175
  - lib/obs_deploy/cli/commands/get_package_version.rb
176
+ - lib/obs_deploy/cli/commands/get_pending_migration.rb
171
177
  - lib/obs_deploy/cli/commands/refresh_repositories.rb
172
178
  - lib/obs_deploy/cli/commands/systemctl.rb
173
179
  - lib/obs_deploy/cli/commands/version.rb
@@ -182,7 +188,7 @@ metadata:
182
188
  allowed_push_host: https://rubygems.org
183
189
  homepage_uri: https://openbuildservice.org
184
190
  source_code_uri: https://github.com/vpereira/obs_deploy.git
185
- post_install_message:
191
+ post_install_message:
186
192
  rdoc_options: []
187
193
  require_paths:
188
194
  - lib
@@ -198,7 +204,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
198
204
  version: '0'
199
205
  requirements: []
200
206
  rubygems_version: 3.0.6
201
- signing_key:
207
+ signing_key:
202
208
  specification_version: 4
203
209
  summary: OBS Deployment tool
204
210
  test_files: []