avm-tools 0.55.0 → 0.59.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/lib/avm/local_projects.rb +9 -0
- data/lib/avm/local_projects/instance.rb +28 -0
- data/lib/avm/projects.rb +9 -0
- data/lib/avm/projects/stereotype.rb +55 -0
- data/lib/avm/projects/stereotypes.rb +20 -0
- data/lib/avm/projects/stereotypes/git.rb +25 -0
- data/lib/avm/projects/stereotypes/git/publish.rb +15 -0
- data/lib/avm/projects/stereotypes/git/warp.rb +27 -0
- data/lib/avm/projects/stereotypes/git_subrepo.rb +34 -0
- data/lib/avm/projects/stereotypes/git_subrepo/publish.rb +14 -0
- data/lib/avm/projects/stereotypes/git_subrepo/warp.rb +87 -0
- data/lib/avm/projects/stereotypes/git_subtree.rb +51 -0
- data/lib/avm/projects/stereotypes/git_subtree/publish.rb +12 -0
- data/lib/avm/projects/stereotypes/git_subtree/warp.rb +29 -0
- data/lib/avm/projects/stereotypes/rails_application.rb +23 -0
- data/lib/avm/projects/stereotypes/redmine_plugin.rb +23 -0
- data/lib/avm/projects/stereotypes/ruby_gem.rb +30 -0
- data/lib/avm/projects/stereotypes/ruby_gem/publish.rb +129 -0
- data/lib/avm/self.rb +5 -0
- data/lib/avm/tools/runner.rb +8 -24
- data/lib/avm/tools/runner/eac_redmine_base0/project_rename.rb +64 -0
- data/lib/avm/tools/runner/launcher.rb +10 -2
- data/lib/avm/tools/runner/launcher/instances.rb +45 -0
- data/lib/avm/tools/runner/launcher/projects.rb +50 -0
- data/lib/avm/tools/runner/launcher/publish.rb +65 -0
- data/lib/avm/tools/runner/local_project.rb +32 -0
- data/lib/avm/tools/runner/local_project/info.rb +25 -0
- data/lib/avm/tools/version.rb +1 -1
- data/lib/eac_launcher.rb +1 -2
- data/lib/eac_launcher/git/publish_base.rb +1 -0
- data/lib/eac_launcher/git/sub_warp_base.rb +1 -1
- data/lib/eac_launcher/git/warp_base.rb +2 -2
- data/lib/eac_launcher/instances/base.rb +2 -2
- data/lib/eac_launcher/instances/runner_helper.rb +1 -1
- data/lib/eac_launcher/paths/logical.rb +2 -2
- data/vendor/{gems/eac_git → eac_docker}/Gemfile +0 -0
- data/vendor/eac_docker/eac_docker.gemspec +18 -0
- data/vendor/eac_docker/lib/eac_docker.rb +7 -0
- data/vendor/eac_docker/lib/eac_docker/container.rb +74 -0
- data/vendor/eac_docker/lib/eac_docker/executables.rb +18 -0
- data/vendor/eac_docker/lib/eac_docker/images.rb +9 -0
- data/vendor/eac_docker/lib/eac_docker/images/base.rb +14 -0
- data/vendor/eac_docker/lib/eac_docker/images/coded.rb +39 -0
- data/vendor/eac_docker/lib/eac_docker/images/named.rb +30 -0
- data/vendor/eac_docker/lib/eac_docker/images/templatized.rb +26 -0
- data/vendor/eac_docker/lib/eac_docker/registry.rb +17 -0
- data/vendor/eac_docker/lib/eac_docker/rspec.rb +17 -0
- data/vendor/eac_docker/lib/eac_docker/version.rb +5 -0
- data/vendor/eac_docker/spec/lib/eac_docker/executables_spec.rb +9 -0
- data/vendor/eac_docker/spec/lib/eac_docker/images/coded_spec.rb +12 -0
- data/vendor/eac_docker/spec/lib/eac_docker/images/coded_spec_files/image1/Dockerfile +1 -0
- data/vendor/eac_docker/spec/lib/eac_docker/images/templatized_spec.rb +17 -0
- data/vendor/eac_docker/spec/lib/eac_docker/images/templatized_spec_files/stub_docker_image/Dockerfile +1 -0
- data/vendor/{gems/eac_git → eac_docker}/spec/rubocop_spec.rb +0 -0
- data/vendor/eac_docker/spec/spec_helper.rb +103 -0
- data/vendor/eac_git/Gemfile +5 -0
- data/vendor/{gems/eac_git → eac_git}/eac_git.gemspec +0 -0
- data/vendor/{gems/eac_git → eac_git}/lib/eac_git.rb +0 -0
- data/vendor/{gems/eac_git → eac_git}/lib/eac_git/executables.rb +0 -0
- data/vendor/{gems/eac_git → eac_git}/lib/eac_git/local.rb +0 -0
- data/vendor/{gems/eac_git → eac_git}/lib/eac_git/local/subrepo.rb +0 -0
- data/vendor/{gems/eac_git → eac_git}/lib/eac_git/local/subrepo/config.rb +0 -0
- data/vendor/{gems/eac_git → eac_git}/lib/eac_git/remote.rb +0 -0
- data/vendor/{gems/eac_git → eac_git}/lib/eac_git/remote/ls_result.rb +0 -0
- data/vendor/{gems/eac_git → eac_git}/lib/eac_git/rspec.rb +0 -0
- data/vendor/{gems/eac_git → eac_git}/lib/eac_git/version.rb +0 -0
- data/vendor/{gems/eac_git → eac_git}/spec/lib/eac_git/executables_spec.rb +0 -0
- data/vendor/eac_git/spec/rubocop_spec.rb +7 -0
- data/vendor/{gems/eac_git → eac_git}/spec/spec_helper.rb +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/Changes +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/Intro.pod +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/License +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/Makefile +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/Meta +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ReadMe.pod +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/doc/comparison.swim +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/doc/git-subrepo.swim +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/doc/intro-to-subrepo.swim +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/bashplus/Changes +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/bashplus/License +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/bashplus/Makefile +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/bashplus/Meta +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/bashplus/ReadMe.pod +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/bashplus/bin/bash+ +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/bashplus/doc/bash+.swim +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/bashplus/lib/bash+.bash +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/bashplus/man/man1/bash+.1 +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/bashplus/man/man3/bash+.3 +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/bashplus/test/base.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/bashplus/test/fcopy.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/bashplus/test/lib/foo/bar.bash +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/bashplus/test/lib/foo/foo.bash +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/bashplus/test/source-bash+-std.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/bashplus/test/source-bash+.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/bashplus/test/test.bash +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/bashplus/test/use.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/Changes +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/License +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/Makefile +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/Meta +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ReadMe.pod +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/doc/test-more.swim +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/Changes +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/License +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/Makefile +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/Meta +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/ReadMe.pod +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/bin/bash+ +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/doc/bash+.swim +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/lib/bash+.bash +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/man/man1/bash+.1 +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/man/man3/bash+.3 +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/base.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/fcopy.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/lib/foo/bar.bash +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/lib/foo/foo.bash +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/source-bash+-std.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/source-bash+.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/test.bash +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/use.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Changes +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/License +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Makefile +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Meta +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/ReadMe.pod +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/doc/test-tap.swim +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/lib/test/tap.bash +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/man/man3/test-tap.3 +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/bail_out.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/done.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/fail.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/fail_fast.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/helper.bash +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/pass.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/plan.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/skip_all.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/tap.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/test/bail.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/test/fail.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/test/fail_fast.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/test/skip-all-init.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/test/skip-all-plan.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/lib/test/more.bash +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/man/man3/test-more.3 +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/test/fail.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/test/more.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/test/pass.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/test/setup +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/test/skip_all.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/test/test/fail1.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/ext/test-more-bash/test/test/skip_all.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/lib/git-subrepo +0 -0
- data/vendor/eac_git/vendor/git-subrepo/lib/git-subrepo.d/bash+.bash +1 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/lib/git-subrepo.d/help-functions.bash +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/man/man1/git-subrepo.1 +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/note/0.4.0 +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/note/AllGitCmds +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/note/Cases +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/note/Commands +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/note/Dags +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/note/Gists +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/note/Links +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/note/Plugins +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/note/Spec +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/note/Story1 +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/note/ToDo +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/note/design.swim +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/note/design2.swim +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/note/init-test +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/note/pull-dance.txt +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/note/recreate-rebase-conflict.sh +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/note/subtree-rebase-fail-example/test.bash +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/note/test-subrepo-push.sh +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/note/test.sh +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/pkg/bin/generate-completion.pl +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/pkg/bin/generate-help-functions.pl +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/share/completion.bash +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/share/enable-completion.sh +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/share/git-completion.bash +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/share/zsh-completion/_git-subrepo +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/branch-all.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/branch-rev-list-one-path.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/branch-rev-list.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/branch.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/clean.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/clone-annotated-tag.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/clone.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/compile.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/config.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/encode.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/error.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/fetch.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/gitignore.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/init.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/issue29.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/issue95.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/issue96.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/pull-all.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/pull-merge.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/pull-message.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/pull-new-branch.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/pull-ours.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/pull-theirs.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/pull-twice.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/pull-worktree.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/pull.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/push-after-init.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/push-force.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/push-new-branch.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/push-no-changes.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/push-squash.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/push.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/reclone.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/bar/HEAD +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/bar/config +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/bar/objects/1f/0c4b264caed0126814a0ede851a1e0b4e16ae6 +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/bar/objects/87/46903fdb1b9c2101377880125917c2e05b4d69 +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/bar/objects/94/c86ffc745232d89f78c6f895e11e71272518db +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/bar/objects/c6/76c57b6576743fa56278527aa60ebd2e202a7c +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/bar/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391 +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/bar/objects/f6/2a8ff3feadf39b0a98f1a86ec6d1eb33858ee9 +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/bar/refs/heads/master +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/bar/refs/tags/A +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/foo/HEAD +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/foo/config +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/foo/objects/a0/f4cdaaf533a936296cdebbed8206c3b9ededa8 +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/foo/objects/e2/1291a1ad392a9d4c51dd9586804f1467b28afd +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/foo/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391 +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/foo/refs/heads/master +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/init/HEAD +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/init/config +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/init/objects/11/523f5dcf03b4c89b592dc8a3d0308f68da2386 +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/init/objects/14/2addf8ec5f37334e837440122c62f2c68a29ad +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/init/objects/32/5180321750a21cd7a4e7ecda319e557a4f6a09 +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/init/objects/3d/918c6901c02f43af5d31779dd5e1f9166aeb36 +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/init/objects/3e/4cb596066dce63ba4d047abddb677389b65e19 +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/init/objects/4b/6e53022e7a04f07887697e4f3d7c377fd9822b +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/init/objects/58/931fc1bd559b59c41ea738fc7ad04f9ad01bd3 +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/init/objects/5e/c0c28e1b806f25efdca18fcf7a74b49c3755bd +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/init/objects/75/fa6584e748f57eff06eebdc55e9ac21d4fcbf2 +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/init/objects/80/2d5edbd5e1cb7fca82b5bd38e7c8a0a496fb20 +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/init/objects/94/7b3d714c38791e95ad6f928b48c98bb8708acd +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/init/objects/95/e1f2df3f4d5f3d7a60588c25a7ca8a913d3c2a +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/init/objects/b1/5f4a7666baf40d949548ead946a3370e273479 +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/init/objects/c3/ee8978c4c5d84c3b7d00ba8e5906933d027882 +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/init/objects/c8/b0bffbc405ef3fad7354ff833fbec36d67ddfa +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/init/objects/dd/8bdb934ec848137f011fe423b185505c343626 +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/init/objects/e2/9be58c767cfeb27235c995d293a7d71aac0135 +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/init/objects/ee/1224401fc6aac595145fa727dcf6706ac8aec1 +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/init/objects/f1/cc1a657b2e805c400f5dcaaa76bd29c6178b1b +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/repo/init/refs/heads/master +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/setup +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/status.t +0 -0
- data/vendor/{gems/eac_git → eac_git}/vendor/git-subrepo/test/submodule.t +0 -0
- data/vendor/eac_ruby_base0/Gemfile +5 -0
- data/vendor/eac_ruby_base0/eac_ruby_base0.gemspec +20 -0
- data/vendor/eac_ruby_base0/lib/eac_ruby_base0.rb +7 -0
- data/vendor/eac_ruby_base0/lib/eac_ruby_base0/application.rb +37 -0
- data/vendor/eac_ruby_base0/lib/eac_ruby_base0/runner.rb +35 -0
- data/vendor/eac_ruby_base0/lib/eac_ruby_base0/runner/test_all.rb +27 -0
- data/vendor/eac_ruby_base0/lib/eac_ruby_base0/version.rb +5 -0
- data/vendor/eac_ruby_base0/spec/rubocop_spec.rb +7 -0
- data/vendor/eac_ruby_base0/spec/spec_helper.rb +100 -0
- data/vendor/eac_ruby_gems_utils/Gemfile +5 -0
- data/vendor/eac_ruby_gems_utils/LICENCE +16 -0
- data/vendor/eac_ruby_gems_utils/README.rdoc +3 -0
- data/vendor/eac_ruby_gems_utils/eac_ruby_gems_utils.gemspec +29 -0
- data/vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils.rb +7 -0
- data/vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/gem.rb +82 -0
- data/vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/gem/command.rb +33 -0
- data/vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests.rb +9 -0
- data/vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/base.rb +66 -0
- data/vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/minitest.rb +25 -0
- data/vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/multiple.rb +106 -0
- data/vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/rspec.rb +21 -0
- data/vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/version.rb +5 -0
- data/vendor/eac_ruby_gems_utils/spec/lib/eac_ruby_gems_utils/gem_spec.rb +20 -0
- data/vendor/eac_ruby_gems_utils/spec/rubocop_check_spec.rb +7 -0
- data/vendor/eac_ruby_gems_utils/spec/spec_helper.rb +100 -0
- data/vendor/eac_ruby_gems_utils/spec/support/mygem/Gemfile +5 -0
- data/vendor/eac_ruby_gems_utils/spec/support/mygem/Gemfile.lock +19 -0
- data/vendor/eac_ruby_gems_utils/spec/support/mygem/Rakefile +14 -0
- data/vendor/eac_ruby_gems_utils/spec/support/mygem/exe/myrunner +5 -0
- data/vendor/eac_ruby_gems_utils/spec/support/mygem/lib/mygem.rb +5 -0
- data/vendor/eac_ruby_gems_utils/spec/support/mygem/lib/mygem/version.rb +5 -0
- data/vendor/eac_ruby_gems_utils/spec/support/mygem/mygem.gemspec +16 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/Gemfile +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/MIT-LICENCE +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/README.rdoc +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/eac_ruby_utils.gemspec +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/arguments_consumer.rb +0 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/boolean.rb +31 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/by_reference.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/common_concern.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/common_constructor.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/configs.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/configs/file.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/console.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/console/configs.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/console/docopt_runner.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/console/docopt_runner/_class_methods.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/console/docopt_runner/_doc.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/console/docopt_runner/_settings.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/console/docopt_runner/_subcommands.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/console/speaker.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/console/speaker/_class_methods.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/console/speaker/_constants.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/console/speaker/list.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/console/speaker/node.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/contextualizable.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/core_ext.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/custom_format.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/envs.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/envs/base_env.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/envs/command.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/envs/command/extra_options.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/envs/executable.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/envs/file.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/envs/local_env.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/envs/process.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/envs/spawn.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/envs/ssh_env.rb +12 -9
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/envs/ssh_env/dasho_options.rb +53 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/envs/ssh_env/identity_file.rb +23 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/envs/ssh_env/quiet.rb +22 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/envs/ssh_env/terminal.rb +32 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/filesystem_cache.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/fs.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/fs/extname.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/fs/temp.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/fs/temp/directory.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/fs/temp/file.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/fs/traversable.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/fs/traverser.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/fs_cache.rb +1 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/immutable.rb +15 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/immutable/array_accessor.rb +32 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/immutable/base_accessor.rb +23 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/immutable/boolean_accessor.rb +16 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/immutable/class_methods.rb +20 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/immutable/common_accessor.rb +30 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/immutable/hash_accessor.rb +46 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/immutable/instance_methods.rb +21 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/listable.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/listable/class_methods.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/listable/instance_methods.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/listable/integer_list.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/listable/list.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/listable/lists.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/listable/string_list.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/listable/symbol_list.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/listable/value.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/on_clean_ruby_environment.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/options_consumer.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/patch.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/patches.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/patches/class.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/patches/class/common_constructor.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/patches/enumerable.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/patches/enumerable/boolean_combinations.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/patches/hash.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/patches/hash/options_consumer.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/patches/hash/sym_keys_hash.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/patches/module.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/patches/module/common_concern.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/patches/module/console_speaker.rb +0 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/immutable.rb +10 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/patches/module/listable.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/patches/module/patch.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/patches/module/require_sub.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/patches/module/simple_cache.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/patches/object.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/patches/object/asserts.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/patches/object/if_present.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/patches/object/template.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/patches/object/to_pathname.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/patches/pathname.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/patches/pathname/basename_sub.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/patches/regexp.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/patches/regexp/if_match.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/patches/time.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/patches/time/default_time_zone_set.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/patches/time/local_time_zone.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/paths_hash.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/require_sub.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/rspec.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/rspec/conditional.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/rspec/stubbed_ssh.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/ruby.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/ruby/command.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/ruby/on_clean_environment.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/settings_provider.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/simple_cache.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/templates.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/templates/directory.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/templates/file.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/templates/searcher.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/templates/variable_not_found_error.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/templates/variable_providers.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/templates/variable_providers/base.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/templates/variable_providers/entries_reader.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/templates/variable_providers/generic.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/templates/variable_providers/hash.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/version.rb +1 -1
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/lib/eac_ruby_utils/yaml.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/arguments_consumer_spec.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/common_concern_spec.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/common_constructor_spec.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/configs_spec.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/console/configs_spec.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/console/docopt_runner_spec.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/console/speaker_spec.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/custom_format_spec.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/envs/executable_spec.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/envs/ssh_env_spec.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/filesystem_cache_spec.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/fs/extname_spec.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/fs/temp/temp_spec.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/fs/temp_spec.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/listable_spec.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/options_consumer_spec.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/patches/enumerable/boolean_combinations_spec.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/patches/hash/options_consumer_spec.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/patches/hash/sym_keys_hash_spec.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/patches/module/console_speaker_spec.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/patches/module/listable_spec.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/patches/module/simple_cache_spec.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/patches/object/if_present_spec.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/patches/object/template_spec.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/patches/object/template_spec_files/path/my_stub_with_template +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/patches/pathname/basename_sub_spec.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/paths_hash_spec.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/require_sub_spec.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/require_sub_spec/stubbed_module_a.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/require_sub_spec/stubbed_not_module.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/ruby_spec.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/settings_provider_spec.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/simple_cache_spec.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/templates/file_spec.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/templates/file_spec_files/expected_content +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/templates/file_spec_files/source.template +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/templates/searcher_spec.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/templates/searcher_spec_files/path1/subdir1/file1.template +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/templates/searcher_spec_files/path1/subdir1/file2 +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/templates/searcher_spec_files/path2/subdir1/file3.template +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/lib/eac_ruby_utils/yaml_spec.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/locales/pt-BR.yml +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/rubocop_check_spec.rb +0 -0
- data/vendor/{gems/eac_ruby_utils → eac_ruby_utils}/spec/spec_helper.rb +0 -0
- metadata +480 -376
- data/lib/eac_launcher/runner.rb +0 -21
- data/lib/eac_launcher/runner/instances.rb +0 -41
- data/lib/eac_launcher/runner/projects.rb +0 -46
- data/lib/eac_launcher/runner/publish.rb +0 -59
- data/lib/eac_launcher/stereotype.rb +0 -52
- data/lib/eac_launcher/stereotypes.rb +0 -14
- data/lib/eac_launcher/stereotypes/git.rb +0 -21
- data/lib/eac_launcher/stereotypes/git/publish.rb +0 -13
- data/lib/eac_launcher/stereotypes/git/warp.rb +0 -25
- data/lib/eac_launcher/stereotypes/git_subrepo.rb +0 -30
- data/lib/eac_launcher/stereotypes/git_subrepo/publish.rb +0 -12
- data/lib/eac_launcher/stereotypes/git_subrepo/warp.rb +0 -85
- data/lib/eac_launcher/stereotypes/git_subtree.rb +0 -47
- data/lib/eac_launcher/stereotypes/git_subtree/publish.rb +0 -10
- data/lib/eac_launcher/stereotypes/git_subtree/warp.rb +0 -27
- data/lib/eac_launcher/stereotypes/rails.rb +0 -21
- data/lib/eac_launcher/stereotypes/redmine_plugin.rb +0 -21
- data/lib/eac_launcher/stereotypes/ruby_gem.rb +0 -27
- data/lib/eac_launcher/stereotypes/ruby_gem/publish.rb +0 -127
- data/vendor/gems/eac_git/vendor/git-subrepo/lib/git-subrepo.d/bash+.bash +0 -1
data/lib/eac_launcher/runner.rb
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'eac_ruby_utils/console/docopt_runner'
|
4
|
-
require 'eac_launcher/runner/instances'
|
5
|
-
require 'eac_launcher/runner/projects'
|
6
|
-
require 'eac_launcher/runner/publish'
|
7
|
-
|
8
|
-
module EacLauncher
|
9
|
-
class Runner < ::EacRubyUtils::Console::DocoptRunner
|
10
|
-
DOC = <<~DOCOPT
|
11
|
-
Utilities to deploy applications and libraries.
|
12
|
-
|
13
|
-
Usage:
|
14
|
-
__PROGRAM__ [options] __SUBCOMMANDS__
|
15
|
-
__PROGRAM__ -h | --help
|
16
|
-
|
17
|
-
Options:
|
18
|
-
-h --help Show this screen.
|
19
|
-
DOCOPT
|
20
|
-
end
|
21
|
-
end
|
@@ -1,41 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'eac_launcher/instances/runner_helper'
|
4
|
-
|
5
|
-
module EacLauncher
|
6
|
-
class Runner < ::EacRubyUtils::Console::DocoptRunner
|
7
|
-
class Instances < ::EacLauncher::Instances::RunnerHelper
|
8
|
-
DOC = <<~DOCOPT
|
9
|
-
Mostra informações sobre instâncias.
|
10
|
-
|
11
|
-
Usage:
|
12
|
-
__PROGRAM__ [options] [<instance_path>...]
|
13
|
-
__PROGRAM__ -h | --help
|
14
|
-
|
15
|
-
Options:
|
16
|
-
-h --help Show this screen.
|
17
|
-
--all Get all instances.
|
18
|
-
--recache Rewrite instances cache.
|
19
|
-
|
20
|
-
DOCOPT
|
21
|
-
|
22
|
-
def run
|
23
|
-
::EacLauncher::Context.current.recache = options['--recache']
|
24
|
-
instances.each { |i| show_instance(i) }
|
25
|
-
end
|
26
|
-
|
27
|
-
private
|
28
|
-
|
29
|
-
def show_instance(instance)
|
30
|
-
puts instance_label(instance)
|
31
|
-
infov(' * Parent', (instance.parent ? instance_label(instance.parent) : '-'))
|
32
|
-
infov(' * Git current revision', instance.options.git_current_revision)
|
33
|
-
infov(' * Git publish remote', instance.options.git_publish_remote)
|
34
|
-
end
|
35
|
-
|
36
|
-
def instance_path
|
37
|
-
options['<instance_path>']
|
38
|
-
end
|
39
|
-
end
|
40
|
-
end
|
41
|
-
end
|
@@ -1,46 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'eac_launcher/context'
|
4
|
-
require 'eac_launcher/instances/runner_helper'
|
5
|
-
|
6
|
-
module EacLauncher
|
7
|
-
class Runner < ::EacRubyUtils::Console::DocoptRunner
|
8
|
-
class Projects < ::EacLauncher::Instances::RunnerHelper
|
9
|
-
DOC = <<~DOCOPT
|
10
|
-
Shows available projects.
|
11
|
-
|
12
|
-
Usage:
|
13
|
-
__PROGRAM__ [options]
|
14
|
-
__PROGRAM__ -h | --help
|
15
|
-
|
16
|
-
Options:
|
17
|
-
-h --help Show this screen.
|
18
|
-
-i --instances Show instances.
|
19
|
-
--recache Rewrite instances cache.
|
20
|
-
|
21
|
-
DOCOPT
|
22
|
-
|
23
|
-
def run
|
24
|
-
::EacLauncher::Context.current.recache = options['--recache']
|
25
|
-
::EacLauncher::Context.current.projects.each do |p|
|
26
|
-
show_project(p)
|
27
|
-
end
|
28
|
-
end
|
29
|
-
|
30
|
-
private
|
31
|
-
|
32
|
-
def show_project(project)
|
33
|
-
puts project_label(project)
|
34
|
-
return unless options['--instances']
|
35
|
-
|
36
|
-
project.instances.each do |i|
|
37
|
-
puts " * #{instance_label(i)}"
|
38
|
-
end
|
39
|
-
end
|
40
|
-
|
41
|
-
def project_label(project)
|
42
|
-
project.to_s.cyan.to_s
|
43
|
-
end
|
44
|
-
end
|
45
|
-
end
|
46
|
-
end
|
@@ -1,59 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
module EacLauncher
|
4
|
-
class Runner < ::EacRubyUtils::Console::DocoptRunner
|
5
|
-
class Publish < ::EacLauncher::Instances::RunnerHelper
|
6
|
-
DOC = <<~DOCOPT
|
7
|
-
Publica projetos ou instâncias.
|
8
|
-
|
9
|
-
Usage:
|
10
|
-
__PROGRAM__ [options] [<instance_path>...]
|
11
|
-
__PROGRAM__ -h | --help
|
12
|
-
|
13
|
-
Options:
|
14
|
-
-h --help Show this screen.
|
15
|
-
--new Publish projects not published before.
|
16
|
-
-s --stereotype=<st> Publish only for stereotype <stereotype>.
|
17
|
-
--all Publish all instances.
|
18
|
-
-d --dry-run "Dry run" publishing.
|
19
|
-
--pending Publish only pending.
|
20
|
-
--recache Rewrite instances cache.
|
21
|
-
--run Confirm publishing.
|
22
|
-
|
23
|
-
DOCOPT
|
24
|
-
|
25
|
-
def run
|
26
|
-
::EacLauncher::Context.current.recache = options['--recache']
|
27
|
-
build_publish_options
|
28
|
-
instances.each do |i|
|
29
|
-
next unless i.options.publishable?
|
30
|
-
|
31
|
-
i.send(instance_method)
|
32
|
-
end
|
33
|
-
end
|
34
|
-
|
35
|
-
private
|
36
|
-
|
37
|
-
def dry_run?
|
38
|
-
options.fetch('--dry-run')
|
39
|
-
end
|
40
|
-
|
41
|
-
def instance_method
|
42
|
-
run? || dry_run? ? 'publish_run' : 'publish_check'
|
43
|
-
end
|
44
|
-
|
45
|
-
def build_publish_options
|
46
|
-
::EacLauncher::Context.current.publish_options = publish_options
|
47
|
-
end
|
48
|
-
|
49
|
-
def publish_options
|
50
|
-
{ new: options.fetch('--new'), stereotype: options.fetch('--stereotype'),
|
51
|
-
confirm: run? }
|
52
|
-
end
|
53
|
-
|
54
|
-
def run?
|
55
|
-
options.fetch('--run') && !dry_run?
|
56
|
-
end
|
57
|
-
end
|
58
|
-
end
|
59
|
-
end
|
@@ -1,52 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'active_support/core_ext/string/inflections'
|
4
|
-
|
5
|
-
module EacLauncher
|
6
|
-
module Stereotype
|
7
|
-
class << self
|
8
|
-
attr_reader :stereotypes
|
9
|
-
|
10
|
-
def included(base)
|
11
|
-
@stereotypes ||= []
|
12
|
-
@stereotypes << base
|
13
|
-
base.extend(ClassMethods)
|
14
|
-
end
|
15
|
-
|
16
|
-
def git_stereotypes
|
17
|
-
stereotypes.select { |c| c.name.demodulize.downcase.match('git') }
|
18
|
-
end
|
19
|
-
|
20
|
-
def nogit_stereotypes
|
21
|
-
stereotypes - git_stereotypes
|
22
|
-
end
|
23
|
-
end
|
24
|
-
|
25
|
-
module ClassMethods
|
26
|
-
def stereotype_name
|
27
|
-
name.gsub(/^.*::/, '')
|
28
|
-
end
|
29
|
-
|
30
|
-
def stereotype_name_in_color
|
31
|
-
stereotype_name.send(color)
|
32
|
-
end
|
33
|
-
|
34
|
-
def publish_class
|
35
|
-
sub_class('Publish')
|
36
|
-
end
|
37
|
-
|
38
|
-
def warp_class
|
39
|
-
sub_class('Warp')
|
40
|
-
end
|
41
|
-
|
42
|
-
private
|
43
|
-
|
44
|
-
def sub_class(sub_class_name)
|
45
|
-
klass = const_get(sub_class_name)
|
46
|
-
klass.is_a?(Class) ? klass : nil
|
47
|
-
rescue NameError
|
48
|
-
nil
|
49
|
-
end
|
50
|
-
end
|
51
|
-
end
|
52
|
-
end
|
@@ -1,14 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'eac_launcher/stereotypes/git'
|
4
|
-
require 'eac_launcher/stereotypes/git_subrepo'
|
5
|
-
require 'eac_launcher/stereotypes/git_subtree'
|
6
|
-
require 'eac_launcher/stereotypes/rails'
|
7
|
-
require 'eac_launcher/stereotypes/redmine_plugin'
|
8
|
-
require 'eac_launcher/stereotypes/ruby_gem'
|
9
|
-
require 'eac_launcher/stereotypes/git/publish'
|
10
|
-
require 'eac_launcher/stereotypes/git/warp'
|
11
|
-
require 'eac_launcher/stereotypes/git_subrepo/publish'
|
12
|
-
require 'eac_launcher/stereotypes/git_subrepo/warp'
|
13
|
-
require 'eac_launcher/stereotypes/git_subtree/publish'
|
14
|
-
require 'eac_launcher/stereotypes/git_subtree/warp'
|
@@ -1,21 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'eac_launcher/stereotype'
|
4
|
-
|
5
|
-
module EacLauncher
|
6
|
-
module Stereotypes
|
7
|
-
class Git
|
8
|
-
include EacLauncher::Stereotype
|
9
|
-
|
10
|
-
class << self
|
11
|
-
def match?(path)
|
12
|
-
File.directory?(path.real.subpath('.git'))
|
13
|
-
end
|
14
|
-
|
15
|
-
def color
|
16
|
-
:white
|
17
|
-
end
|
18
|
-
end
|
19
|
-
end
|
20
|
-
end
|
21
|
-
end
|
@@ -1,25 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'eac_launcher/git/warp_base'
|
4
|
-
|
5
|
-
module EacLauncher
|
6
|
-
module Stereotypes
|
7
|
-
class Git
|
8
|
-
class Warp < ::EacLauncher::Git::WarpBase
|
9
|
-
private
|
10
|
-
|
11
|
-
def current_ref
|
12
|
-
'HEAD'
|
13
|
-
end
|
14
|
-
|
15
|
-
def source_instance
|
16
|
-
instance
|
17
|
-
end
|
18
|
-
|
19
|
-
def source_remote_name
|
20
|
-
::EacLauncher::Stereotypes::Git::Publish::PUBLISH_GIT_REMOTE_NAME
|
21
|
-
end
|
22
|
-
end
|
23
|
-
end
|
24
|
-
end
|
25
|
-
end
|
@@ -1,30 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'eac_launcher/git/error'
|
4
|
-
require 'eac_launcher/stereotype'
|
5
|
-
|
6
|
-
module EacLauncher
|
7
|
-
module Stereotypes
|
8
|
-
class GitSubrepo
|
9
|
-
include EacLauncher::Stereotype
|
10
|
-
|
11
|
-
class << self
|
12
|
-
def match?(path)
|
13
|
-
File.exist?(path.real.subpath('.gitrepo')) && subrepo_url(path.real) != 'none'
|
14
|
-
end
|
15
|
-
|
16
|
-
def color
|
17
|
-
:light_cyan
|
18
|
-
end
|
19
|
-
|
20
|
-
def subrepo_url(path)
|
21
|
-
File.read(path.subpath('.gitrepo')).each_line do |l|
|
22
|
-
m = /remote\s*=\s(.+)/.match(l)
|
23
|
-
return m[1] if m
|
24
|
-
end
|
25
|
-
raise ::EacLauncher::Git::Error.new(path, '"remote = ... " not found')
|
26
|
-
end
|
27
|
-
end
|
28
|
-
end
|
29
|
-
end
|
30
|
-
end
|
@@ -1,85 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'eac_ruby_utils/simple_cache'
|
4
|
-
require 'eac_launcher/git/sub_warp_base'
|
5
|
-
require 'eac_launcher/instances/error'
|
6
|
-
require 'eac_launcher/paths/real'
|
7
|
-
require 'eac_launcher/vendor/github'
|
8
|
-
|
9
|
-
module EacLauncher
|
10
|
-
module Stereotypes
|
11
|
-
class GitSubrepo
|
12
|
-
class Warp < ::EacLauncher::Paths::Real
|
13
|
-
include ::EacLauncher::Git::SubWarpBase
|
14
|
-
include ::EacRubyUtils::SimpleCache
|
15
|
-
|
16
|
-
attr_reader :instance
|
17
|
-
|
18
|
-
def initialize(instance)
|
19
|
-
@instance = instance
|
20
|
-
check_parent
|
21
|
-
init_aux
|
22
|
-
push_to_aux
|
23
|
-
reset
|
24
|
-
assert_target_remote
|
25
|
-
super(warped_git)
|
26
|
-
end
|
27
|
-
|
28
|
-
private
|
29
|
-
|
30
|
-
def check_parent
|
31
|
-
return if parent_git_warped.rev_parse(subrepo_parent_hash) &&
|
32
|
-
parent_git_warped.descendant?('HEAD', subrepo_parent_hash)
|
33
|
-
|
34
|
-
raise EacLauncher::Instances::Error, "Subrepo parent hash \"#{subrepo_parent_hash}\""\
|
35
|
-
" not found in \"#{parent_git_warped}\""
|
36
|
-
end
|
37
|
-
|
38
|
-
def subrepo_parent_hash
|
39
|
-
data = parent_git_warped.subrepo_status(to_parent_git_path)
|
40
|
-
h = data['Pull Parent']
|
41
|
-
return h if h.present?
|
42
|
-
|
43
|
-
raise EacLauncher::Instances::Error, "Subrepo parent hash is blank: #{data}"
|
44
|
-
end
|
45
|
-
|
46
|
-
def init_aux
|
47
|
-
::EacLauncher::Git::Base.new(aux_path).init_bare
|
48
|
-
end
|
49
|
-
|
50
|
-
def parent_git_warped_uncached
|
51
|
-
::EacLauncher::Git::Base.new(parent_instance.warped)
|
52
|
-
end
|
53
|
-
|
54
|
-
def aux_path
|
55
|
-
instance.cache_path('subrepo_aux_git_repository')
|
56
|
-
end
|
57
|
-
|
58
|
-
def warped_git_uncached
|
59
|
-
::EacLauncher::Git::Base.new(instance.cache_path('git_repository'))
|
60
|
-
end
|
61
|
-
|
62
|
-
def push_to_aux
|
63
|
-
parent_git_warped.execute!('subrepo', 'branch', to_parent_git_path, '-fF')
|
64
|
-
h = parent_git_warped.rev_parse("subrepo/#{to_parent_git_path}", true)
|
65
|
-
parent_git_warped.execute!('push', aux_path, "#{h}:refs/heads/master", '--force')
|
66
|
-
end
|
67
|
-
|
68
|
-
def reset
|
69
|
-
::EacLauncher::Git::MirrorUpdate.new(warped_git, aux_path, 'master')
|
70
|
-
end
|
71
|
-
|
72
|
-
def assert_target_remote
|
73
|
-
warped_git.assert_remote_url(::EacLauncher::Git::WarpBase::TARGET_REMOTE,
|
74
|
-
target_remote_url)
|
75
|
-
end
|
76
|
-
|
77
|
-
def target_remote_url
|
78
|
-
::EacLauncher::Vendor::Github.to_ssh_url(
|
79
|
-
parent_git_warped.subrepo_remote_url(to_parent_git_path)
|
80
|
-
)
|
81
|
-
end
|
82
|
-
end
|
83
|
-
end
|
84
|
-
end
|
85
|
-
end
|
@@ -1,47 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'eac_launcher/stereotype'
|
4
|
-
require 'eac_launcher/stereotypes/git'
|
5
|
-
|
6
|
-
module EacLauncher
|
7
|
-
module Stereotypes
|
8
|
-
class GitSubtree
|
9
|
-
include EacLauncher::Stereotype
|
10
|
-
|
11
|
-
class << self
|
12
|
-
def match?(path)
|
13
|
-
return false if other_git_stereotype?(path)
|
14
|
-
return false unless other_nogit_stereotype?(path)
|
15
|
-
|
16
|
-
parent = parent_git(path.parent_path)
|
17
|
-
return false unless parent
|
18
|
-
|
19
|
-
::Git.open(parent.real).remote(path.real.basename).url ? true : false
|
20
|
-
end
|
21
|
-
|
22
|
-
def color
|
23
|
-
:green
|
24
|
-
end
|
25
|
-
|
26
|
-
def parent_git(parent_path)
|
27
|
-
return nil unless parent_path
|
28
|
-
|
29
|
-
if ::EacLauncher::Stereotypes::Git.match?(parent_path)
|
30
|
-
parent_path
|
31
|
-
else
|
32
|
-
parent_git(parent_path.parent_path)
|
33
|
-
end
|
34
|
-
end
|
35
|
-
|
36
|
-
def other_git_stereotype?(path)
|
37
|
-
::EacLauncher::Stereotypes::Git.match?(path) ||
|
38
|
-
::EacLauncher::Stereotypes::GitSubrepo.match?(path)
|
39
|
-
end
|
40
|
-
|
41
|
-
def other_nogit_stereotype?(path)
|
42
|
-
EacLauncher::Stereotype.nogit_stereotypes.any? { |s| s.match?(path) }
|
43
|
-
end
|
44
|
-
end
|
45
|
-
end
|
46
|
-
end
|
47
|
-
end
|