eac_tools 0.35.0 → 0.36.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +5 -0
- data/Gemfile.lock +23 -15
- data/lib/eac_tools/version.rb +1 -1
- data/sub/avm/lib/avm/launcher/errors.rb +11 -0
- data/sub/avm/lib/avm/launcher/instances.rb +11 -0
- data/sub/avm/lib/avm/launcher/paths/logical.rb +2 -1
- data/sub/avm/lib/avm/launcher/paths.rb +11 -0
- data/sub/{avm-tools → avm}/lib/avm/launcher/project.rb +4 -5
- data/sub/avm/lib/avm/launcher/publish.rb +11 -0
- data/sub/{avm-tools/lib/avm/projects → avm/lib/avm/launcher}/stereotype.rb +1 -1
- data/sub/avm/lib/avm/launcher.rb +9 -0
- data/sub/avm/lib/avm/version.rb +1 -1
- data/sub/avm-eac_php_base0/Gemfile +8 -0
- data/sub/avm-eac_php_base0/avm-eac_php_base0.gemspec +18 -0
- data/sub/avm-eac_php_base0/lib/avm/eac_php_base0/version.rb +7 -0
- data/sub/avm-eac_php_base0/lib/avm/eac_php_base0.rb +9 -0
- data/sub/avm-eac_php_base0/spec/rubocop_spec.rb +3 -0
- data/sub/avm-eac_php_base0/spec/spec_helper.rb +4 -0
- data/sub/avm-eac_ruby_base1/avm-eac_ruby_base1.gemspec +1 -1
- data/sub/{avm-tools/lib/avm/launcher/ruby → avm-eac_ruby_base1/lib/avm/eac_ruby_base1/launcher}/gem/build.rb +4 -4
- data/sub/{avm-tools/lib/avm/launcher/ruby → avm-eac_ruby_base1/lib/avm/eac_ruby_base1/launcher}/gem/specification.rb +2 -2
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/launcher/gem.rb +13 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/launcher.rb +11 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/version.rb +1 -1
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/deploy/git_info.rb +2 -1
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/deploy.rb +0 -1
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/version.rb +1 -1
- data/sub/avm-git/avm-git.gemspec +1 -1
- data/sub/avm-git/lib/avm/git/issue/complete.rb +1 -1
- data/sub/{avm-tools/lib/avm/launcher/git → avm-git/lib/avm/git/launcher}/base/class_methods.rb +3 -3
- data/sub/{avm-tools/lib/avm/launcher/git → avm-git/lib/avm/git/launcher}/base/dirty_files.rb +2 -2
- data/sub/{avm-tools/lib/avm/launcher/git → avm-git/lib/avm/git/launcher}/base/remotes.rb +5 -5
- data/sub/{avm-tools/lib/avm/launcher/git → avm-git/lib/avm/git/launcher}/base/subrepo.rb +2 -2
- data/sub/{avm-tools/lib/avm/launcher/git → avm-git/lib/avm/git/launcher}/base/underlying.rb +2 -2
- data/sub/{avm-tools/lib/avm/launcher/git → avm-git/lib/avm/git/launcher}/base.rb +9 -9
- data/sub/{avm-tools/lib/avm/launcher/git → avm-git/lib/avm/git/launcher}/error.rb +2 -2
- data/sub/{avm-tools/lib/avm/launcher/git → avm-git/lib/avm/git/launcher}/mirror_update.rb +5 -5
- data/sub/{avm-tools/lib/avm/launcher/git → avm-git/lib/avm/git/launcher}/publish_base.rb +4 -4
- data/sub/{avm-tools/lib/avm/launcher/git → avm-git/lib/avm/git/launcher}/remote.rb +2 -2
- data/sub/{avm-tools/lib/avm/launcher/git → avm-git/lib/avm/git/launcher}/sub_warp_base.rb +4 -4
- data/sub/{avm-tools/lib/avm/launcher/git → avm-git/lib/avm/git/launcher}/warp_base.rb +6 -6
- data/sub/avm-git/lib/avm/git/launcher.rb +7 -0
- data/sub/avm-git/lib/avm/git/organize/repository.rb +1 -0
- data/sub/avm-git/lib/avm/git/version.rb +1 -1
- data/sub/avm-tools/avm-tools.gemspec +4 -4
- data/sub/avm-tools/lib/avm/projects/stereotypes/git/publish.rb +2 -2
- data/sub/avm-tools/lib/avm/projects/stereotypes/git/warp.rb +2 -2
- data/sub/avm-tools/lib/avm/projects/stereotypes/git.rb +2 -2
- data/sub/avm-tools/lib/avm/projects/stereotypes/git_subrepo/publish.rb +2 -2
- data/sub/avm-tools/lib/avm/projects/stereotypes/git_subrepo/warp.rb +7 -7
- data/sub/avm-tools/lib/avm/projects/stereotypes/git_subrepo.rb +4 -4
- data/sub/avm-tools/lib/avm/projects/stereotypes/git_subtree/publish.rb +2 -2
- data/sub/avm-tools/lib/avm/projects/stereotypes/git_subtree/warp.rb +4 -4
- data/sub/avm-tools/lib/avm/projects/stereotypes/git_subtree.rb +3 -3
- data/sub/avm-tools/lib/avm/projects/stereotypes/ruby_gem/publish.rb +2 -2
- data/sub/avm-tools/lib/avm/projects/stereotypes/ruby_gem.rb +4 -4
- data/sub/avm-tools/lib/avm/projects/stereotypes.rb +0 -9
- data/sub/avm-tools/lib/avm/tools/core_ext.rb +0 -1
- data/sub/avm-tools/lib/avm/tools/runner/files/format.rb +2 -2
- data/sub/avm-tools/lib/avm/tools/runner/git/commit.rb +2 -2
- data/sub/avm-tools/lib/avm/tools/runner/git/deploy.rb +2 -2
- data/sub/avm-tools/lib/avm/tools/runner/git.rb +2 -2
- data/sub/avm-tools/lib/avm/tools/runner/launcher.rb +1 -0
- data/sub/avm-tools/lib/avm/tools/runner/source/info.rb +0 -4
- data/sub/avm-tools/lib/avm/tools/runner/source/test.rb +1 -1
- data/sub/avm-tools/lib/avm/tools/runner/source.rb +0 -12
- data/sub/avm-tools/lib/avm/tools/version.rb +1 -1
- data/sub/avm-tools/spec/lib/avm/launcher/context_spec.rb +50 -36
- data/sub/avm-tools/spec/lib/avm/launcher/git/base_spec.rb +2 -2
- data/sub/avm-tools/spec/lib/avm/launcher/ruby/gem/build_spec.rb +2 -2
- data/sub/avm-tools/spec/lib/avm/launcher/ruby/gem/specification_spec.rb +1 -1
- data/sub/avm-tools/spec/lib/avm/projects/stereotypes/git_subrepo/warp_spec.rb +1 -1
- data/sub/avm-tools/spec/lib/avm/tools/runner/source/issue/complete_spec.rb +2 -2
- data/sub/avm-tools/spec/spec_helper/eac_launcher.rb +4 -4
- metadata +54 -42
- data/sub/avm-tools/lib/avm/launcher/git.rb +0 -7
- data/sub/avm-tools/lib/avm/launcher/instances.rb +0 -6
- data/sub/avm-tools/lib/avm/launcher/paths.rb +0 -4
- data/sub/avm-tools/lib/avm/launcher/publish.rb +0 -4
- data/sub/avm-tools/lib/avm/launcher/ruby/gem.rb +0 -4
- data/sub/avm-tools/lib/avm/launcher/ruby.rb +0 -3
- data/sub/avm-tools/lib/avm/patches/i18n.rb +0 -22
- data/sub/avm-tools/lib/avm/patches.rb +0 -9
- data/sub/avm-tools/lib/avm/projects/stereotype/job_comparator.rb +0 -32
- data/sub/avm-tools/lib/avm/projects/stereotypes/rails_application/local_project_mixin.rb +0 -18
- data/sub/avm-tools/lib/avm/projects/stereotypes/rails_application.rb +0 -25
- data/sub/avm-tools/lib/avm/projects/stereotypes/redmine_plugin.rb +0 -23
- data/sub/avm-tools/lib/avm/stereotypes.rb +0 -9
- data/sub/avm-tools/lib/avm/tools/source.rb +0 -64
- data/sub/avm-tools/locale/en.yml +0 -7
- data/sub/avm-tools/locale/pt-BR.yml +0 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cbfe0ab59e6f9c5c8c7bbfa72dac3511b3c666ec50a219da0cb72b68bd6fd57e
|
4
|
+
data.tar.gz: 44c539a327ce1f33448e91091198bc4e932571e7fffc8780110f9fa21b2d6a2a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cdd20d0375d461660c5c92b11ac386b6c920fabec8abadeae17e08cc18f441a300c7f2d5cc1852f9c16fd9495b62ac25b83d34f789676a4fd89dc5f835a26e80
|
7
|
+
data.tar.gz: b07bd715ddbc48a80c8d1529d5972690f726d35a31ddfa2a42f50385fab31c294f814fe49dbf6dc5199ea51a88152f7dd8de09ad0b113ce908fffb268c8b1d73
|
data/Gemfile
CHANGED
@@ -5,5 +5,10 @@ source 'https://rubygems.org'
|
|
5
5
|
gemspec
|
6
6
|
|
7
7
|
::Dir["#{::File.join(__dir__, 'sub')}/*"].each do |dir|
|
8
|
+
next unless ::File.exist?(::File.join(dir, "#{::File.basename(dir)}.gemspec"))
|
9
|
+
|
8
10
|
gem ::File.basename(dir), path: dir, require: false
|
9
11
|
end
|
12
|
+
|
13
|
+
local_gemfile = ::File.join(::File.dirname(__FILE__), 'Gemfile.local')
|
14
|
+
eval_gemfile local_gemfile if ::File.exist?(local_gemfile)
|
data/Gemfile.lock
CHANGED
@@ -1,19 +1,20 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
eac_tools (0.
|
5
|
-
avm (~> 0.
|
4
|
+
eac_tools (0.36.1)
|
5
|
+
avm (~> 0.48)
|
6
6
|
avm-eac_asciidoctor_base0 (~> 0.7, >= 0.7.1)
|
7
7
|
avm-eac_generic_base0 (~> 0.5)
|
8
8
|
avm-eac_latex_base0 (~> 0.2, >= 0.2.1)
|
9
|
+
avm-eac_php_base0 (~> 0.1)
|
9
10
|
avm-eac_rails_base0 (~> 0.8, >= 0.8.1)
|
10
11
|
avm-eac_rails_base1 (~> 0.7)
|
11
12
|
avm-eac_redmine_base0 (~> 0.16)
|
12
13
|
avm-eac_redmine_plugin_base0 (~> 0.3)
|
13
|
-
avm-eac_ruby_base1 (~> 0.
|
14
|
-
avm-eac_webapp_base0 (~> 0.9, >= 0.9.
|
14
|
+
avm-eac_ruby_base1 (~> 0.23)
|
15
|
+
avm-eac_webapp_base0 (~> 0.9, >= 0.9.2)
|
15
16
|
avm-eac_wordpress_base0 (~> 0.2, >= 0.2.1)
|
16
|
-
avm-tools (~> 0.
|
17
|
+
avm-tools (~> 0.141)
|
17
18
|
eac_ruby_utils (~> 0.104)
|
18
19
|
|
19
20
|
PATH
|
@@ -41,6 +42,12 @@ PATH
|
|
41
42
|
avm-eac_webapp_base0 (~> 0.9)
|
42
43
|
eac_ruby_utils (~> 0.104)
|
43
44
|
|
45
|
+
PATH
|
46
|
+
remote: sub/avm-eac_php_base0
|
47
|
+
specs:
|
48
|
+
avm-eac_php_base0 (0.1.0)
|
49
|
+
eac_ruby_utils (~> 0.104)
|
50
|
+
|
44
51
|
PATH
|
45
52
|
remote: sub/avm-eac_rails_base0
|
46
53
|
specs:
|
@@ -80,15 +87,15 @@ PATH
|
|
80
87
|
PATH
|
81
88
|
remote: sub/avm-eac_ruby_base1
|
82
89
|
specs:
|
83
|
-
avm-eac_ruby_base1 (0.
|
84
|
-
avm (~> 0.
|
90
|
+
avm-eac_ruby_base1 (0.23.0)
|
91
|
+
avm (~> 0.48)
|
85
92
|
avm-eac_generic_base0 (~> 0.5)
|
86
93
|
eac_ruby_utils (~> 0.104)
|
87
94
|
|
88
95
|
PATH
|
89
96
|
remote: sub/avm-eac_webapp_base0
|
90
97
|
specs:
|
91
|
-
avm-eac_webapp_base0 (0.9.
|
98
|
+
avm-eac_webapp_base0 (0.9.2)
|
92
99
|
avm (~> 0.46)
|
93
100
|
avm-eac_generic_base0 (~> 0.5)
|
94
101
|
avm-eac_postgresql_base0 (~> 0.2)
|
@@ -116,8 +123,8 @@ PATH
|
|
116
123
|
PATH
|
117
124
|
remote: sub/avm-git
|
118
125
|
specs:
|
119
|
-
avm-git (0.
|
120
|
-
avm (~> 0.
|
126
|
+
avm-git (0.6.0)
|
127
|
+
avm (~> 0.48)
|
121
128
|
avm-files (~> 0.4, >= 0.4.1)
|
122
129
|
eac_git (~> 0.12, >= 0.12.3)
|
123
130
|
eac_ruby_utils (~> 0.104)
|
@@ -125,13 +132,13 @@ PATH
|
|
125
132
|
PATH
|
126
133
|
remote: sub/avm-tools
|
127
134
|
specs:
|
128
|
-
avm-tools (0.
|
135
|
+
avm-tools (0.141.0)
|
129
136
|
aranha-parsers (~> 0.14, >= 0.14.3)
|
130
|
-
avm (~> 0.
|
131
|
-
avm-eac_ruby_base1 (~> 0.
|
137
|
+
avm (~> 0.48)
|
138
|
+
avm-eac_ruby_base1 (~> 0.23)
|
132
139
|
avm-eac_ubuntu_base0 (~> 0.3)
|
133
140
|
avm-files (~> 0.4, >= 0.4.1)
|
134
|
-
avm-git (~> 0.
|
141
|
+
avm-git (~> 0.6)
|
135
142
|
clipboard (~> 1.3, >= 1.3.6)
|
136
143
|
curb (~> 0.9, >= 0.9.11)
|
137
144
|
eac_git (~> 0.12, >= 0.12.3)
|
@@ -143,7 +150,7 @@ PATH
|
|
143
150
|
PATH
|
144
151
|
remote: sub/avm
|
145
152
|
specs:
|
146
|
-
avm (0.
|
153
|
+
avm (0.48.0)
|
147
154
|
eac_cli (~> 0.28)
|
148
155
|
eac_config (~> 0.11, >= 0.11.1)
|
149
156
|
eac_docker (~> 0.5)
|
@@ -358,6 +365,7 @@ DEPENDENCIES
|
|
358
365
|
avm-eac_asciidoctor_base0!
|
359
366
|
avm-eac_generic_base0!
|
360
367
|
avm-eac_latex_base0!
|
368
|
+
avm-eac_php_base0!
|
361
369
|
avm-eac_rails_base0!
|
362
370
|
avm-eac_rails_base1!
|
363
371
|
avm-eac_redmine_base0!
|
data/lib/eac_tools/version.rb
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
|
3
3
|
require 'avm/projects/stereotypes'
|
4
4
|
require 'avm/launcher/paths/real'
|
5
|
+
require 'avm/launcher/stereotype'
|
5
6
|
|
6
7
|
module Avm
|
7
8
|
module Launcher
|
@@ -61,7 +62,7 @@ module Avm
|
|
61
62
|
private
|
62
63
|
|
63
64
|
def stereotypes_uncached
|
64
|
-
::Avm::
|
65
|
+
::Avm::Launcher::Stereotype.stereotypes.select { |s| s.match?(self) }
|
65
66
|
end
|
66
67
|
|
67
68
|
def build_child(name)
|
@@ -1,13 +1,12 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
+
require 'eac_ruby_utils/core_ext'
|
4
|
+
|
3
5
|
module Avm
|
4
6
|
module Launcher
|
5
7
|
class Project
|
6
|
-
|
7
|
-
|
8
|
-
def initialize(name, instances)
|
9
|
-
@name = name
|
10
|
-
@instances = instances.to_a
|
8
|
+
common_constructor :name, :instances do
|
9
|
+
self.instances = instances.to_a
|
11
10
|
end
|
12
11
|
|
13
12
|
def to_s
|
data/sub/avm/lib/avm/version.rb
CHANGED
@@ -0,0 +1,18 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
$LOAD_PATH.push File.expand_path('lib', __dir__)
|
4
|
+
|
5
|
+
require 'avm/eac_php_base0/version'
|
6
|
+
|
7
|
+
Gem::Specification.new do |s|
|
8
|
+
s.name = 'avm-eac_php_base0'
|
9
|
+
s.version = Avm::EacPhpBase0::VERSION
|
10
|
+
s.authors = ['Eduardo H. Bogoni']
|
11
|
+
s.summary = 'AVM stereotype for PHP applications.'
|
12
|
+
|
13
|
+
s.files = Dir['{lib,locale,template}/**/*']
|
14
|
+
|
15
|
+
s.add_dependency 'eac_ruby_utils', '~> 0.104'
|
16
|
+
|
17
|
+
s.add_development_dependency 'eac_ruby_gem_support', '~> 0.5', '>= 0.5.1'
|
18
|
+
end
|
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
|
|
12
12
|
|
13
13
|
s.files = Dir['{lib,locale,template}/**/*']
|
14
14
|
|
15
|
-
s.add_dependency 'avm', '~> 0.
|
15
|
+
s.add_dependency 'avm', '~> 0.48'
|
16
16
|
s.add_dependency 'avm-eac_generic_base0', '~> 0.5'
|
17
17
|
s.add_dependency 'eac_ruby_utils', '~> 0.104'
|
18
18
|
|
@@ -3,11 +3,11 @@
|
|
3
3
|
require 'tmpdir'
|
4
4
|
require 'eac_cli/speaker'
|
5
5
|
require 'eac_ruby_utils/envs'
|
6
|
-
require 'avm/launcher/
|
6
|
+
require 'avm/eac_ruby_base1/launcher/gem/specification'
|
7
7
|
|
8
8
|
module Avm
|
9
|
-
module
|
10
|
-
module
|
9
|
+
module EacRubyBase1
|
10
|
+
module Launcher
|
11
11
|
module Gem
|
12
12
|
class Build
|
13
13
|
enable_speaker
|
@@ -88,7 +88,7 @@ module Avm
|
|
88
88
|
end
|
89
89
|
|
90
90
|
def check_gem_version
|
91
|
-
spec = ::Avm::Launcher::
|
91
|
+
spec = ::Avm::EacRubyBase1::Launcher::Gem::Specification.new(gemspec_file)
|
92
92
|
return if ::File.basename(output_file, '.gem') == spec.full_name
|
93
93
|
|
94
94
|
raise("Builded gem is not the same version of gemspec (#{spec}, #{output_file})")
|
@@ -42,8 +42,9 @@ module Avm
|
|
42
42
|
instance.source_instance.read_entry(::Avm::Instances::EntryKeys::INSTALL_PATH)
|
43
43
|
end
|
44
44
|
|
45
|
+
# @return [EacGit::Local]
|
45
46
|
def git_uncached
|
46
|
-
|
47
|
+
instance.application.local_source.scm.git_repo
|
47
48
|
end
|
48
49
|
|
49
50
|
def instance_branch
|
data/sub/avm-git/avm-git.gemspec
CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
|
|
12
12
|
|
13
13
|
s.files = Dir['{lib}/**/*']
|
14
14
|
|
15
|
-
s.add_dependency 'avm', '~> 0.
|
15
|
+
s.add_dependency 'avm', '~> 0.48'
|
16
16
|
s.add_dependency 'avm-files', '~> 0.4', '>= 0.4.1'
|
17
17
|
s.add_dependency 'eac_git', '~> 0.12', '>= 0.12.3'
|
18
18
|
s.add_dependency 'eac_ruby_utils', '~> 0.104'
|
data/sub/{avm-tools/lib/avm/launcher/git → avm-git/lib/avm/git/launcher}/base/class_methods.rb
RENAMED
@@ -1,11 +1,11 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
module Avm
|
4
|
-
module
|
5
|
-
module
|
4
|
+
module Git
|
5
|
+
module Launcher
|
6
6
|
class Base < ::Avm::Launcher::Paths::Real
|
7
7
|
module ClassMethods
|
8
|
-
# @return [Avm::Launcher::
|
8
|
+
# @return [Avm::Git::Launcher::Base]
|
9
9
|
def by_root(search_base_path)
|
10
10
|
new(find_root(search_base_path).to_path)
|
11
11
|
end
|
@@ -1,16 +1,16 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require 'eac_ruby_utils/core_ext'
|
4
|
-
require 'avm/launcher/
|
4
|
+
require 'avm/git/launcher/remote'
|
5
5
|
|
6
6
|
module Avm
|
7
|
-
module
|
8
|
-
module
|
7
|
+
module Git
|
8
|
+
module Launcher
|
9
9
|
class Base < ::Avm::Launcher::Paths::Real
|
10
10
|
module Remotes
|
11
|
-
# @return [Avm::Launcher::
|
11
|
+
# @return [Avm::Git::Launcher::Remote]
|
12
12
|
def remote(name)
|
13
|
-
::Avm::Launcher::
|
13
|
+
::Avm::Git::Launcher::Remote.new(self, name)
|
14
14
|
end
|
15
15
|
|
16
16
|
def remote_hashs(remote_name)
|
@@ -4,19 +4,19 @@ require 'eac_git/local'
|
|
4
4
|
require 'eac_ruby_utils/core_ext'
|
5
5
|
require 'eac_ruby_utils/envs'
|
6
6
|
require 'avm/launcher/paths/real'
|
7
|
-
require 'avm/launcher/
|
7
|
+
require 'avm/git/launcher/error'
|
8
8
|
|
9
9
|
module Avm
|
10
|
-
module
|
11
|
-
module
|
10
|
+
module Git
|
11
|
+
module Launcher
|
12
12
|
class Base < ::Avm::Launcher::Paths::Real
|
13
13
|
require_sub __FILE__
|
14
14
|
enable_simple_cache
|
15
|
-
extend ::Avm::Launcher::
|
16
|
-
include ::Avm::Launcher::
|
17
|
-
include ::Avm::Launcher::
|
18
|
-
include ::Avm::Launcher::
|
19
|
-
include ::Avm::Launcher::
|
15
|
+
extend ::Avm::Git::Launcher::Base::ClassMethods
|
16
|
+
include ::Avm::Git::Launcher::Base::DirtyFiles
|
17
|
+
include ::Avm::Git::Launcher::Base::Remotes
|
18
|
+
include ::Avm::Git::Launcher::Base::Subrepo
|
19
|
+
include ::Avm::Git::Launcher::Base::Underlying
|
20
20
|
|
21
21
|
attr_reader :eac_git
|
22
22
|
delegate :descendant?, :merge_base, :rev_parse, to: :eac_git
|
@@ -78,7 +78,7 @@ module Avm
|
|
78
78
|
end
|
79
79
|
|
80
80
|
def raise(message)
|
81
|
-
::Kernel.raise Avm::Launcher::
|
81
|
+
::Kernel.raise Avm::Git::Launcher::Error.new(self, message)
|
82
82
|
end
|
83
83
|
end
|
84
84
|
end
|
@@ -1,17 +1,17 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require 'avm/launcher/
|
3
|
+
require 'avm/git/launcher/base'
|
4
4
|
|
5
5
|
module Avm
|
6
|
-
module
|
7
|
-
module
|
6
|
+
module Git
|
7
|
+
module Launcher
|
8
8
|
class MirrorUpdate < ::Avm::Launcher::Paths::Real
|
9
9
|
include ::EacRubyUtils::SimpleCache
|
10
10
|
|
11
11
|
def initialize(target_path, source_path, source_rev)
|
12
12
|
super(target_path)
|
13
|
-
@target_git = ::Avm::Launcher::
|
14
|
-
@source_git = ::Avm::Launcher::
|
13
|
+
@target_git = ::Avm::Git::Launcher::Base.new(self)
|
14
|
+
@source_git = ::Avm::Git::Launcher::Base.new(source_path)
|
15
15
|
@source_rev = source_rev
|
16
16
|
run
|
17
17
|
end
|
@@ -6,8 +6,8 @@ require 'avm/launcher/publish/base'
|
|
6
6
|
require 'avm/launcher/publish/check_result'
|
7
7
|
|
8
8
|
module Avm
|
9
|
-
module
|
10
|
-
module
|
9
|
+
module Git
|
10
|
+
module Launcher
|
11
11
|
class PublishBase < ::Avm::Launcher::Publish::Base
|
12
12
|
include ::EacRubyUtils::SimpleCache
|
13
13
|
enable_speaker
|
@@ -92,7 +92,7 @@ module Avm
|
|
92
92
|
end
|
93
93
|
|
94
94
|
def sgit_uncached
|
95
|
-
::Avm::Launcher::
|
95
|
+
::Avm::Git::Launcher::Base.new(instance.warped)
|
96
96
|
end
|
97
97
|
|
98
98
|
def publish
|
@@ -117,7 +117,7 @@ module Avm
|
|
117
117
|
end
|
118
118
|
|
119
119
|
def remote_name
|
120
|
-
::Avm::Launcher::
|
120
|
+
::Avm::Git::Launcher::WarpBase::TARGET_REMOTE
|
121
121
|
end
|
122
122
|
end
|
123
123
|
end
|
@@ -1,11 +1,11 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require 'avm/projects/stereotype'
|
4
3
|
require 'avm/launcher/errors/base'
|
4
|
+
require 'avm/launcher/stereotype'
|
5
5
|
|
6
6
|
module Avm
|
7
|
-
module
|
8
|
-
module
|
7
|
+
module Git
|
8
|
+
module Launcher
|
9
9
|
module SubWarpBase
|
10
10
|
private
|
11
11
|
|
@@ -17,7 +17,7 @@ module Avm
|
|
17
17
|
end
|
18
18
|
|
19
19
|
def find_parent_instance(current)
|
20
|
-
if ::Avm::
|
20
|
+
if ::Avm::Launcher::Stereotype.git_stereotypes.any? { |s| current.stereotype?(s) }
|
21
21
|
return current
|
22
22
|
end
|
23
23
|
|