avm-tools 0.127.0 → 0.129.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (418) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +0 -7
  3. data/lib/avm/tools/version.rb +1 -1
  4. metadata +42 -436
  5. data/lib/avm/eac_wordpress_base0/apache_host.rb +0 -25
  6. data/lib/avm/eac_wordpress_base0/deploy.rb +0 -10
  7. data/lib/avm/eac_wordpress_base0/instance.rb +0 -24
  8. data/lib/avm/eac_wordpress_base0.rb +0 -9
  9. data/lib/avm/tools/runner/app_src/eac_asciidoctor_base0/build.rb +0 -56
  10. data/lib/avm/tools/runner/app_src/eac_asciidoctor_base0.rb +0 -14
  11. data/lib/avm/tools/runner/eac_asciidoctor_base0.rb +0 -14
  12. data/lib/avm/tools/runner/eac_wordpress_base0.rb +0 -15
  13. data/sub/avm-eac_asciidoctor_base0/Gemfile +0 -5
  14. data/sub/avm-eac_asciidoctor_base0/avm-eac_asciidoctor_base0.gemspec +0 -22
  15. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/apache_host.rb +0 -17
  16. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/apache_path.rb +0 -10
  17. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/deploy.rb +0 -26
  18. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instance.rb +0 -11
  19. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/base.rb +0 -16
  20. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/build/file.rb +0 -30
  21. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/build.rb +0 -49
  22. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/runner/build.rb +0 -54
  23. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/runner.rb +0 -30
  24. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources.rb +0 -11
  25. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/version.rb +0 -7
  26. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0.rb +0 -9
  27. data/sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/sources/base_spec.rb +0 -7
  28. data/sub/avm-eac_asciidoctor_base0/spec/rubocop_spec.rb +0 -3
  29. data/sub/avm-eac_asciidoctor_base0/spec/spec_helper.rb +0 -4
  30. data/sub/avm-eac_postgresql_base0/Gemfile +0 -5
  31. data/sub/avm-eac_postgresql_base0/avm-eac_postgresql_base0.gemspec +0 -19
  32. data/sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0/instance/assert.rb +0 -77
  33. data/sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0/instance/data_unit.rb +0 -39
  34. data/sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0/instance.rb +0 -74
  35. data/sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0/instance_with.rb +0 -18
  36. data/sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0/version.rb +0 -7
  37. data/sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0.rb +0 -9
  38. data/sub/avm-eac_postgresql_base0/spec/rubocop_spec.rb +0 -3
  39. data/sub/avm-eac_postgresql_base0/spec/spec_helper.rb +0 -4
  40. data/sub/avm-eac_ubuntu_base0/Gemfile +0 -5
  41. data/sub/avm-eac_ubuntu_base0/avm-eac_ubuntu_base0.gemspec +0 -20
  42. data/sub/avm-eac_ubuntu_base0/lib/avm/eac_ubuntu_base0/apache/resource.rb +0 -59
  43. data/sub/avm-eac_ubuntu_base0/lib/avm/eac_ubuntu_base0/apache.rb +0 -26
  44. data/sub/avm-eac_ubuntu_base0/lib/avm/eac_ubuntu_base0/docker_image.rb +0 -29
  45. data/sub/avm-eac_ubuntu_base0/lib/avm/eac_ubuntu_base0/instances/base.rb +0 -22
  46. data/sub/avm-eac_ubuntu_base0/lib/avm/eac_ubuntu_base0/instances.rb +0 -11
  47. data/sub/avm-eac_ubuntu_base0/lib/avm/eac_ubuntu_base0/runners/base/docker.rb +0 -19
  48. data/sub/avm-eac_ubuntu_base0/lib/avm/eac_ubuntu_base0/runners/base.rb +0 -28
  49. data/sub/avm-eac_ubuntu_base0/lib/avm/eac_ubuntu_base0/version.rb +0 -7
  50. data/sub/avm-eac_ubuntu_base0/lib/avm/eac_ubuntu_base0.rb +0 -9
  51. data/sub/avm-eac_ubuntu_base0/spec/lib/avm/eac_ubuntu_base0/docker_image_spec.rb +0 -16
  52. data/sub/avm-eac_ubuntu_base0/spec/lib/avm/eac_ubuntu_base0/runners/base/docker_spec.rb +0 -14
  53. data/sub/avm-eac_ubuntu_base0/spec/lib/avm/eac_ubuntu_base0/runners/base_spec.rb +0 -7
  54. data/sub/avm-eac_ubuntu_base0/spec/rubocop_spec.rb +0 -3
  55. data/sub/avm-eac_ubuntu_base0/spec/spec_helper.rb +0 -4
  56. data/sub/avm-eac_ubuntu_base0/template/avm/eac_ubuntu_base0/docker_image/Dockerfile.template +0 -24
  57. data/sub/avm-files/Gemfile +0 -5
  58. data/sub/avm-files/avm-files.gemspec +0 -21
  59. data/sub/avm-files/lib/avm/files/appendable/file_content.rb +0 -24
  60. data/sub/avm-files/lib/avm/files/appendable/plain_directory.rb +0 -25
  61. data/sub/avm-files/lib/avm/files/appendable/resource_base.rb +0 -13
  62. data/sub/avm-files/lib/avm/files/appendable/tar_output_command.rb +0 -26
  63. data/sub/avm-files/lib/avm/files/appendable/templatized_directory.rb +0 -29
  64. data/sub/avm-files/lib/avm/files/appendable.rb +0 -55
  65. data/sub/avm-files/lib/avm/files/appender.rb +0 -11
  66. data/sub/avm-files/lib/avm/files/deploy.rb +0 -71
  67. data/sub/avm-files/lib/avm/files/formatter/formats/base.rb +0 -62
  68. data/sub/avm-files/lib/avm/files/formatter/formats/generic_plain.rb +0 -34
  69. data/sub/avm-files/lib/avm/files/formatter/formats/html.rb +0 -45
  70. data/sub/avm-files/lib/avm/files/formatter/formats/javascript.rb +0 -24
  71. data/sub/avm-files/lib/avm/files/formatter/formats/json.rb +0 -27
  72. data/sub/avm-files/lib/avm/files/formatter/formats/php.rb +0 -22
  73. data/sub/avm-files/lib/avm/files/formatter/formats/python.rb +0 -22
  74. data/sub/avm-files/lib/avm/files/formatter/formats/ruby.rb +0 -22
  75. data/sub/avm-files/lib/avm/files/formatter/formats/xml.rb +0 -28
  76. data/sub/avm-files/lib/avm/files/formatter/formats.rb +0 -13
  77. data/sub/avm-files/lib/avm/files/formatter/utf8_assert.rb +0 -74
  78. data/sub/avm-files/lib/avm/files/formatter.rb +0 -90
  79. data/sub/avm-files/lib/avm/files/version.rb +0 -7
  80. data/sub/avm-files/lib/avm/files.rb +0 -9
  81. data/sub/avm-files/spec/rubocop_spec.rb +0 -3
  82. data/sub/avm-files/spec/spec_helper.rb +0 -4
  83. data/sub/avm-git/Gemfile +0 -5
  84. data/sub/avm-git/avm-git.gemspec +0 -21
  85. data/sub/avm-git/lib/avm/git/auto_commit/commit_info.rb +0 -23
  86. data/sub/avm-git/lib/avm/git/auto_commit/rules/base.rb +0 -39
  87. data/sub/avm-git/lib/avm/git/auto_commit/rules/last.rb +0 -19
  88. data/sub/avm-git/lib/avm/git/auto_commit/rules/manual.rb +0 -45
  89. data/sub/avm-git/lib/avm/git/auto_commit/rules/new.rb +0 -24
  90. data/sub/avm-git/lib/avm/git/auto_commit/rules/nth.rb +0 -31
  91. data/sub/avm-git/lib/avm/git/auto_commit/rules/unique.rb +0 -21
  92. data/sub/avm-git/lib/avm/git/auto_commit/rules.rb +0 -31
  93. data/sub/avm-git/lib/avm/git/auto_commit_path/ruby.rb +0 -20
  94. data/sub/avm-git/lib/avm/git/auto_commit_path.rb +0 -28
  95. data/sub/avm-git/lib/avm/git/commit/class_methods.rb +0 -31
  96. data/sub/avm-git/lib/avm/git/commit/deploy.rb +0 -38
  97. data/sub/avm-git/lib/avm/git/commit/deploy_methods.rb +0 -19
  98. data/sub/avm-git/lib/avm/git/commit/diff_tree_line.rb +0 -32
  99. data/sub/avm-git/lib/avm/git/commit/file.rb +0 -46
  100. data/sub/avm-git/lib/avm/git/commit.rb +0 -59
  101. data/sub/avm-git/lib/avm/git/file_auto_fixup.rb +0 -83
  102. data/sub/avm-git/lib/avm/git/issue/complete/commits.rb +0 -42
  103. data/sub/avm-git/lib/avm/git/issue/complete/git_subrepos.rb +0 -23
  104. data/sub/avm-git/lib/avm/git/issue/complete/local_branch.rb +0 -61
  105. data/sub/avm-git/lib/avm/git/issue/complete/local_tag.rb +0 -39
  106. data/sub/avm-git/lib/avm/git/issue/complete/push.rb +0 -60
  107. data/sub/avm-git/lib/avm/git/issue/complete/remote.rb +0 -33
  108. data/sub/avm-git/lib/avm/git/issue/complete/test.rb +0 -40
  109. data/sub/avm-git/lib/avm/git/issue/complete/tracker.rb +0 -28
  110. data/sub/avm-git/lib/avm/git/issue/complete/validation.rb +0 -39
  111. data/sub/avm-git/lib/avm/git/issue/complete/validations.rb +0 -53
  112. data/sub/avm-git/lib/avm/git/issue/complete/working_tree.rb +0 -19
  113. data/sub/avm-git/lib/avm/git/issue/complete.rb +0 -66
  114. data/sub/avm-git/lib/avm/git/issue/deliver.rb +0 -56
  115. data/sub/avm-git/lib/avm/git/issue.rb +0 -11
  116. data/sub/avm-git/lib/avm/git/organize/reference_update.rb +0 -34
  117. data/sub/avm-git/lib/avm/git/organize/repository.rb +0 -76
  118. data/sub/avm-git/lib/avm/git/organize.rb +0 -11
  119. data/sub/avm-git/lib/avm/git/revision_test.rb +0 -105
  120. data/sub/avm-git/lib/avm/git/scms/git/change_tracker.rb +0 -35
  121. data/sub/avm-git/lib/avm/git/scms/git/commit.rb +0 -55
  122. data/sub/avm-git/lib/avm/git/scms/git.rb +0 -73
  123. data/sub/avm-git/lib/avm/git/scms/git_subrepo.rb +0 -39
  124. data/sub/avm-git/lib/avm/git/scms/provider.rb +0 -19
  125. data/sub/avm-git/lib/avm/git/scms.rb +0 -11
  126. data/sub/avm-git/lib/avm/git/subrepo_check/parent.rb +0 -51
  127. data/sub/avm-git/lib/avm/git/subrepo_check/remote.rb +0 -89
  128. data/sub/avm-git/lib/avm/git/subrepo_check/show_result.rb +0 -32
  129. data/sub/avm-git/lib/avm/git/subrepo_check.rb +0 -38
  130. data/sub/avm-git/lib/avm/git/subrepo_checks.rb +0 -59
  131. data/sub/avm-git/lib/avm/git/version.rb +0 -7
  132. data/sub/avm-git/lib/avm/git.rb +0 -11
  133. data/sub/avm-git/spec/lib/avm/git/auto_commit_path_spec.rb +0 -21
  134. data/sub/avm-git/spec/lib/avm/git/commit/deploy_spec.rb +0 -93
  135. data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec.rb +0 -13
  136. data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/add.source.out +0 -1
  137. data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/add.target.yaml +0 -7
  138. data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/modify.source.out +0 -1
  139. data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/modify.target.yaml +0 -7
  140. data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/remove.source.out +0 -1
  141. data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/remove.target.yaml +0 -7
  142. data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/rename.source.out +0 -2
  143. data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/rename.target.yaml +0 -13
  144. data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/rename_modify.source.out +0 -2
  145. data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/rename_modify.target.yaml +0 -13
  146. data/sub/avm-git/spec/lib/avm/git/commit_spec.rb +0 -56
  147. data/sub/avm-git/spec/lib/avm/git/scms/git_spec.rb +0 -8
  148. data/sub/avm-git/spec/lib/avm/git/scms/git_subrepo_spec.rb +0 -8
  149. data/sub/avm-git/spec/rubocop_spec.rb +0 -3
  150. data/sub/avm-git/spec/spec_helper.rb +0 -4
  151. data/sub/eac_git/Gemfile +0 -5
  152. data/sub/eac_git/eac_git.gemspec +0 -20
  153. data/sub/eac_git/lib/eac_git/executables.rb +0 -48
  154. data/sub/eac_git/lib/eac_git/local/branch.rb +0 -27
  155. data/sub/eac_git/lib/eac_git/local/commit/archive.rb +0 -19
  156. data/sub/eac_git/lib/eac_git/local/commit/changed_file.rb +0 -46
  157. data/sub/eac_git/lib/eac_git/local/commit/diff_tree_line.rb +0 -32
  158. data/sub/eac_git/lib/eac_git/local/commit.rb +0 -73
  159. data/sub/eac_git/lib/eac_git/local/dirty_files.rb +0 -37
  160. data/sub/eac_git/lib/eac_git/local/log.rb +0 -17
  161. data/sub/eac_git/lib/eac_git/local/remote.rb +0 -27
  162. data/sub/eac_git/lib/eac_git/local/remotes.rb +0 -20
  163. data/sub/eac_git/lib/eac_git/local/subrepo/config.rb +0 -43
  164. data/sub/eac_git/lib/eac_git/local/subrepo.rb +0 -49
  165. data/sub/eac_git/lib/eac_git/local.rb +0 -126
  166. data/sub/eac_git/lib/eac_git/remote/ls_result.rb +0 -20
  167. data/sub/eac_git/lib/eac_git/remote.rb +0 -19
  168. data/sub/eac_git/lib/eac_git/rspec/setup.rb +0 -23
  169. data/sub/eac_git/lib/eac_git/rspec/stubbed_git_local_repo.rb +0 -71
  170. data/sub/eac_git/lib/eac_git/rspec.rb +0 -9
  171. data/sub/eac_git/lib/eac_git/version.rb +0 -5
  172. data/sub/eac_git/lib/eac_git.rb +0 -7
  173. data/sub/eac_git/spec/lib/eac_git/executables_spec.rb +0 -13
  174. data/sub/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec.rb +0 -13
  175. data/sub/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/add.source.out +0 -1
  176. data/sub/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/add.target.yaml +0 -7
  177. data/sub/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/modify.source.out +0 -1
  178. data/sub/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/modify.target.yaml +0 -7
  179. data/sub/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/remove.source.out +0 -1
  180. data/sub/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/remove.target.yaml +0 -7
  181. data/sub/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/rename.source.out +0 -2
  182. data/sub/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/rename.target.yaml +0 -13
  183. data/sub/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/rename_modify.source.out +0 -2
  184. data/sub/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/rename_modify.target.yaml +0 -13
  185. data/sub/eac_git/spec/lib/eac_git/local/commit_spec.rb +0 -58
  186. data/sub/eac_git/spec/rubocop_spec.rb +0 -3
  187. data/sub/eac_git/spec/spec_helper.rb +0 -4
  188. data/sub/eac_git/vendor/git-subrepo/Changes +0 -110
  189. data/sub/eac_git/vendor/git-subrepo/Intro.pod +0 -509
  190. data/sub/eac_git/vendor/git-subrepo/License +0 -21
  191. data/sub/eac_git/vendor/git-subrepo/Makefile +0 -82
  192. data/sub/eac_git/vendor/git-subrepo/Meta +0 -28
  193. data/sub/eac_git/vendor/git-subrepo/ReadMe.pod +0 -698
  194. data/sub/eac_git/vendor/git-subrepo/doc/comparison.swim +0 -35
  195. data/sub/eac_git/vendor/git-subrepo/doc/git-subrepo.swim +0 -608
  196. data/sub/eac_git/vendor/git-subrepo/doc/intro-to-subrepo.swim +0 -387
  197. data/sub/eac_git/vendor/git-subrepo/ext/bashplus/Changes +0 -15
  198. data/sub/eac_git/vendor/git-subrepo/ext/bashplus/License +0 -21
  199. data/sub/eac_git/vendor/git-subrepo/ext/bashplus/Makefile +0 -45
  200. data/sub/eac_git/vendor/git-subrepo/ext/bashplus/Meta +0 -28
  201. data/sub/eac_git/vendor/git-subrepo/ext/bashplus/ReadMe.pod +0 -77
  202. data/sub/eac_git/vendor/git-subrepo/ext/bashplus/bin/bash+ +0 -43
  203. data/sub/eac_git/vendor/git-subrepo/ext/bashplus/doc/bash+.swim +0 -61
  204. data/sub/eac_git/vendor/git-subrepo/ext/bashplus/lib/bash+.bash +0 -92
  205. data/sub/eac_git/vendor/git-subrepo/ext/bashplus/man/man1/bash+.1 +0 -134
  206. data/sub/eac_git/vendor/git-subrepo/ext/bashplus/man/man3/bash+.3 +0 -134
  207. data/sub/eac_git/vendor/git-subrepo/ext/bashplus/test/base.t +0 -12
  208. data/sub/eac_git/vendor/git-subrepo/ext/bashplus/test/fcopy.t +0 -22
  209. data/sub/eac_git/vendor/git-subrepo/ext/bashplus/test/lib/foo/bar.bash +0 -3
  210. data/sub/eac_git/vendor/git-subrepo/ext/bashplus/test/lib/foo/foo.bash +0 -3
  211. data/sub/eac_git/vendor/git-subrepo/ext/bashplus/test/source-bash+-std.t +0 -18
  212. data/sub/eac_git/vendor/git-subrepo/ext/bashplus/test/source-bash+.t +0 -23
  213. data/sub/eac_git/vendor/git-subrepo/ext/bashplus/test/test.bash +0 -70
  214. data/sub/eac_git/vendor/git-subrepo/ext/bashplus/test/use.t +0 -19
  215. data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/Changes +0 -15
  216. data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/License +0 -21
  217. data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/Makefile +0 -20
  218. data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/Meta +0 -30
  219. data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ReadMe.pod +0 -115
  220. data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/doc/test-more.swim +0 -89
  221. data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/Changes +0 -15
  222. data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/License +0 -21
  223. data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/Makefile +0 -45
  224. data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/Meta +0 -28
  225. data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/ReadMe.pod +0 -77
  226. data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/bin/bash+ +0 -43
  227. data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/doc/bash+.swim +0 -61
  228. data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/lib/bash+.bash +0 -92
  229. data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/man/man1/bash+.1 +0 -134
  230. data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/man/man3/bash+.3 +0 -134
  231. data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/base.t +0 -12
  232. data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/fcopy.t +0 -22
  233. data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/lib/foo/bar.bash +0 -3
  234. data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/lib/foo/foo.bash +0 -3
  235. data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/source-bash+-std.t +0 -18
  236. data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/source-bash+.t +0 -23
  237. data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/test.bash +0 -70
  238. data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/use.t +0 -19
  239. data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Changes +0 -15
  240. data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/License +0 -21
  241. data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Makefile +0 -37
  242. data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Meta +0 -28
  243. data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/ReadMe.pod +0 -66
  244. data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/doc/test-tap.swim +0 -48
  245. data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/lib/test/tap.bash +0 -153
  246. data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/man/man3/test-tap.3 +0 -119
  247. data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/bail_out.t +0 -13
  248. data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/done.t +0 -10
  249. data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/fail.t +0 -20
  250. data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/fail_fast.t +0 -15
  251. data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/helper.bash +0 -9
  252. data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/pass.t +0 -9
  253. data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/plan.t +0 -10
  254. data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/skip_all.t +0 -20
  255. data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/tap.t +0 -13
  256. data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/test/bail.t +0 -14
  257. data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/test/fail.t +0 -7
  258. data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/test/fail_fast.t +0 -12
  259. data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/test/skip-all-init.t +0 -8
  260. data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/test/skip-all-plan.t +0 -9
  261. data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/lib/test/more.bash +0 -95
  262. data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/man/man3/test-more.3 +0 -173
  263. data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/test/fail.t +0 -20
  264. data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/test/more.t +0 -20
  265. data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/test/pass.t +0 -9
  266. data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/test/setup +0 -8
  267. data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/test/skip_all.t +0 -11
  268. data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/test/test/fail1.t +0 -12
  269. data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/test/test/skip_all.t +0 -10
  270. data/sub/eac_git/vendor/git-subrepo/lib/git-subrepo +0 -1903
  271. data/sub/eac_git/vendor/git-subrepo/lib/git-subrepo.d/bash+.bash +0 -1
  272. data/sub/eac_git/vendor/git-subrepo/lib/git-subrepo.d/help-functions.bash +0 -339
  273. data/sub/eac_git/vendor/git-subrepo/man/man1/git-subrepo.1 +0 -743
  274. data/sub/eac_git/vendor/git-subrepo/note/0.4.0 +0 -12
  275. data/sub/eac_git/vendor/git-subrepo/note/AllGitCmds +0 -148
  276. data/sub/eac_git/vendor/git-subrepo/note/Cases +0 -32
  277. data/sub/eac_git/vendor/git-subrepo/note/Commands +0 -33
  278. data/sub/eac_git/vendor/git-subrepo/note/Dags +0 -199
  279. data/sub/eac_git/vendor/git-subrepo/note/Gists +0 -7
  280. data/sub/eac_git/vendor/git-subrepo/note/Links +0 -25
  281. data/sub/eac_git/vendor/git-subrepo/note/Plugins +0 -10
  282. data/sub/eac_git/vendor/git-subrepo/note/Spec +0 -39
  283. data/sub/eac_git/vendor/git-subrepo/note/Story1 +0 -57
  284. data/sub/eac_git/vendor/git-subrepo/note/ToDo +0 -55
  285. data/sub/eac_git/vendor/git-subrepo/note/design.swim +0 -137
  286. data/sub/eac_git/vendor/git-subrepo/note/design2.swim +0 -85
  287. data/sub/eac_git/vendor/git-subrepo/note/init-test +0 -38
  288. data/sub/eac_git/vendor/git-subrepo/note/pull-dance.txt +0 -18
  289. data/sub/eac_git/vendor/git-subrepo/note/recreate-rebase-conflict.sh +0 -56
  290. data/sub/eac_git/vendor/git-subrepo/note/subtree-rebase-fail-example/test.bash +0 -29
  291. data/sub/eac_git/vendor/git-subrepo/note/test-subrepo-push.sh +0 -69
  292. data/sub/eac_git/vendor/git-subrepo/note/test.sh +0 -58
  293. data/sub/eac_git/vendor/git-subrepo/pkg/bin/generate-completion.pl +0 -210
  294. data/sub/eac_git/vendor/git-subrepo/pkg/bin/generate-help-functions.pl +0 -89
  295. data/sub/eac_git/vendor/git-subrepo/share/completion.bash +0 -42
  296. data/sub/eac_git/vendor/git-subrepo/share/enable-completion.sh +0 -50
  297. data/sub/eac_git/vendor/git-subrepo/share/git-completion.bash +0 -2738
  298. data/sub/eac_git/vendor/git-subrepo/share/zsh-completion/_git-subrepo +0 -81
  299. data/sub/eac_git/vendor/git-subrepo/test/branch-all.t +0 -41
  300. data/sub/eac_git/vendor/git-subrepo/test/branch-rev-list-one-path.t +0 -43
  301. data/sub/eac_git/vendor/git-subrepo/test/branch-rev-list.t +0 -47
  302. data/sub/eac_git/vendor/git-subrepo/test/branch.t +0 -52
  303. data/sub/eac_git/vendor/git-subrepo/test/clean.t +0 -43
  304. data/sub/eac_git/vendor/git-subrepo/test/clone-annotated-tag.t +0 -45
  305. data/sub/eac_git/vendor/git-subrepo/test/clone.t +0 -107
  306. data/sub/eac_git/vendor/git-subrepo/test/compile.t +0 -19
  307. data/sub/eac_git/vendor/git-subrepo/test/config.t +0 -58
  308. data/sub/eac_git/vendor/git-subrepo/test/encode.t +0 -91
  309. data/sub/eac_git/vendor/git-subrepo/test/error.t +0 -171
  310. data/sub/eac_git/vendor/git-subrepo/test/fetch.t +0 -43
  311. data/sub/eac_git/vendor/git-subrepo/test/gitignore.t +0 -61
  312. data/sub/eac_git/vendor/git-subrepo/test/init.t +0 -64
  313. data/sub/eac_git/vendor/git-subrepo/test/issue29.t +0 -98
  314. data/sub/eac_git/vendor/git-subrepo/test/issue95.t +0 -98
  315. data/sub/eac_git/vendor/git-subrepo/test/issue96.t +0 -96
  316. data/sub/eac_git/vendor/git-subrepo/test/pull-all.t +0 -38
  317. data/sub/eac_git/vendor/git-subrepo/test/pull-merge.t +0 -113
  318. data/sub/eac_git/vendor/git-subrepo/test/pull-message.t +0 -88
  319. data/sub/eac_git/vendor/git-subrepo/test/pull-new-branch.t +0 -58
  320. data/sub/eac_git/vendor/git-subrepo/test/pull-ours.t +0 -90
  321. data/sub/eac_git/vendor/git-subrepo/test/pull-theirs.t +0 -82
  322. data/sub/eac_git/vendor/git-subrepo/test/pull-twice.t +0 -44
  323. data/sub/eac_git/vendor/git-subrepo/test/pull-worktree.t +0 -40
  324. data/sub/eac_git/vendor/git-subrepo/test/pull.t +0 -99
  325. data/sub/eac_git/vendor/git-subrepo/test/push-after-init.t +0 -51
  326. data/sub/eac_git/vendor/git-subrepo/test/push-force.t +0 -56
  327. data/sub/eac_git/vendor/git-subrepo/test/push-new-branch.t +0 -61
  328. data/sub/eac_git/vendor/git-subrepo/test/push-no-changes.t +0 -29
  329. data/sub/eac_git/vendor/git-subrepo/test/push-squash.t +0 -56
  330. data/sub/eac_git/vendor/git-subrepo/test/push.t +0 -176
  331. data/sub/eac_git/vendor/git-subrepo/test/reclone.t +0 -45
  332. data/sub/eac_git/vendor/git-subrepo/test/repo/bar/HEAD +0 -1
  333. data/sub/eac_git/vendor/git-subrepo/test/repo/bar/config +0 -4
  334. data/sub/eac_git/vendor/git-subrepo/test/repo/bar/objects/1f/0c4b264caed0126814a0ede851a1e0b4e16ae6 +0 -0
  335. data/sub/eac_git/vendor/git-subrepo/test/repo/bar/objects/87/46903fdb1b9c2101377880125917c2e05b4d69 +0 -0
  336. data/sub/eac_git/vendor/git-subrepo/test/repo/bar/objects/94/c86ffc745232d89f78c6f895e11e71272518db +0 -0
  337. data/sub/eac_git/vendor/git-subrepo/test/repo/bar/objects/c6/76c57b6576743fa56278527aa60ebd2e202a7c +0 -0
  338. data/sub/eac_git/vendor/git-subrepo/test/repo/bar/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391 +0 -0
  339. data/sub/eac_git/vendor/git-subrepo/test/repo/bar/objects/f6/2a8ff3feadf39b0a98f1a86ec6d1eb33858ee9 +0 -0
  340. data/sub/eac_git/vendor/git-subrepo/test/repo/bar/refs/heads/master +0 -1
  341. data/sub/eac_git/vendor/git-subrepo/test/repo/bar/refs/tags/A +0 -1
  342. data/sub/eac_git/vendor/git-subrepo/test/repo/foo/HEAD +0 -1
  343. data/sub/eac_git/vendor/git-subrepo/test/repo/foo/config +0 -4
  344. data/sub/eac_git/vendor/git-subrepo/test/repo/foo/objects/a0/f4cdaaf533a936296cdebbed8206c3b9ededa8 +0 -0
  345. data/sub/eac_git/vendor/git-subrepo/test/repo/foo/objects/e2/1291a1ad392a9d4c51dd9586804f1467b28afd +0 -0
  346. data/sub/eac_git/vendor/git-subrepo/test/repo/foo/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391 +0 -0
  347. data/sub/eac_git/vendor/git-subrepo/test/repo/foo/refs/heads/master +0 -1
  348. data/sub/eac_git/vendor/git-subrepo/test/repo/init/HEAD +0 -1
  349. data/sub/eac_git/vendor/git-subrepo/test/repo/init/config +0 -5
  350. data/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/11/523f5dcf03b4c89b592dc8a3d0308f68da2386 +0 -0
  351. data/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/14/2addf8ec5f37334e837440122c62f2c68a29ad +0 -0
  352. data/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/32/5180321750a21cd7a4e7ecda319e557a4f6a09 +0 -2
  353. data/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/3d/918c6901c02f43af5d31779dd5e1f9166aeb36 +0 -0
  354. data/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/3e/4cb596066dce63ba4d047abddb677389b65e19 +0 -0
  355. data/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/4b/6e53022e7a04f07887697e4f3d7c377fd9822b +0 -0
  356. data/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/58/931fc1bd559b59c41ea738fc7ad04f9ad01bd3 +0 -0
  357. data/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/5e/c0c28e1b806f25efdca18fcf7a74b49c3755bd +0 -0
  358. data/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/75/fa6584e748f57eff06eebdc55e9ac21d4fcbf2 +0 -1
  359. data/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/80/2d5edbd5e1cb7fca82b5bd38e7c8a0a496fb20 +0 -0
  360. data/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/94/7b3d714c38791e95ad6f928b48c98bb8708acd +0 -0
  361. data/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/95/e1f2df3f4d5f3d7a60588c25a7ca8a913d3c2a +0 -1
  362. data/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/b1/5f4a7666baf40d949548ead946a3370e273479 +0 -0
  363. data/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/c3/ee8978c4c5d84c3b7d00ba8e5906933d027882 +0 -0
  364. data/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/c8/b0bffbc405ef3fad7354ff833fbec36d67ddfa +0 -3
  365. data/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/dd/8bdb934ec848137f011fe423b185505c343626 +0 -2
  366. data/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/e2/9be58c767cfeb27235c995d293a7d71aac0135 +0 -2
  367. data/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/ee/1224401fc6aac595145fa727dcf6706ac8aec1 +0 -1
  368. data/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/f1/cc1a657b2e805c400f5dcaaa76bd29c6178b1b +0 -0
  369. data/sub/eac_git/vendor/git-subrepo/test/repo/init/refs/heads/master +0 -1
  370. data/sub/eac_git/vendor/git-subrepo/test/setup +0 -205
  371. data/sub/eac_git/vendor/git-subrepo/test/status.t +0 -68
  372. data/sub/eac_git/vendor/git-subrepo/test/submodule.t +0 -45
  373. data/sub/eac_rest/Gemfile +0 -5
  374. data/sub/eac_rest/eac_rest.gemspec +0 -18
  375. data/sub/eac_rest/lib/eac_rest/api.rb +0 -50
  376. data/sub/eac_rest/lib/eac_rest/entity.rb +0 -16
  377. data/sub/eac_rest/lib/eac_rest/request.rb +0 -95
  378. data/sub/eac_rest/lib/eac_rest/response.rb +0 -112
  379. data/sub/eac_rest/lib/eac_rest/version.rb +0 -5
  380. data/sub/eac_rest/lib/eac_rest.rb +0 -7
  381. data/sub/eac_rest/spec/rubocop_spec.rb +0 -3
  382. data/sub/eac_rest/spec/spec_helper.rb +0 -4
  383. data/sub/eac_templates/Gemfile +0 -5
  384. data/sub/eac_templates/eac_templates.gemspec +0 -19
  385. data/sub/eac_templates/lib/eac_templates/core_ext.rb +0 -4
  386. data/sub/eac_templates/lib/eac_templates/directory.rb +0 -108
  387. data/sub/eac_templates/lib/eac_templates/file.rb +0 -48
  388. data/sub/eac_templates/lib/eac_templates/from_all_gems.rb +0 -4
  389. data/sub/eac_templates/lib/eac_templates/from_gem.rb +0 -35
  390. data/sub/eac_templates/lib/eac_templates/patches/module/erb_template.rb +0 -9
  391. data/sub/eac_templates/lib/eac_templates/patches/module/template.rb +0 -10
  392. data/sub/eac_templates/lib/eac_templates/patches/module.rb +0 -4
  393. data/sub/eac_templates/lib/eac_templates/patches/object/erb_template.rb +0 -9
  394. data/sub/eac_templates/lib/eac_templates/patches/object/template.rb +0 -9
  395. data/sub/eac_templates/lib/eac_templates/patches/object.rb +0 -4
  396. data/sub/eac_templates/lib/eac_templates/patches.rb +0 -4
  397. data/sub/eac_templates/lib/eac_templates/searcher.rb +0 -53
  398. data/sub/eac_templates/lib/eac_templates/variable_not_found_error.rb +0 -5
  399. data/sub/eac_templates/lib/eac_templates/variable_providers/base.rb +0 -21
  400. data/sub/eac_templates/lib/eac_templates/variable_providers/config_reader.rb +0 -27
  401. data/sub/eac_templates/lib/eac_templates/variable_providers/entries_reader.rb +0 -23
  402. data/sub/eac_templates/lib/eac_templates/variable_providers/generic.rb +0 -23
  403. data/sub/eac_templates/lib/eac_templates/variable_providers/hash.rb +0 -27
  404. data/sub/eac_templates/lib/eac_templates/variable_providers.rb +0 -23
  405. data/sub/eac_templates/lib/eac_templates/version.rb +0 -5
  406. data/sub/eac_templates/lib/eac_templates.rb +0 -7
  407. data/sub/eac_templates/spec/lib/eac_templates/file_spec.rb +0 -35
  408. data/sub/eac_templates/spec/lib/eac_templates/file_spec_files/expected_content +0 -2
  409. data/sub/eac_templates/spec/lib/eac_templates/file_spec_files/source.template +0 -2
  410. data/sub/eac_templates/spec/lib/eac_templates/searcher_spec.rb +0 -30
  411. data/sub/eac_templates/spec/lib/eac_templates/searcher_spec_files/path1/subdir1/file1.template +0 -1
  412. data/sub/eac_templates/spec/lib/eac_templates/searcher_spec_files/path1/subdir1/file2 +0 -1
  413. data/sub/eac_templates/spec/lib/eac_templates/searcher_spec_files/path2/subdir1/file3.template +0 -1
  414. data/sub/eac_templates/spec/lib/object/template_spec.rb +0 -23
  415. data/sub/eac_templates/spec/lib/object/template_spec_files/path/my_stub_with_template +0 -1
  416. data/sub/eac_templates/spec/rubocop_spec.rb +0 -3
  417. data/sub/eac_templates/spec/spec_helper.rb +0 -4
  418. data/template/avm/eac_wordpress_base0/deploy/wp-config.php.template +0 -90
@@ -1,113 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- set -e
4
-
5
- source test/setup
6
-
7
- use Test::More
8
-
9
- clone-foo-and-bar
10
-
11
- subrepo-clone-bar-into-foo
12
-
13
- note "Pull - Conflict - Merge ours/theirs - Push"
14
-
15
- (
16
- cd $OWNER/bar
17
- add-new-files Bar2
18
- git push
19
- ) &> /dev/null || die
20
-
21
- gitrepo=$OWNER/foo/bar/.gitrepo
22
- # Test foo/bar/.gitrepo file contents:
23
- {
24
- foo_pull_commit="$(cd $OWNER/foo; git rev-parse HEAD^)"
25
- bar_head_commit="$(cd $OWNER/bar; git rev-parse HEAD^)"
26
- test-gitrepo-field "commit" "$bar_head_commit"
27
- test-gitrepo-field "parent" "$foo_pull_commit"
28
- }
29
-
30
- foo_pull_commit="$(cd $OWNER/foo; git rev-parse HEAD)"
31
-
32
- (
33
- cd $OWNER/foo
34
- git subrepo pull bar
35
- modify-files-ex bar/Bar2
36
- git push
37
- ) &> /dev/null || die
38
-
39
- (
40
- cd $OWNER/bar
41
- modify-files-ex Bar2
42
- git push
43
- ) &> /dev/null || die
44
-
45
- (
46
- cd $OWNER/foo
47
- git subrepo pull bar || {
48
- cd .git/tmp/subrepo/bar
49
- echo "Merged Bar2" > Bar2
50
- git add Bar2
51
- git commit --file ../../../../.git/worktrees/bar/MERGE_MSG
52
- cd ../../../..
53
- git subrepo commit bar
54
- git subrepo clean bar
55
- }
56
- ) &> /dev/null || die
57
-
58
- test-exists \
59
- "$OWNER/foo/bar/Bar2" \
60
- "$OWNER/bar/Bar2" \
61
-
62
- is "$(cat $OWNER/foo/bar/Bar2)" \
63
- "Merged Bar2" \
64
- "The readme file in the mainrepo is merged"
65
-
66
- # Check commit messages
67
- {
68
- foo_new_commit_message="$(cd $OWNER/foo; git log --format=%B -n 1)"
69
- like "$foo_new_commit_message" \
70
- "git subrepo commit \(merge\) bar" \
71
- "subrepo pull should have merge message"
72
- }
73
-
74
- # Test foo/bar/.gitrepo file contents:
75
- {
76
- bar_head_commit="$(cd $OWNER/bar; git rev-parse HEAD)"
77
- test-gitrepo-field "commit" "$bar_head_commit"
78
- test-gitrepo-field "parent" "$foo_pull_commit"
79
- }
80
-
81
- (
82
- cd $OWNER/foo
83
- git subrepo push bar
84
- ) &> /dev/null || die
85
-
86
- # Check commit messages
87
- {
88
- foo_new_commit_message="$(cd $OWNER/foo; git log --format=%B -n 1)"
89
- like "$foo_new_commit_message" \
90
- "git subrepo push bar" \
91
- "subrepo push should not have merge message"
92
- }
93
-
94
- (
95
- cd $OWNER/bar
96
- git pull
97
- ) &> /dev/null || die
98
-
99
- test-exists \
100
- "$OWNER/foo/bar/Bar2" \
101
- "$OWNER/bar/Bar2" \
102
-
103
- is "$(cat $OWNER/foo/bar/Bar2)" \
104
- "Merged Bar2" \
105
- "The readme file in the mainrepo is merged"
106
-
107
- is "$(cat $OWNER/bar/Bar2)" \
108
- "Merged Bar2" \
109
- "The readme file in the subrepo is merged"
110
-
111
- done_testing
112
-
113
- teardown
@@ -1,88 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- set -e
4
-
5
- source test/setup
6
-
7
- use Test::More
8
-
9
- clone-foo-and-bar
10
-
11
- subrepo-clone-bar-into-foo
12
-
13
- (
14
- cd $OWNER/bar
15
- add-new-files Bar2
16
- git push
17
- ) &> /dev/null || die
18
-
19
-
20
- # Do the pull and check output, use -m:
21
- {
22
- is "$(
23
- cd $OWNER/foo
24
- git subrepo pull -m 'Hello World' bar
25
- )" \
26
- "Subrepo 'bar' pulled from '../../../tmp/upstream/bar' (master)." \
27
- 'subrepo pull command output is correct'
28
- }
29
-
30
- # Check -m commit messages
31
- {
32
- foo_new_commit_message="$(cd $OWNER/foo; git log --format=%B -n 1)"
33
- like "$foo_new_commit_message" \
34
- "Hello World" \
35
- "subrepo pull commit message"
36
- }
37
-
38
- (
39
- cd $OWNER/bar
40
- add-new-files Bar3
41
- git push
42
- ) &> /dev/null || die
43
-
44
- # Do the pull and check output, use -e:
45
- {
46
- is "$(
47
- cd $OWNER/foo
48
- GIT_EDITOR='echo cowabunga >' git subrepo pull -e bar
49
- )" \
50
- "Subrepo 'bar' pulled from '../../../tmp/upstream/bar' (master)." \
51
- 'subrepo pull command output is correct'
52
- }
53
-
54
- # Check -e commit messages
55
- {
56
- foo_new_commit_message="$(cd $OWNER/foo; git log --format=%B -n 1)"
57
- like "$foo_new_commit_message" \
58
- "cowabunga" \
59
- "subrepo pull edit commit message"
60
- }
61
-
62
- (
63
- cd $OWNER/bar
64
- add-new-files Bar4
65
- git push
66
- ) &> /dev/null || die
67
-
68
- # Do the pull and check output, use -e and -m:
69
- {
70
- is "$(
71
- cd $OWNER/foo
72
- GIT_EDITOR=true git subrepo pull -e -m original bar
73
- )" \
74
- "Subrepo 'bar' pulled from '../../../tmp/upstream/bar' (master)." \
75
- 'subrepo pull command output is correct'
76
- }
77
-
78
- # Check -e commit messages
79
- {
80
- foo_new_commit_message="$(cd $OWNER/foo; git log --format=%B -n 1)"
81
- like "$foo_new_commit_message" \
82
- "original" \
83
- "subrepo pull edit and message commit message"
84
- }
85
-
86
- done_testing
87
-
88
- teardown
@@ -1,58 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- source test/setup
4
-
5
- use Test::More
6
-
7
- clone-foo-and-bar
8
-
9
- subrepo-clone-bar-into-foo
10
-
11
- (
12
- cd "$OWNER/bar"
13
- git checkout -b branch1
14
- git push --set-upstream origin branch1
15
- ) &> /dev/null || die
16
-
17
- # Test subrepo file content:
18
- gitrepo=$OWNER/foo/bar/.gitrepo
19
-
20
- {
21
- foo_pull_commit=$(cd "$OWNER/foo"; git rev-parse HEAD^)
22
- bar_head_commit=$(cd "$OWNER/bar"; git rev-parse HEAD)
23
- test-gitrepo-comment-block
24
- test-gitrepo-field remote "../../../$UPSTREAM/bar"
25
- test-gitrepo-field branch master
26
- test-gitrepo-field commit "$bar_head_commit"
27
- test-gitrepo-field parent "$foo_pull_commit"
28
- test-gitrepo-field cmdver "$(git subrepo --version)"
29
- }
30
-
31
- (
32
- cd "$OWNER/foo"
33
- git subrepo pull bar -b branch1 -u
34
- ) &> /dev/null || die
35
-
36
- {
37
- foo_pull_commit=$(cd "$OWNER/foo"; git rev-parse HEAD^)
38
- bar_head_commit=$(cd "$OWNER/bar"; git rev-parse HEAD)
39
- test-gitrepo-comment-block
40
- test-gitrepo-field remote "../../../$UPSTREAM/bar"
41
- test-gitrepo-field branch branch1
42
- test-gitrepo-field commit "$bar_head_commit"
43
- test-gitrepo-field parent "$foo_pull_commit"
44
- test-gitrepo-field cmdver "$(git subrepo --version)"
45
- }
46
-
47
- {
48
- is "$(
49
- cd $OWNER/foo
50
- git subrepo pull bar
51
- )" \
52
- "Subrepo 'bar' is up to date." \
53
- 'subrepo detects that we dont need to pull'
54
- }
55
-
56
- done_testing
57
-
58
- teardown
@@ -1,90 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- set -e
4
-
5
- source test/setup
6
-
7
- use Test::More
8
-
9
- clone-foo-and-bar
10
-
11
- subrepo-clone-bar-into-foo
12
-
13
- note "Pull - Conflict - Use ours - Push"
14
-
15
- #
16
- # When you perform rebase ours/theirs are reversed, so this test case will
17
- # test using local change (ours) although in the step below
18
- # we actually use git checkout --theirs to accomplish this
19
- #
20
-
21
- (
22
- cd $OWNER/bar
23
- add-new-files Bar2
24
- git push
25
- ) &> /dev/null || die
26
-
27
- (
28
- cd $OWNER/foo
29
- git subrepo pull bar
30
- modify-files-ex bar/Bar2
31
- cat bar/Bar2
32
- git push
33
- ) &> /dev/null || die
34
-
35
- (
36
- cd $OWNER/bar
37
- modify-files-ex Bar2
38
- git push
39
- ) &> /dev/null || die
40
-
41
- before="$(date -r $OWNER/foo/Foo '+%s')"
42
-
43
- (
44
- cd $OWNER/foo
45
- git subrepo pull bar || {
46
- cd .git/tmp/subrepo/bar
47
- git checkout --ours Bar2
48
- git add Bar2
49
- git commit --file ../../../../.git/worktrees/bar/MERGE_MSG
50
- cd ../../../..
51
- git subrepo commit bar
52
- git subrepo clean bar
53
- }
54
- ) &> /dev/null || die
55
-
56
- sleep 1
57
- after="$(date -r $OWNER/foo/Foo '+%s')"
58
-
59
- is "$before" "$after" \
60
- "No modification on Foo"
61
-
62
- test-exists \
63
- "$OWNER/foo/bar/Bar2" \
64
- "$OWNER/bar/Bar2" \
65
-
66
- is "$(cat $OWNER/foo/bar/Bar2)" \
67
- "new file Bar2"$'\n'"bar/Bar2" \
68
- "The readme file in the mainrepo is ours"
69
-
70
- (
71
- cd $OWNER/foo
72
- git subrepo push bar
73
- ) &> /dev/null || die
74
-
75
- (
76
- cd $OWNER/bar
77
- git pull
78
- ) &> /dev/null || die
79
-
80
- test-exists \
81
- "$OWNER/foo/bar/Bar2" \
82
- "$OWNER/bar/Bar2" \
83
-
84
- is "$(cat $OWNER/bar/Bar2)" \
85
- "new file Bar2"$'\n'"bar/Bar2" \
86
- "The readme file in the subrepo is ours"
87
-
88
- done_testing
89
-
90
- teardown
@@ -1,82 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- set -e
4
-
5
- source test/setup
6
-
7
- use Test::More
8
-
9
- clone-foo-and-bar
10
-
11
- subrepo-clone-bar-into-foo
12
-
13
- note "Pull - Conflict - Use theirs - Push"
14
-
15
- #
16
- # When you perform rebase ours/theirs are reversed, so this test case will
17
- # test using the subrepo change (theirs) although in the step below
18
- # we actually use git checkout --ours to accomplish this
19
- #
20
-
21
- (
22
- cd $OWNER/bar
23
- add-new-files Bar2
24
- git push
25
- ) &> /dev/null || die
26
-
27
- (
28
- cd $OWNER/foo
29
- git subrepo pull bar
30
- modify-files-ex bar/Bar2
31
- git push
32
- ) &> /dev/null || die
33
-
34
- (
35
- cd $OWNER/bar
36
- modify-files-ex Bar2
37
- git push
38
- ) &> /dev/null || die
39
-
40
- (
41
- cd $OWNER/foo
42
- git subrepo pull bar || {
43
- cd .git/tmp/subrepo/bar
44
- git checkout --theirs Bar2
45
- git add Bar2
46
- git commit --file ../../../../.git/worktrees/bar/MERGE_MSG
47
- cd ../../../..
48
- git subrepo commit bar
49
- git subrepo clean bar
50
- }
51
- ) &> /dev/null || die
52
-
53
- test-exists \
54
- "$OWNER/foo/bar/Bar2" \
55
- "$OWNER/bar/Bar2" \
56
-
57
- is "$(cat $OWNER/foo/bar/Bar2)" \
58
- "new file Bar2"$'\n'"Bar2" \
59
- "The readme file in the mainrepo is theirs"
60
-
61
- (
62
- cd $OWNER/foo
63
- cat bar/Bar2
64
- git subrepo push bar
65
- ) &> /dev/null || die
66
-
67
- (
68
- cd $OWNER/bar
69
- git pull
70
- ) &> /dev/null || die
71
-
72
- test-exists \
73
- "$OWNER/foo/bar/Bar2" \
74
- "$OWNER/bar/Bar2" \
75
-
76
- is "$(cat $OWNER/bar/Bar2)" \
77
- "new file Bar2"$'\n'"Bar2" \
78
- "The readme file in the subrepo is theirs"
79
-
80
- done_testing
81
-
82
- teardown
@@ -1,44 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- set -e
4
-
5
- source test/setup
6
-
7
- use Test::More
8
-
9
- clone-foo-and-bar
10
-
11
- subrepo-clone-bar-into-foo
12
-
13
- (
14
- cd $OWNER/bar
15
- add-new-files Bar2
16
- git push
17
- ) &> /dev/null || die
18
-
19
- (
20
- cd $OWNER/foo
21
- add-new-files bar/Foo2
22
- git push
23
- git subrepo pull bar
24
- ) &> /dev/null || die
25
-
26
- (
27
- cd $OWNER/bar
28
- add-new-files Bar3
29
- git push
30
- ) &> /dev/null || die
31
-
32
- (
33
- cd $OWNER/foo
34
- git subrepo pull bar
35
- ) &> /dev/null || die
36
-
37
- test-exists \
38
- "$OWNER/foo/bar/Bar2" \
39
- "$OWNER/foo/bar/Bar3" \
40
- "$OWNER/foo/bar/Foo2" \
41
-
42
- done_testing
43
-
44
- teardown
@@ -1,40 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- set -e
4
-
5
- source test/setup
6
-
7
- use Test::More
8
-
9
- clone-foo-and-bar
10
-
11
- (
12
- cd $OWNER/foo
13
- git subrepo clone ../bar bar
14
- git worktree add -b test ../wt
15
- ) &> /dev/null || die
16
-
17
- (
18
- cd $OWNER/bar
19
- modify-files Bar
20
- ) &> /dev/null || die
21
-
22
- (
23
- cd $OWNER/wt
24
- git subrepo pull --all
25
- ) &> /dev/null || die
26
-
27
- (
28
- cd $OWNER/foo
29
- git merge test
30
- ) &> /dev/null || die
31
-
32
- {
33
- is "$(cat $OWNER/foo/bar/Bar)" \
34
- "a new line" \
35
- 'bar/Bar content correct'
36
- }
37
-
38
- done_testing
39
-
40
- teardown
@@ -1,99 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- set -e
4
-
5
- source test/setup
6
-
7
- use Test::More
8
-
9
- clone-foo-and-bar
10
-
11
- subrepo-clone-bar-into-foo
12
-
13
- (
14
- cd $OWNER/bar
15
- add-new-files Bar2
16
- git push
17
- ) &> /dev/null || die
18
-
19
-
20
- # Do the pull and check output:
21
- {
22
- is "$(
23
- cd $OWNER/foo
24
- git subrepo pull bar
25
- )" \
26
- "Subrepo 'bar' pulled from '../../../tmp/upstream/bar' (master)." \
27
- 'subrepo pull command output is correct'
28
- }
29
-
30
- # Test subrepo file content:
31
- gitrepo=$OWNER/foo/bar/.gitrepo
32
- {
33
- test-exists \
34
- "$OWNER/foo/bar/Bar2" \
35
- "$gitrepo"
36
- }
37
-
38
- # Test foo/bar/.gitrepo file contents:
39
- {
40
- foo_pull_commit="$(cd $OWNER/foo; git rev-parse HEAD^)"
41
- bar_head_commit="$(cd $OWNER/bar; git rev-parse HEAD)"
42
- test-gitrepo-comment-block
43
- test-gitrepo-field "remote" "../../../$UPSTREAM/bar"
44
- test-gitrepo-field "branch" "master"
45
- test-gitrepo-field "commit" "$bar_head_commit"
46
- test-gitrepo-field "parent" "$foo_pull_commit"
47
- test-gitrepo-field "cmdver" "`git subrepo --version`"
48
- }
49
-
50
- # Check commit messages
51
- {
52
- foo_new_commit_message="$(cd $OWNER/foo; git log --format=%B -n 1)"
53
- like "$foo_new_commit_message" \
54
- "git subrepo pull bar" \
55
- "Subrepo pull commit message OK"
56
- bar_commit_short="$(git rev-parse --short $bar_head_commit)"
57
- like "$foo_new_commit_message" \
58
- 'merged: \"'$bar_commit_short \
59
- "Pull commit contains merged"
60
- }
61
-
62
- # Check that we detect that we don't need to pull
63
- {
64
- is "$(
65
- cd $OWNER/foo
66
- git subrepo pull bar
67
- )" \
68
- "Subrepo 'bar' is up to date." \
69
- 'subrepo detects that we dont need to pull'
70
- }
71
-
72
- # Test pull if we have rebased the original subrepo so that our clone
73
- # commit is no longer present in the history
74
- (
75
- cd $OWNER/bar
76
- git reset --hard master^^
77
- add-new-files Bar3
78
- git push --force
79
- ) &> /dev/null || die
80
-
81
- {
82
- test-exists \
83
- !"$OWNER/foo/pull_failed"
84
- }
85
-
86
- (
87
- cd $OWNER/foo
88
- git subrepo pull bar || touch pull_failed
89
- ) &> /dev/null || die
90
-
91
- # We check that the control file was created
92
- {
93
- test-exists \
94
- "$OWNER/foo/pull_failed"
95
- }
96
-
97
- done_testing # 9
98
-
99
- teardown
@@ -1,51 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- set -e
4
-
5
- source test/setup
6
-
7
- use Test::More
8
-
9
- # Create directory and init git locally as this will test some corner
10
- # cases when you don't have any previous commits to rely on
11
- # see issue/122
12
- (
13
- mkdir -p $OWNER/init
14
- cd $OWNER/init
15
- git init
16
- mkdir doc
17
- add-new-files doc/FooBar
18
- git subrepo init doc || die
19
- mkdir ../upstream
20
- git init --bare ../upstream || die
21
- ) &> /dev/null
22
-
23
- output="$(
24
- cd $OWNER/init
25
- git subrepo push doc --remote=../upstream
26
- )"
27
-
28
- is "$output" "Subrepo 'doc' pushed to '../upstream' (master)." \
29
- 'Command output is correct'
30
-
31
- # Test init/doc/.gitrepo file contents:
32
- gitrepo=$OWNER/init/doc/.gitrepo
33
- {
34
- test-gitrepo-field "remote" "../upstream"
35
- test-gitrepo-field "branch" "master"
36
- }
37
-
38
- (
39
- cd $OWNER
40
- git clone upstream up
41
- ) &>/dev/null
42
-
43
- {
44
- test-exists \
45
- "$OWNER/up/.git/" \
46
- "!$OWNER/up/.gitrepo"
47
- }
48
-
49
- done_testing
50
-
51
- teardown