avm-tools 0.55.0 → 0.59.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (473) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/lib/avm/local_projects.rb +9 -0
  4. data/lib/avm/local_projects/instance.rb +28 -0
  5. data/lib/avm/projects.rb +9 -0
  6. data/lib/avm/projects/stereotype.rb +55 -0
  7. data/lib/avm/projects/stereotypes.rb +20 -0
  8. data/lib/avm/projects/stereotypes/git.rb +25 -0
  9. data/lib/avm/projects/stereotypes/git/publish.rb +15 -0
  10. data/lib/avm/projects/stereotypes/git/warp.rb +27 -0
  11. data/lib/avm/projects/stereotypes/git_subrepo.rb +34 -0
  12. data/lib/avm/projects/stereotypes/git_subrepo/publish.rb +14 -0
  13. data/lib/avm/projects/stereotypes/git_subrepo/warp.rb +87 -0
  14. data/lib/avm/projects/stereotypes/git_subtree.rb +51 -0
  15. data/lib/avm/projects/stereotypes/git_subtree/publish.rb +12 -0
  16. data/lib/avm/projects/stereotypes/git_subtree/warp.rb +29 -0
  17. data/lib/avm/projects/stereotypes/rails_application.rb +23 -0
  18. data/lib/avm/projects/stereotypes/redmine_plugin.rb +23 -0
  19. data/lib/avm/projects/stereotypes/ruby_gem.rb +30 -0
  20. data/lib/avm/projects/stereotypes/ruby_gem/publish.rb +129 -0
  21. data/lib/avm/self.rb +5 -0
  22. data/lib/avm/tools/runner.rb +8 -24
  23. data/lib/avm/tools/runner/eac_redmine_base0/project_rename.rb +64 -0
  24. data/lib/avm/tools/runner/launcher.rb +10 -2
  25. data/lib/avm/tools/runner/launcher/instances.rb +45 -0
  26. data/lib/avm/tools/runner/launcher/projects.rb +50 -0
  27. data/lib/avm/tools/runner/launcher/publish.rb +65 -0
  28. data/lib/avm/tools/runner/local_project.rb +32 -0
  29. data/lib/avm/tools/runner/local_project/info.rb +25 -0
  30. data/lib/avm/tools/version.rb +1 -1
  31. data/lib/eac_launcher.rb +1 -2
  32. data/lib/eac_launcher/git/publish_base.rb +1 -0
  33. data/lib/eac_launcher/git/sub_warp_base.rb +1 -1
  34. data/lib/eac_launcher/git/warp_base.rb +2 -2
  35. data/lib/eac_launcher/instances/base.rb +2 -2
  36. data/lib/eac_launcher/instances/runner_helper.rb +1 -1
  37. data/lib/eac_launcher/paths/logical.rb +2 -2
  38. data/vendor/{gems/eac_git → eac_docker}/Gemfile +0 -0
  39. data/vendor/eac_docker/eac_docker.gemspec +18 -0
  40. data/vendor/eac_docker/lib/eac_docker.rb +7 -0
  41. data/vendor/eac_docker/lib/eac_docker/container.rb +74 -0
  42. data/vendor/eac_docker/lib/eac_docker/executables.rb +18 -0
  43. data/vendor/eac_docker/lib/eac_docker/images.rb +9 -0
  44. data/vendor/eac_docker/lib/eac_docker/images/base.rb +14 -0
  45. data/vendor/eac_docker/lib/eac_docker/images/coded.rb +39 -0
  46. data/vendor/eac_docker/lib/eac_docker/images/named.rb +30 -0
  47. data/vendor/eac_docker/lib/eac_docker/images/templatized.rb +26 -0
  48. data/vendor/eac_docker/lib/eac_docker/registry.rb +17 -0
  49. data/vendor/eac_docker/lib/eac_docker/rspec.rb +17 -0
  50. data/vendor/eac_docker/lib/eac_docker/version.rb +5 -0
  51. data/vendor/eac_docker/spec/lib/eac_docker/executables_spec.rb +9 -0
  52. data/vendor/eac_docker/spec/lib/eac_docker/images/coded_spec.rb +12 -0
  53. data/vendor/eac_docker/spec/lib/eac_docker/images/coded_spec_files/image1/Dockerfile +1 -0
  54. data/vendor/eac_docker/spec/lib/eac_docker/images/templatized_spec.rb +17 -0
  55. data/vendor/eac_docker/spec/lib/eac_docker/images/templatized_spec_files/stub_docker_image/Dockerfile +1 -0
  56. data/vendor/{gems/eac_git → eac_docker}/spec/rubocop_spec.rb +0 -0
  57. data/vendor/eac_docker/spec/spec_helper.rb +103 -0
  58. data/vendor/eac_git/Gemfile +5 -0
  59. data/vendor/{gems/eac_git → eac_git}/eac_git.gemspec +0 -0
  60. data/vendor/{gems/eac_git → eac_git}/lib/eac_git.rb +0 -0
  61. data/vendor/{gems/eac_git → eac_git}/lib/eac_git/executables.rb +0 -0
  62. data/vendor/{gems/eac_git → eac_git}/lib/eac_git/local.rb +0 -0
  63. data/vendor/{gems/eac_git → eac_git}/lib/eac_git/local/subrepo.rb +0 -0
  64. data/vendor/{gems/eac_git → eac_git}/lib/eac_git/local/subrepo/config.rb +0 -0
  65. data/vendor/{gems/eac_git → eac_git}/lib/eac_git/remote.rb +0 -0
  66. data/vendor/{gems/eac_git → eac_git}/lib/eac_git/remote/ls_result.rb +0 -0
  67. data/vendor/{gems/eac_git → eac_git}/lib/eac_git/rspec.rb +0 -0
  68. data/vendor/{gems/eac_git → eac_git}/lib/eac_git/version.rb +0 -0
  69. data/vendor/{gems/eac_git → eac_git}/spec/lib/eac_git/executables_spec.rb +0 -0
  70. data/vendor/eac_git/spec/rubocop_spec.rb +7 -0
  71. data/vendor/{gems/eac_git → eac_git}/spec/spec_helper.rb +0 -0
  72. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/Changes +0 -0
  73. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/Intro.pod +0 -0
  74. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/License +0 -0
  75. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/Makefile +0 -0
  76. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/Meta +0 -0
  77. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ReadMe.pod +0 -0
  78. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/doc/comparison.swim +0 -0
  79. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/doc/git-subrepo.swim +0 -0
  80. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/doc/intro-to-subrepo.swim +0 -0
  81. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/bashplus/Changes +0 -0
  82. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/bashplus/License +0 -0
  83. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/bashplus/Makefile +0 -0
  84. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/bashplus/Meta +0 -0
  85. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/bashplus/ReadMe.pod +0 -0
  86. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/bashplus/bin/bash+ +0 -0
  87. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/bashplus/doc/bash+.swim +0 -0
  88. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/bashplus/lib/bash+.bash +0 -0
  89. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/bashplus/man/man1/bash+.1 +0 -0
  90. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/bashplus/man/man3/bash+.3 +0 -0
  91. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/bashplus/test/base.t +0 -0
  92. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/bashplus/test/fcopy.t +0 -0
  93. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/bashplus/test/lib/foo/bar.bash +0 -0
  94. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/bashplus/test/lib/foo/foo.bash +0 -0
  95. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/bashplus/test/source-bash+-std.t +0 -0
  96. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/bashplus/test/source-bash+.t +0 -0
  97. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/bashplus/test/test.bash +0 -0
  98. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/bashplus/test/use.t +0 -0
  99. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/Changes +0 -0
  100. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/License +0 -0
  101. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/Makefile +0 -0
  102. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/Meta +0 -0
  103. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ReadMe.pod +0 -0
  104. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/doc/test-more.swim +0 -0
  105. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/Changes +0 -0
  106. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/License +0 -0
  107. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/Makefile +0 -0
  108. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/Meta +0 -0
  109. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/ReadMe.pod +0 -0
  110. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/bin/bash+ +0 -0
  111. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/doc/bash+.swim +0 -0
  112. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/lib/bash+.bash +0 -0
  113. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/man/man1/bash+.1 +0 -0
  114. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/man/man3/bash+.3 +0 -0
  115. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/base.t +0 -0
  116. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/fcopy.t +0 -0
  117. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/lib/foo/bar.bash +0 -0
  118. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/lib/foo/foo.bash +0 -0
  119. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/source-bash+-std.t +0 -0
  120. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/source-bash+.t +0 -0
  121. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/test.bash +0 -0
  122. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/use.t +0 -0
  123. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Changes +0 -0
  124. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/License +0 -0
  125. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Makefile +0 -0
  126. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Meta +0 -0
  127. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/ReadMe.pod +0 -0
  128. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/doc/test-tap.swim +0 -0
  129. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/lib/test/tap.bash +0 -0
  130. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/man/man3/test-tap.3 +0 -0
  131. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/bail_out.t +0 -0
  132. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/done.t +0 -0
  133. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/fail.t +0 -0
  134. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/fail_fast.t +0 -0
  135. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/helper.bash +0 -0
  136. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/pass.t +0 -0
  137. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/plan.t +0 -0
  138. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/skip_all.t +0 -0
  139. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/tap.t +0 -0
  140. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/test/bail.t +0 -0
  141. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/test/fail.t +0 -0
  142. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/test/fail_fast.t +0 -0
  143. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/test/skip-all-init.t +0 -0
  144. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/test/skip-all-plan.t +0 -0
  145. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/lib/test/more.bash +0 -0
  146. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/man/man3/test-more.3 +0 -0
  147. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/test/fail.t +0 -0
  148. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/test/more.t +0 -0
  149. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/test/pass.t +0 -0
  150. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/test/setup +0 -0
  151. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/test/skip_all.t +0 -0
  152. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/test/test/fail1.t +0 -0
  153. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/test/test/skip_all.t +0 -0
  154. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/lib/git-subrepo +0 -0
  155. data/vendor/eac_git/vendor/git-subrepo/lib/git-subrepo.d/bash+.bash +1 -0
  156. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/lib/git-subrepo.d/help-functions.bash +0 -0
  157. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/man/man1/git-subrepo.1 +0 -0
  158. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/note/0.4.0 +0 -0
  159. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/note/AllGitCmds +0 -0
  160. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/note/Cases +0 -0
  161. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/note/Commands +0 -0
  162. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/note/Dags +0 -0
  163. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/note/Gists +0 -0
  164. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/note/Links +0 -0
  165. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/note/Plugins +0 -0
  166. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/note/Spec +0 -0
  167. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/note/Story1 +0 -0
  168. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/note/ToDo +0 -0
  169. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/note/design.swim +0 -0
  170. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/note/design2.swim +0 -0
  171. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/note/init-test +0 -0
  172. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/note/pull-dance.txt +0 -0
  173. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/note/recreate-rebase-conflict.sh +0 -0
  174. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/note/subtree-rebase-fail-example/test.bash +0 -0
  175. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/note/test-subrepo-push.sh +0 -0
  176. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/note/test.sh +0 -0
  177. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/pkg/bin/generate-completion.pl +0 -0
  178. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/pkg/bin/generate-help-functions.pl +0 -0
  179. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/share/completion.bash +0 -0
  180. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/share/enable-completion.sh +0 -0
  181. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/share/git-completion.bash +0 -0
  182. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/share/zsh-completion/_git-subrepo +0 -0
  183. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/branch-all.t +0 -0
  184. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/branch-rev-list-one-path.t +0 -0
  185. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/branch-rev-list.t +0 -0
  186. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/branch.t +0 -0
  187. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/clean.t +0 -0
  188. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/clone-annotated-tag.t +0 -0
  189. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/clone.t +0 -0
  190. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/compile.t +0 -0
  191. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/config.t +0 -0
  192. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/encode.t +0 -0
  193. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/error.t +0 -0
  194. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/fetch.t +0 -0
  195. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/gitignore.t +0 -0
  196. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/init.t +0 -0
  197. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/issue29.t +0 -0
  198. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/issue95.t +0 -0
  199. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/issue96.t +0 -0
  200. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/pull-all.t +0 -0
  201. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/pull-merge.t +0 -0
  202. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/pull-message.t +0 -0
  203. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/pull-new-branch.t +0 -0
  204. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/pull-ours.t +0 -0
  205. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/pull-theirs.t +0 -0
  206. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/pull-twice.t +0 -0
  207. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/pull-worktree.t +0 -0
  208. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/pull.t +0 -0
  209. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/push-after-init.t +0 -0
  210. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/push-force.t +0 -0
  211. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/push-new-branch.t +0 -0
  212. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/push-no-changes.t +0 -0
  213. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/push-squash.t +0 -0
  214. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/push.t +0 -0
  215. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/reclone.t +0 -0
  216. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/bar/HEAD +0 -0
  217. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/bar/config +0 -0
  218. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/bar/objects/1f/0c4b264caed0126814a0ede851a1e0b4e16ae6 +0 -0
  219. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/bar/objects/87/46903fdb1b9c2101377880125917c2e05b4d69 +0 -0
  220. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/bar/objects/94/c86ffc745232d89f78c6f895e11e71272518db +0 -0
  221. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/bar/objects/c6/76c57b6576743fa56278527aa60ebd2e202a7c +0 -0
  222. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/bar/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391 +0 -0
  223. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/bar/objects/f6/2a8ff3feadf39b0a98f1a86ec6d1eb33858ee9 +0 -0
  224. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/bar/refs/heads/master +0 -0
  225. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/bar/refs/tags/A +0 -0
  226. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/foo/HEAD +0 -0
  227. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/foo/config +0 -0
  228. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/foo/objects/a0/f4cdaaf533a936296cdebbed8206c3b9ededa8 +0 -0
  229. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/foo/objects/e2/1291a1ad392a9d4c51dd9586804f1467b28afd +0 -0
  230. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/foo/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391 +0 -0
  231. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/foo/refs/heads/master +0 -0
  232. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/init/HEAD +0 -0
  233. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/init/config +0 -0
  234. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/init/objects/11/523f5dcf03b4c89b592dc8a3d0308f68da2386 +0 -0
  235. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/init/objects/14/2addf8ec5f37334e837440122c62f2c68a29ad +0 -0
  236. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/init/objects/32/5180321750a21cd7a4e7ecda319e557a4f6a09 +0 -0
  237. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/init/objects/3d/918c6901c02f43af5d31779dd5e1f9166aeb36 +0 -0
  238. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/init/objects/3e/4cb596066dce63ba4d047abddb677389b65e19 +0 -0
  239. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/init/objects/4b/6e53022e7a04f07887697e4f3d7c377fd9822b +0 -0
  240. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/init/objects/58/931fc1bd559b59c41ea738fc7ad04f9ad01bd3 +0 -0
  241. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/init/objects/5e/c0c28e1b806f25efdca18fcf7a74b49c3755bd +0 -0
  242. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/init/objects/75/fa6584e748f57eff06eebdc55e9ac21d4fcbf2 +0 -0
  243. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/init/objects/80/2d5edbd5e1cb7fca82b5bd38e7c8a0a496fb20 +0 -0
  244. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/init/objects/94/7b3d714c38791e95ad6f928b48c98bb8708acd +0 -0
  245. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/init/objects/95/e1f2df3f4d5f3d7a60588c25a7ca8a913d3c2a +0 -0
  246. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/init/objects/b1/5f4a7666baf40d949548ead946a3370e273479 +0 -0
  247. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/init/objects/c3/ee8978c4c5d84c3b7d00ba8e5906933d027882 +0 -0
  248. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/init/objects/c8/b0bffbc405ef3fad7354ff833fbec36d67ddfa +0 -0
  249. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/init/objects/dd/8bdb934ec848137f011fe423b185505c343626 +0 -0
  250. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/init/objects/e2/9be58c767cfeb27235c995d293a7d71aac0135 +0 -0
  251. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/init/objects/ee/1224401fc6aac595145fa727dcf6706ac8aec1 +0 -0
  252. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/init/objects/f1/cc1a657b2e805c400f5dcaaa76bd29c6178b1b +0 -0
  253. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/init/refs/heads/master +0 -0
  254. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/setup +0 -0
  255. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/status.t +0 -0
  256. data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/submodule.t +0 -0
  257. data/vendor/eac_ruby_base0/Gemfile +5 -0
  258. data/vendor/eac_ruby_base0/eac_ruby_base0.gemspec +20 -0
  259. data/vendor/eac_ruby_base0/lib/eac_ruby_base0.rb +7 -0
  260. data/vendor/eac_ruby_base0/lib/eac_ruby_base0/application.rb +37 -0
  261. data/vendor/eac_ruby_base0/lib/eac_ruby_base0/runner.rb +35 -0
  262. data/vendor/eac_ruby_base0/lib/eac_ruby_base0/runner/test_all.rb +27 -0
  263. data/vendor/eac_ruby_base0/lib/eac_ruby_base0/version.rb +5 -0
  264. data/vendor/eac_ruby_base0/spec/rubocop_spec.rb +7 -0
  265. data/vendor/eac_ruby_base0/spec/spec_helper.rb +100 -0
  266. data/vendor/eac_ruby_gems_utils/Gemfile +5 -0
  267. data/vendor/eac_ruby_gems_utils/LICENCE +16 -0
  268. data/vendor/eac_ruby_gems_utils/README.rdoc +3 -0
  269. data/vendor/eac_ruby_gems_utils/eac_ruby_gems_utils.gemspec +29 -0
  270. data/vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils.rb +7 -0
  271. data/vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/gem.rb +82 -0
  272. data/vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/gem/command.rb +33 -0
  273. data/vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests.rb +9 -0
  274. data/vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/base.rb +66 -0
  275. data/vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/minitest.rb +25 -0
  276. data/vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/multiple.rb +106 -0
  277. data/vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/rspec.rb +21 -0
  278. data/vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/version.rb +5 -0
  279. data/vendor/eac_ruby_gems_utils/spec/lib/eac_ruby_gems_utils/gem_spec.rb +20 -0
  280. data/vendor/eac_ruby_gems_utils/spec/rubocop_check_spec.rb +7 -0
  281. data/vendor/eac_ruby_gems_utils/spec/spec_helper.rb +100 -0
  282. data/vendor/eac_ruby_gems_utils/spec/support/mygem/Gemfile +5 -0
  283. data/vendor/eac_ruby_gems_utils/spec/support/mygem/Gemfile.lock +19 -0
  284. data/vendor/eac_ruby_gems_utils/spec/support/mygem/Rakefile +14 -0
  285. data/vendor/eac_ruby_gems_utils/spec/support/mygem/exe/myrunner +5 -0
  286. data/vendor/eac_ruby_gems_utils/spec/support/mygem/lib/mygem.rb +5 -0
  287. data/vendor/eac_ruby_gems_utils/spec/support/mygem/lib/mygem/version.rb +5 -0
  288. data/vendor/eac_ruby_gems_utils/spec/support/mygem/mygem.gemspec +16 -0
  289. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/Gemfile +0 -0
  290. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/MIT-LICENCE +0 -0
  291. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/README.rdoc +0 -0
  292. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/eac_ruby_utils.gemspec +0 -0
  293. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils.rb +0 -0
  294. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/arguments_consumer.rb +0 -0
  295. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/boolean.rb +31 -0
  296. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/by_reference.rb +0 -0
  297. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/common_concern.rb +0 -0
  298. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/common_constructor.rb +0 -0
  299. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/configs.rb +0 -0
  300. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/configs/file.rb +0 -0
  301. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/console.rb +0 -0
  302. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/console/configs.rb +0 -0
  303. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/console/docopt_runner.rb +0 -0
  304. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/console/docopt_runner/_class_methods.rb +0 -0
  305. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/console/docopt_runner/_doc.rb +0 -0
  306. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/console/docopt_runner/_settings.rb +0 -0
  307. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/console/docopt_runner/_subcommands.rb +0 -0
  308. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/console/speaker.rb +0 -0
  309. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/console/speaker/_class_methods.rb +0 -0
  310. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/console/speaker/_constants.rb +0 -0
  311. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/console/speaker/list.rb +0 -0
  312. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/console/speaker/node.rb +0 -0
  313. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/contextualizable.rb +0 -0
  314. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/core_ext.rb +0 -0
  315. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/custom_format.rb +0 -0
  316. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/envs.rb +0 -0
  317. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/envs/base_env.rb +0 -0
  318. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/envs/command.rb +0 -0
  319. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/envs/command/extra_options.rb +0 -0
  320. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/envs/executable.rb +0 -0
  321. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/envs/file.rb +0 -0
  322. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/envs/local_env.rb +0 -0
  323. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/envs/process.rb +0 -0
  324. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/envs/spawn.rb +0 -0
  325. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/envs/ssh_env.rb +12 -9
  326. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/envs/ssh_env/dasho_options.rb +53 -0
  327. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/envs/ssh_env/identity_file.rb +23 -0
  328. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/envs/ssh_env/quiet.rb +22 -0
  329. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/envs/ssh_env/terminal.rb +32 -0
  330. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/filesystem_cache.rb +0 -0
  331. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/fs.rb +0 -0
  332. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/fs/extname.rb +0 -0
  333. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/fs/temp.rb +0 -0
  334. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/fs/temp/directory.rb +0 -0
  335. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/fs/temp/file.rb +0 -0
  336. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/fs/traversable.rb +0 -0
  337. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/fs/traverser.rb +0 -0
  338. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/fs_cache.rb +1 -0
  339. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/immutable.rb +15 -0
  340. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/immutable/array_accessor.rb +32 -0
  341. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/immutable/base_accessor.rb +23 -0
  342. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/immutable/boolean_accessor.rb +16 -0
  343. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/immutable/class_methods.rb +20 -0
  344. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/immutable/common_accessor.rb +30 -0
  345. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/immutable/hash_accessor.rb +46 -0
  346. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/immutable/instance_methods.rb +21 -0
  347. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/listable.rb +0 -0
  348. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/listable/class_methods.rb +0 -0
  349. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/listable/instance_methods.rb +0 -0
  350. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/listable/integer_list.rb +0 -0
  351. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/listable/list.rb +0 -0
  352. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/listable/lists.rb +0 -0
  353. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/listable/string_list.rb +0 -0
  354. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/listable/symbol_list.rb +0 -0
  355. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/listable/value.rb +0 -0
  356. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/on_clean_ruby_environment.rb +0 -0
  357. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/options_consumer.rb +0 -0
  358. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/patch.rb +0 -0
  359. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/patches.rb +0 -0
  360. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/patches/class.rb +0 -0
  361. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/patches/class/common_constructor.rb +0 -0
  362. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/patches/enumerable.rb +0 -0
  363. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/patches/enumerable/boolean_combinations.rb +0 -0
  364. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/patches/hash.rb +0 -0
  365. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/patches/hash/options_consumer.rb +0 -0
  366. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/patches/hash/sym_keys_hash.rb +0 -0
  367. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/patches/module.rb +0 -0
  368. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/patches/module/common_concern.rb +0 -0
  369. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/patches/module/console_speaker.rb +0 -0
  370. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/immutable.rb +10 -0
  371. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/patches/module/listable.rb +0 -0
  372. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/patches/module/patch.rb +0 -0
  373. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/patches/module/require_sub.rb +0 -0
  374. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/patches/module/simple_cache.rb +0 -0
  375. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/patches/object.rb +0 -0
  376. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/patches/object/asserts.rb +0 -0
  377. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/patches/object/if_present.rb +0 -0
  378. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/patches/object/template.rb +0 -0
  379. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/patches/object/to_pathname.rb +0 -0
  380. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/patches/pathname.rb +0 -0
  381. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/patches/pathname/basename_sub.rb +0 -0
  382. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/patches/regexp.rb +0 -0
  383. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/patches/regexp/if_match.rb +0 -0
  384. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/patches/time.rb +0 -0
  385. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/patches/time/default_time_zone_set.rb +0 -0
  386. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/patches/time/local_time_zone.rb +0 -0
  387. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/paths_hash.rb +0 -0
  388. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/require_sub.rb +0 -0
  389. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/rspec.rb +0 -0
  390. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/rspec/conditional.rb +0 -0
  391. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/rspec/stubbed_ssh.rb +0 -0
  392. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/ruby.rb +0 -0
  393. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/ruby/command.rb +0 -0
  394. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/ruby/on_clean_environment.rb +0 -0
  395. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/settings_provider.rb +0 -0
  396. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/simple_cache.rb +0 -0
  397. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/templates.rb +0 -0
  398. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/templates/directory.rb +0 -0
  399. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/templates/file.rb +0 -0
  400. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/templates/searcher.rb +0 -0
  401. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/templates/variable_not_found_error.rb +0 -0
  402. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/templates/variable_providers.rb +0 -0
  403. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/templates/variable_providers/base.rb +0 -0
  404. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/templates/variable_providers/entries_reader.rb +0 -0
  405. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/templates/variable_providers/generic.rb +0 -0
  406. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/templates/variable_providers/hash.rb +0 -0
  407. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/version.rb +1 -1
  408. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/yaml.rb +0 -0
  409. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/arguments_consumer_spec.rb +0 -0
  410. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/common_concern_spec.rb +0 -0
  411. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/common_constructor_spec.rb +0 -0
  412. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/configs_spec.rb +0 -0
  413. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/console/configs_spec.rb +0 -0
  414. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/console/docopt_runner_spec.rb +0 -0
  415. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/console/speaker_spec.rb +0 -0
  416. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/custom_format_spec.rb +0 -0
  417. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/envs/executable_spec.rb +0 -0
  418. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/envs/ssh_env_spec.rb +0 -0
  419. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/filesystem_cache_spec.rb +0 -0
  420. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/fs/extname_spec.rb +0 -0
  421. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/fs/temp/temp_spec.rb +0 -0
  422. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/fs/temp_spec.rb +0 -0
  423. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/listable_spec.rb +0 -0
  424. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/options_consumer_spec.rb +0 -0
  425. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/patches/enumerable/boolean_combinations_spec.rb +0 -0
  426. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/patches/hash/options_consumer_spec.rb +0 -0
  427. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/patches/hash/sym_keys_hash_spec.rb +0 -0
  428. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/patches/module/console_speaker_spec.rb +0 -0
  429. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/patches/module/listable_spec.rb +0 -0
  430. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/patches/module/simple_cache_spec.rb +0 -0
  431. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/patches/object/if_present_spec.rb +0 -0
  432. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/patches/object/template_spec.rb +0 -0
  433. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/patches/object/template_spec_files/path/my_stub_with_template +0 -0
  434. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/patches/pathname/basename_sub_spec.rb +0 -0
  435. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/paths_hash_spec.rb +0 -0
  436. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/require_sub_spec.rb +0 -0
  437. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/require_sub_spec/stubbed_module_a.rb +0 -0
  438. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/require_sub_spec/stubbed_not_module.rb +0 -0
  439. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/ruby_spec.rb +0 -0
  440. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/settings_provider_spec.rb +0 -0
  441. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/simple_cache_spec.rb +0 -0
  442. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/templates/file_spec.rb +0 -0
  443. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/templates/file_spec_files/expected_content +0 -0
  444. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/templates/file_spec_files/source.template +0 -0
  445. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/templates/searcher_spec.rb +0 -0
  446. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/templates/searcher_spec_files/path1/subdir1/file1.template +0 -0
  447. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/templates/searcher_spec_files/path1/subdir1/file2 +0 -0
  448. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/templates/searcher_spec_files/path2/subdir1/file3.template +0 -0
  449. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/yaml_spec.rb +0 -0
  450. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/locales/pt-BR.yml +0 -0
  451. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/rubocop_check_spec.rb +0 -0
  452. data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/spec_helper.rb +0 -0
  453. metadata +480 -376
  454. data/lib/eac_launcher/runner.rb +0 -21
  455. data/lib/eac_launcher/runner/instances.rb +0 -41
  456. data/lib/eac_launcher/runner/projects.rb +0 -46
  457. data/lib/eac_launcher/runner/publish.rb +0 -59
  458. data/lib/eac_launcher/stereotype.rb +0 -52
  459. data/lib/eac_launcher/stereotypes.rb +0 -14
  460. data/lib/eac_launcher/stereotypes/git.rb +0 -21
  461. data/lib/eac_launcher/stereotypes/git/publish.rb +0 -13
  462. data/lib/eac_launcher/stereotypes/git/warp.rb +0 -25
  463. data/lib/eac_launcher/stereotypes/git_subrepo.rb +0 -30
  464. data/lib/eac_launcher/stereotypes/git_subrepo/publish.rb +0 -12
  465. data/lib/eac_launcher/stereotypes/git_subrepo/warp.rb +0 -85
  466. data/lib/eac_launcher/stereotypes/git_subtree.rb +0 -47
  467. data/lib/eac_launcher/stereotypes/git_subtree/publish.rb +0 -10
  468. data/lib/eac_launcher/stereotypes/git_subtree/warp.rb +0 -27
  469. data/lib/eac_launcher/stereotypes/rails.rb +0 -21
  470. data/lib/eac_launcher/stereotypes/redmine_plugin.rb +0 -21
  471. data/lib/eac_launcher/stereotypes/ruby_gem.rb +0 -27
  472. data/lib/eac_launcher/stereotypes/ruby_gem/publish.rb +0 -127
  473. data/vendor/gems/eac_git/vendor/git-subrepo/lib/git-subrepo.d/bash+.bash +0 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: df83da96c07da9eadc8be286bd954d0fd8905a2ff0376da5b109289cb8d90635
4
- data.tar.gz: 8825abbc5032bd4e7d76031caa85782b3e792f588cc8c5e8811c5ed7fc4232f0
3
+ metadata.gz: '08d973e58416ce742fea0b91630ad75c85c48838f302019cdbd4362594704cb8'
4
+ data.tar.gz: 6984410c1a7cf6e36f846fa6c388abca39b6b5f9eb8aec359b9bf069cd2d74a8
5
5
  SHA512:
6
- metadata.gz: 3436be6aa4b6017e646f864501f5719d97fe39f9596ef6c2e233e43b2c247302d1d47733573b51d8d596934df9273875f89607762185bf0d27fa9ae8340042aa
7
- data.tar.gz: bcbb3e38cbdd66d3e8095fb10b4ed1379ddbbb6c2df5e34bdd72e4043ef8b013a8fd08963675f4c0aa546229a39f887f17f060d8cd0c70597631f055e0dbafa1
6
+ metadata.gz: 2d019bdb2a01a137afa8a5e01aeb35b9d29214e185eddad3ab926215bbf0267ca1aa21f57927fea98482f381e09fa52e6ba6497da618bcdcc6f522d7672afa5a
7
+ data.tar.gz: 17f2e21690f779b7c67405e4397343b13083b8cf8984a8b521031f5f65f8998a0f44062099425e6acb6c9d1a33771a21dd487678afe2929a384f3a6c5a89bfc1
data/Gemfile CHANGED
@@ -4,7 +4,7 @@ source 'https://rubygems.org'
4
4
 
5
5
  gemspec
6
6
 
7
- gems_subdir = ::File.join(__dir__, 'vendor', 'gems')
7
+ gems_subdir = ::File.join(__dir__, 'vendor')
8
8
  Dir["#{gems_subdir}/*"].each do |dir|
9
9
  next unless ::File.file?(::File.join(dir, 'Gemfile'))
10
10
 
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'eac_ruby_utils/core_ext'
4
+
5
+ module Avm
6
+ module LocalProjects
7
+ require_sub __FILE__
8
+ end
9
+ end
@@ -0,0 +1,28 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'eac_launcher/paths/real'
4
+ require 'eac_ruby_utils/core_ext'
5
+ require 'avm/projects/stereotypes'
6
+
7
+ module Avm
8
+ module LocalProject
9
+ class Instance
10
+ enable_simple_cache
11
+ common_constructor :path do
12
+ self.path = path.to_pathname
13
+ end
14
+
15
+ # Backward compatibility with [EacLauncher::Paths::Logical].
16
+ # @return [EacLauncher::Paths::Real].
17
+ def real
18
+ ::EacLauncher::Paths::Real.new(path.to_path)
19
+ end
20
+
21
+ private
22
+
23
+ def stereotypes_uncached
24
+ ::Avm::Projects::Stereotypes.list.select { |s| s.match?(self) }
25
+ end
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'eac_ruby_utils/core_ext'
4
+
5
+ module Avm
6
+ module Projects
7
+ require_sub __FILE__
8
+ end
9
+ end
@@ -0,0 +1,55 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'active_support/core_ext/string/inflections'
4
+ require 'colorized_string'
5
+
6
+ module Avm
7
+ module Projects
8
+ module Stereotype
9
+ class << self
10
+ attr_reader :stereotypes
11
+
12
+ def included(base)
13
+ @stereotypes ||= []
14
+ @stereotypes << base
15
+ base.extend(ClassMethods)
16
+ end
17
+
18
+ def git_stereotypes
19
+ stereotypes.select { |c| c.name.demodulize.downcase.match('git') }
20
+ end
21
+
22
+ def nogit_stereotypes
23
+ stereotypes - git_stereotypes
24
+ end
25
+ end
26
+
27
+ module ClassMethods
28
+ def label
29
+ ::ColorizedString.new(stereotype_name).send(color)
30
+ end
31
+
32
+ def stereotype_name
33
+ name.gsub(/^.*::/, '')
34
+ end
35
+
36
+ def publish_class
37
+ sub_class('Publish')
38
+ end
39
+
40
+ def warp_class
41
+ sub_class('Warp')
42
+ end
43
+
44
+ private
45
+
46
+ def sub_class(sub_class_name)
47
+ klass = const_get(sub_class_name)
48
+ klass.is_a?(Class) ? klass : nil
49
+ rescue NameError
50
+ nil
51
+ end
52
+ end
53
+ end
54
+ end
55
+ end
@@ -0,0 +1,20 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'avm/projects/stereotype'
4
+ require 'eac_ruby_utils/core_ext'
5
+
6
+ module Avm
7
+ module Projects
8
+ module Stereotypes
9
+ require_sub __FILE__, base: nil
10
+
11
+ class << self
12
+ def list
13
+ @list ||= constants.map { |c| const_get(c) }
14
+ .select { |c| c.included_modules.include?(Avm::Projects::Stereotype) }
15
+ .freeze
16
+ end
17
+ end
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,25 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'avm/projects/stereotype'
4
+ require 'eac_ruby_utils/core_ext'
5
+
6
+ module Avm
7
+ module Projects
8
+ module Stereotypes
9
+ class Git
10
+ require_sub __FILE__
11
+ include Avm::Projects::Stereotype
12
+
13
+ class << self
14
+ def match?(path)
15
+ File.directory?(path.real.subpath('.git'))
16
+ end
17
+
18
+ def color
19
+ :white
20
+ end
21
+ end
22
+ end
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'eac_launcher/git/publish_base'
4
+
5
+ module Avm
6
+ module Projects
7
+ module Stereotypes
8
+ class Git
9
+ class Publish < ::EacLauncher::Git::PublishBase
10
+ PUBLISH_GIT_REMOTE_NAME = 'publish'
11
+ end
12
+ end
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,27 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'eac_launcher/git/warp_base'
4
+
5
+ module Avm
6
+ module Projects
7
+ module Stereotypes
8
+ class Git
9
+ class Warp < ::EacLauncher::Git::WarpBase
10
+ private
11
+
12
+ def current_ref
13
+ 'HEAD'
14
+ end
15
+
16
+ def source_instance
17
+ instance
18
+ end
19
+
20
+ def source_remote_name
21
+ ::Avm::Projects::Stereotypes::Git::Publish::PUBLISH_GIT_REMOTE_NAME
22
+ end
23
+ end
24
+ end
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,34 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'eac_launcher/git/error'
4
+ require 'eac_ruby_utils/core_ext'
5
+ require 'avm/projects/stereotype'
6
+
7
+ module Avm
8
+ module Projects
9
+ module Stereotypes
10
+ class GitSubrepo
11
+ require_sub __FILE__
12
+ include Avm::Projects::Stereotype
13
+
14
+ class << self
15
+ def match?(path)
16
+ File.exist?(path.real.subpath('.gitrepo')) && subrepo_url(path.real) != 'none'
17
+ end
18
+
19
+ def color
20
+ :light_cyan
21
+ end
22
+
23
+ def subrepo_url(path)
24
+ File.read(path.subpath('.gitrepo')).each_line do |l|
25
+ m = /remote\s*=\s(.+)/.match(l)
26
+ return m[1] if m
27
+ end
28
+ raise ::EacLauncher::Git::Error.new(path, '"remote = ... " not found')
29
+ end
30
+ end
31
+ end
32
+ end
33
+ end
34
+ end
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'eac_launcher/git/publish_base'
4
+
5
+ module Avm
6
+ module Projects
7
+ module Stereotypes
8
+ class GitSubrepo
9
+ class Publish < ::EacLauncher::Git::PublishBase
10
+ end
11
+ end
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,87 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'eac_ruby_utils/simple_cache'
4
+ require 'eac_launcher/git/sub_warp_base'
5
+ require 'eac_launcher/instances/error'
6
+ require 'eac_launcher/paths/real'
7
+ require 'eac_launcher/vendor/github'
8
+
9
+ module Avm
10
+ module Projects
11
+ module Stereotypes
12
+ class GitSubrepo
13
+ class Warp < ::EacLauncher::Paths::Real
14
+ include ::EacLauncher::Git::SubWarpBase
15
+ include ::EacRubyUtils::SimpleCache
16
+
17
+ attr_reader :instance
18
+
19
+ def initialize(instance)
20
+ @instance = instance
21
+ check_parent
22
+ init_aux
23
+ push_to_aux
24
+ reset
25
+ assert_target_remote
26
+ super(warped_git)
27
+ end
28
+
29
+ private
30
+
31
+ def check_parent
32
+ return if parent_git_warped.rev_parse(subrepo_parent_hash) &&
33
+ parent_git_warped.descendant?('HEAD', subrepo_parent_hash)
34
+
35
+ raise EacLauncher::Instances::Error, "Subrepo parent hash \"#{subrepo_parent_hash}\""\
36
+ " not found in \"#{parent_git_warped}\""
37
+ end
38
+
39
+ def subrepo_parent_hash
40
+ data = parent_git_warped.subrepo_status(to_parent_git_path)
41
+ h = data['Pull Parent']
42
+ return h if h.present?
43
+
44
+ raise EacLauncher::Instances::Error, "Subrepo parent hash is blank: #{data}"
45
+ end
46
+
47
+ def init_aux
48
+ ::EacLauncher::Git::Base.new(aux_path).init_bare
49
+ end
50
+
51
+ def parent_git_warped_uncached
52
+ ::EacLauncher::Git::Base.new(parent_instance.warped)
53
+ end
54
+
55
+ def aux_path
56
+ instance.cache_path('subrepo_aux_git_repository')
57
+ end
58
+
59
+ def warped_git_uncached
60
+ ::EacLauncher::Git::Base.new(instance.cache_path('git_repository'))
61
+ end
62
+
63
+ def push_to_aux
64
+ parent_git_warped.execute!('subrepo', 'branch', to_parent_git_path, '-fF')
65
+ h = parent_git_warped.rev_parse("subrepo/#{to_parent_git_path}", true)
66
+ parent_git_warped.execute!('push', aux_path, "#{h}:refs/heads/master", '--force')
67
+ end
68
+
69
+ def reset
70
+ ::EacLauncher::Git::MirrorUpdate.new(warped_git, aux_path, 'master')
71
+ end
72
+
73
+ def assert_target_remote
74
+ warped_git.assert_remote_url(::EacLauncher::Git::WarpBase::TARGET_REMOTE,
75
+ target_remote_url)
76
+ end
77
+
78
+ def target_remote_url
79
+ ::EacLauncher::Vendor::Github.to_ssh_url(
80
+ parent_git_warped.subrepo_remote_url(to_parent_git_path)
81
+ )
82
+ end
83
+ end
84
+ end
85
+ end
86
+ end
87
+ end
@@ -0,0 +1,51 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'avm/projects/stereotype'
4
+ require 'avm/projects/stereotypes/git'
5
+ require 'eac_ruby_utils/core_ext'
6
+
7
+ module Avm
8
+ module Projects
9
+ module Stereotypes
10
+ class GitSubtree
11
+ require_sub __FILE__
12
+ include Avm::Projects::Stereotype
13
+
14
+ class << self
15
+ def match?(path)
16
+ return false if other_git_stereotype?(path)
17
+ return false unless other_nogit_stereotype?(path)
18
+
19
+ parent = parent_git(path.parent_path)
20
+ return false unless parent
21
+
22
+ ::Git.open(parent.real).remote(path.real.basename).url ? true : false
23
+ end
24
+
25
+ def color
26
+ :green
27
+ end
28
+
29
+ def parent_git(parent_path)
30
+ return nil unless parent_path
31
+
32
+ if ::Avm::Projects::Stereotypes::Git.match?(parent_path)
33
+ parent_path
34
+ else
35
+ parent_git(parent_path.parent_path)
36
+ end
37
+ end
38
+
39
+ def other_git_stereotype?(path)
40
+ ::Avm::Projects::Stereotypes::Git.match?(path) ||
41
+ ::Avm::Projects::Stereotypes::GitSubrepo.match?(path)
42
+ end
43
+
44
+ def other_nogit_stereotype?(path)
45
+ Avm::Projects::Stereotype.nogit_stereotypes.any? { |s| s.match?(path) }
46
+ end
47
+ end
48
+ end
49
+ end
50
+ end
51
+ end
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Avm
4
+ module Projects
5
+ module Stereotypes
6
+ class GitSubtree
7
+ class Publish < ::EacLauncher::Git::PublishBase
8
+ end
9
+ end
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,29 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Avm
4
+ module Projects
5
+ module Stereotypes
6
+ class GitSubtree
7
+ class Warp < ::EacLauncher::Git::WarpBase
8
+ include ::EacLauncher::Git::SubWarpBase
9
+
10
+ private
11
+
12
+ def current_ref
13
+ instance.cache_key("git_subtree.parent.#{cache_git.git.object('HEAD').sha}") do
14
+ cache_git.subtree_split(to_parent_git_path)
15
+ end
16
+ end
17
+
18
+ def source_instance
19
+ parent_instance
20
+ end
21
+
22
+ def source_remote_name
23
+ instance.project_name
24
+ end
25
+ end
26
+ end
27
+ end
28
+ end
29
+ end