{"id":28321054,"url":"https://github.com/umaumax/git-multi-branch-executer","last_synced_at":"2026-05-01T18:31:52.707Z","repository":{"id":154771349,"uuid":"189719706","full_name":"umaumax/git-multi-branch-executer","owner":"umaumax","description":null,"archived":false,"fork":false,"pushed_at":"2019-06-02T02:43:43.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-23T13:49:13.180Z","etag":null,"topics":["git"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/umaumax.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-06-01T10:28:42.000Z","updated_at":"2019-06-02T02:43:44.000Z","dependencies_parsed_at":"2023-06-25T22:34:21.180Z","dependency_job_id":null,"html_url":"https://github.com/umaumax/git-multi-branch-executer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/umaumax/git-multi-branch-executer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umaumax%2Fgit-multi-branch-executer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umaumax%2Fgit-multi-branch-executer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umaumax%2Fgit-multi-branch-executer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umaumax%2Fgit-multi-branch-executer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/umaumax","download_url":"https://codeload.github.com/umaumax/git-multi-branch-executer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umaumax%2Fgit-multi-branch-executer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32508900,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["git"],"created_at":"2025-05-25T12:13:01.207Z","updated_at":"2026-05-01T18:31:52.691Z","avatar_url":"https://github.com/umaumax.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# git-multi-branch-executer\n\nあるリポジトリの複数のブランチ(commit,tag)を指定して，コマンドを実行する\n\n## for what?\n* ブランチごとにビルドを実行し，それらのベンチマークを比較するため\n\n## how to run\n1. `git-multi-branch-exec.yml`\n```\ngit-multi-branch-exec.sh new\n```\n\n## specification\n* `~/.cache/git-multi-branch-executer/`以下に現在のworking directoryのgitのrepositoryを`cp`する\n  * 共通で利用するファイル\n    * e.g. exec cmd file, patch file etc...\n    * untracked filesもしくは，指定するブランチでアクセス可能でなければならない\n    * ブランチで分割するほどではない差分は，patch fileを利用すると良い\n* 実行\n  * 並列数を指定して実行する(logのみやすさの観点を考えること)\n    * 設定の`yml`を分割して実行すれば，そのスコープでの並列処理は可能\n  * 基本的に，指定した順番に実行するが，並列数によって，前後する可能性がある\n  * それぞれの実行はno dependencyであると仮定する\n* log\n  * main branchに全体の実行ログの結果を格納するディレクトリや設定ファイルを配置する?\n  * 命名規則\n    * WIP\n* コピー先のworking directoryはgit内に存在する設定ファイル(yml)のdirectory\n* ymlの設定ファイルの書き方はexampleを参照\n  * 特に，省略する場合の記述に注意\n  * patchesやscritpsにおいて，tabを利用しないこと(yqのparseでtsv形式を利用しているため)\n\n## 実装内容\n* 現在のブランチをまるごとtmp directoryにコピーすることを繰り返す\n  * git-work-tree機能を利用して，コピー側ではread-onlyとする? untrackedファイルをコマンドでコピーすれば同じことが可能では?\n  * そもそも，同一ブランチは無理なので，自動追従は無理じゃない...?\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumaumax%2Fgit-multi-branch-executer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fumaumax%2Fgit-multi-branch-executer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumaumax%2Fgit-multi-branch-executer/lists"}