eac_tools 0.100.0 → 0.101.0
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.lock +29 -19
- data/lib/eac_tools/version.rb +1 -1
- data/sub/avm/avm.gemspec +2 -2
- data/sub/avm/lib/avm/applications/base/local_instance.rb +0 -2
- data/sub/avm/lib/avm/applications/base/local_source.rb +0 -1
- data/sub/avm/lib/avm/applications/base/organization.rb +0 -2
- data/sub/avm/lib/avm/applications/base/publishing.rb +0 -2
- data/sub/avm/lib/avm/applications/base/scm.rb +0 -2
- data/sub/avm/lib/avm/applications/base/stereotype.rb +0 -2
- data/sub/avm/lib/avm/applications/base.rb +0 -2
- data/sub/avm/lib/avm/data/clearer.rb +0 -2
- data/sub/avm/lib/avm/data/dumper.rb +0 -3
- data/sub/avm/lib/avm/data/loader.rb +0 -3
- data/sub/avm/lib/avm/data/package/clear.rb +0 -2
- data/sub/avm/lib/avm/data/package/dump.rb +0 -3
- data/sub/avm/lib/avm/data/package/load.rb +0 -3
- data/sub/avm/lib/avm/data/package.rb +0 -2
- data/sub/avm/lib/avm/data/performer.rb +0 -2
- data/sub/avm/lib/avm/data/unit.rb +0 -2
- data/sub/avm/lib/avm/data/unit_with_commands.rb +0 -3
- data/sub/avm/lib/avm/docker/image.rb +0 -3
- data/sub/avm/lib/avm/entries/auto_values/uri_entry.rb +0 -2
- data/sub/avm/lib/avm/entries/base/inherited_entry_value.rb +0 -1
- data/sub/avm/lib/avm/entries/base/uri_component_entry_value/default_value.rb +0 -1
- data/sub/avm/lib/avm/entries/base/uri_component_entry_value/inherited_value.rb +0 -1
- data/sub/avm/lib/avm/entries/base/uri_component_entry_value/url_entry_value.rb +0 -1
- data/sub/avm/lib/avm/entries/base/uri_component_entry_value.rb +0 -1
- data/sub/avm/lib/avm/entries/base/uri_components_entries_values/generic_component.rb +0 -3
- data/sub/avm/lib/avm/entries/base/uri_components_entries_values/path_component.rb +0 -2
- data/sub/avm/lib/avm/entries/base/uri_components_entries_values/url_component.rb +0 -3
- data/sub/avm/lib/avm/entries/base/uri_components_entries_values.rb +0 -2
- data/sub/avm/lib/avm/entries/base.rb +0 -2
- data/sub/avm/lib/avm/entries/entry.rb +0 -1
- data/sub/avm/lib/avm/entries/jobs/base.rb +0 -2
- data/sub/avm/lib/avm/entries/jobs/with_variables_source.rb +0 -2
- data/sub/avm/lib/avm/file_formats/file_result.rb +0 -1
- data/sub/avm/lib/avm/file_formats/search_formatter.rb +0 -2
- data/sub/avm/lib/avm/file_formats/unknown.rb +0 -2
- data/sub/avm/lib/avm/files/appendable/file_content.rb +0 -1
- data/sub/avm/lib/avm/files/appendable/plain_directory.rb +0 -1
- data/sub/avm/lib/avm/files/appendable/tar_output_command.rb +0 -1
- data/sub/avm/lib/avm/files/appendable/templatized_directory.rb +1 -1
- data/sub/avm/lib/avm/files/appender.rb +0 -2
- data/sub/avm/lib/avm/files/deploy.rb +1 -1
- data/sub/avm/lib/avm/instances/base/auto_values/data.rb +0 -2
- data/sub/avm/lib/avm/instances/base/auto_values/database.rb +0 -2
- data/sub/avm/lib/avm/instances/base/auto_values/mailer.rb +0 -4
- data/sub/avm/lib/avm/instances/base/auto_values/source.rb +0 -2
- data/sub/avm/lib/avm/instances/base/dockerizable.rb +0 -2
- data/sub/avm/lib/avm/instances/base/entry_keys.rb +0 -2
- data/sub/avm/lib/avm/instances/base/install.rb +0 -3
- data/sub/avm/lib/avm/instances/base/production.rb +0 -1
- data/sub/avm/lib/avm/instances/base/web.rb +0 -1
- data/sub/avm/lib/avm/instances/base.rb +1 -8
- data/sub/avm/lib/avm/instances/data/files_unit.rb +0 -2
- data/sub/avm/lib/avm/instances/data/package.rb +0 -2
- data/sub/avm/lib/avm/instances/data/unit.rb +0 -3
- data/sub/avm/lib/avm/instances/docker_image.rb +0 -2
- data/sub/avm/lib/avm/instances/entry_keys.rb +0 -3
- data/sub/avm/lib/avm/instances/runner.rb +0 -1
- data/sub/avm/lib/avm/launcher/context/instance_discovery/root_instance_paths.rb +0 -1
- data/sub/avm/lib/avm/launcher/context/instance_discovery.rb +0 -1
- data/sub/avm/lib/avm/launcher/context/instance_manager/cached_instance.rb +0 -2
- data/sub/avm/lib/avm/launcher/context/instance_manager/cached_instances.rb +0 -2
- data/sub/avm/lib/avm/launcher/context/instance_manager.rb +0 -1
- data/sub/avm/lib/avm/launcher/context/settings.rb +0 -2
- data/sub/avm/lib/avm/launcher/context.rb +1 -5
- data/sub/avm/lib/avm/launcher/errors/non_project.rb +0 -2
- data/sub/avm/lib/avm/launcher/instances/base.rb +0 -3
- data/sub/avm/lib/avm/launcher/instances/runner_helper.rb +0 -3
- data/sub/avm/lib/avm/launcher/paths/logical.rb +0 -3
- data/sub/avm/lib/avm/launcher/publish/base.rb +0 -2
- data/sub/avm/lib/avm/registry/application_scms.rb +0 -2
- data/sub/avm/lib/avm/registry/application_stereotypes/build_available.rb +0 -3
- data/sub/avm/lib/avm/registry/application_stereotypes/stereotype_builder.rb +0 -2
- data/sub/avm/lib/avm/registry/application_stereotypes.rb +0 -3
- data/sub/avm/lib/avm/registry/applications.rb +0 -2
- data/sub/avm/lib/avm/registry/file_formats.rb +0 -3
- data/sub/avm/lib/avm/registry/instances.rb +0 -3
- data/sub/avm/lib/avm/registry/launcher_stereotypes.rb +0 -2
- data/sub/avm/lib/avm/registry/runners.rb +0 -2
- data/sub/avm/lib/avm/registry/scms.rb +0 -2
- data/sub/avm/lib/avm/registry/source_generators.rb +0 -3
- data/sub/avm/lib/avm/registry/sources.rb +0 -2
- data/sub/avm/lib/avm/registry/with_path/cache.rb +0 -2
- data/sub/avm/lib/avm/registry/with_path.rb +0 -2
- data/sub/avm/lib/avm/rspec/launcher_controller.rb +0 -1
- data/sub/avm/lib/avm/rspec/setup/launcher.rb +0 -2
- data/sub/avm/lib/avm/rspec/setup.rb +0 -3
- data/sub/avm/lib/avm/rspec/shared_examples/avm_file_formats_with_fixtures.rb +0 -2
- data/sub/avm/lib/avm/rspec/shared_examples/in_avm_registry.rb +0 -2
- data/sub/avm/lib/avm/rspec/shared_examples/not_in_avm_registry.rb +0 -2
- data/sub/avm/lib/avm/rspec/shared_examples/with_launcher.rb +0 -2
- data/sub/avm/lib/avm/runner_with/file_replacer.rb +0 -2
- data/sub/avm/lib/avm/scms/auto_commit/file_resource_name.rb +13 -3
- data/sub/avm/lib/avm/scms/auto_commit/for_file.rb +0 -2
- data/sub/avm/lib/avm/scms/auto_commit/rules/base.rb +0 -2
- data/sub/avm/lib/avm/scms/auto_commit/rules/last.rb +0 -2
- data/sub/avm/lib/avm/scms/auto_commit/rules/manual.rb +0 -2
- data/sub/avm/lib/avm/scms/auto_commit/rules/new.rb +1 -4
- data/sub/avm/lib/avm/scms/auto_commit/rules/nth.rb +0 -2
- data/sub/avm/lib/avm/scms/auto_commit/rules/unique.rb +0 -2
- data/sub/avm/lib/avm/scms/base.rb +0 -2
- data/sub/avm/lib/avm/scms/changed_file.rb +22 -0
- data/sub/avm/lib/avm/scms/null/commit.rb +0 -3
- data/sub/avm/lib/avm/scms/null.rb +0 -2
- data/sub/avm/lib/avm/self/docker_image.rb +0 -2
- data/sub/avm/lib/avm/self/instance.rb +0 -4
- data/sub/avm/lib/avm/source_generators/base.rb +0 -3
- data/sub/avm/lib/avm/source_generators/option_list.rb +0 -2
- data/sub/avm/lib/avm/source_generators/runner.rb +0 -1
- data/sub/avm/lib/avm/sources/base/application.rb +0 -1
- data/sub/avm/lib/avm/sources/base/instance.rb +0 -3
- data/sub/avm/lib/avm/sources/base/sub.rb +0 -2
- data/sub/avm/lib/avm/sources/base/subs.rb +0 -3
- data/sub/avm/lib/avm/sources/base/version_bump.rb +0 -2
- data/sub/avm/lib/avm/sources/base.rb +0 -5
- data/sub/avm/lib/avm/sources/tests/builder.rb +0 -3
- data/sub/avm/lib/avm/sources/tests/performer.rb +0 -2
- data/sub/avm/lib/avm/sources/tests/single.rb +0 -2
- data/sub/avm/lib/avm/version.rb +1 -1
- data/sub/avm/spec/lib/avm/scms/auto_commit/file_resource_name_spec.rb +2 -1
- data/sub/avm/spec/spec_helper.rb +3 -0
- data/sub/avm-git/Gemfile +8 -0
- data/sub/avm-git/avm-git.gemspec +25 -0
- data/sub/avm-git/lib/avm/git/application_scms/base/assert_main_at.rb +44 -0
- data/sub/avm-git/lib/avm/git/application_scms/base.rb +18 -0
- data/sub/avm-git/lib/avm/git/application_scms.rb +9 -0
- data/sub/avm-git/lib/avm/git/commit/class_methods.rb +29 -0
- data/sub/avm-git/lib/avm/git/commit/diff_tree_line.rb +32 -0
- data/sub/avm-git/lib/avm/git/commit/file.rb +42 -0
- data/sub/avm-git/lib/avm/git/commit.rb +57 -0
- data/sub/avm-git/lib/avm/git/issue/complete/commits.rb +40 -0
- data/sub/avm-git/lib/avm/git/issue/complete/git_subrepos.rb +20 -0
- data/sub/avm-git/lib/avm/git/issue/complete/local_branch.rb +59 -0
- data/sub/avm-git/lib/avm/git/issue/complete/local_tag.rb +37 -0
- data/sub/avm-git/lib/avm/git/issue/complete/push.rb +60 -0
- data/sub/avm-git/lib/avm/git/issue/complete/remote.rb +33 -0
- data/sub/avm-git/lib/avm/git/issue/complete/test.rb +34 -0
- data/sub/avm-git/lib/avm/git/issue/complete/tracker.rb +21 -0
- data/sub/avm-git/lib/avm/git/issue/complete/validation.rb +36 -0
- data/sub/avm-git/lib/avm/git/issue/complete/validations.rb +49 -0
- data/sub/avm-git/lib/avm/git/issue/complete/working_tree.rb +19 -0
- data/sub/avm-git/lib/avm/git/issue/complete.rb +66 -0
- data/sub/avm-git/lib/avm/git/issue.rb +10 -0
- data/sub/avm-git/lib/avm/git/launcher/base/class_methods.rb +28 -0
- data/sub/avm-git/lib/avm/git/launcher/base/dirty_files.rb +21 -0
- data/sub/avm-git/lib/avm/git/launcher/base/remotes.rb +37 -0
- data/sub/avm-git/lib/avm/git/launcher/base/subrepo.rb +42 -0
- data/sub/avm-git/lib/avm/git/launcher/base/underlying.rb +54 -0
- data/sub/avm-git/lib/avm/git/launcher/base.rb +81 -0
- data/sub/avm-git/lib/avm/git/launcher/error.rb +13 -0
- data/sub/avm-git/lib/avm/git/launcher/mirror_update.rb +36 -0
- data/sub/avm-git/lib/avm/git/launcher/publish_base.rb +127 -0
- data/sub/avm-git/lib/avm/git/launcher/remote.rb +53 -0
- data/sub/avm-git/lib/avm/git/launcher/sub_warp_base.rb +30 -0
- data/sub/avm-git/lib/avm/git/launcher/warp_base.rb +63 -0
- data/sub/avm-git/lib/avm/git/launcher_stereotypes/git/local_project_mixin.rb +16 -0
- data/sub/avm-git/lib/avm/git/launcher_stereotypes/git/publish.rb +13 -0
- data/sub/avm-git/lib/avm/git/launcher_stereotypes/git/warp.rb +25 -0
- data/sub/avm-git/lib/avm/git/launcher_stereotypes/git.rb +22 -0
- data/sub/avm-git/lib/avm/git/launcher_stereotypes/git_subrepo/publish.rb +29 -0
- data/sub/avm-git/lib/avm/git/launcher_stereotypes/git_subrepo/warp.rb +82 -0
- data/sub/avm-git/lib/avm/git/launcher_stereotypes/git_subrepo.rb +32 -0
- data/sub/avm-git/lib/avm/git/launcher_stereotypes/git_subtree/publish.rb +12 -0
- data/sub/avm-git/lib/avm/git/launcher_stereotypes/git_subtree/warp.rb +29 -0
- data/sub/avm-git/lib/avm/git/launcher_stereotypes/git_subtree.rb +47 -0
- data/sub/avm-git/lib/avm/git/launcher_stereotypes/provider.rb +17 -0
- data/sub/avm-git/lib/avm/git/launcher_stereotypes.rb +9 -0
- data/sub/avm-git/lib/avm/git/organize/reference_update.rb +32 -0
- data/sub/avm-git/lib/avm/git/organize/repository.rb +74 -0
- data/sub/avm-git/lib/avm/git/organize.rb +9 -0
- data/sub/avm-git/lib/avm/git/revision_test.rb +102 -0
- data/sub/avm-git/lib/avm/git/runners/base/commit.rb +96 -0
- data/sub/avm-git/lib/avm/git/runners/base/deploy.rb +108 -0
- data/sub/avm-git/lib/avm/git/runners/base/dirty_files.rb +42 -0
- data/sub/avm-git/lib/avm/git/runners/base/organize.rb +72 -0
- data/sub/avm-git/lib/avm/git/runners/base/revisions_test.rb +63 -0
- data/sub/avm-git/lib/avm/git/runners/base/subrepo/check.rb +45 -0
- data/sub/avm-git/lib/avm/git/runners/base/subrepo/clone.rb +80 -0
- data/sub/avm-git/lib/avm/git/runners/base/subrepo/fix.rb +69 -0
- data/sub/avm-git/lib/avm/git/runners/base/subrepo.rb +17 -0
- data/sub/avm-git/lib/avm/git/runners/base.rb +40 -0
- data/sub/avm-git/lib/avm/git/runners.rb +9 -0
- data/sub/avm-git/lib/avm/git/scms/git/branch.rb +28 -0
- data/sub/avm-git/lib/avm/git/scms/git/branches.rb +17 -0
- data/sub/avm-git/lib/avm/git/scms/git/change_tracker.rb +34 -0
- data/sub/avm-git/lib/avm/git/scms/git/changed_file.rb +25 -0
- data/sub/avm-git/lib/avm/git/scms/git/changed_files.rb +21 -0
- data/sub/avm-git/lib/avm/git/scms/git/commit/deploy.rb +37 -0
- data/sub/avm-git/lib/avm/git/scms/git/commit/deploy_methods.rb +24 -0
- data/sub/avm-git/lib/avm/git/scms/git/commit.rb +64 -0
- data/sub/avm-git/lib/avm/git/scms/git/commit_dirty.rb +32 -0
- data/sub/avm-git/lib/avm/git/scms/git/commits.rb +44 -0
- data/sub/avm-git/lib/avm/git/scms/git/interval.rb +28 -0
- data/sub/avm-git/lib/avm/git/scms/git/milestones.rb +18 -0
- data/sub/avm-git/lib/avm/git/scms/git/remote.rb +18 -0
- data/sub/avm-git/lib/avm/git/scms/git/remotes.rb +29 -0
- data/sub/avm-git/lib/avm/git/scms/git/run_commit.rb +54 -0
- data/sub/avm-git/lib/avm/git/scms/git.rb +46 -0
- data/sub/avm-git/lib/avm/git/scms/git_sub_base/changed_file.rb +19 -0
- data/sub/avm-git/lib/avm/git/scms/git_sub_base/commit.rb +23 -0
- data/sub/avm-git/lib/avm/git/scms/git_sub_base/interval.rb +23 -0
- data/sub/avm-git/lib/avm/git/scms/git_sub_base.rb +30 -0
- data/sub/avm-git/lib/avm/git/scms/git_subrepo.rb +33 -0
- data/sub/avm-git/lib/avm/git/scms/git_subtree.rb +29 -0
- data/sub/avm-git/lib/avm/git/scms/provider.rb +16 -0
- data/sub/avm-git/lib/avm/git/scms.rb +9 -0
- data/sub/avm-git/lib/avm/git/subrepo_check/parent.rb +48 -0
- data/sub/avm-git/lib/avm/git/subrepo_check/remote.rb +86 -0
- data/sub/avm-git/lib/avm/git/subrepo_check/show_result.rb +30 -0
- data/sub/avm-git/lib/avm/git/subrepo_check.rb +36 -0
- data/sub/avm-git/lib/avm/git/subrepo_checks.rb +57 -0
- data/sub/avm-git/lib/avm/git/vendor/github.rb +20 -0
- data/sub/avm-git/lib/avm/git/vendor.rb +9 -0
- data/sub/avm-git/lib/avm/git/version.rb +7 -0
- data/sub/avm-git/lib/avm/git.rb +16 -0
- data/sub/avm-git/locale/en.yml +6 -0
- data/sub/avm-git/locale/pt-BR.yml +6 -0
- data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec.rb +13 -0
- data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/add.source.out +1 -0
- data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/add.target.yaml +7 -0
- data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/modify.source.out +1 -0
- data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/modify.target.yaml +7 -0
- data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/remove.source.out +1 -0
- data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/remove.target.yaml +7 -0
- data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/rename.source.out +2 -0
- data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/rename.target.yaml +13 -0
- data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/rename_modify.source.out +2 -0
- data/sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/rename_modify.target.yaml +13 -0
- data/sub/avm-git/spec/lib/avm/git/commit_spec.rb +56 -0
- data/sub/avm-git/spec/lib/avm/git/launcher/base_spec.rb +45 -0
- data/sub/avm-git/spec/lib/avm/git/launcher_stereotypes/git_subrepo/publish_spec.rb +83 -0
- data/sub/avm-git/spec/lib/avm/git/launcher_stereotypes/git_subrepo/publish_spec_files/config.yml +5 -0
- data/sub/avm-git/spec/lib/avm/git/launcher_stereotypes/git_subrepo/publish_spec_settings.yml +6 -0
- data/sub/avm-git/spec/lib/avm/git/launcher_stereotypes/git_subrepo/warp_spec.rb +53 -0
- data/sub/avm-git/spec/lib/avm/git/launcher_stereotypes/git_subrepo/warp_spec_files/config.yml +3 -0
- data/sub/avm-git/spec/lib/avm/git/launcher_stereotypes/git_subrepo/warp_spec_settings.yml +6 -0
- data/sub/avm-git/spec/lib/avm/git/runners/base/deploy_spec.rb +126 -0
- data/sub/avm-git/spec/lib/avm/git/runners/base/deploy_spec_files/append1/stub3.txt.template +1 -0
- data/sub/avm-git/spec/lib/avm/git/runners/base/deploy_spec_files/append2/stub4.txt +1 -0
- data/sub/avm-git/spec/lib/avm/git/scms/git/commit/deploy_spec.rb +92 -0
- data/sub/avm-git/spec/lib/avm/git/scms/git_spec.rb +8 -0
- data/sub/avm-git/spec/lib/avm/git/scms/git_subrepo_spec.rb +8 -0
- data/sub/avm-git/spec/lib/avm/git/vendor/github_spec.rb +23 -0
- data/sub/avm-git/spec/rubocop_spec.rb +3 -0
- data/sub/avm-git/spec/spec_helper.rb +5 -0
- data/sub/avm-tools/avm-tools.gemspec +3 -3
- data/sub/avm-tools/lib/avm/tools/version.rb +1 -1
- data/sub/avm-tools/spec/spec_helper.rb +2 -0
- data/sub/eac_git/Gemfile +8 -0
- data/sub/eac_git/eac_git.gemspec +20 -0
- data/sub/eac_git/lib/eac_git/executables.rb +45 -0
- data/sub/eac_git/lib/eac_git/local/branch.rb +45 -0
- data/sub/eac_git/lib/eac_git/local/changed_file.rb +47 -0
- data/sub/eac_git/lib/eac_git/local/commit/archive.rb +17 -0
- data/sub/eac_git/lib/eac_git/local/commit/changed_file.rb +43 -0
- data/sub/eac_git/lib/eac_git/local/commit/diff_tree_line.rb +32 -0
- data/sub/eac_git/lib/eac_git/local/commit.rb +71 -0
- data/sub/eac_git/lib/eac_git/local/dirty_files.rb +26 -0
- data/sub/eac_git/lib/eac_git/local/log.rb +14 -0
- data/sub/eac_git/lib/eac_git/local/remote/push.rb +33 -0
- data/sub/eac_git/lib/eac_git/local/remote.rb +47 -0
- data/sub/eac_git/lib/eac_git/local/remotes.rb +17 -0
- data/sub/eac_git/lib/eac_git/local/subrepo/config.rb +40 -0
- data/sub/eac_git/lib/eac_git/local/subrepo.rb +46 -0
- data/sub/eac_git/lib/eac_git/local.rb +124 -0
- data/sub/eac_git/lib/eac_git/remote.rb +20 -0
- data/sub/eac_git/lib/eac_git/remote_like/ls_result.rb +18 -0
- data/sub/eac_git/lib/eac_git/remote_like.rb +30 -0
- data/sub/eac_git/lib/eac_git/rspec/setup.rb +20 -0
- data/sub/eac_git/lib/eac_git/rspec/stubbed_git_local_repo/directory.rb +35 -0
- data/sub/eac_git/lib/eac_git/rspec/stubbed_git_local_repo/file.rb +21 -0
- data/sub/eac_git/lib/eac_git/rspec/stubbed_git_local_repo/fs_object.rb +25 -0
- data/sub/eac_git/lib/eac_git/rspec/stubbed_git_local_repo/repository.rb +30 -0
- data/sub/eac_git/lib/eac_git/rspec/stubbed_git_local_repo.rb +28 -0
- data/sub/eac_git/lib/eac_git/rspec.rb +7 -0
- data/sub/eac_git/lib/eac_git/version.rb +5 -0
- data/sub/eac_git/lib/eac_git.rb +9 -0
- data/sub/eac_git/spec/lib/eac_git/executables_spec.rb +11 -0
- data/sub/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec.rb +11 -0
- data/sub/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/add.source.out +1 -0
- data/sub/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/add.target.yaml +7 -0
- data/sub/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/modify.source.out +1 -0
- data/sub/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/modify.target.yaml +7 -0
- data/sub/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/remove.source.out +1 -0
- data/sub/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/remove.target.yaml +7 -0
- data/sub/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/rename.source.out +2 -0
- data/sub/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/rename.target.yaml +13 -0
- data/sub/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/rename_modify.source.out +2 -0
- data/sub/eac_git/spec/lib/eac_git/local/commit/diff_tree_line_spec_files/rename_modify.target.yaml +13 -0
- data/sub/eac_git/spec/lib/eac_git/local/commit_spec.rb +56 -0
- data/sub/eac_git/spec/lib/eac_git/local/dirty_files_spec.rb +18 -0
- data/sub/eac_git/spec/rubocop_spec.rb +3 -0
- data/sub/eac_git/spec/spec_helper.rb +5 -0
- data/sub/eac_git/vendor/git-subrepo/Changes +110 -0
- data/sub/eac_git/vendor/git-subrepo/Intro.pod +509 -0
- data/sub/eac_git/vendor/git-subrepo/License +21 -0
- data/sub/eac_git/vendor/git-subrepo/Makefile +82 -0
- data/sub/eac_git/vendor/git-subrepo/Meta +28 -0
- data/sub/eac_git/vendor/git-subrepo/ReadMe.pod +698 -0
- data/sub/eac_git/vendor/git-subrepo/doc/comparison.swim +35 -0
- data/sub/eac_git/vendor/git-subrepo/doc/git-subrepo.swim +608 -0
- data/sub/eac_git/vendor/git-subrepo/doc/intro-to-subrepo.swim +387 -0
- data/sub/eac_git/vendor/git-subrepo/ext/bashplus/Changes +15 -0
- data/sub/eac_git/vendor/git-subrepo/ext/bashplus/License +21 -0
- data/sub/eac_git/vendor/git-subrepo/ext/bashplus/Makefile +45 -0
- data/sub/eac_git/vendor/git-subrepo/ext/bashplus/Meta +28 -0
- data/sub/eac_git/vendor/git-subrepo/ext/bashplus/ReadMe.pod +77 -0
- data/sub/eac_git/vendor/git-subrepo/ext/bashplus/bin/bash+ +43 -0
- data/sub/eac_git/vendor/git-subrepo/ext/bashplus/doc/bash+.swim +61 -0
- data/sub/eac_git/vendor/git-subrepo/ext/bashplus/lib/bash+.bash +92 -0
- data/sub/eac_git/vendor/git-subrepo/ext/bashplus/man/man1/bash+.1 +134 -0
- data/sub/eac_git/vendor/git-subrepo/ext/bashplus/man/man3/bash+.3 +134 -0
- data/sub/eac_git/vendor/git-subrepo/ext/bashplus/test/base.t +12 -0
- data/sub/eac_git/vendor/git-subrepo/ext/bashplus/test/fcopy.t +22 -0
- data/sub/eac_git/vendor/git-subrepo/ext/bashplus/test/lib/foo/bar.bash +3 -0
- data/sub/eac_git/vendor/git-subrepo/ext/bashplus/test/lib/foo/foo.bash +3 -0
- data/sub/eac_git/vendor/git-subrepo/ext/bashplus/test/source-bash+-std.t +18 -0
- data/sub/eac_git/vendor/git-subrepo/ext/bashplus/test/source-bash+.t +23 -0
- data/sub/eac_git/vendor/git-subrepo/ext/bashplus/test/test.bash +70 -0
- data/sub/eac_git/vendor/git-subrepo/ext/bashplus/test/use.t +19 -0
- data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/Changes +15 -0
- data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/License +21 -0
- data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/Makefile +20 -0
- data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/Meta +30 -0
- data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ReadMe.pod +115 -0
- data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/doc/test-more.swim +89 -0
- data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/Changes +15 -0
- data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/License +21 -0
- data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/Makefile +45 -0
- data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/Meta +28 -0
- data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/ReadMe.pod +77 -0
- data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/bin/bash+ +43 -0
- data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/doc/bash+.swim +61 -0
- data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/lib/bash+.bash +92 -0
- data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/man/man1/bash+.1 +134 -0
- data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/man/man3/bash+.3 +134 -0
- data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/base.t +12 -0
- data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/fcopy.t +22 -0
- data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/lib/foo/bar.bash +3 -0
- data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/lib/foo/foo.bash +3 -0
- data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/source-bash+-std.t +18 -0
- data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/source-bash+.t +23 -0
- data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/test.bash +70 -0
- data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/use.t +19 -0
- data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Changes +15 -0
- data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/License +21 -0
- data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Makefile +37 -0
- data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/Meta +28 -0
- data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/ReadMe.pod +66 -0
- data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/doc/test-tap.swim +48 -0
- data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/lib/test/tap.bash +153 -0
- data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/man/man3/test-tap.3 +119 -0
- data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/bail_out.t +13 -0
- data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/done.t +10 -0
- data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/fail.t +20 -0
- data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/fail_fast.t +15 -0
- data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/helper.bash +9 -0
- data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/pass.t +9 -0
- data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/plan.t +10 -0
- data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/skip_all.t +20 -0
- data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/tap.t +13 -0
- data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/test/bail.t +14 -0
- data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/test/fail.t +7 -0
- data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/test/fail_fast.t +12 -0
- data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/test/skip-all-init.t +8 -0
- data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/test-tap-bash/test/test/skip-all-plan.t +9 -0
- data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/lib/test/more.bash +95 -0
- data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/man/man3/test-more.3 +173 -0
- data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/test/fail.t +20 -0
- data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/test/more.t +20 -0
- data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/test/pass.t +9 -0
- data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/test/setup +8 -0
- data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/test/skip_all.t +11 -0
- data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/test/test/fail1.t +12 -0
- data/sub/eac_git/vendor/git-subrepo/ext/test-more-bash/test/test/skip_all.t +10 -0
- data/sub/eac_git/vendor/git-subrepo/lib/git-subrepo +1903 -0
- data/sub/eac_git/vendor/git-subrepo/lib/git-subrepo.d/bash+.bash +1 -0
- data/sub/eac_git/vendor/git-subrepo/lib/git-subrepo.d/help-functions.bash +339 -0
- data/sub/eac_git/vendor/git-subrepo/man/man1/git-subrepo.1 +743 -0
- data/sub/eac_git/vendor/git-subrepo/note/0.4.0 +12 -0
- data/sub/eac_git/vendor/git-subrepo/note/AllGitCmds +148 -0
- data/sub/eac_git/vendor/git-subrepo/note/Cases +32 -0
- data/sub/eac_git/vendor/git-subrepo/note/Commands +33 -0
- data/sub/eac_git/vendor/git-subrepo/note/Dags +199 -0
- data/sub/eac_git/vendor/git-subrepo/note/Gists +7 -0
- data/sub/eac_git/vendor/git-subrepo/note/Links +25 -0
- data/sub/eac_git/vendor/git-subrepo/note/Plugins +10 -0
- data/sub/eac_git/vendor/git-subrepo/note/Spec +39 -0
- data/sub/eac_git/vendor/git-subrepo/note/Story1 +57 -0
- data/sub/eac_git/vendor/git-subrepo/note/ToDo +55 -0
- data/sub/eac_git/vendor/git-subrepo/note/design.swim +137 -0
- data/sub/eac_git/vendor/git-subrepo/note/design2.swim +85 -0
- data/sub/eac_git/vendor/git-subrepo/note/init-test +38 -0
- data/sub/eac_git/vendor/git-subrepo/note/pull-dance.txt +18 -0
- data/sub/eac_git/vendor/git-subrepo/note/recreate-rebase-conflict.sh +56 -0
- data/sub/eac_git/vendor/git-subrepo/note/subtree-rebase-fail-example/test.bash +29 -0
- data/sub/eac_git/vendor/git-subrepo/note/test-subrepo-push.sh +69 -0
- data/sub/eac_git/vendor/git-subrepo/note/test.sh +58 -0
- data/sub/eac_git/vendor/git-subrepo/pkg/bin/generate-completion.pl +210 -0
- data/sub/eac_git/vendor/git-subrepo/pkg/bin/generate-help-functions.pl +89 -0
- data/sub/eac_git/vendor/git-subrepo/share/completion.bash +42 -0
- data/sub/eac_git/vendor/git-subrepo/share/enable-completion.sh +50 -0
- data/sub/eac_git/vendor/git-subrepo/share/git-completion.bash +2738 -0
- data/sub/eac_git/vendor/git-subrepo/share/zsh-completion/_git-subrepo +81 -0
- data/sub/eac_git/vendor/git-subrepo/test/branch-all.t +41 -0
- data/sub/eac_git/vendor/git-subrepo/test/branch-rev-list-one-path.t +43 -0
- data/sub/eac_git/vendor/git-subrepo/test/branch-rev-list.t +47 -0
- data/sub/eac_git/vendor/git-subrepo/test/branch.t +52 -0
- data/sub/eac_git/vendor/git-subrepo/test/clean.t +43 -0
- data/sub/eac_git/vendor/git-subrepo/test/clone-annotated-tag.t +45 -0
- data/sub/eac_git/vendor/git-subrepo/test/clone.t +107 -0
- data/sub/eac_git/vendor/git-subrepo/test/compile.t +19 -0
- data/sub/eac_git/vendor/git-subrepo/test/config.t +58 -0
- data/sub/eac_git/vendor/git-subrepo/test/encode.t +91 -0
- data/sub/eac_git/vendor/git-subrepo/test/error.t +171 -0
- data/sub/eac_git/vendor/git-subrepo/test/fetch.t +43 -0
- data/sub/eac_git/vendor/git-subrepo/test/gitignore.t +61 -0
- data/sub/eac_git/vendor/git-subrepo/test/init.t +64 -0
- data/sub/eac_git/vendor/git-subrepo/test/issue29.t +98 -0
- data/sub/eac_git/vendor/git-subrepo/test/issue95.t +98 -0
- data/sub/eac_git/vendor/git-subrepo/test/issue96.t +96 -0
- data/sub/eac_git/vendor/git-subrepo/test/pull-all.t +38 -0
- data/sub/eac_git/vendor/git-subrepo/test/pull-merge.t +113 -0
- data/sub/eac_git/vendor/git-subrepo/test/pull-message.t +88 -0
- data/sub/eac_git/vendor/git-subrepo/test/pull-new-branch.t +58 -0
- data/sub/eac_git/vendor/git-subrepo/test/pull-ours.t +90 -0
- data/sub/eac_git/vendor/git-subrepo/test/pull-theirs.t +82 -0
- data/sub/eac_git/vendor/git-subrepo/test/pull-twice.t +44 -0
- data/sub/eac_git/vendor/git-subrepo/test/pull-worktree.t +40 -0
- data/sub/eac_git/vendor/git-subrepo/test/pull.t +99 -0
- data/sub/eac_git/vendor/git-subrepo/test/push-after-init.t +51 -0
- data/sub/eac_git/vendor/git-subrepo/test/push-force.t +56 -0
- data/sub/eac_git/vendor/git-subrepo/test/push-new-branch.t +61 -0
- data/sub/eac_git/vendor/git-subrepo/test/push-no-changes.t +29 -0
- data/sub/eac_git/vendor/git-subrepo/test/push-squash.t +56 -0
- data/sub/eac_git/vendor/git-subrepo/test/push.t +176 -0
- data/sub/eac_git/vendor/git-subrepo/test/reclone.t +45 -0
- data/sub/eac_git/vendor/git-subrepo/test/repo/bar/HEAD +1 -0
- data/sub/eac_git/vendor/git-subrepo/test/repo/bar/config +4 -0
- 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 +1 -0
- data/sub/eac_git/vendor/git-subrepo/test/repo/bar/refs/tags/A +1 -0
- data/sub/eac_git/vendor/git-subrepo/test/repo/foo/HEAD +1 -0
- data/sub/eac_git/vendor/git-subrepo/test/repo/foo/config +4 -0
- 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 +1 -0
- data/sub/eac_git/vendor/git-subrepo/test/repo/init/HEAD +1 -0
- data/sub/eac_git/vendor/git-subrepo/test/repo/init/config +5 -0
- 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 +2 -0
- 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 +1 -0
- 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 +1 -0
- 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 +3 -0
- data/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/dd/8bdb934ec848137f011fe423b185505c343626 +2 -0
- data/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/e2/9be58c767cfeb27235c995d293a7d71aac0135 +2 -0
- data/sub/eac_git/vendor/git-subrepo/test/repo/init/objects/ee/1224401fc6aac595145fa727dcf6706ac8aec1 +1 -0
- 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 +1 -0
- data/sub/eac_git/vendor/git-subrepo/test/setup +205 -0
- data/sub/eac_git/vendor/git-subrepo/test/status.t +68 -0
- data/sub/eac_git/vendor/git-subrepo/test/submodule.t +45 -0
- metadata +364 -16
@@ -0,0 +1 @@
|
|
1
|
+
../../ext/bashplus/lib/bash+.bash
|
@@ -0,0 +1,339 @@
|
|
1
|
+
#!/usr/bin/env bash
|
2
|
+
|
3
|
+
# DO NOT EDIT. This file generated by pkg/bin/generate-help-functions.pl.
|
4
|
+
|
5
|
+
set -e
|
6
|
+
|
7
|
+
help:all() {
|
8
|
+
cat <<'...'
|
9
|
+
branch branch <subdir>|--all [-f] [-F]
|
10
|
+
clean clean <subdir>|--all|--ALL [-f]
|
11
|
+
clone clone <repository> [<subdir>] [-b <branch>] [-f] [-m <msg>] [-e] [--method <merge|rebase>]
|
12
|
+
commit commit <subdir> [<subrepo-ref>] [-m <msg>] [-e] [-f] [-F]
|
13
|
+
config config <subdir> <option> [<value>] [-f]
|
14
|
+
fetch fetch <subdir>|--all [-r <remote>] [-b <branch>]
|
15
|
+
help help [<command>|--all]
|
16
|
+
init init <subdir> [-r <remote>] [-b <branch>] [--method <merge|rebase>]
|
17
|
+
pull pull <subdir>|--all [-M|-R|-f] [-m <msg>] [-e] [-b <branch>] [-r <remote>] [-u]
|
18
|
+
push push <subdir>|--all [<branch>] [-r <remote>] [-b <branch>] [-M|-R] [-u] [-f] [-s] [-N]
|
19
|
+
status status [<subdir>|--all|--ALL] [-F] [-q|-v]
|
20
|
+
upgrade upgrade
|
21
|
+
version version [-q|-v]
|
22
|
+
...
|
23
|
+
}
|
24
|
+
|
25
|
+
help:branch() {
|
26
|
+
cat <<'...'
|
27
|
+
|
28
|
+
Usage: git subrepo branch <subdir>|--all [-f] [-F]
|
29
|
+
|
30
|
+
|
31
|
+
Create a branch with local subrepo commits.
|
32
|
+
|
33
|
+
Scan the history of the mainline for all the commits that affect the `subdir`
|
34
|
+
and create a new branch from them called `subrepo/<subdir>`.
|
35
|
+
|
36
|
+
This is useful for doing `pull` and `push` commands by hand.
|
37
|
+
|
38
|
+
Use the `--force` option to write over an existing `subrepo/<subdir>` branch.
|
39
|
+
|
40
|
+
The `branch` command accepts the `--all`, `--fetch` and `--force` options.
|
41
|
+
...
|
42
|
+
}
|
43
|
+
|
44
|
+
help:clean() {
|
45
|
+
cat <<'...'
|
46
|
+
|
47
|
+
Usage: git subrepo clean <subdir>|--all|--ALL [-f]
|
48
|
+
|
49
|
+
|
50
|
+
Remove artifacts created by `fetch` and `branch` commands.
|
51
|
+
|
52
|
+
The `fetch` and `branch` operations (and other commands that call them)
|
53
|
+
create temporary things like refs, branches and remotes. This command
|
54
|
+
removes all those things.
|
55
|
+
|
56
|
+
Use `--force` to remove refs. Refs are not removed by default because they
|
57
|
+
are sometimes needed between commands.
|
58
|
+
|
59
|
+
Use `--all` to clean up after all the current subrepos. Sometimes you might
|
60
|
+
change to a branch where a subrepo doesn't exist, and then `--all` won't find
|
61
|
+
it. Use `--ALL` to remove any artifacts that were ever created by subrepo.
|
62
|
+
|
63
|
+
To remove ALL subrepo artifacts:
|
64
|
+
|
65
|
+
git subrepo clean --ALL --force
|
66
|
+
|
67
|
+
The `clean` command accepts the `--all`, `--ALL`, and `--force` options.
|
68
|
+
...
|
69
|
+
}
|
70
|
+
|
71
|
+
help:clone() {
|
72
|
+
cat <<'...'
|
73
|
+
|
74
|
+
Usage: git subrepo clone <repository> [<subdir>] [-b <branch>] [-f] [-m <msg>] [-e] [--method <merge|rebase>]
|
75
|
+
|
76
|
+
|
77
|
+
Add a repository as a subrepo in a subdir of your repository.
|
78
|
+
|
79
|
+
This is similar in feel to `git clone`. You just specify the remote repo
|
80
|
+
url, and optionally a sub-directory and/or branch name. The repo will be
|
81
|
+
fetched and merged into the subdir.
|
82
|
+
|
83
|
+
The subrepo history is /squashed/ into a single commit that contains the
|
84
|
+
reference information. This information is also stored in a special file
|
85
|
+
called `<subdir>/.gitrepo`. The presence of this file indicates that the
|
86
|
+
directory is a subrepo.
|
87
|
+
|
88
|
+
All subsequent commands refer to the subrepo by the name of the /subdir/.
|
89
|
+
From the subdir, all the current information about the subrepo can be
|
90
|
+
obtained.
|
91
|
+
|
92
|
+
The `--force` option will "reclone" (completely replace) an existing subdir.
|
93
|
+
|
94
|
+
The `--method` option will decide how the join process between branches are
|
95
|
+
performed. The default option is merge.
|
96
|
+
|
97
|
+
The `clone` command accepts the `--branch=` `--edit`, `--force` and
|
98
|
+
`--message=` options.
|
99
|
+
...
|
100
|
+
}
|
101
|
+
|
102
|
+
help:commit() {
|
103
|
+
cat <<'...'
|
104
|
+
|
105
|
+
Usage: git subrepo commit <subdir> [<subrepo-ref>] [-m <msg>] [-e] [-f] [-F]
|
106
|
+
|
107
|
+
|
108
|
+
Add subrepo branch to current history as a single commit.
|
109
|
+
|
110
|
+
This command is generally used after a hand-merge. You have done a `subrepo
|
111
|
+
branch` and merged (rebased) it with the upstream. This command takes the
|
112
|
+
HEAD of that branch, puts its content into the subrepo subdir and adds a new
|
113
|
+
commit for it to the top of your mainline history.
|
114
|
+
|
115
|
+
This command requires that the upstream HEAD be in the `subrepo/<subdir>`
|
116
|
+
branch history. That way the same branch can push upstream. Use the
|
117
|
+
`--force` option to commit anyway.
|
118
|
+
|
119
|
+
The `commit` command accepts the `--edit`, `--fetch`, `--force` and
|
120
|
+
`--message=` options.
|
121
|
+
...
|
122
|
+
}
|
123
|
+
|
124
|
+
help:config() {
|
125
|
+
cat <<'...'
|
126
|
+
|
127
|
+
Usage: git subrepo config <subdir> <option> [<value>] [-f]
|
128
|
+
|
129
|
+
|
130
|
+
Read or update configuration values in the subdir/.gitrepo file.
|
131
|
+
|
132
|
+
Because most of the values stored in the .gitrepo file are generated you
|
133
|
+
will need to use `--force` if you want to change anything else then the
|
134
|
+
`method` option.
|
135
|
+
|
136
|
+
Example to update the `method` option for a subrepo:
|
137
|
+
|
138
|
+
git subrepo config foo method rebase
|
139
|
+
...
|
140
|
+
}
|
141
|
+
|
142
|
+
help:fetch() {
|
143
|
+
cat <<'...'
|
144
|
+
|
145
|
+
Usage: git subrepo fetch <subdir>|--all [-r <remote>] [-b <branch>]
|
146
|
+
|
147
|
+
|
148
|
+
Fetch the remote/upstream content for a subrepo.
|
149
|
+
|
150
|
+
It will create a Git reference called `subrepo/<subdir>/fetch` that points at
|
151
|
+
the same commit as `FETCH_HEAD`. It will also create a remote called
|
152
|
+
`subrepo/<subdir>`. These are temporary and you can easily remove them with
|
153
|
+
the subrepo `clean` command.
|
154
|
+
|
155
|
+
The `fetch` command accepts the `--all`, `--branch=` and `--remote=` options.
|
156
|
+
...
|
157
|
+
}
|
158
|
+
|
159
|
+
help:help() {
|
160
|
+
cat <<'...'
|
161
|
+
|
162
|
+
Usage: git subrepo help [<command>|--all]
|
163
|
+
|
164
|
+
|
165
|
+
Same as `git help subrepo`. Will launch the manpage. For the shorter usage,
|
166
|
+
use `git subrepo -h`.
|
167
|
+
|
168
|
+
Use `git subrepo help <command>` to get help for a specific command. Use
|
169
|
+
`--all` to get a summary of all commands.
|
170
|
+
|
171
|
+
The `help` command accepts the `--all` option.
|
172
|
+
...
|
173
|
+
}
|
174
|
+
|
175
|
+
help:init() {
|
176
|
+
cat <<'...'
|
177
|
+
|
178
|
+
Usage: git subrepo init <subdir> [-r <remote>] [-b <branch>] [--method <merge|rebase>]
|
179
|
+
|
180
|
+
|
181
|
+
Turn an existing subdirectory into a subrepo.
|
182
|
+
|
183
|
+
If you want to expose a subdirectory of your project as a published subrepo,
|
184
|
+
this command will do that. It will split out the content of a normal
|
185
|
+
subdirectory into a branch and start tracking it as a subrepo. Afterwards
|
186
|
+
your original repo will look exactly the same except that there will be a
|
187
|
+
`<subdir>/.gitrepo` file.
|
188
|
+
|
189
|
+
If you specify the `--remote` (and optionally the `--branch`) option, the
|
190
|
+
values will be added to the `<subdir>/.gitrepo` file. The `--remote` option
|
191
|
+
is the upstream URL, and the `--branch` option is the upstream branch to push
|
192
|
+
to. These values will be needed to do a `git subrepo push` command, but they
|
193
|
+
can be provided later on the `push` command (and saved to `<subdir>/.gitrepo`
|
194
|
+
if you also specify the `--update` option).
|
195
|
+
|
196
|
+
Note: You will need to create the empty upstream repo and push to it on your
|
197
|
+
own, using `git subrepo push <subdir>`.
|
198
|
+
|
199
|
+
The `--method` option will decide how the join process between branches
|
200
|
+
are performed. The default option is merge.
|
201
|
+
|
202
|
+
The `init` command accepts the `--branch=` and `--remote=` options.
|
203
|
+
...
|
204
|
+
}
|
205
|
+
|
206
|
+
help:pull() {
|
207
|
+
cat <<'...'
|
208
|
+
|
209
|
+
Usage: git subrepo pull <subdir>|--all [-M|-R|-f] [-m <msg>] [-e] [-b <branch>] [-r <remote>] [-u]
|
210
|
+
|
211
|
+
|
212
|
+
Update the subrepo subdir with the latest upstream changes.
|
213
|
+
|
214
|
+
The `pull` command fetches the latest content from the remote branch pointed
|
215
|
+
to by the subrepo's `.gitrepo` file, and then tries to merge the changes into
|
216
|
+
the corresponding subdir. It does this by making a branch of the local
|
217
|
+
commits to the subdir and then merging or rebasing (see below) it with the
|
218
|
+
fetched upstream content. After the merge, the content of the new branch
|
219
|
+
replaces your subdir, the `.gitrepo` file is updated and a single 'pull'
|
220
|
+
commit is added to your mainline history.
|
221
|
+
|
222
|
+
The `pull` command will attempt to do the following commands in one go:
|
223
|
+
|
224
|
+
git subrepo fetch <subdir>
|
225
|
+
git subrepo branch <subdir>
|
226
|
+
git merge/rebase subrepo/<subdir>/fetch subrepo/<subdir>
|
227
|
+
git subrepo commit <subdir>
|
228
|
+
# Only needed for a consequential push:
|
229
|
+
git update-ref refs/subrepo/<subdir>/pull subrepo/<subdir>
|
230
|
+
|
231
|
+
In other words, you could do all the above commands yourself, for the same
|
232
|
+
effect. If any of the commands fail, subrepo will stop and tell you to finish
|
233
|
+
this by hand. Generally a failure would be in the merge or rebase part, where
|
234
|
+
conflicts can happen. Since Git has lots of ways to resolve conflicts to your
|
235
|
+
personal tastes, the subrepo command defers to letting you do this by hand.
|
236
|
+
|
237
|
+
When pulling new data, the method selected in clone/init is used. This has
|
238
|
+
no effect on the final result of the pull, since it becomes a single commit.
|
239
|
+
But it does affect the resulting `subrepo/<subdir>` branch, which is often
|
240
|
+
used for a subrepo `push` command. See 'push' below for more information.
|
241
|
+
If you want to change the method you can use the `config` command for this.
|
242
|
+
|
243
|
+
When you pull you can assume a fast-forward strategy (default) or you can
|
244
|
+
specify a `--rebase`, `--merge` or `--force` strategy. The latter is the same
|
245
|
+
as a `clone --force` operation, using the current remote and branch.
|
246
|
+
|
247
|
+
Like the `clone` command, `pull` will squash all the changes (since the last
|
248
|
+
pull or clone) into one commit. This keeps your mainline history nice and
|
249
|
+
clean. You can easily see the subrepo's history with the `git log` command:
|
250
|
+
|
251
|
+
git log refs/subrepo/<subdir>/fetch
|
252
|
+
|
253
|
+
The set of commands used above are described in detail below.
|
254
|
+
|
255
|
+
The `pull` command accepts the `--all`, `--branch=`, `--edit`, `--force`,
|
256
|
+
`--message=`, `--remote=` and `--update` options.
|
257
|
+
...
|
258
|
+
}
|
259
|
+
|
260
|
+
help:push() {
|
261
|
+
cat <<'...'
|
262
|
+
|
263
|
+
Usage: git subrepo push <subdir>|--all [<branch>] [-r <remote>] [-b <branch>] [-M|-R] [-u] [-f] [-s] [-N]
|
264
|
+
|
265
|
+
|
266
|
+
Push a properly merged subrepo branch back upstream.
|
267
|
+
|
268
|
+
This command takes the subrepo branch from a successful pull command and
|
269
|
+
pushes the history back to its designated remote and branch. You can also use
|
270
|
+
the `branch` command and merge things yourself before pushing if you want to
|
271
|
+
(although that is probably a rare use case).
|
272
|
+
|
273
|
+
The `push` command requires a branch that has been properly merged/rebased
|
274
|
+
with the upstream HEAD (unless the upstream HEAD is empty, which is common
|
275
|
+
when doing a first `push` after an `init`). That means the upstream HEAD is
|
276
|
+
one of the commits in the branch.
|
277
|
+
|
278
|
+
By default the branch ref `refs/subrepo/<subdir>/pull` will be pushed, but
|
279
|
+
you can specify a (properly merged) branch to push.
|
280
|
+
|
281
|
+
After that, the `push` command just checks that the branch contains the
|
282
|
+
upstream HEAD and then pushes it upstream.
|
283
|
+
|
284
|
+
The `--force` option will do a force push. Force pushes are typically
|
285
|
+
discouraged. Only use this option if you fully understand it. (The `--force`
|
286
|
+
option will NOT check for a proper merge. ANY branch will be force pushed!)
|
287
|
+
|
288
|
+
The `push` command accepts the `--all`, `--branch=`, `--dry-run`, `--force`,
|
289
|
+
`--merge`, `--rebase`, `--remote=`, `--squash` and `--update` options.
|
290
|
+
...
|
291
|
+
}
|
292
|
+
|
293
|
+
help:status() {
|
294
|
+
cat <<'...'
|
295
|
+
|
296
|
+
Usage: git subrepo status [<subdir>|--all|--ALL] [-F] [-q|-v]
|
297
|
+
|
298
|
+
|
299
|
+
Get the status of a subrepo. Uses the `--all` option by default. If the
|
300
|
+
`--quiet` flag is used, just print the subrepo names, one per line.
|
301
|
+
|
302
|
+
The `--verbose` option will show all the recent local and upstream commits.
|
303
|
+
|
304
|
+
Use `--ALL` to show the subrepos of the subrepos (ie the "subsubrepos"), if
|
305
|
+
any.
|
306
|
+
|
307
|
+
The `status` command accepts the `--all`, `--ALL`, `--fetch`, `--quiet` and
|
308
|
+
`--verbose` options.
|
309
|
+
...
|
310
|
+
}
|
311
|
+
|
312
|
+
help:upgrade() {
|
313
|
+
cat <<'...'
|
314
|
+
|
315
|
+
Usage: git subrepo upgrade
|
316
|
+
|
317
|
+
|
318
|
+
Upgrade the `git-subrepo` software itself. This simply does a `git pull` on
|
319
|
+
the git repository that the code is running from. It only works if you are on
|
320
|
+
the `master` branch. It won't work if you installed `git-subrepo` using `make
|
321
|
+
install`; in that case you'll need to `make install` from the latest code.
|
322
|
+
...
|
323
|
+
}
|
324
|
+
|
325
|
+
help:version() {
|
326
|
+
cat <<'...'
|
327
|
+
|
328
|
+
Usage: git subrepo version [-q|-v]
|
329
|
+
|
330
|
+
|
331
|
+
This command will display version information about git-subrepo and its
|
332
|
+
environment. For just the version number, use `git subrepo --version`. Use
|
333
|
+
`--verbose` for more version info, and `--quiet` for less.
|
334
|
+
|
335
|
+
The `version` command accepts the `--quiet` and `--verbose` options.
|
336
|
+
...
|
337
|
+
}
|
338
|
+
|
339
|
+
# vim: set sw=2 lisp:
|