/GitHubMassUpdater

Console application to do a mass update on GitHub

Primary LanguageC#MIT LicenseMIT

Github repo mass update console applications

dot net core cool

Motivation

To apply cool features globally

Reason

No reason, just have a few free hours on a weekend

Steps

  1. Search for git repositories on the Nuget portal
  2. Check if the repo needs to be fixed
  3. Apply the patch and submit the pull request

How to run

Find all GitHub repos of nugget packages

GitHubMassUpdater.NugetSearch.exe -o c:\temp\nugetsearch_0_10_1000\ -f 0 -l 10 -s 1000

Check the trunk branch if it contains a lack of correction

GitHubMassUpdater.GitHubSearch.exe -i c:\temp\nugetsearch_0_10_1000\ -o c:\temp\githubsearch_0_10_1000\ -a [gitHubOauth](https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line) -b master

Apply fix

GitHubMassUpdater.GitHubUpdate.exe -i c:\temp\githubsearch_0_10_1000\ -o c:\temp\prresults.txt -a [gitHubOauth](https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line) -b master -c "[COMMIT] The proj files have been updated to enable SourceLink" -p "[PR] The proj files have been updated to enable SourceLink" -d "C:\Git\GitHub\GitHubMassUpdater\SourceLinkPRMessageBody.md"

What's next?

Feel free to create a PR and make suggestions that we will update next

Buy Me A Coffee