avm-tools 0.129.0 → 0.129.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/Gemfile +0 -7
 - data/lib/avm/tools/version.rb +1 -1
 - metadata +41 -389
 - data/sub/avm-eac_postgresql_base0/Gemfile +0 -5
 - data/sub/avm-eac_postgresql_base0/avm-eac_postgresql_base0.gemspec +0 -19
 - data/sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0/instance/assert.rb +0 -77
 - data/sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0/instance/data_unit.rb +0 -39
 - data/sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0/instance.rb +0 -74
 - data/sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0/instance_with.rb +0 -18
 - data/sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0/version.rb +0 -7
 - data/sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0.rb +0 -9
 - data/sub/avm-eac_postgresql_base0/spec/rubocop_spec.rb +0 -3
 - data/sub/avm-eac_postgresql_base0/spec/spec_helper.rb +0 -4
 - data/sub/avm-eac_ubuntu_base0/Gemfile +0 -5
 - data/sub/avm-eac_ubuntu_base0/avm-eac_ubuntu_base0.gemspec +0 -20
 - data/sub/avm-eac_ubuntu_base0/lib/avm/eac_ubuntu_base0/apache/resource.rb +0 -59
 - data/sub/avm-eac_ubuntu_base0/lib/avm/eac_ubuntu_base0/apache.rb +0 -26
 - data/sub/avm-eac_ubuntu_base0/lib/avm/eac_ubuntu_base0/docker_image.rb +0 -29
 - data/sub/avm-eac_ubuntu_base0/lib/avm/eac_ubuntu_base0/instances/base.rb +0 -22
 - data/sub/avm-eac_ubuntu_base0/lib/avm/eac_ubuntu_base0/instances.rb +0 -11
 - data/sub/avm-eac_ubuntu_base0/lib/avm/eac_ubuntu_base0/runners/base/docker.rb +0 -19
 - data/sub/avm-eac_ubuntu_base0/lib/avm/eac_ubuntu_base0/runners/base.rb +0 -28
 - data/sub/avm-eac_ubuntu_base0/lib/avm/eac_ubuntu_base0/version.rb +0 -7
 - data/sub/avm-eac_ubuntu_base0/lib/avm/eac_ubuntu_base0.rb +0 -9
 - data/sub/avm-eac_ubuntu_base0/spec/lib/avm/eac_ubuntu_base0/docker_image_spec.rb +0 -16
 - data/sub/avm-eac_ubuntu_base0/spec/lib/avm/eac_ubuntu_base0/runners/base/docker_spec.rb +0 -14
 - data/sub/avm-eac_ubuntu_base0/spec/lib/avm/eac_ubuntu_base0/runners/base_spec.rb +0 -7
 - data/sub/avm-eac_ubuntu_base0/spec/rubocop_spec.rb +0 -3
 - data/sub/avm-eac_ubuntu_base0/spec/spec_helper.rb +0 -4
 - data/sub/avm-eac_ubuntu_base0/template/avm/eac_ubuntu_base0/docker_image/Dockerfile.template +0 -24
 - data/sub/avm-files/Gemfile +0 -5
 - data/sub/avm-files/avm-files.gemspec +0 -21
 - data/sub/avm-files/lib/avm/files/appendable/file_content.rb +0 -24
 - data/sub/avm-files/lib/avm/files/appendable/plain_directory.rb +0 -25
 - data/sub/avm-files/lib/avm/files/appendable/resource_base.rb +0 -13
 - data/sub/avm-files/lib/avm/files/appendable/tar_output_command.rb +0 -26
 - data/sub/avm-files/lib/avm/files/appendable/templatized_directory.rb +0 -29
 - data/sub/avm-files/lib/avm/files/appendable.rb +0 -55
 - data/sub/avm-files/lib/avm/files/appender.rb +0 -11
 - data/sub/avm-files/lib/avm/files/deploy.rb +0 -71
 - data/sub/avm-files/lib/avm/files/formatter/formats/base.rb +0 -62
 - data/sub/avm-files/lib/avm/files/formatter/formats/generic_plain.rb +0 -34
 - data/sub/avm-files/lib/avm/files/formatter/formats/html.rb +0 -45
 - data/sub/avm-files/lib/avm/files/formatter/formats/javascript.rb +0 -24
 - data/sub/avm-files/lib/avm/files/formatter/formats/json.rb +0 -27
 - data/sub/avm-files/lib/avm/files/formatter/formats/php.rb +0 -22
 - data/sub/avm-files/lib/avm/files/formatter/formats/python.rb +0 -22
 - data/sub/avm-files/lib/avm/files/formatter/formats/ruby.rb +0 -22
 - data/sub/avm-files/lib/avm/files/formatter/formats/xml.rb +0 -28
 - data/sub/avm-files/lib/avm/files/formatter/formats.rb +0 -13
 - data/sub/avm-files/lib/avm/files/formatter/utf8_assert.rb +0 -74
 - data/sub/avm-files/lib/avm/files/formatter.rb +0 -90
 - data/sub/avm-files/lib/avm/files/version.rb +0 -7
 - data/sub/avm-files/lib/avm/files.rb +0 -9
 - data/sub/avm-files/spec/rubocop_spec.rb +0 -3
 - data/sub/avm-files/spec/spec_helper.rb +0 -4
 - data/sub/avm-git/Gemfile +0 -5
 - data/sub/avm-git/avm-git.gemspec +0 -21
 - data/sub/avm-git/lib/avm/git/auto_commit/commit_info.rb +0 -23
 - data/sub/avm-git/lib/avm/git/auto_commit/rules/base.rb +0 -39
 - data/sub/avm-git/lib/avm/git/auto_commit/rules/last.rb +0 -19
 - data/sub/avm-git/lib/avm/git/auto_commit/rules/manual.rb +0 -45
 - data/sub/avm-git/lib/avm/git/auto_commit/rules/new.rb +0 -24
 - data/sub/avm-git/lib/avm/git/auto_commit/rules/nth.rb +0 -31
 - data/sub/avm-git/lib/avm/git/auto_commit/rules/unique.rb +0 -21
 - data/sub/avm-git/lib/avm/git/auto_commit/rules.rb +0 -31
 - data/sub/avm-git/lib/avm/git/auto_commit_path/ruby.rb +0 -20
 - data/sub/avm-git/lib/avm/git/auto_commit_path.rb +0 -28
 - data/sub/avm-git/lib/avm/git/commit/class_methods.rb +0 -31
 - data/sub/avm-git/lib/avm/git/commit/deploy.rb +0 -38
 - data/sub/avm-git/lib/avm/git/commit/deploy_methods.rb +0 -19
 - data/sub/avm-git/lib/avm/git/commit/diff_tree_line.rb +0 -32
 - data/sub/avm-git/lib/avm/git/commit/file.rb +0 -46
 - data/sub/avm-git/lib/avm/git/commit.rb +0 -59
 - data/sub/avm-git/lib/avm/git/file_auto_fixup.rb +0 -83
 - data/sub/avm-git/lib/avm/git/issue/complete/commits.rb +0 -42
 - data/sub/avm-git/lib/avm/git/issue/complete/git_subrepos.rb +0 -23
 - data/sub/avm-git/lib/avm/git/issue/complete/local_branch.rb +0 -61
 - data/sub/avm-git/lib/avm/git/issue/complete/local_tag.rb +0 -39
 - data/sub/avm-git/lib/avm/git/issue/complete/push.rb +0 -60
 - data/sub/avm-git/lib/avm/git/issue/complete/remote.rb +0 -33
 - data/sub/avm-git/lib/avm/git/issue/complete/test.rb +0 -40
 - data/sub/avm-git/lib/avm/git/issue/complete/tracker.rb +0 -28
 - data/sub/avm-git/lib/avm/git/issue/complete/validation.rb +0 -39
 - data/sub/avm-git/lib/avm/git/issue/complete/validations.rb +0 -53
 - data/sub/avm-git/lib/avm/git/issue/complete/working_tree.rb +0 -19
 - data/sub/avm-git/lib/avm/git/issue/complete.rb +0 -66
 - data/sub/avm-git/lib/avm/git/issue/deliver.rb +0 -56
 - data/sub/avm-git/lib/avm/git/issue.rb +0 -11
 - data/sub/avm-git/lib/avm/git/organize/reference_update.rb +0 -34
 - data/sub/avm-git/lib/avm/git/organize/repository.rb +0 -76
 - data/sub/avm-git/lib/avm/git/organize.rb +0 -11
 - data/sub/avm-git/lib/avm/git/revision_test.rb +0 -105
 - data/sub/avm-git/lib/avm/git/scms/git/change_tracker.rb +0 -35
 - data/sub/avm-git/lib/avm/git/scms/git/commit.rb +0 -55
 - data/sub/avm-git/lib/avm/git/scms/git.rb +0 -73
 - data/sub/avm-git/lib/avm/git/scms/git_subrepo.rb +0 -39
 - data/sub/avm-git/lib/avm/git/scms/provider.rb +0 -19
 - data/sub/avm-git/lib/avm/git/scms.rb +0 -11
 - data/sub/avm-git/lib/avm/git/subrepo_check/parent.rb +0 -51
 - data/sub/avm-git/lib/avm/git/subrepo_check/remote.rb +0 -89
 - data/sub/avm-git/lib/avm/git/subrepo_check/show_result.rb +0 -32
 - data/sub/avm-git/lib/avm/git/subrepo_check.rb +0 -38
 - data/sub/avm-git/lib/avm/git/subrepo_checks.rb +0 -59
 - data/sub/avm-git/lib/avm/git/version.rb +0 -7
 - data/sub/avm-git/lib/avm/git.rb +0 -11
 - data/sub/avm-git/spec/lib/avm/git/auto_commit_path_spec.rb +0 -21
 - data/sub/avm-git/spec/lib/avm/git/commit/deploy_spec.rb +0 -93
 - data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec.rb +0 -13
 - data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/add.source.out +0 -1
 - data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/add.target.yaml +0 -7
 - data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/modify.source.out +0 -1
 - data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/modify.target.yaml +0 -7
 - data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/remove.source.out +0 -1
 - data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/remove.target.yaml +0 -7
 - data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/rename.source.out +0 -2
 - data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/rename.target.yaml +0 -13
 - data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/rename_modify.source.out +0 -2
 - data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/rename_modify.target.yaml +0 -13
 - data/sub/avm-git/spec/lib/avm/git/commit_spec.rb +0 -56
 - data/sub/avm-git/spec/lib/avm/git/scms/git_spec.rb +0 -8
 - data/sub/avm-git/spec/lib/avm/git/scms/git_subrepo_spec.rb +0 -8
 - data/sub/avm-git/spec/rubocop_spec.rb +0 -3
 - data/sub/avm-git/spec/spec_helper.rb +0 -4
 - data/sub/eac_git/Gemfile +0 -5
 - data/sub/eac_git/eac_git.gemspec +0 -20
 - data/sub/eac_git/lib/eac_git/executables.rb +0 -48
 - data/sub/eac_git/lib/eac_git/local/branch.rb +0 -27
 - data/sub/eac_git/lib/eac_git/local/commit/archive.rb +0 -19
 - data/sub/eac_git/lib/eac_git/local/commit/changed_file.rb +0 -46
 - data/sub/eac_git/lib/eac_git/local/commit/diff_tree_line.rb +0 -32
 - data/sub/eac_git/lib/eac_git/local/commit.rb +0 -73
 - data/sub/eac_git/lib/eac_git/local/dirty_files.rb +0 -37
 - data/sub/eac_git/lib/eac_git/local/log.rb +0 -17
 - data/sub/eac_git/lib/eac_git/local/remote.rb +0 -27
 - data/sub/eac_git/lib/eac_git/local/remotes.rb +0 -20
 - data/sub/eac_git/lib/eac_git/local/subrepo/config.rb +0 -43
 - data/sub/eac_git/lib/eac_git/local/subrepo.rb +0 -49
 - data/sub/eac_git/lib/eac_git/local.rb +0 -126
 - data/sub/eac_git/lib/eac_git/remote/ls_result.rb +0 -20
 - data/sub/eac_git/lib/eac_git/remote.rb +0 -19
 - data/sub/eac_git/lib/eac_git/rspec/setup.rb +0 -23
 - data/sub/eac_git/lib/eac_git/rspec/stubbed_git_local_repo.rb +0 -71
 - data/sub/eac_git/lib/eac_git/rspec.rb +0 -9
 - data/sub/eac_git/lib/eac_git/version.rb +0 -5
 - data/sub/eac_git/lib/eac_git.rb +0 -7
 - data/sub/eac_git/spec/lib/eac_git/executables_spec.rb +0 -13
 - data/sub/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec.rb +0 -13
 - data/sub/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/add.source.out +0 -1
 - data/sub/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/add.target.yaml +0 -7
 - data/sub/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/modify.source.out +0 -1
 - data/sub/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/modify.target.yaml +0 -7
 - data/sub/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/remove.source.out +0 -1
 - data/sub/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/remove.target.yaml +0 -7
 - data/sub/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/rename.source.out +0 -2
 - data/sub/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/rename.target.yaml +0 -13
 - data/sub/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/rename_modify.source.out +0 -2
 - data/sub/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/rename_modify.target.yaml +0 -13
 - data/sub/eac_git/spec/lib/eac_git/local/commit_spec.rb +0 -58
 - data/sub/eac_git/spec/rubocop_spec.rb +0 -3
 - data/sub/eac_git/spec/spec_helper.rb +0 -4
 - data/sub/eac_git/vendor/git-subrepo/Changes +0 -110
 - data/sub/eac_git/vendor/git-subrepo/Intro.pod +0 -509
 - data/sub/eac_git/vendor/git-subrepo/License +0 -21
 - data/sub/eac_git/vendor/git-subrepo/Makefile +0 -82
 - data/sub/eac_git/vendor/git-subrepo/Meta +0 -28
 - data/sub/eac_git/vendor/git-subrepo/ReadMe.pod +0 -698
 - data/sub/eac_git/vendor/git-subrepo/doc/comparison.swim +0 -35
 - data/sub/eac_git/vendor/git-subrepo/doc/git-subrepo.swim +0 -608
 - data/sub/eac_git/vendor/git-subrepo/doc/intro-to-subrepo.swim +0 -387
 - data/sub/eac_git/vendor/git-subrepo/ext/bashplus/Changes +0 -15
 - data/sub/eac_git/vendor/git-subrepo/ext/bashplus/License +0 -21
 - data/sub/eac_git/vendor/git-subrepo/ext/bashplus/Makefile +0 -45
 - data/sub/eac_git/vendor/git-subrepo/ext/bashplus/Meta +0 -28
 - data/sub/eac_git/vendor/git-subrepo/ext/bashplus/ReadMe.pod +0 -77
 - data/sub/eac_git/vendor/git-subrepo/ext/bashplus/bin/bash+ +0 -43
 - data/sub/eac_git/vendor/git-subrepo/ext/bashplus/doc/bash+.swim +0 -61
 - data/sub/eac_git/vendor/git-subrepo/ext/bashplus/lib/bash+.bash +0 -92
 - data/sub/eac_git/vendor/git-subrepo/ext/bashplus/man/man1/bash+.1 +0 -134
 - data/sub/eac_git/vendor/git-subrepo/ext/bashplus/man/man3/bash+.3 +0 -134
 - data/sub/eac_git/vendor/git-subrepo/ext/bashplus/test/base.t +0 -12
 - data/sub/eac_git/vendor/git-subrepo/ext/bashplus/test/fcopy.t +0 -22
 - data/sub/eac_git/vendor/git-subrepo/ext/bashplus/test/lib/foo/bar.bash +0 -3
 - data/sub/eac_git/vendor/git-subrepo/ext/bashplus/test/lib/foo/foo.bash +0 -3
 - data/sub/eac_git/vendor/git-subrepo/ext/bashplus/test/source-bash+-std.t +0 -18
 - data/sub/eac_git/vendor/git-subrepo/ext/bashplus/test/source-bash+.t +0 -23
 - data/sub/eac_git/vendor/git-subrepo/ext/bashplus/test/test.bash +0 -70
 - data/sub/eac_git/vendor/git-subrepo/ext/bashplus/test/use.t +0 -19
 - data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/Changes +0 -15
 - data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/License +0 -21
 - data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/Makefile +0 -20
 - data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/Meta +0 -30
 - data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ReadMe.pod +0 -115
 - data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/doc/test-more.swim +0 -89
 - data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/Changes +0 -15
 - data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/License +0 -21
 - data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/Makefile +0 -45
 - data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/Meta +0 -28
 - data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/ReadMe.pod +0 -77
 - data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/bin/bash+ +0 -43
 - data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/doc/bash+.swim +0 -61
 - data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/lib/bash+.bash +0 -92
 - data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/man/man1/bash+.1 +0 -134
 - data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/man/man3/bash+.3 +0 -134
 - data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/base.t +0 -12
 - data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/fcopy.t +0 -22
 - data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/lib/foo/bar.bash +0 -3
 - data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/lib/foo/foo.bash +0 -3
 - data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/source-bash+-std.t +0 -18
 - data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/source-bash+.t +0 -23
 - data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/test.bash +0 -70
 - data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/use.t +0 -19
 - data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Changes +0 -15
 - data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/License +0 -21
 - data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Makefile +0 -37
 - data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Meta +0 -28
 - data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/ReadMe.pod +0 -66
 - data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/doc/test-tap.swim +0 -48
 - data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/lib/test/tap.bash +0 -153
 - data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/man/man3/test-tap.3 +0 -119
 - data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/bail_out.t +0 -13
 - data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/done.t +0 -10
 - data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/fail.t +0 -20
 - data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/fail_fast.t +0 -15
 - data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/helper.bash +0 -9
 - data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/pass.t +0 -9
 - data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/plan.t +0 -10
 - data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/skip_all.t +0 -20
 - data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/tap.t +0 -13
 - data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/test/bail.t +0 -14
 - data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/test/fail.t +0 -7
 - data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/test/fail_fast.t +0 -12
 - data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/test/skip-all-init.t +0 -8
 - data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/test/skip-all-plan.t +0 -9
 - data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/lib/test/more.bash +0 -95
 - data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/man/man3/test-more.3 +0 -173
 - data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/test/fail.t +0 -20
 - data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/test/more.t +0 -20
 - data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/test/pass.t +0 -9
 - data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/test/setup +0 -8
 - data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/test/skip_all.t +0 -11
 - data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/test/test/fail1.t +0 -12
 - data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/test/test/skip_all.t +0 -10
 - data/sub/eac_git/vendor/git-subrepo/lib/git-subrepo +0 -1903
 - data/sub/eac_git/vendor/git-subrepo/lib/git-subrepo.d/bash+.bash +0 -1
 - data/sub/eac_git/vendor/git-subrepo/lib/git-subrepo.d/help-functions.bash +0 -339
 - data/sub/eac_git/vendor/git-subrepo/man/man1/git-subrepo.1 +0 -743
 - data/sub/eac_git/vendor/git-subrepo/note/0.4.0 +0 -12
 - data/sub/eac_git/vendor/git-subrepo/note/AllGitCmds +0 -148
 - data/sub/eac_git/vendor/git-subrepo/note/Cases +0 -32
 - data/sub/eac_git/vendor/git-subrepo/note/Commands +0 -33
 - data/sub/eac_git/vendor/git-subrepo/note/Dags +0 -199
 - data/sub/eac_git/vendor/git-subrepo/note/Gists +0 -7
 - data/sub/eac_git/vendor/git-subrepo/note/Links +0 -25
 - data/sub/eac_git/vendor/git-subrepo/note/Plugins +0 -10
 - data/sub/eac_git/vendor/git-subrepo/note/Spec +0 -39
 - data/sub/eac_git/vendor/git-subrepo/note/Story1 +0 -57
 - data/sub/eac_git/vendor/git-subrepo/note/ToDo +0 -55
 - data/sub/eac_git/vendor/git-subrepo/note/design.swim +0 -137
 - data/sub/eac_git/vendor/git-subrepo/note/design2.swim +0 -85
 - data/sub/eac_git/vendor/git-subrepo/note/init-test +0 -38
 - data/sub/eac_git/vendor/git-subrepo/note/pull-dance.txt +0 -18
 - data/sub/eac_git/vendor/git-subrepo/note/recreate-rebase-conflict.sh +0 -56
 - data/sub/eac_git/vendor/git-subrepo/note/subtree-rebase-fail-example/test.bash +0 -29
 - data/sub/eac_git/vendor/git-subrepo/note/test-subrepo-push.sh +0 -69
 - data/sub/eac_git/vendor/git-subrepo/note/test.sh +0 -58
 - data/sub/eac_git/vendor/git-subrepo/pkg/bin/generate-completion.pl +0 -210
 - data/sub/eac_git/vendor/git-subrepo/pkg/bin/generate-help-functions.pl +0 -89
 - data/sub/eac_git/vendor/git-subrepo/share/completion.bash +0 -42
 - data/sub/eac_git/vendor/git-subrepo/share/enable-completion.sh +0 -50
 - data/sub/eac_git/vendor/git-subrepo/share/git-completion.bash +0 -2738
 - data/sub/eac_git/vendor/git-subrepo/share/zsh-completion/_git-subrepo +0 -81
 - data/sub/eac_git/vendor/git-subrepo/test/branch-all.t +0 -41
 - data/sub/eac_git/vendor/git-subrepo/test/branch-rev-list-one-path.t +0 -43
 - data/sub/eac_git/vendor/git-subrepo/test/branch-rev-list.t +0 -47
 - data/sub/eac_git/vendor/git-subrepo/test/branch.t +0 -52
 - data/sub/eac_git/vendor/git-subrepo/test/clean.t +0 -43
 - data/sub/eac_git/vendor/git-subrepo/test/clone-annotated-tag.t +0 -45
 - data/sub/eac_git/vendor/git-subrepo/test/clone.t +0 -107
 - data/sub/eac_git/vendor/git-subrepo/test/compile.t +0 -19
 - data/sub/eac_git/vendor/git-subrepo/test/config.t +0 -58
 - data/sub/eac_git/vendor/git-subrepo/test/encode.t +0 -91
 - data/sub/eac_git/vendor/git-subrepo/test/error.t +0 -171
 - data/sub/eac_git/vendor/git-subrepo/test/fetch.t +0 -43
 - data/sub/eac_git/vendor/git-subrepo/test/gitignore.t +0 -61
 - data/sub/eac_git/vendor/git-subrepo/test/init.t +0 -64
 - data/sub/eac_git/vendor/git-subrepo/test/issue29.t +0 -98
 - data/sub/eac_git/vendor/git-subrepo/test/issue95.t +0 -98
 - data/sub/eac_git/vendor/git-subrepo/test/issue96.t +0 -96
 - data/sub/eac_git/vendor/git-subrepo/test/pull-all.t +0 -38
 - data/sub/eac_git/vendor/git-subrepo/test/pull-merge.t +0 -113
 - data/sub/eac_git/vendor/git-subrepo/test/pull-message.t +0 -88
 - data/sub/eac_git/vendor/git-subrepo/test/pull-new-branch.t +0 -58
 - data/sub/eac_git/vendor/git-subrepo/test/pull-ours.t +0 -90
 - data/sub/eac_git/vendor/git-subrepo/test/pull-theirs.t +0 -82
 - data/sub/eac_git/vendor/git-subrepo/test/pull-twice.t +0 -44
 - data/sub/eac_git/vendor/git-subrepo/test/pull-worktree.t +0 -40
 - data/sub/eac_git/vendor/git-subrepo/test/pull.t +0 -99
 - data/sub/eac_git/vendor/git-subrepo/test/push-after-init.t +0 -51
 - data/sub/eac_git/vendor/git-subrepo/test/push-force.t +0 -56
 - data/sub/eac_git/vendor/git-subrepo/test/push-new-branch.t +0 -61
 - data/sub/eac_git/vendor/git-subrepo/test/push-no-changes.t +0 -29
 - data/sub/eac_git/vendor/git-subrepo/test/push-squash.t +0 -56
 - data/sub/eac_git/vendor/git-subrepo/test/push.t +0 -176
 - data/sub/eac_git/vendor/git-subrepo/test/reclone.t +0 -45
 - data/sub/eac_git/vendor/git-subrepo/test/repo/bar/HEAD +0 -1
 - data/sub/eac_git/vendor/git-subrepo/test/repo/bar/config +0 -4
 - data/sub/eac_git/vendor/git-subrepo/test/repo/bar/objects/1f/0c4b264caed0126814a0ede851a1e0b4e16ae6 +0 -0
 - data/sub/eac_git/vendor/git-subrepo/test/repo/bar/objects/87/46903fdb1b9c2101377880125917c2e05b4d69 +0 -0
 - data/sub/eac_git/vendor/git-subrepo/test/repo/bar/objects/94/c86ffc745232d89f78c6f895e11e71272518db +0 -0
 - data/sub/eac_git/vendor/git-subrepo/test/repo/bar/objects/c6/76c57b6576743fa56278527aa60ebd2e202a7c +0 -0
 - data/sub/eac_git/vendor/git-subrepo/test/repo/bar/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391 +0 -0
 - data/sub/eac_git/vendor/git-subrepo/test/repo/bar/objects/f6/2a8ff3feadf39b0a98f1a86ec6d1eb33858ee9 +0 -0
 - data/sub/eac_git/vendor/git-subrepo/test/repo/bar/refs/heads/master +0 -1
 - data/sub/eac_git/vendor/git-subrepo/test/repo/bar/refs/tags/A +0 -1
 - data/sub/eac_git/vendor/git-subrepo/test/repo/foo/HEAD +0 -1
 - data/sub/eac_git/vendor/git-subrepo/test/repo/foo/config +0 -4
 - data/sub/eac_git/vendor/git-subrepo/test/repo/foo/objects/a0/f4cdaaf533a936296cdebbed8206c3b9ededa8 +0 -0
 - data/sub/eac_git/vendor/git-subrepo/test/repo/foo/objects/e2/1291a1ad392a9d4c51dd9586804f1467b28afd +0 -0
 - data/sub/eac_git/vendor/git-subrepo/test/repo/foo/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391 +0 -0
 - data/sub/eac_git/vendor/git-subrepo/test/repo/foo/refs/heads/master +0 -1
 - data/sub/eac_git/vendor/git-subrepo/test/repo/init/HEAD +0 -1
 - data/sub/eac_git/vendor/git-subrepo/test/repo/init/config +0 -5
 - data/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/11/523f5dcf03b4c89b592dc8a3d0308f68da2386 +0 -0
 - data/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/14/2addf8ec5f37334e837440122c62f2c68a29ad +0 -0
 - data/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/32/5180321750a21cd7a4e7ecda319e557a4f6a09 +0 -2
 - data/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/3d/918c6901c02f43af5d31779dd5e1f9166aeb36 +0 -0
 - data/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/3e/4cb596066dce63ba4d047abddb677389b65e19 +0 -0
 - data/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/4b/6e53022e7a04f07887697e4f3d7c377fd9822b +0 -0
 - data/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/58/931fc1bd559b59c41ea738fc7ad04f9ad01bd3 +0 -0
 - data/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/5e/c0c28e1b806f25efdca18fcf7a74b49c3755bd +0 -0
 - data/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/75/fa6584e748f57eff06eebdc55e9ac21d4fcbf2 +0 -1
 - data/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/80/2d5edbd5e1cb7fca82b5bd38e7c8a0a496fb20 +0 -0
 - data/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/94/7b3d714c38791e95ad6f928b48c98bb8708acd +0 -0
 - data/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/95/e1f2df3f4d5f3d7a60588c25a7ca8a913d3c2a +0 -1
 - data/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/b1/5f4a7666baf40d949548ead946a3370e273479 +0 -0
 - data/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/c3/ee8978c4c5d84c3b7d00ba8e5906933d027882 +0 -0
 - data/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/c8/b0bffbc405ef3fad7354ff833fbec36d67ddfa +0 -3
 - data/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/dd/8bdb934ec848137f011fe423b185505c343626 +0 -2
 - data/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/e2/9be58c767cfeb27235c995d293a7d71aac0135 +0 -2
 - data/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/ee/1224401fc6aac595145fa727dcf6706ac8aec1 +0 -1
 - data/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/f1/cc1a657b2e805c400f5dcaaa76bd29c6178b1b +0 -0
 - data/sub/eac_git/vendor/git-subrepo/test/repo/init/refs/heads/master +0 -1
 - data/sub/eac_git/vendor/git-subrepo/test/setup +0 -205
 - data/sub/eac_git/vendor/git-subrepo/test/status.t +0 -68
 - data/sub/eac_git/vendor/git-subrepo/test/submodule.t +0 -45
 - data/sub/eac_rest/Gemfile +0 -5
 - data/sub/eac_rest/eac_rest.gemspec +0 -18
 - data/sub/eac_rest/lib/eac_rest/api.rb +0 -50
 - data/sub/eac_rest/lib/eac_rest/entity.rb +0 -16
 - data/sub/eac_rest/lib/eac_rest/request.rb +0 -95
 - data/sub/eac_rest/lib/eac_rest/response.rb +0 -112
 - data/sub/eac_rest/lib/eac_rest/version.rb +0 -5
 - data/sub/eac_rest/lib/eac_rest.rb +0 -7
 - data/sub/eac_rest/spec/rubocop_spec.rb +0 -3
 - data/sub/eac_rest/spec/spec_helper.rb +0 -4
 - data/sub/eac_templates/Gemfile +0 -5
 - data/sub/eac_templates/eac_templates.gemspec +0 -19
 - data/sub/eac_templates/lib/eac_templates/core_ext.rb +0 -4
 - data/sub/eac_templates/lib/eac_templates/directory.rb +0 -108
 - data/sub/eac_templates/lib/eac_templates/file.rb +0 -48
 - data/sub/eac_templates/lib/eac_templates/from_all_gems.rb +0 -4
 - data/sub/eac_templates/lib/eac_templates/from_gem.rb +0 -35
 - data/sub/eac_templates/lib/eac_templates/patches/module/erb_template.rb +0 -9
 - data/sub/eac_templates/lib/eac_templates/patches/module/template.rb +0 -10
 - data/sub/eac_templates/lib/eac_templates/patches/module.rb +0 -4
 - data/sub/eac_templates/lib/eac_templates/patches/object/erb_template.rb +0 -9
 - data/sub/eac_templates/lib/eac_templates/patches/object/template.rb +0 -9
 - data/sub/eac_templates/lib/eac_templates/patches/object.rb +0 -4
 - data/sub/eac_templates/lib/eac_templates/patches.rb +0 -4
 - data/sub/eac_templates/lib/eac_templates/searcher.rb +0 -53
 - data/sub/eac_templates/lib/eac_templates/variable_not_found_error.rb +0 -5
 - data/sub/eac_templates/lib/eac_templates/variable_providers/base.rb +0 -21
 - data/sub/eac_templates/lib/eac_templates/variable_providers/config_reader.rb +0 -27
 - data/sub/eac_templates/lib/eac_templates/variable_providers/entries_reader.rb +0 -23
 - data/sub/eac_templates/lib/eac_templates/variable_providers/generic.rb +0 -23
 - data/sub/eac_templates/lib/eac_templates/variable_providers/hash.rb +0 -27
 - data/sub/eac_templates/lib/eac_templates/variable_providers.rb +0 -23
 - data/sub/eac_templates/lib/eac_templates/version.rb +0 -5
 - data/sub/eac_templates/lib/eac_templates.rb +0 -7
 - data/sub/eac_templates/spec/lib/eac_templates/file_spec.rb +0 -35
 - data/sub/eac_templates/spec/lib/eac_templates/file_spec_files/expected_content +0 -2
 - data/sub/eac_templates/spec/lib/eac_templates/file_spec_files/source.template +0 -2
 - data/sub/eac_templates/spec/lib/eac_templates/searcher_spec.rb +0 -30
 - data/sub/eac_templates/spec/lib/eac_templates/searcher_spec_files/path1/subdir1/file1.template +0 -1
 - data/sub/eac_templates/spec/lib/eac_templates/searcher_spec_files/path1/subdir1/file2 +0 -1
 - data/sub/eac_templates/spec/lib/eac_templates/searcher_spec_files/path2/subdir1/file3.template +0 -1
 - data/sub/eac_templates/spec/lib/object/template_spec.rb +0 -23
 - data/sub/eac_templates/spec/lib/object/template_spec_files/path/my_stub_with_template +0 -1
 - data/sub/eac_templates/spec/rubocop_spec.rb +0 -3
 - data/sub/eac_templates/spec/spec_helper.rb +0 -4
 
| 
         @@ -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
         
     |