Skip to content

bbkane/git-xargs-tasks

Repository files navigation

Hold git-xargs scripts I use to update my repos.

Basic steps for a change

  • update example-go-cli with change and test

  • write script to update fling but don't commit

    • Format is [date]-[name-of-change]/{run.sh,change.sh}, where run.sh calls git-xargs with change.sh if necessary
  • source GITHUB_OAUTH_TOKEN and do gitconfig workaround (see below)

  • run script against fling

  • run against other repos

  • merge PRs and update spreadsheet

  • restore gitconfig

Links

Run Notes

Needs GITHUB_OAUTH_TOKEN in environment. If necessary, create one at Personal Access Tokens (Classic) (I use the classic tokens with all repo acccess).

Envelope steps:

enventory env create
enventory var create --name GITHUB_OAUTH_TOKEN
cd .  # trigger env loading

.gitconfig modifications

Due to gruntwork-io/git-xargs#48, I need to temporarily put user.name and user.email in .root gitconfig...

fling unlink --ask false -s ~/Git-GH/dotfiles/git

git config --global user.name "Benjamin Kane"
git config --global user.email "6081085+bbkane@users.noreply.github.com"
git config list --global

After running git-xargs, I need to re-symlink my git config:

rm ~/.gitconfig
fling link --ask false -s ~/Git-GH/dotfiles/git

About

Keep git-xargs changes together

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages