An open API service indexing awesome lists of open source software.

https://github.com/jtone123/githubmassupdater

Console application to do a mass update on GitHub
https://github.com/jtone123/githubmassupdater

github nuget

Last synced: 4 months ago
JSON representation

Console application to do a mass update on GitHub

Awesome Lists containing this project

README

          

Github repo mass update console applications
==============================

![dot net core cool](https://github.com/JTOne123/GitHubMassUpdater/blob/master/dotnetcore.png?raw=true)

# 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](https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line)*

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](https://github.com/JTOne123/GitHubMassUpdater/blob/master/SourceLinkPRMessageBody.md)

# What's next?
Feel free to create a PR and make suggestions that we will update next

Buy Me A Coffee