{"id":17679292,"url":"https://github.com/bbkane/git-xargs-tasks","last_synced_at":"2025-09-08T04:40:55.076Z","repository":{"id":203192048,"uuid":"709040352","full_name":"bbkane/git-xargs-tasks","owner":"bbkane","description":"Keep git-xargs changes together","archived":false,"fork":false,"pushed_at":"2024-04-28T05:08:20.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T19:49:32.682Z","etag":null,"topics":[],"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/bbkane.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}},"created_at":"2023-10-23T22:20:39.000Z","updated_at":"2024-04-28T05:08:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"d645b934-0c25-45a0-8eb9-6b1a4c628171","html_url":"https://github.com/bbkane/git-xargs-tasks","commit_stats":null,"previous_names":["bbkane/git-xargs-tasks"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbkane%2Fgit-xargs-tasks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbkane%2Fgit-xargs-tasks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbkane%2Fgit-xargs-tasks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbkane%2Fgit-xargs-tasks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bbkane","download_url":"https://codeload.github.com/bbkane/git-xargs-tasks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246361212,"owners_count":20764889,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-10-24T08:21:59.007Z","updated_at":"2025-09-08T04:40:55.064Z","avatar_url":"https://github.com/bbkane.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Hold [git-xargs](https://github.com/gruntwork-io/git-xargs) scripts I use to update my repos.\n\n# Basic steps for a change\n\n- update [example-go-cli](https://github.com/bbkane/example-go-cli) with change and test\n- write script to update fling but don't commit\n  - Format is `[date]-[name-of-change]/{run.sh,change.sh}`, where `run.sh` calls `git-xargs` with `change.sh` if necessary\n\n- source `GITHUB_OAUTH_TOKEN` and do gitconfig workaround (see below)\n- run script against fling\n- run against other repos\n- merge PRs and update spreadsheet\n- restore gitconfig\n\n# Links\n\n- https://blog.gruntwork.io/introducing-git-xargs-an-open-source-tool-to-update-multiple-github-repos-753f9f3675ec\n- https://docs.google.com/spreadsheets/d/1R0c6VFFU_vLC45zgs_53rcWDHWRxt4S6UxdxBkFgPpo/edit?usp=sharing\n- https://github.com/gruntwork-io/git-xargs#how-to-supply-commands-or-scripts-to-run\n- https://mikefarah.gitbook.io/yq/\n- https://www.bbkane.com/blog/go-notes/#code-updates-across-repos\n\n# Run Notes\n\nNeeds  `GITHUB_OAUTH_TOKEN`  in environment. If necessary, create one at [Personal Access Tokens (Classic)](https://github.com/settings/tokens) (I use the classic tokens with all repo acccess).\n\nEnvelope steps:\n\n```zsh\nenventory env create\nenventory var create --name GITHUB_OAUTH_TOKEN\ncd .  # trigger env loading\n```\n\n## .gitconfig modifications\n\nDue to https://github.com/gruntwork-io/git-xargs/issues/48, I need to\ntemporarily put user.name and user.email in .root gitconfig...\n\n```bash\nfling unlink --ask false -s ~/Git-GH/dotfiles/git\n\ngit config --global user.name \"Benjamin Kane\"\ngit config --global user.email \"6081085+bbkane@users.noreply.github.com\"\ngit config list --global\n```\n\nAfter running `git-xargs`, I need to re-symlink my git config:\n\n```bash\nrm ~/.gitconfig\nfling link --ask false -s ~/Git-GH/dotfiles/git\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbkane%2Fgit-xargs-tasks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbbkane%2Fgit-xargs-tasks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbkane%2Fgit-xargs-tasks/lists"}