JTOne123 / GitHubMassUpdater

Console application to do a mass update on GitHub
MIT License
13 stars 2 forks source link
github nuget

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

More info about GitHub oauthToken gitHubOauth

Find all GitHub repos of Nuget 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! -b master

Apply fix

GitHubMassUpdater.GitHubUpdate.exe -i c:\temp\githubsearch_0_10_1000\ -o c:\temp\prresults.txt -a !gitHubOauth! -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"

Looking for PR Body text? Link

What's next?

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

Buy Me A Coffee